/* ============================================================
   Golden Health — Shared Styles
   Aesthetic: premium, calming, gold-on-white wellness
   ============================================================ */

:root {
  /* Brand gold (sampled from logo) */
  --gold:        #BE924B;
  --gold-deep:   #9E7838;
  --gold-tint:   #EDE3D1;

  /* Neutrals */
  --white:       #FFFFFF;
  --offwhite:    #FBF9F6;
  --cream:       #F5F0E8;
  --line:        #E7E0D4;

  /* Text */
  --ink:         #1F1D1A;
  --muted:       #6B655C;

  /* Calm accent */
  --sage:        #8A9A86;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vw, 150px);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 12px;
  --shadow-soft: 0 18px 50px -28px rgba(31,29,26,.28);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: .2px; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 1rem;
  display: inline-block;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.gold-word { color: var(--gold); font-style: italic; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.bg-offwhite { background: var(--offwhite); }
.bg-cream { background: var(--cream); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 700; font-size: .95rem;
  letter-spacing: .02em; padding: .95em 1.9em; border-radius: 999px;
  cursor: pointer; border: 1.5px solid transparent; transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(158,120,56,.6); }
.btn-ghost { background: transparent; color: var(--gold-deep); border-color: var(--gold); }
.btn-ghost:hover { background: var(--gold-tint); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(31,29,26,.5); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.nav .logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: .95rem; font-weight: 600; color: var(--ink); position: relative; padding: 4px 0; transition: color .25s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold-deep); }
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(70px, 12vw, 140px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 520px at 78% -8%, var(--gold-tint) 0%, transparent 60%),
    radial-gradient(800px 460px at 0% 110%, var(--cream) 0%, transparent 55%),
    var(--white);
}
.hero-inner { max-width: 760px; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { margin-bottom: 2rem; }
.trust-line { margin-top: 1.8rem; font-size: .9rem; color: var(--muted); letter-spacing: .01em; }

/* ---------- Strip ---------- */
.strip { background: var(--ink); color: #fff; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; padding-block: 26px; }
.strip span { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #e9e2d4; font-weight: 600; }
.strip span::before { content: "✦"; color: var(--gold); margin-right: 14px; }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.center .section-head { margin-inline: auto; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--gold-tint); }
.card .num { font-family: var(--serif); font-size: 1.2rem; color: var(--gold); font-style: italic; margin-bottom: .4rem; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-tint); display: grid; place-items: center; margin-bottom: 16px; color: var(--gold-deep); }
.card-icon svg { width: 22px; height: 22px; }

/* ---------- Service detail blocks ---------- */
.service { border-top: 1px solid var(--line); padding-block: clamp(34px, 5vw, 52px); }
.service:first-of-type { border-top: 0; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: start; }
.service h3 { margin-bottom: 1rem; }
.tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--gold); font-weight: 700; margin-bottom: .8rem; display: block; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .7rem; color: var(--muted); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.ticks-label { font-weight: 700; color: var(--ink); margin-bottom: .8rem; }

/* ---------- Quote / pull ---------- */
.pull { border-left: 3px solid var(--gold); padding: 6px 0 6px 26px; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.8rem); color: var(--ink); max-width: 720px; }

/* ---------- Steps ---------- */
.step { display: grid; grid-template-columns: 92px 1fr; gap: 28px; padding-block: clamp(26px,4vw,40px); border-top: 1px solid var(--line); align-items: start; }
.step:first-of-type { border-top: 0; }
.step .step-n { font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: 1; font-style: italic; }
.step h3 { margin-bottom: .7rem; }
.step .note { font-size: .9rem; color: var(--muted); font-style: italic; margin-top: .6rem; }

/* ---------- Testimonials ---------- */
.quote-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.quote-card .mark { font-family: var(--serif); font-size: 3rem; color: var(--gold-tint); line-height: .5; }
.quote-card p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink); margin: 14px 0 18px; }
.quote-card .who { font-size: .85rem; color: var(--muted); font-weight: 600; }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 24px 44px 24px 0; font-family: var(--serif); font-size: clamp(1.1rem,1.8vw,1.35rem); color: var(--ink); position: relative; }
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.6rem; color: var(--gold); transition: transform .3s; font-weight: 300; }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 44px 26px 0; color: var(--muted); }

