/* Oakleaf Family Chiropractic, Inc. — site styles */
:root{
  --teal-900:#0b3b46;
  --teal-700:#124f5e;
  --teal-600:#1a6577;
  --logo:#245671;
  --eu-300:#c9ddd2;
  --eu-400:#9bbfaa;
  --eu-600:#3f6f5a;
  --ivory:#faf6ec;
  --ivory-2:#f3ecdc;
  --slate-700:#3f5a74;
  --slate-600:#4b6783;
  --slate-100:#e6ecf2;
  --white:#fff;
  --ink:#1c2b33;
  --muted:#46575f;
  --line:#ddd5c2;
  --radius:18px;
  --shadow:0 10px 30px -14px rgba(11,59,70,.28);
  --serif:"Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif;
  --sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--sans);font-size:1.0625rem;line-height:1.65;color:var(--ink);background:var(--ivory)}
img,svg{max-width:100%;height:auto}
a{color:var(--teal-600);text-underline-offset:3px}
a:hover{color:var(--teal-900)}
:focus-visible{outline:3px solid var(--teal-600);outline-offset:3px;border-radius:4px}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-999px;top:8px;background:var(--teal-900);color:#fff;padding:.6rem 1rem;border-radius:8px;z-index:100}
.skip-link:focus{left:8px;color:#fff}
.container{width:min(1160px,100% - 2.5rem);margin-inline:auto}
h1,h2,h3,h4{font-family:var(--serif);color:var(--teal-900);line-height:1.2;margin:0 0 .6em;font-weight:600}
h1{font-size:clamp(2.1rem,4.6vw,3.4rem);letter-spacing:-.01em}
h2{font-size:clamp(1.6rem,3vw,2.3rem)}
h3{font-size:1.3rem}
p{margin:0 0 1.1em}
.lead{font-size:1.2rem;color:var(--muted);max-width:60ch}
.eyebrow{display:inline-flex;align-items:center;gap:.6rem;font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--eu-600);margin-bottom:1rem}
.eyebrow::before{content:"";width:28px;height:2px;background:var(--eu-400);border-radius:2px}

/* utility bar */
.topbar{background:var(--teal-900);color:#e8f0ee;font-size:.9rem}
.topbar .container{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.5rem 0;flex-wrap:wrap}
.topbar a{color:#fff;text-decoration:none;font-weight:600}
.topbar a:hover{text-decoration:underline;color:#fff}
.topbar .legal{opacity:.95}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.98);border-bottom:1px solid var(--line);transition:box-shadow .25s ease}
.site-header.scrolled{box-shadow:0 8px 24px -16px rgba(11,59,70,.4)}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.7rem 0}
.brand{display:block;line-height:0;flex:0 0 auto}
.brand img{width:clamp(170px,15vw,205px);height:auto;display:block}
.nav-list{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:.15rem}
.nav-list a{display:block;white-space:nowrap;padding:.5rem .5rem;border-radius:999px;color:var(--teal-900);text-decoration:none;font-weight:600;font-size:.92rem;transition:background .2s ease,color .2s ease}
.nav-list a:hover{background:var(--ivory-2)}
.nav-list a[aria-current="page"]{background:var(--eu-300);color:var(--teal-900)}
.nav-list .nav-cta a{background:var(--teal-700);color:#fff;margin-left:.4rem}
.nav-list .nav-cta a:hover{background:var(--teal-900)}
.nav-toggle{display:none;background:var(--ivory);border:1px solid var(--line);border-radius:12px;padding:.55rem .8rem;font:inherit;font-weight:700;color:var(--teal-900);cursor:pointer;align-items:center;gap:.55rem}
.nav-toggle .bars{width:20px;height:14px;position:relative;display:inline-block}
.nav-toggle .bars i{position:absolute;left:0;right:0;height:2px;background:var(--teal-900);border-radius:2px;transition:transform .25s ease,opacity .2s ease,top .25s ease}
.nav-toggle .bars i:nth-child(1){top:0}.nav-toggle .bars i:nth-child(2){top:6px}.nav-toggle .bars i:nth-child(3){top:12px}
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1){top:6px;transform:rotate(45deg)}
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3){top:6px;transform:rotate(-45deg)}

