/* =====================================================================
   NORTH TEXAS PALAPAS — Design System
   ---------------------------------------------------------------------
   Swap any value below to re-skin the whole site. Everything downstream
   references these custom properties. Tropical, light-first, warm.
   ===================================================================== */

:root {
  /* ── Color ─────────────────────────────────────────── */
  --c-sand:        #F4FAF8;   /* page canvas — fresh sea-glass white     */
  --c-surface:     #FFFFFF;   /* cards, panels                          */
  --c-surface-2:   #EDF6F2;   /* hover tint / inset fields — cool mist   */
  --c-surface-3:   #E0EEE8;   /* deeper cool tint                       */

  --c-lagoon:      #0E5C63;   /* deep teal — headlines, links           */
  --c-lagoon-deep: #093F44;   /* darkest teal                           */
  --c-palm:        #15824F;   /* palm green — accents, success          */
  --c-palm-hover:  #1FA063;   /* brighter palm                          */
  --c-sunset:      #E2622C;   /* sunset orange — primary CTA            */
  --c-mango:       #E59324;   /* mango — CTA gradient end, highlights    */

  --c-ink:         #20140C;   /* espresso — body text on light          */
  --c-driftwood:   #6E5A47;   /* muted body / metadata                  */
  --c-canopy:      #0B2A1E;   /* deep palm shade — footer / dark band   */
  --c-on-canopy:   #EFE7D6;   /* cream text on dark                      */
  --c-line:        #E0EDE8;   /* hairline dividers — cool                */
  --c-line-soft:   #EDF6F2;

  /* ── Typography ────────────────────────────────────── */
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-hero:   clamp(2.6rem, 6vw, 4.6rem);
  --fs-h1:     clamp(2.2rem, 4.5vw, 3.4rem);
  --fs-h2:     clamp(1.8rem, 3.4vw, 2.6rem);
  --fs-h3:     1.4rem;
  --fs-lead:   clamp(1.05rem, 1.6vw, 1.25rem);
  --fs-body:   1.0625rem;
  --fs-sm:     0.9375rem;
  --fs-eyebrow:0.78rem;

  /* ── Spacing (8px base) ────────────────────────────── */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 96px;  --s-10: 128px;

  --container: 1200px;
  --container-wide: 1380px;

  /* ── Radius ────────────────────────────────────────── */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   32px;
  --r-pill: 9999px;

  /* ── Shadow (warm, koa-tinted — never pure black) ──── */
  --sh-sm:    0 1px 2px rgba(44,22,6,.06);
  --sh-card:  0 6px 24px rgba(44,22,6,.08);
  --sh-float: 0 18px 44px rgba(44,22,6,.16);
  --sh-cta:   0 10px 26px rgba(226,98,44,.34);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* =====================================================================
   RESET / BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  color: var(--c-lagoon);
  letter-spacing: -.01em;
}

p { text-wrap: pretty; }

::selection { background: var(--c-mango); color: #fff; }

:focus-visible {
  outline: 3px solid var(--c-palm);
  outline-offset: 3px;
  border-radius: 3px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--c-canopy); color: var(--c-on-canopy);
  padding: 10px 20px; border-radius: var(--r-pill); z-index: 999;
  transition: top .2s var(--ease); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* =====================================================================
   LAYOUT
   ===================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-5); }
.container.wide { max-width: var(--container-wide); }

.section { padding-block: clamp(56px, 9vw, 112px); }
.section.tight { padding-block: clamp(40px, 6vw, 72px); }

