/* ─── MAUI-SPECIFIC OVERRIDES ─────────────────────────── */

:root {
  --maui-ocean: #0d9488;
  --maui-ocean-dim: rgba(13, 148, 136, 0.12);
  --maui-coral: #f97316;
  --maui-sand: #c8a87a;
}

/* ─── NAV ─────────────────────────────────────────────── */
.maui-nav {
  border-bottom: 1px solid var(--border);
  padding: 0 3rem;
}
.maui-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 0;
}
.maui-logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.maui-nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.maui-nav-links a {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.maui-nav-links a:hover { color: var(--fg); }
.maui-nav-cta {
  background: var(--accent);
  color: var(--bg);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s;
}
.maui-nav-cta:hover { background: #e8900a; }

/* ─── HERO ─────────────────────────────────────────────── */
.maui-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 3rem 5rem;
  border-bottom: 1px solid var(--border);
}
.maui-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.maui-hero-content { max-width: 680px; }
.maui-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--maui-ocean);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.maui-headline {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}
.maui-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 2.5rem;
}
.maui-lede strong { color: var(--fg); font-weight: 600; }
.maui-hero-cta-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.maui-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.85rem 1.5rem;
  width: fit-content;
}
.maui-badge-stars {
  color: var(--maui-ocean);
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.maui-badge-text {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* ─── VALUE PROP ──────────────────────────────────────── */
.maui-value-prop {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.maui-value-prop-header { margin-bottom: 3rem; }
.maui-persona-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.maui-persona-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  background: var(--bg-alt);
}
.maui-persona-card:last-child { border-right: none; }
.maui-persona-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.maui-persona-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.maui-persona-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ─── TRUST ───────────────────────────────────────────── */
.maui-trust {
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
}
.maui-trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.maui-trust-stat { text-align: center; flex: 1; }
.maui-trust-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--maui-ocean);
}
.maui-trust-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.maui-trust-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ─── MARKET SNAPSHOT ──────────────────────────────────── */
.maui-market {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.maui-market-header { margin-bottom: 3rem; }
.pm-snapshot-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 3rem;
}
.pm-snapshot-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  max-width: 700px;
}
.pm-stat {
  flex: 1;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--bg-alt);
}
.pm-stat-divider {
  width: 1px;
  height: 100%;
  background: var(--border);
  flex-shrink: 0;
}
.pm-stat-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.pm-stat-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  margin-top: 0.3rem;
  line-height: 1.4;
}

/* ─── HOW ─────────────────────────────────────────────── */
.maui-how {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.maui-how-header { margin-bottom: 4rem; }
.maui-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  max-width: 700px;
}
.maui-step {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
}
.maui-step:last-child { border-bottom: none; }
.maui-step-num {
  background: var(--bg-alt);
  padding: 2rem 1.5rem;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--maui-ocean);
  border-right: 1px solid var(--border);
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.maui-step-body {
  padding: 1.75rem 2rem;
  background: var(--bg);
}
.maui-step-title {
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.4rem;
}
.maui-step-body p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ─── PM SELECTOR FORM ─────────────────────────────────── */
.maui-form-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.maui-form-header { margin-bottom: 3rem; }
.maui-form-sub {
  font-size: 0.95rem;
  color: var(--fg-muted);
  max-width: 500px;
  line-height: 1.65;
  margin-top: 0.75rem;
}
.maui-form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.maui-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.maui-form-row--single { grid-template-columns: 1fr; }
.maui-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.maui-field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--fg-muted);
  font-weight: 500;
}
.maui-field input,
.maui-field select {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.maui-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ca3af' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.maui-field input::placeholder { color: rgba(255,255,255,0.2); }
.maui-field input:focus,
.maui-field select:focus { border-color: var(--maui-ocean); }
.maui-submit {
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s;
  letter-spacing: -0.01em;
  align-self: flex-start;
}
.maui-submit:hover:not(:disabled) { background: #e8900a; }
.maui-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.maui-submit-loading { font-weight: 400; }
.maui-form-disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.5;
}

/* ─── RESULTS PANEL ────────────────────────────────────── */
.maui-results {
  max-width: 640px;
  margin-top: 2rem;
}
.maui-results-header { margin-bottom: 2rem; }
.maui-results-header p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
}

/* ─── PM CARD STYLES ───────────────────────────────────── */
.pm-results-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.pm-card {
  background: var(--bg-alt);
  padding: 1.5rem 1.75rem;
}
.pm-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.pm-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.pm-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--maui-ocean);
  background: var(--maui-ocean-dim);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}
