/* =========================================================================
   Sunflower Occupational Therapy — styles.css
   Brand teal sampled from logo: #1f5056
   Palette: cream canvas · deep teal ink · sunflower-gold accent
   ========================================================================= */

:root {
  /* Brand */
  --teal:        #1f5056;   /* primary brand (from logo) */
  --teal-deep:   #143539;   /* headings / strong ink */
  --teal-soft:   #3c6e73;   /* secondary teal */
  --teal-tint:   #e4ece9;   /* faint teal wash */

  /* Sunflower accent — used sparingly */
  --gold:        #e0a73e;
  --gold-deep:   #c98f28;
  --gold-soft:   #f6e6c2;

  /* Neutrals — warm cream */
  --cream:       #fbf6ec;   /* page background */
  --cream-2:     #f5ecdb;   /* alt sections / cards */
  --cream-3:     #efe4cf;   /* borders on cream */
  --paper:       #fffdf8;   /* card surface */
  --ink:         #2c4a4d;   /* body text */
  --ink-soft:    #5c7174;   /* muted text */

  --line:        #e7dcc6;   /* hairline borders */

  /* Type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Shape */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 30px;
  --r-xl: 44px;

  --shadow:    0 18px 50px -28px rgba(20, 53, 57, 0.30);
  --shadow-sm: 0 8px 24px -16px rgba(20, 53, 57, 0.28);

  --maxw: 1140px;
  --pad: clamp(20px, 5vw, 64px);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-deep); }
h1, h2, h3 { font-family: var(--serif); color: var(--teal-deep); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(56px, 9vw, 110px); }
.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-soft);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-head { max-width: 640px; margin-bottom: clamp(34px, 5vw, 54px); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.075rem; }
.lede { font-size: 1.18rem; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  line-height: 1; white-space: nowrap;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--teal-deep); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 12px 20px; font-size: 0.95rem; }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; color: var(--teal-deep); line-height: 1.05; letter-spacing: -0.01em; }
.brand-name small { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-soft); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 600; font-size: 0.98rem; color: var(--teal-deep); position: relative; }
.nav a::after { content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; border-radius:2px; }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(60% 70% at 82% 8%, var(--gold-soft) 0%, transparent 55%),
    radial-gradient(50% 60% at 10% 95%, var(--teal-tint) 0%, transparent 60%);
  opacity: .7; pointer-events:none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px);
  align-items: center; padding-block: clamp(40px, 7vw, 84px);
}
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); line-height: 1.06; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero .sub { margin-top: 22px; font-size: 1.18rem; color: var(--ink); max-width: 30ch; }
.hero .sub.wide { max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin-top: 22px; font-size: 0.95rem; color: var(--ink-soft); display:flex; align-items:center; gap:9px; }
.hero-note .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }

/* Logo medallion */
.hero-art { position: relative; display: grid; place-items: center; }
.medallion {
  position: relative; width: min(100%, 460px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--paper) 0%, var(--cream-2) 100%);
  border: 1px solid var(--cream-3);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.medallion::after {
  content:""; position:absolute; inset:-14px; border-radius:50%;
  border: 1.5px dashed color-mix(in srgb, var(--gold) 55%, transparent);
  opacity:.55;
}
.medallion img { width: 84%; height: 84%; object-fit: contain; }

/* =========================================================================
   Trust band
   ========================================================================= */
.trust { background: var(--teal); color: #fff; }
.trust .wrap { text-align: center; max-width: 920px; }
.trust p { font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.4; color: #fff; font-weight: 400; }
.trust p .hl { color: var(--gold-soft); font-style: italic; }
.trust .mark { width: 44px; height: 44px; margin: 0 auto 26px; line-height: 0; }

/* =========================================================================
   Services
   ========================================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--cream-3); }
.card .ic { width: 46px; height: 46px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 14px; background: var(--cream-2); }
.card .ic .seed { width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 22%, transparent); }
.card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.card .free-tag {
  display:inline-block; margin-bottom: 14px; font-family: var(--sans); font-weight:700;
  font-size:0.72rem; letter-spacing:.1em; text-transform:uppercase; color: var(--gold-deep);
  background: var(--gold-soft); padding: 5px 11px; border-radius: 999px;
}

/* =========================================================================
   Who we support
   ========================================================================= */
.support { background: var(--cream-2); }
.support-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.chip {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 20px; font-weight: 600; font-size: 0.98rem; color: var(--teal-deep);
  display: inline-flex; align-items: center; gap: 9px;
}
.chip::before { content:""; width: 7px; height: 7px; border-radius:50%; background: var(--teal-soft); }
.callout {
  background: var(--paper); border: 1px solid var(--cream-3); border-left: 5px solid var(--gold);
  border-radius: var(--r-md); padding: 30px 32px; box-shadow: var(--shadow-sm);
}
.callout p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--teal-deep); }
.callout .small { font-family: var(--sans); font-size: 0.98rem; color: var(--ink-soft); margin-top: 14px; }