.bg-sand    { background: var(--c-sand); }
.bg-surface { background: var(--c-surface); }
.bg-canopy  { background: var(--c-canopy); color: var(--c-on-canopy); }
.bg-leaf {
  background:
    radial-gradient(120% 140% at 0% 0%, #E4EFE0 0%, rgba(228,239,224,0) 55%),
    radial-gradient(120% 140% at 100% 100%, #DCEDE4 0%, rgba(220,237,228,0) 55%),
    #EAF2E5;
}

.grid { display: grid; gap: var(--s-5); }

/* ── Section heading block ─────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-palm);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--c-palm); border-radius: 2px;
}
.eyebrow.center::before { display: none; }

.section-head { max-width: 680px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); margin-top: var(--s-3); }
.section-head p { margin-top: var(--s-4); color: var(--c-driftwood); font-size: var(--fs-lead); }

.lead { font-size: var(--fs-lead); color: var(--c-driftwood); }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-weight: 600; font-size: var(--fs-sm);
  padding: 14px 26px; border-radius: var(--r-pill);
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--c-sunset), var(--c-mango));
  color: #fff; box-shadow: var(--sh-cta);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(226,98,44,.42); }

.btn-secondary {
  background: var(--c-surface); color: var(--c-lagoon);
  border-color: var(--c-line); box-shadow: var(--sh-sm);
}
.btn-secondary:hover { border-color: var(--c-palm); color: var(--c-palm); }

.btn-ghost { background: transparent; color: var(--c-lagoon); padding-inline: 6px; }
.btn-ghost:hover { color: var(--c-palm); }
.btn-ghost svg { transition: transform .2s var(--ease); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-on-dark { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-on-dark:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }

.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600;
  color: var(--c-sunset); font-size: var(--fs-sm);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow.teal { color: var(--c-lagoon); }

/* =====================================================================
   HEADER / NAV  (CSS-only mobile menu via checkbox)
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,244,233,.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5); height: 102px;
}
.brand { display: flex; align-items: center; gap: var(--s-3); }
.brand-mark { height: 79px; display: flex; flex: none; }
.brand-mark img { height: 100%; width: auto; object-fit: contain; }
.site-footer .brand-mark { height: 107px; }
.brand-text { line-height: 1.02; }
.brand-text strong {
  font-family: var(--font-display); font-size: 1.18rem; color: var(--c-lagoon);
  font-weight: 400; display: block;
}
.brand-text span {
  font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--c-driftwood); font-weight: 700;
}

.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-burger { display: none; }

.nav-links { display: flex; align-items: center; gap: var(--s-2); }
.nav-links a {
  padding: 9px 14px; border-radius: var(--r-pill); font-size: var(--fs-sm);
  font-weight: 600; color: var(--c-driftwood);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav-links a:hover { color: var(--c-lagoon); background: var(--c-surface-2); }
.nav-links a[aria-current="page"] { color: var(--c-palm); background: rgba(21,130,79,.1); }

.nav-actions { display: flex; align-items: center; gap: var(--s-4); }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  color: var(--c-lagoon); font-size: var(--fs-sm);
}
.nav-phone svg { width: 17px; height: 17px; color: var(--c-palm); }

@media (max-width: 940px) {
  .nav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: var(--r-md);
    background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: var(--sh-sm);
  }
  .nav-burger svg { width: 22px; height: 22px; color: var(--c-lagoon); }
  .nav-burger .ico-close { display: none; }
  .nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--c-palm); outline-offset: 3px; }

  .nav-links {
    position: fixed; inset: 102px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--c-sand); border-bottom: 1px solid var(--c-line);
    padding: var(--s-4) var(--s-5) var(--s-6);
    box-shadow: var(--sh-card);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .22s var(--ease), opacity .22s var(--ease);
  }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-phone { display: none; }
  .nav-cta { display: none; }

  .nav-toggle:checked ~ .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle:checked + .nav-burger .ico-open { display: none; }
  .nav-toggle:checked + .nav-burger .ico-close { display: block; }
  .nav-links .mobile-cta { display: flex; margin-top: var(--s-3); }
}
.mobile-cta { display: none; }
@media (min-width: 941px) { .mobile-cta { display: none !important; } }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; background: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, #fff 0%, #fff 32%, rgba(255,255,255,.92) 50%, rgba(255,255,255,.5) 73%, rgba(255,255,255,.26) 100%),
    linear-gradient(to top, #fff 0%, rgba(255,255,255,0) 24%),
    linear-gradient(to bottom, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 14%),
    linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12));
}
.hero > .container { position: relative; z-index: 2; }
.hero-inner { padding-block: clamp(72px, 11vw, 150px); }
.hero-copy { max-width: 680px; }
.hero h1 { font-size: var(--fs-hero); margin: var(--s-4) 0 var(--s-5); }
.hero h1 .accent { color: var(--c-sunset); }
.hero-copy .lead { max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero-trust { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-6); font-size: var(--fs-sm); color: var(--c-driftwood); }
.stars { display: inline-flex; gap: 2px; color: var(--c-mango); }
.stars svg { width: 17px; height: 17px; }

@media (max-width: 880px) {
  .hero-bg img { object-position: 64% center; }
  .hero-veil {
    background:
      linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 55%, rgba(255,255,255,.8) 100%),
      linear-gradient(to top, #fff 0%, rgba(255,255,255,0) 30%);
  }
  .hero-inner { padding-block: clamp(48px, 9vw, 90px); }
}

/* =====================================================================
   PHOTO HOLDER — graceful gradient fallback behind <img>
   ===================================================================== */
.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, #1FA89A, #0E5C63 60%, #093F44); }
.ph.warm { background: linear-gradient(135deg, var(--c-mango), var(--c-sunset) 70%); }
.ph.palm { background: linear-gradient(135deg, #2BB673, var(--c-palm) 70%); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  /* Graceful fallback: if the photo 404s (e.g. before you swap in your own),
     the tropical gradient behind shows cleanly instead of broken-image alt text. */
  color: transparent; font-size: 0; text-indent: -9999px; overflow: hidden; }

/* =====================================================================
   TRUST BAR
   ===================================================================== */
.trustbar { border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); background: #E5F4EC; }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); padding-block: var(--s-6); }
.trust-item { display: flex; align-items: center; gap: var(--s-3); }
.trust-ico {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: rgba(21,130,79,.12); color: var(--c-palm);
}
.trust-ico svg { width: 22px; height: 22px; }
.trust-item strong { display: block; font-size: 1.02rem; color: var(--c-ink); font-weight: 700; }
.trust-item span { font-size: var(--fs-sm); color: var(--c-driftwood); }
@media (max-width: 760px) { .trustbar-grid { grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); } }
@media (max-width: 420px) { .trustbar-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   CARDS — service / generic
   ===================================================================== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-5); }
.card {
  background: var(--c-surface); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--c-line); box-shadow: var(--sh-card);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-float); border-color: var(--c-surface-3); }