.pm-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.pm-details {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.pm-detail {
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.pm-detail-label {
  font-weight: 600;
  color: var(--fg);
}
.pm-results-footer p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.5;
}

/* ─── NEIGHBORHOODS ────────────────────────────────────── */
.maui-neighborhoods {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.maui-neighborhoods-header { margin-bottom: 3rem; }
.maui-hood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.maui-hood-card {
  background: var(--bg-alt);
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  transition: background 0.15s;
  display: block;
  border-right: 1px solid var(--border);
}
.maui-hood-card:nth-child(3n) { border-right: none; }
.maui-hood-card:hover { background: var(--bg); }
.maui-hood-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.maui-hood-desc {
  font-size: 0.78rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ─── TESTIMONIALS ─────────────────────────────────────── */
.maui-testimonials {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.maui-testimonials-header { margin-bottom: 3rem; }
.maui-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.maui-testimonial {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border);
  background: var(--bg-alt);
}
.maui-testimonial:last-child { border-right: none; }
.maui-testimonial-stars {
  color: var(--maui-ocean);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.maui-testimonial-text {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.maui-testimonial-attr {
  font-size: 0.72rem;
  color: var(--fg);
  font-weight: 500;
}

/* ─── FAQ ──────────────────────────────────────────────── */
.maui-faq {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.maui-faq-header { margin-bottom: 3rem; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.faq-item {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.faq-item:nth-child(2n) { border-right: none; }
.faq-item:nth-last-child(-n+2) { border-bottom: none; }
.faq-q {
  font-weight: 600;
  color: var(--fg);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}
.faq-a {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ─── CTA ──────────────────────────────────────────────── */
.maui-cta {
  padding: 6rem 3rem;
  text-align: center;
}
.maui-cta-inner { max-width: 640px; margin: 0 auto; }
.maui-cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}
.maui-cta-inner p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 2rem;
}
.maui-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.maui-cta-micro {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  margin-top: 1rem;
}

/* ─── FOOTER ───────────────────────────────────────────── */
.maui-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 3rem 1.5rem;
}
.maui-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  margin-bottom: 2rem;
}
.maui-footer-brand { max-width: 280px; }
.maui-footer-logo {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.maui-footer-brand p {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.55;
}
.maui-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-left: auto;
}
.maui-footer-links a {
  font-size: 0.82rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.maui-footer-links a:hover { color: var(--fg); }
.maui-footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.maui-footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}

/* ─── BLOG ─────────────────────────────────────────────── */
.blog-article { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem; }
.blog-article-header { margin-bottom: 2.5rem; border-bottom: 1px solid #e5e7eb; padding-bottom: 1.5rem; }
.blog-article-meta { font-size: 0.875rem; color: #6b7280; margin-bottom: 1rem; font-family: 'DM Sans', sans-serif; }
.blog-article h1 { font-family: 'Fraunces', serif; font-size: 2rem; line-height: 1.2; margin-bottom: 0.75rem; color: #111827; }
.blog-article-body { font-family: 'DM Sans', sans-serif; font-size: 1.0625rem; line-height: 1.75; color: #374151; }
.blog-article-body h2 { font-family: 'Fraunces', serif; font-size: 1.375rem; margin: 2rem 0 0.75rem; color: #111827; }
.blog-article-body p { margin: 0 0 1.25rem; }
.blog-article-body ul, .blog-article-body ol { margin: 0 0 1.25rem 1.5rem; }
.blog-article-body li { margin: 0.375rem 0; }
.blog-article-body strong { color: #111827; }
.blog-article-body .blog-lead { font-size: 1.125rem; color: #374151; font-weight: 500; border-left: 3px solid #3b82f6; padding-left: 1rem; margin-bottom: 2rem; }
.blog-sidebar { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 1.5rem; margin: 2.5rem 0; }
.blog-sidebar-title { font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 600; margin-bottom: 0.75rem; color: #111827; }
.blog-sidebar-links { list-style: none; padding: 0; margin: 0; }
.blog-sidebar-links li { margin: 0.5rem 0; }
.blog-sidebar-links a { color: #3b82f6; text-decoration: none; font-size: 0.9375rem; }
.blog-sidebar-links a:hover { text-decoration: underline; }
.blog-article-footer { border-top: 1px solid #e5e7eb; padding-top: 2rem; margin-top: 3rem; }
.blog-article-footer-cta { text-align: center; padding: 2rem; background: #eff6ff; border-radius: 8px; }
.blog-article-footer-cta p { margin: 0 0 1rem; font-family: 'DM Sans', sans-serif; font-size: 1rem; color: #374151; }
.blog-back-link { display: inline-block; margin-top: 1rem; color: #6b7280; text-decoration: none; font-size: 0.9375rem; }
.blog-back-link:hover { color: #111827; }
.blog-header { border-bottom: 1px solid #e5e7eb; }
.blog-header-inner { max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; gap: 0; }
.blog-back { color: #6b7280; text-decoration: none; font-size: 0.875rem; transition: color 0.15s; }
.blog-back:hover { color: #111827; }
.blog-cta-btn { display: inline-block; background: #f97316; color: #fff; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; padding: 0.75rem 1.5rem; border-radius: 2px; text-decoration: none; transition: background 0.15s; }
.blog-cta-btn:hover { background: #ea580c; }

/* ─── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 768px) {
  .maui-nav { padding: 0 1.5rem; }
  .maui-nav-links { display: none; }
  .maui-hero { padding: 3.5rem 1.5rem 3rem; }
  .maui-hero-cta-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .maui-persona-cards { grid-template-columns: 1fr; }
  .maui-persona-card { border-right: none; border-bottom: 1px solid var(--border); }
  .maui-persona-card:last-child { border-bottom: none; }
  .maui-trust-inner { flex-direction: column; gap: 1.5rem; }
  .maui-trust-divider { display: none; }
  .maui-form-section { padding: 3.5rem 1.5rem; }
  .maui-form-row { grid-template-columns: 1fr; }
  .maui-neighborhoods { padding: 3.5rem 1.5rem; }
  .maui-hood-grid { grid-template-columns: 1fr; }
  .maui-hood-card { border-right: none; border-bottom: 1px solid var(--border); }
  .maui-hood-card:last-child { border-bottom: none; }
  .maui-testimonials { padding: 3.5rem 1.5rem; }
  .maui-testimonials-grid { grid-template-columns: 1fr; }
  .maui-testimonial { border-right: none; border-bottom: 1px solid var(--border); }
  .maui-testimonial:last-child { border-bottom: none; }
  .maui-faq { padding: 3.5rem 1.5rem; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-item { border-right: none; }
  .faq-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .faq-item:last-child { border-bottom: none; }
  .maui-cta { padding: 4rem 1.5rem; }
  .maui-footer { padding: 3rem 1.5rem 1.5rem; }
  .maui-footer-inner { flex-direction: column; gap: 1.5rem; }
  .maui-footer-links { margin-left: 0; }
}