/* =========================================================================
   How it works
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 16px; }
.step .num {
  font-family: var(--serif); font-size: 2.6rem; color: var(--gold); font-weight: 500; line-height: 1;
  display: block; margin-bottom: 14px;
}
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }
.step::before {
  content:""; position:absolute; top: 30px; left: 54px; right: -22px; height: 2px;
  background: repeating-linear-gradient(to right, var(--cream-3) 0 8px, transparent 8px 16px);
}
.step:last-child::before { display: none; }

/* =========================================================================
   Fees
   ========================================================================= */
.fees { background: var(--cream-2); }
.fees-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.fee-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.fee-row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 22px 30px; border-bottom: 1px solid var(--line); }
.fee-row:last-child { border-bottom: none; }
.fee-row .label { font-weight: 600; color: var(--teal-deep); }
.fee-row .label small { display:block; font-weight:400; color: var(--ink-soft); font-size:0.9rem; margin-top:3px; }
.fee-row .val { font-family: var(--serif); font-size: 1.35rem; color: var(--teal); white-space: nowrap; font-weight: 500; }
.fee-row.free { background: var(--gold-soft); }
.fee-row.free .val { color: var(--gold-deep); }
.fee-foot { font-size: 0.95rem; color: var(--ink-soft); padding: 18px 30px; background: var(--cream); }

/* =========================================================================
   Privacy
   ========================================================================= */
.privacy .wrap { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; max-width: 920px; }
.privacy .badge { width: 64px; height: 64px; border-radius: 18px; background: var(--teal-tint); display:grid; place-items:center; flex:none; }
.privacy .badge .lock { width: 22px; height: 28px; border: 3px solid var(--teal); border-radius: 5px; position: relative; margin-top: 8px; }
.privacy .badge .lock::before { content:""; position:absolute; top:-13px; left:50%; transform:translateX(-50%); width:14px; height:14px; border:3px solid var(--teal); border-bottom:none; border-radius: 8px 8px 0 0; }
.privacy p { color: var(--ink); }
.privacy h3 { font-size: 1.4rem; margin-bottom: 10px; }

/* =========================================================================
   Contact
   ========================================================================= */
.contact { background: var(--teal-deep); color: var(--cream); }
.contact .eyebrow { color: var(--gold-soft); }
.contact .eyebrow::before { background: var(--gold); }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(34px, 5vw, 64px); align-items: start; }
.contact-intro p { color: color-mix(in srgb, var(--cream) 82%, transparent); margin-top: 16px; }
.contact-intro .point { display: flex; gap: 13px; align-items: flex-start; margin-top: 20px; }
.contact-intro .point .d { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin-top: 8px; flex: none; }
.contact-intro .point span { color: color-mix(in srgb, var(--cream) 85%, transparent); font-size: 1rem; }

.form { background: var(--paper); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow); }
.form .field { margin-bottom: 18px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-weight: 700; font-size: 0.9rem; color: var(--teal-deep); margin-bottom: 7px; }
.form label .opt { font-weight: 400; color: var(--ink-soft); }
.form input, .form select, .form textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 15px; transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 14%, transparent);
}
.form textarea { resize: vertical; min-height: 120px; }
.form .consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; }
.form .consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--teal); }
.form .consent label { font-weight: 500; font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.form .btn { width: 100%; }
.form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-status { margin-top: 14px; font-size: 0.95rem; text-align: center; min-height: 1.2em; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #b4452e; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--line); padding-block: 54px 34px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { display:flex; align-items:center; gap: 13px; }
.footer-brand img { width: 52px; height: 52px; object-fit: contain; }
.footer-brand .t { font-family: var(--serif); font-weight: 600; color: var(--teal-deep); font-size: 1.15rem; }
.footer-brand .t small { display:block; font-family: var(--sans); font-weight: 500; color: var(--ink-soft); font-size: 0.92rem; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-weight: 600; color: var(--teal-deep); font-size: 0.98rem; }
.footer-disclaimer { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); display:flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-disclaimer p { color: var(--ink-soft); font-size: 0.9rem; max-width: 60ch; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .medallion { width: min(72%, 340px); }
  .hero .sub { max-width: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .support-grid, .fees-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::before { display: none; }
  .nav, .header-cta .btn-primary { display: none; }
  .menu-toggle {
    display: inline-flex; align-items:center; gap:8px; background: none; border: 1.5px solid var(--line);
    border-radius: 999px; padding: 10px 16px; font-family: var(--sans); font-weight: 700; color: var(--teal-deep); cursor: pointer;
  }
  .nav.open {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 16px var(--pad) 24px;
  }
  .nav.open a { padding: 10px 0; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
  .brand-name small { display: none; }
}

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