.card .ph { aspect-ratio: 4/3; }
.card-body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.card-body h3 { font-size: 1.3rem; }
.card-body p { color: var(--c-driftwood); font-size: var(--fs-sm); flex: 1; }
.card-foot { padding-top: var(--s-2); border-top: 1px solid var(--c-line-soft); margin-top: var(--s-2); }
.card-tag {
  position: absolute; top: var(--s-3); left: var(--s-3); z-index: 2;
  background: rgba(11,42,30,.82); color: var(--c-on-canopy); backdrop-filter: blur(4px);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
}

/* =====================================================================
   STATS
   ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.stat {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md);
  padding: var(--s-5); box-shadow: var(--sh-sm);
}
.stat .num { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--c-sunset); line-height: 1; }
.stat .lbl { margin-top: 6px; font-size: var(--fs-sm); color: var(--c-driftwood); }
.stats.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .stats.four { grid-template-columns: repeat(2, 1fr); } }

/* split section (text + media / text + stats) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.media-left .split-media { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--s-6); } .split.media-left .split-media { order: 0; } }
.split-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-float); aspect-ratio: 5/4; }
.split-body h2 { font-size: var(--fs-h2); margin: var(--s-3) 0 var(--s-4); }
.split-body p { color: var(--c-driftwood); margin-bottom: var(--s-4); }

/* =====================================================================
   PROCESS TIMELINE
   ===================================================================== */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
/* continuous rail — runs BELOW the number circles, linking their centers */
.timeline::before {
  content: ""; position: absolute; top: 58px; left: 12.5%; right: 12.5%; height: 2px;
  background: var(--c-line); z-index: 0;
}
.tl-step { position: relative; padding-top: 84px; text-align: center; }
.tl-num {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--c-palm); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.35rem; z-index: 1; box-shadow: var(--sh-sm);
}
.tl-step h3 { font-size: 1.2rem; margin-bottom: 6px; white-space: nowrap; }
.tl-step p { font-size: var(--fs-sm); color: var(--c-driftwood); }
@media (max-width: 820px) {
  .timeline { grid-template-columns: 1fr; gap: var(--s-6); }
  .timeline::before { display: none; }
  .tl-step { padding: 2px 0 0 76px; min-height: 48px; text-align: left; }
  .tl-num { left: 0; transform: none; }
  .tl-step h3 { white-space: normal; }
  .tl-step::before {
    content: ""; position: absolute; left: 23px; top: 48px; bottom: -32px; width: 2px;
    background: var(--c-line); z-index: 0;
  }
  .tl-step:last-child::before { display: none; }
}