/* ---------- Resources ---------- */
.res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.res-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.res-list strong { color: var(--ink); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; max-width: 620px; }
.field label { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-tint); }
.field.error input, .field.error select, .field.error textarea { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
.field .err-msg { display: none; color: #b3261e; font-size: .8rem; margin-top: 6px; }
.field.error .err-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form-success { display: none; background: var(--gold-tint); border: 1px solid var(--gold); border-radius: var(--radius); padding: 22px 26px; color: var(--ink); }
.form-success.show { display: block; }

/* ---------- Crisis notice ---------- */
.crisis { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px 30px; }
.crisis h3 { color: #fff; margin-bottom: .6rem; }
.crisis strong { color: var(--gold); }
.crisis a { color: var(--gold); border-bottom: 1px solid currentColor; }

/* ---------- Contact details ---------- */
.contact-rows { display: grid; gap: 18px; }
.contact-rows .row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.contact-rows .row .k { font-weight: 700; color: var(--gold-deep); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--cream); border-radius: clamp(16px, 3vw, 28px); padding: clamp(44px, 7vw, 84px); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(600px 300px at 50% -20%, var(--gold-tint) 0%, transparent 65%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band .lead { margin: 0 auto 1.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc8ba; padding-block: 60px 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer .logo img { height: 40px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .92; }
.site-footer h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; font-size: .8rem; color: #978f81; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-disclaimer { font-size: .78rem; color: #8d8576; margin-top: 14px; max-width: 70ch; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; padding-block: clamp(60px, 9vw, 110px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 420px at 85% -10%, var(--gold-tint) 0%, transparent 60%), var(--offwhite); }
.page-hero .lead { margin-top: 1.2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 84px 0 auto 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px var(--gutter) 24px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .4s var(--ease); box-shadow: var(--shadow-soft); }
  .nav-links.open { transform: none; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-links .nav-cta { margin: 14px 0 0; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .service-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .step { grid-template-columns: 60px 1fr; gap: 16px; }
  .step .step-n { font-size: 2.2rem; }
  .contact-rows .row { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ============================================================
   CODE-BASED VISUALS (SVG art, gradients, texture)
   ============================================================ */

/* Subtle grain/noise overlay for depth on light sections */
.has-texture { position: relative; }
.has-texture::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.has-texture > * { position: relative; z-index: 1; }

/* Hero decorative figure motif (echoes the logo's rising figure) */
.hero { }
.hero-art {
  position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  width: min(46vw, 560px); height: auto; z-index: -1; opacity: .9;
  pointer-events: none;
}
.hero-art .stroke { fill: none; stroke: var(--gold); stroke-width: 1.1; opacity: .55; }
.hero-art .stroke-soft { fill: none; stroke: var(--gold); stroke-width: .8; opacity: .28; }
.hero-art .fill-tint { fill: var(--gold-tint); opacity: .5; }
.hero-art .fill-gold { fill: var(--gold); opacity: .9; }
@media (max-width: 860px){ .hero-art { opacity: .35; right: -18%; width: 80vw; } }

/* Floating animation for organic motion */
@keyframes floaty { 0%,100%{ transform: translateY(-50%) } 50%{ transform: translateY(calc(-50% - 14px)) } }
.hero-art.animate { animation: floaty 9s ease-in-out infinite; }

/* Section divider — flowing line wave */
.wave-divider { display:block; width:100%; height:60px; color: var(--gold-tint); }
.wave-divider path { fill: currentColor; }

/* Botanical / sprig accent for section heads */
.sprig { width: 54px; height: auto; display:block; margin-bottom: 14px; color: var(--gold); }
.center .sprig { margin-inline:auto; }
.sprig path, .sprig circle { stroke: currentColor; fill:none; stroke-width: 1.4; }
.sprig .dot { fill: currentColor; stroke:none; }

/* Decorative corner motif on cards */
.card { position: relative; overflow: hidden; }
.card .corner {
  position:absolute; top:-26px; right:-26px; width:90px; height:90px; opacity:.12;
  color: var(--gold); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.card:hover .corner { opacity:.22; transform: rotate(8deg) scale(1.05); }
.card .corner path { fill:none; stroke:currentColor; stroke-width:1.4; }

/* Quote cards: large serif mark already present; add soft tint blob */
.quote-card { position:relative; overflow:hidden; }
.quote-card::before {
  content:""; position:absolute; width:160px; height:160px; right:-50px; bottom:-60px;
  background: radial-gradient(circle at center, var(--gold-tint), transparent 70%); opacity:.6; z-index:0;
}
.quote-card > * { position:relative; z-index:1; }

/* Step number circles get a soft ring */
.step .step-n { position:relative; }
.step .step-n::after {
  content:""; position:absolute; left:-10px; top:50%; transform:translateY(-50%);
  width:74px; height:74px; border:1px solid var(--gold-tint); border-radius:50%; z-index:-1;
}
@media (max-width:860px){ .step .step-n::after{ width:54px; height:54px; left:-6px; } }

/* Gradient orb accents for page heroes */
.orb { position:absolute; border-radius:50%; filter: blur(8px); z-index:-1; pointer-events:none; }

/* Mission/CTA decorative arc */
.arc-accent { position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.arc-accent svg{ position:absolute; }