@media (max-width:1280px){
  .nav-toggle{display:inline-flex}
  .nav-list{position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;background:#fff;border-bottom:1px solid var(--line);padding:.5rem 1.25rem 1.25rem;max-height:0;overflow:hidden;visibility:hidden;opacity:0;transform:translateY(-8px);transition:opacity .25s ease,transform .25s ease,max-height .3s ease,visibility 0s linear .3s;box-shadow:0 20px 30px -20px rgba(11,59,70,.4)}
  .nav-list.open{max-height:90vh;overflow:auto;visibility:visible;opacity:1;transform:none;transition:opacity .25s ease,transform .25s ease,max-height .3s ease}
  .nav-list a{border-radius:10px;padding:.85rem .9rem;font-size:1.02rem}
  .nav-list .nav-cta a{margin:.6rem 0 0;text-align:center}
  .nav-list a{white-space:normal}
}
@media (max-width:560px){.topbar .legal{font-size:.82rem}}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.85rem 1.5rem;border-radius:999px;font:inherit;font-weight:700;font-size:1rem;text-decoration:none;border:2px solid transparent;cursor:pointer;transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0)}
.btn-primary{background:var(--teal-700);color:#fff}
.btn-primary:hover{background:var(--teal-900);color:#fff;box-shadow:0 10px 20px -12px rgba(11,59,70,.7)}
.btn-ghost{background:transparent;border-color:var(--teal-700);color:var(--teal-700)}
.btn-ghost:hover{background:var(--teal-700);color:#fff}
.btn-light{background:#fff;color:var(--teal-900)}
.btn-light:hover{background:var(--ivory);color:var(--teal-900)}
.btn-outline-light{border-color:rgba(255,255,255,.75);color:#fff}
.btn-outline-light:hover{background:#fff;color:var(--teal-900)}
.btn-row{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.6rem}

/* hero */
.hero{position:relative;background:var(--ivory);overflow:hidden}
.hero .container{display:grid;grid-template-columns:1.15fr .85fr;gap:2.5rem;align-items:center;padding:3.2rem 0 4.5rem}
.hero-logo{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem 1.6rem;box-shadow:var(--shadow);display:inline-block;margin-bottom:1.8rem}
.hero-logo img{display:block;width:min(430px,100%);height:auto}
.hero h1{margin-bottom:.5em}
.hero .legal-line{font-weight:700;color:var(--teal-700);margin-bottom:.4rem}
.hero-art{position:relative;display:flex;justify-content:center}
.hero-art::before{content:"";position:absolute;inset:6% 4% 2% 4%;background:var(--eu-300);border-radius:48% 52% 46% 54% / 38% 40% 60% 62%;opacity:.55}
.hero-art img{position:relative;width:min(300px,70%);height:auto}

/* page hero */
.page-hero{background:var(--ivory);position:relative;overflow:hidden}
.page-hero .container{display:grid;grid-template-columns:1.3fr .7fr;gap:2rem;align-items:center;padding:3.2rem 0 4rem}
.page-hero.no-art .container{grid-template-columns:1fr}
.page-hero .art{display:flex;justify-content:center}
.page-hero .art img{width:min(260px,70%);opacity:.95}
.page-hero .art.wide img{width:min(420px,100%)}

/* sections */
.section{padding:4.2rem 0}
.section.white{background:#fff}
.section.ivory2{background:var(--ivory-2)}
.section.slate{background:var(--slate-700);color:#f2f6fa}
.section.slate h2,.section.slate h3{color:#fff}
.section.slate .lead,.section.slate p{color:#e6edf4}
.section.slate a{color:#fff}
.section.teal{background:var(--teal-700);color:#eef5f3}
.section.teal h2,.section.teal h3{color:#fff}
.section.teal p{color:#e4eeeb}
.section-head{max-width:720px;margin-bottom:2.4rem}
.section-head.center{margin-inline:auto;text-align:center}
.wave{display:block;line-height:0;margin-top:-1px}
.wave svg{display:block;width:100%;height:56px;fill:currentColor}

/* grids & cards */
.grid{display:grid;gap:1.4rem}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.7rem;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;display:flex;flex-direction:column}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--eu-400)}
.card h3{margin-bottom:.4em}
.card p{color:var(--muted)}
.card .more{margin-top:auto;font-weight:700;text-decoration:none}
.card .more::after{content:" →";transition:margin .2s ease}
.card .more:hover::after{margin-left:.25rem}
.icon{width:54px;height:54px;border-radius:16px;background:var(--eu-300);display:grid;place-items:center;margin-bottom:1.1rem;flex:0 0 auto}
.icon svg{width:30px;height:30px;stroke:var(--teal-700);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.card.flat:hover{transform:none;box-shadow:none;border-color:var(--line)}

.split{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.split.top{align-items:start}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:2rem}
.panel.ivory{background:var(--ivory)}
.checklist{list-style:none;padding:0;margin:0 0 1.2rem}
.checklist li{position:relative;padding-left:2rem;margin-bottom:.7rem}
.checklist li::before{content:"";position:absolute;left:0;top:.45em;width:1.05rem;height:1.05rem;border-radius:50%;background:var(--eu-300);box-shadow:inset 0 0 0 4px var(--eu-600)}
.steps{counter-reset:s;list-style:none;margin:0;padding:0;display:grid;gap:1.2rem;grid-template-columns:repeat(3,1fr)}
.steps li{counter-increment:s;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem}
.steps li::before{content:counter(s);display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--teal-700);color:#fff;font-family:var(--serif);font-weight:700;margin-bottom:.9rem}
.steps h3,.section.slate .steps h3{font-size:1.15rem;color:var(--teal-900)}
.steps p,.section.slate .steps p{margin:0;color:var(--muted)}

.notice{border-left:4px solid var(--eu-600);background:#fff;border-radius:0 14px 14px 0;padding:1rem 1.25rem;margin:1.2rem 0;color:var(--ink)}
.notice strong{color:var(--teal-900)}
.notice.alert{border-left-color:#8a3b2e;background:#fff7f4}
.small{font-size:.92rem;color:var(--muted)}

/* service rows */
.service-row{display:grid;grid-template-columns:auto 1fr;gap:1.5rem;padding:2rem 0;border-bottom:1px solid var(--line);scroll-margin-top:110px}
.service-row:last-child{border-bottom:0}
.service-row .icon{width:64px;height:64px}
.service-row .icon svg{width:34px;height:34px}
.service-row h2{font-size:1.6rem;margin-bottom:.3em}
.service-row .tagline{font-weight:700;color:var(--eu-600);margin-bottom:.8rem}

/* contact */
.contact-card address{font-style:normal;line-height:1.8}
.contact-card .org{font-family:var(--serif);font-size:1.25rem;font-weight:700;color:var(--teal-900);letter-spacing:.01em}
.contact-list{list-style:none;padding:0;margin:1rem 0 0}
.contact-list li{margin-bottom:.4rem}
.contact-list a{font-weight:700}

/* forms */
.form-card{background:#fff;color:var(--ink);border-radius:var(--radius);padding:2rem;box-shadow:var(--shadow);border:1px solid var(--line)}
.form-card h2,.form-card h3{color:var(--teal-900)}
.form-card p{color:var(--muted)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.2rem}
.field{display:flex;flex-direction:column;gap:.35rem}
.field.full{grid-column:1/-1}
label,.legend{font-weight:700;font-size:.95rem;color:var(--teal-900)}
.req{color:#8a3b2e}
input[type=text],input[type=email],input[type=tel],input[type=date],select,textarea{font:inherit;color:var(--ink);background:#fff;border:1.5px solid #9aa8ad;border-radius:12px;padding:.75rem .9rem;width:100%;transition:border-color .2s ease,box-shadow .2s ease}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--teal-600);box-shadow:0 0 0 4px rgba(26,101,119,.18)}
textarea{min-height:140px;resize:vertical}
.hint{font-size:.88rem;color:var(--muted)}
fieldset{border:0;margin:0;padding:0}
.radio-row{display:flex;gap:1.2rem;flex-wrap:wrap;margin-top:.2rem}
.radio-row label{font-weight:500;color:var(--ink);display:inline-flex;gap:.45rem;align-items:center}
.radio-row input,.check input{width:1.1rem;height:1.1rem;accent-color:var(--teal-700)}
.check{display:flex;gap:.7rem;align-items:flex-start}
.check label{font-weight:500;color:var(--ink);font-size:.95rem}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-status{margin-top:1rem;border-radius:12px;padding:.9rem 1.1rem;display:none}
.form-status.show{display:block}
.form-status.info{background:#eef3f7;border:1px solid #b9c8d6;color:#23384a}
.form-status.ok{background:#edf6f1;border:1px solid #9bbfaa;color:#1f4a37}
.form-status.err{background:#fff4f1;border:1px solid #e0b3a9;color:#6b2a1f}

/* footer */
.site-footer{background:var(--teal-900);color:#dbe8e5;padding:3.4rem 0 1.4rem}
.site-footer a{color:#fff}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2.4rem}
.site-footer h2{color:#fff;font-size:1.05rem;font-family:var(--sans);letter-spacing:.1em;text-transform:uppercase;margin-bottom:.9rem}
.site-footer .org{font-family:var(--serif);font-size:1.3rem;color:#fff;font-weight:700;margin-bottom:.6rem}
.site-footer address{font-style:normal;line-height:1.8}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin-bottom:.4rem}
.footer-note{border-top:1px solid rgba(255,255,255,.18);margin-top:2.4rem;padding-top:1.2rem;font-size:.9rem;color:#c3d6d2}

/* legal */
.legal-doc{max-width:820px}
.legal-doc h2{font-size:1.45rem;margin-top:2.2rem}
.legal-doc ul{padding-left:1.3rem}
.legal-doc li{margin-bottom:.5rem}
.updated{display:inline-block;background:var(--eu-300);color:var(--teal-900);font-weight:700;border-radius:999px;padding:.3rem .9rem;font-size:.92rem}

/* reveal animation (progressive enhancement) */
.js .reveal{opacity:0;transform:translateY(16px);transition:opacity .7s ease,transform .7s ease}
.js .reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .reveal{opacity:1;transform:none;transition:none}
  .btn,.card,.nav-list,.nav-toggle .bars i{transition:none}
  .btn:hover,.card:hover{transform:none}
}

@media (max-width:980px){
  .hero .container,.page-hero .container,.split{grid-template-columns:1fr}
  .hero-art{order:-1}
  .hero-art img{width:min(210px,50%)}
  .page-hero .art{display:none}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-grid>:first-child{grid-column:1/-1}
}
@media (max-width:640px){
  body{font-size:1rem}
  .section{padding:3rem 0}
  .grid-3,.grid-2,.form-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .service-row{grid-template-columns:1fr;gap:.6rem}
  .form-card{padding:1.3rem}
  .btn{width:100%}
  .btn-row{flex-direction:column}
  .hero .container{padding:2rem 0 3.4rem}
}
@media print{.topbar,.site-header,.nav-toggle,.btn-row,.wave{display:none}body{background:#fff}}