/* =====================================================================
   COMPARISON TABLE
   ===================================================================== */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--c-surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-card); border: 1px solid var(--c-line); }
.compare th, .compare td { padding: var(--s-4) var(--s-5); text-align: left; border-bottom: 1px solid var(--c-line-soft); }
.compare thead th { background: var(--c-canopy); color: var(--c-on-canopy); font-family: var(--font-body); font-weight: 700; font-size: var(--fs-sm); }
.compare thead th:first-child { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.compare tbody th { font-weight: 600; color: var(--c-ink); }
.compare td { color: var(--c-driftwood); font-size: var(--fs-sm); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .col-hl { background: rgba(21,130,79,.06); }
.compare .yes { color: var(--c-palm); font-weight: 700; }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* =====================================================================
   FAQ ACCORDION (CSS-only via <details>)
   ===================================================================== */
.faq { display: grid; gap: var(--s-3); max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md);
  box-shadow: var(--sh-sm); overflow: hidden; transition: border-color .2s var(--ease);
}
.faq details[open] { border-color: var(--c-palm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-4) var(--s-5); font-weight: 700; color: var(--c-lagoon);
  font-size: 1.08rem; list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 22px; height: 22px; color: var(--c-palm); transition: transform .22s var(--ease); }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq summary:hover { color: var(--c-palm); }
.faq .faq-body { padding: 0 var(--s-5) var(--s-5); color: var(--c-driftwood); }

/* =====================================================================
   PRICING TIERS
   ===================================================================== */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); align-items: stretch; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.tier {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: var(--s-6); box-shadow: var(--sh-card); display: flex; flex-direction: column; gap: var(--s-4);
}
.tier.featured { border: 2px solid var(--c-palm); box-shadow: var(--sh-float); position: relative; }
.tier-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--c-palm); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: var(--r-pill);
}
.tier h3 { font-size: 1.5rem; color: var(--c-lagoon); }
.tier .price { font-family: var(--font-display); font-size: 2.4rem; color: var(--c-sunset); line-height: 1; }
.tier .price small { font-family: var(--font-body); font-size: .85rem; color: var(--c-driftwood); font-weight: 600; }
.tier .desc { font-size: var(--fs-sm); color: var(--c-driftwood); }
.tier ul.feats { display: grid; gap: var(--s-3); margin-top: var(--s-2); }
.tier ul.feats li { display: flex; gap: var(--s-3); font-size: var(--fs-sm); align-items: flex-start; }
.tier ul.feats svg { width: 18px; height: 18px; color: var(--c-palm); flex: none; margin-top: 3px; }
.tier .btn { margin-top: auto; }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s-5); }
.quote {
  position: relative; background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-card);
}
.quote .mark { position: absolute; top: var(--s-4); right: var(--s-5); font-family: var(--font-display); font-size: 4rem; color: var(--c-surface-3); line-height: 1; }
.quote .stars { margin-bottom: var(--s-3); }
.quote blockquote { font-size: 1.08rem; color: var(--c-ink); line-height: 1.6; }
.quote cite { display: block; margin-top: var(--s-4); font-style: normal; font-weight: 700; color: var(--c-lagoon); }
.quote cite span { display: block; font-weight: 500; font-size: var(--fs-sm); color: var(--c-driftwood); }

/* =====================================================================
   GALLERY / PORTFOLIO
   ===================================================================== */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-4); grid-auto-flow: dense; }
.gal-item { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-card); grid-column: span 4; aspect-ratio: 4/3; }
.gal-item.wide { grid-column: span 8; aspect-ratio: 16/9; }
.gal-item.tall { grid-column: span 4; aspect-ratio: 3/4; }
.gal-item .ph { width: 100%; height: 100%; }
.gal-item img { transition: transform .5s var(--ease); }
.gal-item:hover img { transform: scale(1.06); }
.gal-cap {
  position: absolute; inset: auto 0 0 0; padding: var(--s-5) var(--s-4) var(--s-4);
  background: linear-gradient(transparent, rgba(11,42,30,.86));
  color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.gal-item:hover .gal-cap, .gal-item:focus-within .gal-cap { opacity: 1; transform: translateY(0); }
.gal-cap strong { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.gal-cap span { font-size: var(--fs-sm); opacity: .85; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gal-item, .gal-item.wide, .gal-item.tall { grid-column: span 1; aspect-ratio: 4/3; }
}
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* ── Before / After ───────────────────────────────── */
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-float); }
.ba-pane { position: relative; aspect-ratio: 4/3; }
.ba-pane .ph { width: 100%; height: 100%; }
.ba-tag {
  position: absolute; top: var(--s-4); left: var(--s-4); z-index: 2;
  background: rgba(255,255,255,.94); color: var(--c-ink); font-weight: 700;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--r-pill); box-shadow: var(--sh-sm);
}
.ba-tag.after { background: var(--c-palm); color: #fff; }
@media (max-width: 620px) { .beforeafter { grid-template-columns: 1fr; } }

/* =====================================================================
   CTA BAND + CONTACT FORM
   ===================================================================== */
.cta-band {
  border: 1.5px solid var(--c-line); border-radius: var(--r-xl);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(31,160,99,.10), transparent 60%),
    var(--c-surface);
  box-shadow: var(--sh-card); overflow: hidden;
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; }
.cta-info { padding: clamp(32px, 5vw, 64px); }
.cta-info h2 { font-size: var(--fs-h2); margin: var(--s-3) 0 var(--s-4); }
.cta-info p { color: var(--c-driftwood); }
.cta-list { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.cta-list li { display: flex; align-items: center; gap: var(--s-3); font-weight: 600; color: var(--c-ink); font-size: var(--fs-sm); }
.cta-list svg { width: 20px; height: 20px; color: var(--c-palm); flex: none; }
.cta-form { padding: clamp(32px, 5vw, 56px); background: var(--c-surface-2); border-left: 1px solid var(--c-line); }
@media (max-width: 820px) { .cta-grid { grid-template-columns: 1fr; } .cta-form { border-left: 0; border-top: 1px solid var(--c-line); } }

/* ── Form controls ────────────────────────────────── */
.cta-form .btn-block[type="submit"] { margin-top: var(--s-5); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--c-ink); }
.field label .req { color: var(--c-sunset); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: var(--fs-body); color: var(--c-ink);
  background: var(--c-surface); border: 1.5px solid var(--c-line); border-radius: var(--r-sm);
  padding: 13px 15px; width: 100%; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #A8997F; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-palm); box-shadow: 0 0 0 3px rgba(21,130,79,.16);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236E5A47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.form-note { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--c-driftwood); text-align: center; }
.fieldset-reset { border: 0; padding: 0; margin: 0; }

/* =====================================================================
   PAGE HEADER (interior pages)
   ===================================================================== */
.page-hero { position: relative; padding-block: clamp(56px, 8vw, 104px); background: var(--c-surface); border-bottom: 1px solid var(--c-line); overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(31,160,99,.12), transparent 70%); pointer-events: none;
}
.page-hero .inner { position: relative; max-width: 720px; }
.page-hero .inner.inner-wide { max-width: 100%; }
.page-hero .inner.inner-wide h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); max-width: none; }
.page-hero .inner.inner-wide p { max-width: 90ch; }
.page-hero h1 { font-size: var(--fs-h1); margin: var(--s-3) 0 var(--s-4); }
.page-hero p { font-size: var(--fs-lead); color: var(--c-driftwood); }
.breadcrumb { font-size: var(--fs-sm); color: var(--c-driftwood); margin-bottom: var(--s-2); }
.breadcrumb a:hover { color: var(--c-palm); }
.breadcrumb span { color: var(--c-line); }

/* =====================================================================
   BLOG
   ===================================================================== */
.feature-post { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-6); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-card); }
.feature-post .ph { min-height: 320px; }
.feature-post .fp-body { padding: clamp(28px, 4vw, 52px); align-self: center; }
.feature-post .fp-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: var(--s-3) 0 var(--s-4); }
.feature-post .fp-body p { color: var(--c-driftwood); margin-bottom: var(--s-5); }
@media (max-width: 820px) { .feature-post { grid-template-columns: 1fr; } .feature-post .ph { aspect-ratio: 16/9; min-height: 0; } }

.post-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--s-5); }
.post-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-card); transition: transform .2s var(--ease), box-shadow .2s var(--ease); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-float); }
.post-card .ph { aspect-ratio: 16/10; }
.post-card .pc-body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.post-meta { display: flex; gap: var(--s-3); align-items: center; font-size: .82rem; color: var(--c-driftwood); }
.pill-tag { background: rgba(21,130,79,.1); color: var(--c-palm); font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: 4px 11px; border-radius: var(--r-pill); }
.post-card h3 { font-size: 1.28rem; }
.post-card p { font-size: var(--fs-sm); color: var(--c-driftwood); flex: 1; }

/* =====================================================================
   CONTACT INFO BLOCKS
   ===================================================================== */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: var(--s-5); box-shadow: var(--sh-sm); display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-card .ci { width: 44px; height: 44px; border-radius: 50%; background: rgba(226,98,44,.12); color: var(--c-sunset); display: grid; place-items: center; flex: none; }
.contact-card .ci svg { width: 21px; height: 21px; }
.contact-card h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; color: var(--c-ink); }
.contact-card a, .contact-card p { color: var(--c-driftwood); font-size: var(--fs-sm); }
.contact-card a:hover { color: var(--c-palm); }

.area-chips { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.area-chip { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-pill); padding: 10px 20px; font-weight: 600; font-size: var(--fs-sm); color: var(--c-lagoon); box-shadow: var(--sh-sm); }
.area-chip:hover { border-color: var(--c-palm); color: var(--c-palm); }

.map-frame { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-card); border: 1px solid var(--c-line); min-height: 320px; position: relative; }
.map-frame .ph { width: 100%; height: 100%; min-height: 320px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--c-canopy); color: var(--c-on-canopy); padding-block: var(--s-8) var(--s-6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--s-6); }
.footer-brand .brand-text strong { color: var(--c-mango); }
.footer-brand .brand-text span { color: rgba(239,231,214,.7); }
.footer-about { margin-top: var(--s-4); color: rgba(239,231,214,.72); font-size: var(--fs-sm); max-width: 34ch; }
.footer-col h4 { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: var(--s-4); display: flex; align-items: center; gap: 8px; }
.footer-col h4 svg { width: 16px; height: 16px; color: var(--c-mango); }
.footer-col ul { display: grid; gap: var(--s-3); }
.footer-col a { color: rgba(239,231,214,.78); font-size: var(--fs-sm); transition: color .18s var(--ease); }
.footer-col a:hover { color: var(--c-mango); }
.footer-contact li { display: flex; gap: var(--s-3); align-items: flex-start; color: rgba(239,231,214,.78); font-size: var(--fs-sm); }
.footer-contact svg { width: 17px; height: 17px; color: var(--c-mango); flex: none; margin-top: 3px; }
.footer-social { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .18s var(--ease), transform .18s var(--ease); }
.footer-social a:hover { background: var(--c-palm); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; font-size: var(--fs-sm); color: rgba(239,231,214,.6); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   MISC HELPERS
   ===================================================================== */
.mt-6 { margin-top: var(--s-6); }
.mt-5 { margin-top: var(--s-5); }
.center { text-align: center; }
.muted { color: var(--c-driftwood); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.value-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-sm); }
.value-card .vi { width: 50px; height: 50px; border-radius: var(--r-md); background: rgba(14,92,99,.1); color: var(--c-lagoon); display: grid; place-items: center; margin-bottom: var(--s-4); }
.value-card .vi svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.value-card p { font-size: var(--fs-sm); color: var(--c-driftwood); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   FORM ALERTS (WP contact form feedback)
   ===================================================================== */
.form-alert {
  padding: var(--s-4) var(--s-5); border-radius: var(--r-md);
  margin-bottom: var(--s-5); font-weight: 600; font-size: var(--fs-sm);
  display: flex; align-items: flex-start; gap: var(--s-3);
}
.form-alert-success { background: rgba(21,130,79,.10); color: var(--c-palm); border: 1.5px solid rgba(21,130,79,.25); }
.form-alert-error   { background: rgba(226,98,44,.08); color: var(--c-sunset); border: 1.5px solid rgba(226,98,44,.25); }
.form-alert a { color: inherit; text-decoration: underline; }

/* ── WordPress alignments & content ──────────────────── */
.entry-content img { border-radius: var(--r-md); }
.entry-content h2 { font-size: var(--fs-h2); margin: var(--s-6) 0 var(--s-4); }
.entry-content h3 { font-size: var(--fs-h3); margin: var(--s-5) 0 var(--s-3); }
.entry-content p  { color: var(--c-driftwood); margin-bottom: var(--s-4); }
.entry-content ul, .entry-content ol { padding-left: var(--s-6); color: var(--c-driftwood); margin-bottom: var(--s-4); }
.entry-content li { margin-bottom: var(--s-2); }
