/* ===================================================
   DENTAL CENTER OF BROOKLYN — v2 Refined
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --accent:        #2f3f4e;
  --accent-dark:   #1f2d39;
  --accent-light:  #eef0f2;
  --navy:          #2b2b2b;
  --navy2:         #1a1a1a;
  --cream:         #f1efe8;
  --cream2:        #eceae2;
  --white:         #ffffff;
  --ink:           #111111;
  --ink2:          #555555;
  --ink3:          #939393;
  --line:          rgba(0,0,0,.10);
  --line2:         rgba(0,0,0,.06);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --navH: 100px;
  --max:  1760px;
  --fs-h1: 48px;
  --fs-h2: 40px;
  --fs-h3: 32px;
  --fs-h4: 24px;
  --fs-body: 16px;
  --fs-small: 13px;
  --fs-label: 12px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;overflow-y:scroll}
@supports(scrollbar-gutter:stable){html{scrollbar-gutter:stable}}
body{margin:0;font-family:var(--font);font-weight:300;font-size:var(--fs-body);color:var(--ink);background:var(--white);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
p{margin:0;line-height:1.7;color:var(--ink2);font-size:var(--fs-body)}
h1,h2,h3,h4,h5,h6{margin:0;font-family:var(--font);font-weight:300;letter-spacing:0}
h1{font-size:var(--fs-h1);line-height:1.15}
h2{font-size:var(--fs-h2);line-height:1.2}
h3{font-size:var(--fs-h3);line-height:1.25}
h4{font-size:var(--fs-h4);line-height:1.25}

.skip{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip:focus{left:18px;top:18px;width:auto;height:auto;background:#fff;padding:10px 14px;border:1px solid var(--line);z-index:999}

.wrap{max-width:var(--max);margin:0 auto;padding:0 clamp(16px,3vw,56px)}

.t-label{font-size:var(--fs-label);font-weight:400;letter-spacing:.14em;text-transform:uppercase;color:rgba(0,0,0,.55)}

/* ── HEADER ── */
header{position:fixed;top:0;left:0;right:0;height:var(--navH);z-index:200;display:flex;align-items:center;color:#fff;background:transparent;transition:background .3s,box-shadow .3s,height .3s}
header.scrolled{background:rgba(15,20,28,.55);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-shadow:0 1px 0 rgba(255,255,255,.04);height:80px}


.nav{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px}
.brand{display:inline-flex;align-items:center}
.brandMark img{height:68px;width:auto;display:block}
.leftGroup{display:flex;align-items:center;gap:16px}

.noInsuranceBtn{display:inline-flex;align-items:center;padding:10px 14px;border-radius:4px;border:1px solid rgba(255,255,255,.55);background:rgba(0,0,0,.18);color:#fff;font-size:var(--fs-label);font-weight:400;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;transition:background .15s}
.noInsuranceBtn:hover{background:rgba(0,0,0,.28)}

nav{display:flex;justify-content:center;gap:0}
nav a{font-size:15px;font-weight:300;letter-spacing:.03em;opacity:.92;color:#fff;padding:12px 15px;white-space:nowrap;position:relative;transition:opacity .15s}
nav a:hover,nav a[aria-current="page"]{opacity:1}
nav a::after{content:'';position:absolute;bottom:8px;left:15px;right:15px;height:0;border-top:2px solid currentColor;transform:scaleX(0);transform-origin:left;transition:transform .2s ease-out,opacity .2s ease-out;opacity:0}
nav a:hover::after,nav a[aria-current="page"]::after{transform:scaleX(1);opacity:1}

.right{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:nowrap;min-width:max-content}
.social{display:flex;gap:12px;opacity:.92}
.social a{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;color:#fff}
.social svg{width:18px;height:18px}
.social a:hover{opacity:.7}

/* ── BUTTONS ── */
.btn{appearance:none;border:1px solid rgba(0,0,0,.18);background:transparent;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px 18px;border-radius:999px;line-height:1;white-space:nowrap;text-align:center;font-family:var(--font);font-weight:400;font-size:var(--fs-body);cursor:pointer;transition:background .12s,border-color .12s,transform .08s}
.btn:hover{transform:translateY(-1px);border-color:rgba(0,0,0,.35);background:rgba(0,0,0,.03)}
.btn.solid{background:var(--navy);border-color:transparent;color:#fff}
.btn.solid:hover{background:var(--navy2)}
.btn.outline-white{border-color:rgba(255,255,255,.45);color:#fff;background:transparent}
.btn.outline-white:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.7)}
header .btn{border-color:rgba(255,255,255,.24);color:#fff;background:transparent}
header .btn.solid{background:var(--navy);border-color:transparent;color:#fff;padding:10px 16px;font-size:14px;border-radius:999px}
header .btn.solid:hover{background:var(--navy2)}

/* ── HAMBURGER ── */
.hamburger{width:36px;height:36px;border-radius:6px;border:0;background:transparent;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;cursor:pointer;padding:0}
.hamburger:hover{background:rgba(0,0,0,.18)}
.hamburger span{width:22px;height:2px;border-radius:2px;background:#fff;opacity:.92;display:block}

/* ── DRAWER ── */
.drawerBackdrop{position:fixed;inset:0;background:rgba(0,0,0,.48);opacity:0;pointer-events:none;transition:opacity .18s;z-index:300}
.drawer{position:fixed;top:0;right:0;height:100dvh;width:min(520px,92vw);transform:translateX(110%);transition:transform .22s ease;background:rgba(15,20,28,.96);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:#fff;z-index:310;padding:18px 18px 22px;display:flex;flex-direction:column;overflow-y:auto}
body.drawerOpen{overflow:hidden}
body.drawerOpen .drawerBackdrop{opacity:1;pointer-events:auto}
body.drawerOpen .drawer{transform:translateX(0)}
.drawerHead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.14)}
.drawerClose{width:44px;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.24);background:rgba(0,0,0,.18);color:#fff;font-size:22px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.drawerClose:hover{background:rgba(0,0,0,.35)}
.drawerGrid{display:grid;gap:18px;padding-top:16px;overflow:auto;flex:1}
@media(min-width:520px){.drawerGrid{grid-template-columns:1fr 1fr}}
@media(min-width:900px){.drawerGrid{grid-template-columns:1fr 1fr 1fr}}
.drawerCol h4{margin:0 0 10px;font-size:var(--fs-label);font-weight:600;letter-spacing:.08em;text-transform:uppercase;opacity:.85}
.drawerGroupTitle{margin:14px 0 6px;font-size:11px;letter-spacing:.09em;text-transform:uppercase;opacity:.7;color:#c8d8d7}
.drawerCol a{display:block;padding:10px 0;color:rgba(255,255,255,.92);font-size:14px;font-weight:300;border-bottom:1px solid rgba(255,255,255,.12);transition:color .12s,padding-left .12s}
.drawerCol a:hover{color:#fff;padding-left:4px}
.drawerNote{margin:8px 0 12px;opacity:.85;font-size:14px;line-height:1.35}
.drawer .btn{color:#fff;border-color:rgba(255,255,255,.24);background:rgba(0,0,0,.18)}
.drawer .btn:hover{border-color:rgba(255,255,255,.45)}
.drawer .btn.solid{background:var(--navy);border-color:transparent}
.drawer .btn.solid:hover{background:var(--navy2)}

/* ── HERO HOME ── */
main{padding-top:0}
.homeHero{position:relative;overflow:hidden;height:78vh;min-height:560px;max-height:900px;display:flex;align-items:flex-end}
.heroPhoto{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 70%;display:block;transform:scale(1.06);animation:heroZoomOut 7s cubic-bezier(0.25,0.46,0.45,0.94) forwards}
.heroOverlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.30) 0%,rgba(0,0,0,.14) 35%,rgba(0,0,0,.48) 72%,rgba(0,0,0,.72) 100%);pointer-events:none}
.heroContent{position:relative;width:100%;padding:calc(var(--navH) + 20px) 0 54px;z-index:2}
.heroEyebrow{display:inline-flex;align-items:center;gap:14px;font-size:14px;font-weight:400;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,.85);margin-bottom:24px;border:1px solid rgba(255,255,255,.28);padding:10px 20px;border-radius:999px;backdrop-filter:blur(4px);background:rgba(255,255,255,.07)}
.heroEyebrow::before{content:'';display:block;width:28px;height:1px;background:rgba(255,255,255,.55)}
.heroEyebrow::after{content:'';display:block;width:28px;height:1px;background:rgba(255,255,255,.55)}
.heroTitle{font-family:var(--font);font-weight:300;font-size:clamp(34px,4.2vw,var(--fs-h1));line-height:1.12;color:#fff;max-width:900px}
.heroLead{color:rgba(255,255,255,.90);font-size:var(--fs-body);line-height:1.7;max-width:560px;margin-top:16px;font-weight:300}
.heroActions{display:flex;align-items:center;gap:14px;margin-top:28px;flex-wrap:wrap}

/* ── INNER HERO ── */
.innerHero{position:relative;overflow:hidden;min-height:clamp(180px,22vh,280px);display:flex;align-items:flex-end;padding-top:var(--navH)}
.innerHeroOverlay{position:absolute;inset:0;background:linear-gradient(135deg,#2b2b2b 0%,#1a1a1a 100%);opacity:.95}
.innerHeroGrid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);background-size:64px 64px;pointer-events:none}
.innerHeroAccent{position:absolute;width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(47,63,78,.4) 0%,transparent 70%);top:-200px;right:-100px;pointer-events:none}
.innerHeroContent{position:relative;z-index:2;width:100%;padding:46px 0 42px}
.innerHeroTitle{font-family:var(--font);font-weight:300;font-size:clamp(34px,4vw,var(--fs-h1));color:#fff;line-height:1.15}
.innerHeroLead{color:rgba(255,255,255,.68);font-size:var(--fs-body);margin-top:10px;max-width:640px;line-height:1.7;font-weight:300}
.offeringsHero{min-height:clamp(220px,32vh,380px)}
.offeringsHero .offeringsPhoto{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%;filter:saturate(85%)}
.offeringsHero .innerHeroOverlay{background:linear-gradient(to bottom,rgba(0,0,0,.6) 0%,rgba(0,0,0,.42) 50%,rgba(0,0,0,.68) 100%)}

/* ── TRUST BAR ── */
.trustBar{background:var(--navy);padding:18px 0}
.trustItems{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}
.trustItem{display:flex;align-items:center;gap:9px;padding:8px 24px;color:rgba(255,255,255,.85);font-size:14px;font-weight:300;border-right:1px solid rgba(255,255,255,.14)}
.trustItem:last-child{border-right:none}
.trustItem svg{width:17px;height:17px;opacity:.7;flex-shrink:0}

/* ── BAND ── */
.band{padding:70px 0;background:var(--cream)}
.bandSplit{display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:start}
.bandAccent{width:40px;height:2px;background:var(--ink2);margin-bottom:18px;border-radius:1px}
.bandHeading{font-family:var(--font);font-weight:300;font-size:var(--fs-h2);line-height:1.2;color:var(--ink)}
.bandText{font-size:var(--fs-body);line-height:1.7;color:var(--ink2)}
.bandText+.bandText{margin-top:14px}

/* ── SECTION ── */
.section{padding:70px 0;background:var(--white)}
.section.alt{background:var(--cream)}
.sectionHead{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:34px}
.sectionHeading{font-family:var(--font);font-weight:300;font-size:var(--fs-h2);line-height:1.2;color:var(--ink);margin-top:8px}

/* ── SERVICE CARDS — NO ICONS ── */
.cardsGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.cardIcon{display:none}  /* icons removed */
.serviceCard{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:26px;transition:box-shadow .2s,transform .2s,border-color .2s;position:relative;overflow:hidden}
.serviceCard:hover{box-shadow:0 8px 32px rgba(0,0,0,.09);transform:translateY(-2px);border-color:rgba(0,0,0,.14)}
.serviceCard h3{font-family:var(--font);font-size:18px;font-weight:500;color:var(--ink);margin:0 0 8px;line-height:1.3}
.serviceCard p{font-size:14px;line-height:1.75;color:var(--ink2)}
.serviceCard .cardLink{display:inline-flex;align-items:center;gap:6px;margin-top:14px;font-size:13px;font-weight:500;color:var(--ink);text-decoration:none;border-bottom:1px solid rgba(0,0,0,.15);padding-bottom:1px;transition:color .15s,border-color .15s}
.serviceCard:hover .cardLink{color:var(--navy);border-color:var(--navy)}

/* ── OFFERINGS STICKY CATEGORY NAV ── */
.offeringsCatNav{position:sticky;top:var(--navH);z-index:9;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);padding:11px 0}
.offeringsCatNav .wrap{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.offeringsCatNav .wrap::-webkit-scrollbar{display:none}
.catPill{display:inline-flex;align-items:center;gap:7px;padding:8px 18px;border-radius:999px;font-size:13px;font-weight:400;color:var(--ink2);border:1px solid var(--line);white-space:nowrap;text-decoration:none;transition:background .15s,color .15s,border-color .15s}
.catPill:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
body.offerings .section{scroll-margin-top:calc(var(--navH) + 58px)}

/* ── NEW badge on service cards ── */
.svcBadge{display:inline-block;font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;background:var(--navy);color:#fff;padding:3px 9px;border-radius:999px;margin-bottom:10px}
#svc-lpd{border-color:rgba(43,43,43,.22);background:linear-gradient(135deg,rgba(43,43,43,.03) 0%,transparent 60%)}

/* ── ANCHOR HIGHLIGHT — when user arrives from hamburger menu ── */
.serviceCard:target{
  animation:anchorPop 2.2s ease forwards;
}
@keyframes anchorPop{
  0%  {box-shadow:0 0 0 0 rgba(47,63,78,.0);outline:2px solid rgba(47,63,78,.7);outline-offset:2px}
  15% {box-shadow:0 0 0 8px rgba(47,63,78,.12);outline:2px solid rgba(47,63,78,.7);outline-offset:2px}
  80% {box-shadow:0 0 0 4px rgba(47,63,78,.06);outline:2px solid rgba(47,63,78,.3);outline-offset:2px}
  100%{box-shadow:none;outline:2px solid transparent;outline-offset:2px}
}

/* ── STATS ── */
.statsSection{padding:60px 0;background:var(--cream2);border-top:1px solid var(--line2);border-bottom:1px solid var(--line2)}
.statsGrid{display:grid;grid-template-columns:repeat(4,1fr);text-align:center}
.statItem{padding:16px 24px;border-right:1px solid var(--line)}
.statItem:last-child{border-right:none}
.statNum{font-family:var(--font);font-size:clamp(32px,4vw,52px);font-weight:300;color:var(--ink);line-height:1;letter-spacing:-.01em}
.statLabel{font-size:var(--fs-small);font-weight:400;color:var(--ink2);margin-top:8px;letter-spacing:.04em}

/* ── CTA SECTION ── */
.ctaWrap{padding:70px 0;background:var(--navy);position:relative;overflow:hidden}
.ctaWrap::before{content:'';position:absolute;width:500px;height:500px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.04) 0%,transparent 65%);top:-150px;right:-80px;pointer-events:none}
.ctaGrid{display:grid;grid-template-columns:1fr 1fr;gap:24px;position:relative;z-index:1}
.ctaPanel{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:4px;padding:36px 32px;display:flex;flex-direction:column;transition:background .2s}
.ctaPanel:hover{background:rgba(255,255,255,.08)}
.ctaPanel h3{font-family:var(--font);font-size:var(--fs-h3);font-weight:300;color:#fff;margin-bottom:10px}
.ctaPanel p{font-size:15px;color:rgba(255,255,255,.65);line-height:1.65;font-weight:300;flex:1}
.ctaPanel .btnWrap{margin-top:24px;display:flex;gap:12px;flex-wrap:wrap}

/* ── TEAM ── */
.teamGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:860px}
.doctorCard{background:var(--white);border:1px solid var(--line);border-radius:4px;overflow:hidden;cursor:pointer;transition:box-shadow .2s,transform .2s}
.doctorCard:hover{box-shadow:0 14px 30px rgba(0,0,0,.08);transform:translateY(-2px)}
.doctorCard:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(47,63,78,.22),0 14px 30px rgba(0,0,0,.08)}
.teamPhoto{width:100%;height:220px;object-fit:cover;display:block;background:var(--cream)}
.doctorInfo{padding:18px 20px 22px}
.doctorInfo h3{font-family:var(--font);font-size:18px;font-weight:400;color:var(--ink);margin-bottom:4px}
.doctorRole{font-size:13px;font-weight:400;color:var(--ink2);margin-bottom:10px}
.doctorInfo p{font-size:14px;line-height:1.65;color:var(--ink2)}
.doctorMore{display:inline-flex;align-items:center;gap:4px;margin-top:12px;font-size:var(--fs-small);font-weight:700;color:var(--ink);text-decoration:underline;text-underline-offset:3px}

/* ── FORMS ── */
.formSection{padding:70px 0;background:var(--cream)}
.formGrid{display:grid;grid-template-columns:1.1fr .9fr;gap:26px;align-items:start}
.formPanel{background:var(--white);border:1px solid var(--line);border-radius:4px;padding:26px}
.formPanel h3{font-family:var(--font);font-size:var(--fs-h4);font-weight:300;color:var(--ink);margin-bottom:6px}
.formPanel>p{font-size:14px;color:var(--ink2);line-height:1.6;margin-bottom:4px}
label{display:block;font-size:var(--fs-small);font-weight:400;letter-spacing:.08em;text-transform:uppercase;color:rgba(0,0,0,.55);margin:14px 0 8px}
input,select,textarea{width:100%;padding:14px;border:1px solid rgba(0,0,0,.18);border-radius:4px;background:var(--white);font-family:var(--font);font-size:var(--fs-body);font-weight:300;color:var(--ink);transition:border-color .15s,box-shadow .15s;appearance:none;-webkit-appearance:none}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(47,63,78,.1)}
textarea{resize:vertical}
select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;padding-right:36px}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.notice{margin-top:14px;padding:14px 16px;border:1px solid rgba(0,0,0,.12);background:var(--white);border-radius:4px;font-size:14px}
.notice.ok{border-color:rgba(6,95,70,.25);color:#065f46;background:rgba(6,95,70,.04)}
.notice.err{border-color:rgba(127,29,29,.25);color:#7f1d1d;background:rgba(127,29,29,.04)}
.hidden{display:none}

/* Contact info */
.infoPanel{background:var(--white);border:1px solid var(--line);border-radius:4px;overflow:hidden}
.infoPanelHead{background:var(--navy);padding:26px;color:#fff}
.infoPanelHead h3{font-family:var(--font);font-size:22px;font-weight:300;margin-bottom:4px}
.infoPanelHead p{font-size:14px;color:rgba(255,255,255,.65);font-weight:300}
.infoPanelBody{padding:20px 26px}
.infoItem{display:flex;align-items:flex-start;gap:14px;padding:12px 0;border-bottom:1px solid var(--line2)}
.infoItem:last-of-type{border-bottom:none}
.infoIcon{width:32px;height:32px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.infoIcon svg{width:18px;height:18px;color:var(--ink2)}
.infoLabel{font-size:11px;font-weight:400;letter-spacing:.1em;text-transform:uppercase;color:var(--ink3);margin-bottom:3px}
.infoValue{font-size:15px;color:var(--ink);line-height:1.5;font-weight:300}
.infoValue a{color:var(--ink);transition:color .12s}
.infoValue a:hover{color:var(--accent)}
.mapEmbed{margin:0;border-top:1px solid var(--line);overflow:hidden;background:var(--cream);aspect-ratio:16/9}
.mapEmbed iframe{width:100%;height:100%;border:0;display:block}
.captcha-wrap{margin-top:16px}
.captcha-hint{margin:8px 0 0;color:var(--ink3);font-size:.92rem;line-height:1.35}
.btn[disabled],.btn.is-disabled{opacity:.55;cursor:not-allowed;pointer-events:none}

/* ── INSURANCE SEARCH ── */
.insData{display:none!important;visibility:hidden!important;pointer-events:none!important;position:absolute!important;left:-9999px!important}

/* Input wrapper */
.insSearchWrap{position:relative;margin-top:6px}
.insSearchWrap input{width:100%;box-sizing:border-box;padding:16px 20px;font-family:var(--font);font-size:16px;font-weight:300;color:var(--ink);background:#fff;border:1.5px solid var(--line);border-radius:12px;outline:none;transition:border-color .2s,box-shadow .2s;-webkit-appearance:none}
.insSearchWrap input:focus{border-color:var(--accent);box-shadow:0 0 0 4px rgba(47,63,78,.08)}
.insSearchWrap input::placeholder{color:var(--ink3)}

/* Dropdown */
.insSuggest{position:absolute;left:0;right:0;top:calc(100% + 6px);background:#fff;border:1.5px solid var(--line);border-radius:16px;box-shadow:0 24px 56px rgba(0,0,0,.13);max-height:280px;overflow-y:auto;padding:6px;z-index:30;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.insSuggest::-webkit-scrollbar{width:4px}
.insSuggest::-webkit-scrollbar-track{background:transparent}
.insSuggest::-webkit-scrollbar-thumb{background:var(--line);border-radius:4px}

/* Dropdown options */
.insOption{width:100%;background:transparent;border:none;border-radius:10px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-family:var(--font);color:var(--ink);text-align:left;transition:background .12s}
.insOption:hover{background:var(--cream)}
.insOptLeft{display:flex;align-items:center;gap:10px;min-width:0}
.insOptIcon{flex-shrink:0;width:28px;height:28px;border-radius:50%;background:var(--cream2);display:flex;align-items:center;justify-content:center}
.insOptIcon svg{width:14px;height:14px;stroke:var(--accent);stroke-width:2.5;fill:none}
.insOptName{font-weight:400;font-size:14px;line-height:1.3;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.insOptBadge{flex-shrink:0;font-size:10px;letter-spacing:.10em;text-transform:uppercase;font-weight:600;color:#3a7d44;background:rgba(58,125,68,.10);border-radius:999px;padding:3px 9px;white-space:nowrap}
.insOptDivider{height:1px;background:var(--line2);margin:4px 6px}

/* Empty state */
.insEmpty{padding:20px 16px;text-align:center}
.insEmptyIcon{width:40px;height:40px;border-radius:50%;background:var(--cream);display:flex;align-items:center;justify-content:center;margin:0 auto 10px}
.insEmptyIcon svg{width:20px;height:20px;stroke:var(--ink3);stroke-width:1.8;fill:none}
.insEmptyTitle{font-size:14px;font-weight:400;color:var(--ink);margin-bottom:4px}
.insEmptyText{font-size:13px;color:var(--ink2);line-height:1.5}

/* Accept / result message */
#insAcceptMsg{margin-top:16px;border-radius:14px;overflow:hidden;border:1.5px solid rgba(47,63,78,.12)}
#insAcceptMsg.ins-accepted{border-color:rgba(58,125,68,.25);background:linear-gradient(135deg,rgba(58,125,68,.06) 0%,rgba(58,125,68,.03) 100%)}
#insAcceptMsg.ins-not-found{border-color:rgba(0,0,0,.10);background:var(--cream)}
.insMsgInner{padding:22px 24px;display:flex;align-items:flex-start;gap:16px}
.insMsgIconWrap{flex-shrink:0;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.ins-accepted .insMsgIconWrap{background:rgba(58,125,68,.12)}
.ins-not-found .insMsgIconWrap{background:var(--cream2)}
.insMsgIconWrap svg{width:22px;height:22px;stroke-width:2.2;fill:none}
.ins-accepted .insMsgIconWrap svg{stroke:#3a7d44}
.ins-not-found .insMsgIconWrap svg{stroke:var(--ink2)}
.insMsgBody{flex:1;min-width:0}
.insMsgLabel{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;margin-bottom:4px}
.ins-accepted .insMsgLabel{color:#3a7d44}
.ins-not-found .insMsgLabel{color:var(--ink2)}
.insMsgTitle{font-size:17px;font-weight:400;color:var(--ink);line-height:1.3;margin-bottom:4px}
.insMsgSub{font-size:13px;color:var(--ink2);line-height:1.5}
.ins-accepted .insMsgSub{color:#3a7d44;opacity:.8}

/* Hidden utility */
.hidden{display:none!important}
.initiativesGrid{align-items:stretch}
.initiativesGrid .formPanel{height:100%}
.panelMedia{padding:0;overflow:hidden;display:flex;position:relative;background:var(--cream);border-radius:4px}
.panelMediaFrame{flex:1;position:relative;width:100%;height:100%;background:var(--cream);min-height:300px}
.panelMediaImg{width:100%;height:100%;object-fit:cover;display:block;position:relative;z-index:1}
.panelMediaFrame::before,.panelMediaFrame::after{content:'';position:absolute;top:0;bottom:0;width:26%;z-index:2;pointer-events:none;background-position:center;background-repeat:no-repeat;background-size:cover;filter:blur(20px);transform:scale(1.18);opacity:1}
.panelMediaFrame::before{left:-8%;background-image:linear-gradient(to right,var(--cream) 0%,rgba(236,234,226,0) 68%),var(--media-url)}
.panelMediaFrame::after{right:-8%;background-image:linear-gradient(to left,var(--cream) 0%,rgba(236,234,226,0) 68%),var(--media-url)}

/* ── PLANS ── */
.plansGrid{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:28px;align-items:stretch}
.planCard{background:var(--cream);border-radius:2px;overflow:hidden;box-shadow:0 14px 36px rgba(0,0,0,.10);display:flex;flex-direction:column;min-height:700px;transition:box-shadow .2s,transform .2s;border:1px solid var(--line)}
.planCard:hover{box-shadow:0 20px 48px rgba(0,0,0,.14);transform:translateY(-4px)}
.planCard.featured{border:2px solid var(--accent)}
.planTop{background:var(--accent);color:#fff;text-align:center;padding:26px 18px}
.planCard.featured .planTop{background:var(--navy)}
.planTop .planName{font-family:var(--font);font-size:44px;letter-spacing:.08em;text-transform:uppercase;font-weight:300}
.planBadge{display:inline-block;background:rgba(255,255,255,.2);color:#fff;font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;padding:4px 12px;border-radius:999px;margin-top:8px}
.planBody{padding:28px 28px 22px;display:flex;flex-direction:column;flex:1}
.planPrice{font-family:var(--font);font-size:44px;font-weight:300;text-align:center;color:rgba(0,0,0,.72);margin:6px 0 18px}
.planPrice span{font-size:22px;font-weight:300;color:rgba(0,0,0,.55);vertical-align:middle}
.planList{list-style:none;padding:0;margin:0;display:grid;gap:0}
.planList li{position:relative;padding:14px 0 14px 34px;border-top:1px solid rgba(0,0,0,.08);color:rgba(0,0,0,.78);font-size:16px;line-height:1.35;font-weight:300}
.planList li:first-child{border-top:none}
.planList li::before{content:"✓";position:absolute;left:0;top:13px;font-weight:700;color:var(--accent)}
.planFooter,.planBottom{margin-top:auto;padding-top:26px;display:flex;justify-content:center}
.planBtn{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:999px;background:var(--navy);color:#fff;border:none;font-family:var(--font);text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:400;cursor:pointer;transition:background .15s,transform .12s}
.planBtn:hover{background:var(--navy2);transform:translateY(-1px)}

/* ── MODAL ── */
.modalBack{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;padding:18px;z-index:9000}
.modalBack.open{display:flex}
.modal{width:min(920px,100%);max-height:88vh;overflow:auto;background:#fff;border:1px solid var(--line);padding:22px;border-radius:18px;box-shadow:0 22px 70px rgba(0,0,0,.28)}
.modalClose{position:sticky;top:0;float:right;border:1px solid var(--line);background:#fff;border-radius:12px;padding:6px 10px;font-size:26px;line-height:1;cursor:pointer}
.modalClose:hover{background:var(--cream)}
.modalHead{padding-right:52px}
.modalHead h3{font-family:var(--font);font-size:var(--fs-h3);font-weight:300}
.modalHead p{color:rgba(0,0,0,.62);font-weight:700;letter-spacing:.02em}
.modalBody{margin-top:14px}
.modalBody p{color:var(--ink2);margin:0 0 12px;font-size:15px;font-weight:300}
.modalBody h4{margin:18px 0 8px;font-size:18px;color:var(--accent);font-family:var(--font);font-weight:600;letter-spacing:.02em}

/* ── FOOTER ── */
footer{background:var(--navy);border-top:1px solid rgba(255,255,255,.08);padding:48px 0 28px;color:#fff}
.footerTop{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:48px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:24px}
.footerBrand{display:flex;flex-direction:column;gap:14px}
.footerLogoWrap{display:inline-flex}
.footerLogoWrap img{height:54px;width:auto;max-width:240px;display:block}
.footerTagline{font-size:14px;font-weight:300;color:rgba(255,255,255,.55);line-height:1.65;max-width:280px}
.footerMeta{display:grid;gap:6px}
.footerMetaItem{font-size:13px;font-weight:300;color:rgba(255,255,255,.65);line-height:1.5;display:block}
.footerMetaItem a{color:rgba(255,255,255,.75);transition:color .12s}
.footerMetaItem a:hover{color:#fff}
.footerSocial{display:flex;gap:8px;margin-top:4px}
.footerSocial a{width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.18);display:inline-flex;align-items:center;justify-content:center;color:rgba(255,255,255,.7);transition:color .12s,border-color .12s,background .12s}
.footerSocial a:hover{color:#fff;border-color:rgba(255,255,255,.5);background:rgba(255,255,255,.08)}
.footerSocial svg{width:13px;height:13px}
.footerColTitle{font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.45);margin-bottom:14px}
.footerColLinks{display:grid;gap:8px}
.footerColLinks a{font-size:14px;font-weight:300;color:rgba(255,255,255,.68);transition:color .12s}
.footerColLinks a:hover{color:#fff}
.footerBottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.footerCopy{font-size:12px;font-weight:300;color:rgba(255,255,255,.38)}
.noWrap{white-space:nowrap}
footer a{text-decoration:none;color:#fff}
footer a:hover{opacity:.9}

/* ── FADE UP ── */
.fadeUp{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.fadeUp.visible{opacity:1;transform:translateY(0)}
.fadeUp:nth-child(2){transition-delay:.08s}
.fadeUp:nth-child(3){transition-delay:.16s}
.fadeUp:nth-child(4){transition-delay:.24s}
.fadeUp:nth-child(5){transition-delay:.32s}
.fadeUp:nth-child(6){transition-delay:.40s}

/* ── RESPONSIVE ── */
@media(max-width:980px){
  :root{--navH:76px}
  .nav{grid-template-columns:auto 1fr auto}
  nav{display:none!important}
  .hamburger{display:flex}
  .bandSplit{grid-template-columns:1fr;gap:18px}
  .cardsGrid{grid-template-columns:repeat(2,1fr)}
  .statsGrid{grid-template-columns:repeat(2,1fr)}
  .statItem:nth-child(2){border-right:none}
  .teamGrid{grid-template-columns:1fr;max-width:480px}
  .formGrid{grid-template-columns:1fr}
  .ctaGrid{grid-template-columns:1fr}
  .footerTop{grid-template-columns:1fr 1fr}
  .plansGrid{grid-template-columns:1fr;max-width:480px;margin:0 auto}
  .insGrid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .cardsGrid{grid-template-columns:1fr}
  .statsGrid{grid-template-columns:1fr 1fr}
  .row2{grid-template-columns:1fr;gap:0}
  .footerTop{grid-template-columns:1fr;gap:28px}
  .trustItem{border-right:none;padding:8px 14px}
  .insGrid{grid-template-columns:1fr}
}
@media(max-width:420px){
  .captcha-wrap .g-recaptcha{transform:scale(.92);transform-origin:0 0}
  .heroActions{flex-direction:column;align-items:flex-start}
}

/* ── UTILITY ── */
button,input,select,textarea{font-family:inherit}
main a{color:var(--ink2)}
main a:hover{color:var(--ink)}
header a{color:#fff}
header nav a{color:#fff}

/* Anchor pulse — triggered by JS when user navigates from hamburger */
.anchorPulse {
  animation: anchorPop 2.4s ease forwards !important;
  scroll-margin-top: calc(var(--navH) + 24px);
}
/* All elements: add scroll margin so header doesn't cover them */
[id] { scroll-margin-top: calc(var(--navH) + 16px); }

/* ── Anchor highlight — pulse when arriving from hamburger menu ── */
.anchorPulse {
  animation: anchorPop 2.4s ease forwards !important;
}
@keyframes anchorPop {
  0%   { box-shadow: 0 0 0 0 rgba(47,63,78,0); outline: 3px solid rgba(47,63,78,.7); outline-offset: 3px; }
  20%  { box-shadow: 0 0 0 10px rgba(47,63,78,.10); outline: 3px solid rgba(47,63,78,.8); outline-offset: 3px; }
  70%  { box-shadow: 0 0 0 5px rgba(47,63,78,.05); outline: 3px solid rgba(47,63,78,.35); outline-offset: 3px; }
  100% { box-shadow: none; outline: 3px solid transparent; outline-offset: 3px; }
}

/* Ensure fixed header doesn't cover the highlighted card */
[id^="svc-"] { scroll-margin-top: calc(var(--navH) + 32px); }

/* ── Hero zoom-out effect (smooth like iPhone Live Photos) ── */
@keyframes heroZoomOut {
  0%   { transform: scale(1.06); }
  100% { transform: scale(1.00); }
}

/* ====================================================
   MOBILE — Complete overhaul
   Tested breakpoints: 390px (iPhone 14), 412px (Samsung S23),
   430px (iPhone 14 Plus), 768px (iPad), 980px (tablet)
   ==================================================== */

/* ── Global mobile base ────────────────────────────── */
@media (max-width: 768px) {
  /* Prevent any horizontal overflow */
  html, body { overflow-x: hidden; max-width: 100vw; }
  .wrap { padding: 0 18px; }

  /* Larger touch targets everywhere */
  a, button { -webkit-tap-highlight-color: transparent; }

  /* iOS input zoom fix — inputs must be 16px+ to avoid auto-zoom */
  input, select, textarea {
    font-size: 16px !important;
    border-radius: 8px;
  }
}

/* ── Header mobile ─────────────────────────────────── */
@media (max-width: 768px) {
  :root { --navH: 64px; }
  header { height: var(--navH); }
  header.scrolled { height: 60px; }

  .nav { gap: 8px; padding: 0; }
  .leftGroup { gap: 8px; }

  /* Hide "No Insurance?" pill on small phones to save space */
  .noInsuranceBtn { display: none; }

  .brandMark img { height: 48px; }

  /* Smaller social icons, more compact */
  .social { gap: 6px; }
  .social a { width: 18px; height: 18px; }
  .social svg { width: 15px; height: 15px; }

  /* Book button — compact */
  header .btn.solid {
    padding: 9px 13px;
    font-size: 13px;
  }

  /* Hamburger — bigger tap target */
  .hamburger { width: 42px; height: 42px; }
}

@media (max-width: 390px) {
  /* Hide social icons on smallest phones */
  .social { display: none; }
  header .btn.solid { padding: 8px 11px; font-size: 12px; }
}

/* ── Drawer mobile ─────────────────────────────────── */
@media (max-width: 768px) {
  .drawer {
    width: 100vw;          /* full screen on mobile */
    padding: 16px 18px 32px;
  }
  .drawerHead { padding-bottom: 12px; }
  .drawerGrid {
    grid-template-columns: 1fr !important;
    gap: 0;
    padding-top: 8px;
  }
  .drawerCol {
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 4px 0 8px;
  }
  .drawerCol:last-child { border-bottom: none; }
  .drawerCol h4 { margin: 12px 0 6px; font-size: 10px; }
  .drawerCol a {
    padding: 12px 0;          /* bigger touch target */
    font-size: 15px;
    border-bottom-color: rgba(255,255,255,.08);
  }
  .drawerGroupTitle { margin: 12px 0 4px; }
  .drawerNote { font-size: 13px; margin: 14px 0 10px; }
  .drawer .btn { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }
}

/* ── Hero home mobile ──────────────────────────────── */
@media (max-width: 768px) {
  .homeHero {
    height: 72vh;
    min-height: 480px;
    max-height: 620px;
    align-items: flex-end;
  }
  .heroContent {
    padding: calc(var(--navH) + 16px) 0 36px;
  }
  .heroEyebrow { font-size: 11px; letter-spacing:.16em; margin-bottom: 16px; padding:8px 14px; }
  .heroTitle {
    font-size: clamp(28px, 7.5vw, 40px);
    line-height: 1.15;
  }
  .heroLead {
    font-size: 14px;
    margin-top: 12px;
    max-width: 100%;
  }
  .heroActions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
  }
  .heroActions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }
}

/* ── Inner page hero mobile ────────────────────────── */
@media (max-width: 768px) {
  .innerHero {
    min-height: clamp(160px, 28vh, 220px);
    padding-top: var(--navH);
  }
  .innerHeroContent { padding: 28px 0 28px; }
  .innerHeroTitle { font-size: clamp(26px, 7vw, 36px); }
  .innerHeroLead { font-size: 14px; margin-top: 8px; }
  .offeringsHero { min-height: clamp(180px, 30vh, 240px); }
}

/* ── Trust bar mobile ──────────────────────────────── */
@media (max-width: 768px) {
  .trustBar { padding: 14px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .trustItems {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    justify-items: start;
  }
  .trustItem {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,.10);
    padding: 10px 14px;
    font-size: 13px;
    width: 100%;
  }
  .trustItem:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.10) !important; }
  .trustItem:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 390px) {
  .trustItems { grid-template-columns: 1fr; }
  .trustItem { border-right: none !important; }
  .trustItem:nth-last-child(-n+1) { border-bottom: none; }
  .trustItem:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.10); }
  .trustItem:last-child { border-bottom: none; }
}

/* ── Band section mobile ───────────────────────────── */
@media (max-width: 768px) {
  .band { padding: 44px 0; }
  .bandSplit { gap: 20px; }
  .bandHeading { font-size: clamp(22px, 5.5vw, 32px); }
  .bandText { font-size: 15px; }
  .bandSplit > div:last-child .btn { width: 100%; justify-content: center; margin-left: 0 !important; }
  .bandSplit > div:last-child { display: flex; flex-direction: column; gap: 12px; }
  /* Stack the two buttons vertically */
  .bandSplit > div:last-child > div { display: flex; flex-direction: column; gap: 10px; }
}

/* ── Stats mobile ──────────────────────────────────── */
@media (max-width: 768px) {
  .statsSection { padding: 36px 0; }
  .statsGrid { grid-template-columns: 1fr 1fr; }
  .statItem { padding: 14px 10px; }
  .statItem:nth-child(2) { border-right: none; }
  .statItem:nth-child(3) { border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .statItem:nth-child(4) { border-top: 1px solid var(--line); border-right: none; }
  .statNum { font-size: 30px; }
  .statLabel { font-size: 12px; }
}

/* ── Section & cards mobile ────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 44px 0; }
  .sectionHead {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }
  .sectionHead .btn { align-self: flex-start; }
  .sectionHeading { font-size: clamp(22px, 5.5vw, 32px); }
  .t-label { font-size: 11px; }

  .cardsGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .serviceCard { padding: 20px 18px; }
  .serviceCard h3 { font-size: 18px; }
  .serviceCard p { font-size: 14px; }
  .serviceCard .cardLink { font-size: 13px; }
}

/* ── CTA section mobile ────────────────────────────── */
@media (max-width: 768px) {
  .ctaWrap { padding: 44px 0; }
  .ctaGrid { gap: 14px; }
  .ctaPanel { padding: 24px 18px; }
  .ctaPanel h3 { font-size: 22px; }
  .ctaPanel p { font-size: 14px; }
  .ctaPanel .btnWrap { flex-direction: column; }
  .ctaPanel .btnWrap .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }
}

/* ── Team mobile ───────────────────────────────────── */
@media (max-width: 768px) {
  .teamGrid { max-width: 100%; gap: 14px; }
  .teamPhoto { height: 200px; }
  .doctorInfo { padding: 14px 16px 18px; }
  .doctorInfo h3 { font-size: 17px; }
}

/* ── Contact / forms mobile ────────────────────────── */
@media (max-width: 768px) {
  .formSection { padding: 44px 0; }
  .formGrid { gap: 16px; }
  .formPanel { padding: 20px 16px; }
  .formPanel h3 { font-size: 20px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  input, select, textarea { padding: 13px 12px; }
  label { margin: 12px 0 6px; }

  .infoPanel { border-radius: 8px; overflow: hidden; }
  .infoPanelHead { padding: 20px 18px; }
  .infoPanelHead h3 { font-size: 18px; }
  .infoPanelBody { padding: 14px 18px; }
  .infoItem { gap: 10px; padding: 10px 0; }
  .infoValue { font-size: 14px; }

  .mapEmbed { aspect-ratio: 4/3; }
}

/* ── Insurance search mobile ───────────────────────── */
@media (max-width: 768px) {
  .insSuggest { border-radius: 12px; max-height: 220px; }
  .insOption { padding: 10px 10px; }
  .insMsgInner { padding: 16px; gap: 12px; }
  .insMsgIconWrap { width: 36px; height: 36px; }
  .insMsgTitle { font-size: 15px; }
}

/* ── Plans / no-insurance mobile ──────────────────── */
@media (max-width: 768px) {
  .plansGrid { grid-template-columns: 1fr !important; gap: 20px; padding: 0 4px; }
  .planCard { min-height: auto; border-radius: 10px; }
  .planTop { padding: 20px 16px; }
  .planTop .planName { font-size: 36px; }
  .planBody { padding: 20px 18px 18px; }
  .planPrice { font-size: 38px; }
  .planList li { font-size: 15px; padding: 11px 0 11px 28px; }
  .planBtn { width: 100%; padding: 14px; font-size: 13px; }
}

/* ── Footer mobile ─────────────────────────────────── */
@media (max-width: 768px) {
  footer { padding: 36px 0 24px; }
  .footerTop {
    grid-template-columns: 1fr !important;
    gap: 28px;
    padding-bottom: 28px;
  }
  .footerBrand { align-items: center; text-align: center; }
  .footerTagline { max-width: 280px; text-align: center; }
  .footerMeta { text-align: center; justify-items: center; }
  .footerSocial { justify-content: center; }
  .footerColTitle { text-align: center; }
  .footerColLinks { text-align: center; }
  .footerBottom { flex-direction: column; text-align: center; gap: 6px; }

  /* Footer links — bigger tap targets */
  .footerColLinks a { padding: 6px 0; display: block; }
}

/* ── Modal mobile ──────────────────────────────────── */
@media (max-width: 768px) {
  .modalBack { padding: 0; align-items: flex-end; }
  .modal {
    width: 100%;
    max-height: 90vh;
    border-radius: 18px 18px 0 0;
    padding: 20px 18px 32px;
  }
  .modalHead h3 { font-size: 22px; }
  .modalBody p { font-size: 14px; }
}

/* ── Utility mobile ────────────────────────────────── */
@media (max-width: 768px) {
  /* All full-width CTA buttons */
  .section > .wrap > div[style*="margin-top"] .btn,
  .section > .wrap > div[style*="margin-top:"] .btn {
    display: inline-flex;
  }

  /* Bigger base touch target for all buttons */
  .btn { min-height: 44px; }

  /* No animation delays on mobile — snappier */
  .fadeUp { transition-delay: 0s !important; }

  /* Smooth scrolling on iOS */
  * { -webkit-overflow-scrolling: touch; }
}

/* ── Very small phones (< 360px) ──────────────────── */
@media (max-width: 360px) {
  .wrap { padding: 0 14px; }
  .heroTitle { font-size: 26px; }
  .brandMark img { height: 40px; }
  .captcha-wrap .g-recaptcha { transform: scale(.82); transform-origin: 0 0; }
}


/* ── Button spacing helper (replaces inline margin-left) ── */
.btnSpaced { margin-left: 12px; }
@media (max-width: 768px) {
  /* Stack spaced buttons vertically on mobile */
  .btnSpaced { margin-left: 0; margin-top: 10px; }

  /* Any button group inside sections → stack and full width */
  .section .wrap > div[style*="margin-top"] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .section .wrap > div[style*="margin-top"] .btn,
  .section .wrap > div[style*="margin-top:36px"] .btn {
    width: 100%;
    justify-content: center;
  }

  /* Band buttons → full width stack */
  .bandSplit .btn { width: 100%; justify-content: center; margin-left: 0 !important; }

  /* Fix safe area inset for notched phones (iPhone X+) */
  footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .drawer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  header { padding-top: env(safe-area-inset-top); }
}

/* ── Safe area for all phones with notch/dynamic island ── */
@supports (padding: max(0px)) {
  @media (max-width: 768px) {
    header { padding-top: max(0px, env(safe-area-inset-top)); }
    footer { padding-bottom: max(24px, calc(24px + env(safe-area-inset-bottom))); }
    .drawer { padding-bottom: max(32px, calc(32px + env(safe-area-inset-bottom))); }
  }
}

/* ── Footer single-column (brand only, no duplicate nav) ── */
.footerTopSingle {
  grid-template-columns: 1fr !important;
  max-width: 480px;
}

/* ====================================================
   FOOTER — Rich professional redesign
   ==================================================== */

footer {
  background: var(--navy);
  color: #fff;
  padding: 0 0 0;
}

/* ── Top CTA strip ──────────────────────────────────── */
.footerCta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  flex-wrap: wrap;
}
.footerCtaText {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footerCtaTitle {
  font-size: 18px;
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
}
.footerCtaSub {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,.52);
  letter-spacing: .02em;
}
.footerCtaActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.footerCtaActions .btn.solid {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  font-weight: 500;
}
.footerCtaActions .btn.solid:hover {
  background: rgba(255,255,255,.88);
}
.footerCtaActions .btn.outline-white {
  border-color: rgba(255,255,255,.3);
  color: #fff;
}
.footerCtaActions .btn.outline-white:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.07);
}

/* ── Divider ────────────────────────────────────────── */
.footerDivider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 0;
}

/* ── Main footer grid ───────────────────────────────── */
.footerMain {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  padding: 36px 0 32px;
  align-items: start;
}

/* Brand column */
.footerBrandCol {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footerLogoWrap { display: inline-flex; }
.footerLogoWrap img { height: 54px; width: auto; max-width: 220px; display: block; }
.footerTagline {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,.50);
  line-height: 1.7;
  max-width: 280px;
  margin: 0;
}
.footerSocial { display: flex; gap: 8px; margin-top: 4px; }
.footerSocial a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: color .15s, border-color .15s, background .15s;
}
.footerSocial a:hover { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.footerSocial svg { width: 13px; height: 13px; }

/* Info + services columns */
.footerColLabel {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 18px;
}
.footerInfoList {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footerInfoItem {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,.70);
  line-height: 1.5;
}
.footerInfoItem svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  opacity: .5;
  margin-top: 2px;
}
.footerInfoItem a {
  color: rgba(255,255,255,.70);
  transition: color .12s;
}
.footerInfoItem a:hover { color: #fff; }

/* Services grid — 2 columns */
.footerServiceGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 16px;
}
.footerServiceGrid a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,.60);
  transition: color .12s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footerServiceGrid a:hover { color: #fff; }
.footerAllServices {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  letter-spacing: .06em;
  transition: color .12s;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footerAllServices:hover { color: rgba(255,255,255,.9); }

/* Bottom bar */
.footerBottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footerCopy {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,.28);
}

/* ── Footer responsive ──────────────────────────────── */
@media (max-width: 900px) {
  .footerMain { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .footerBrandCol { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: 20px; }
  .footerTagline { max-width: 360px; }
}

@media (max-width: 640px) {
  .footerCta { flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px 0; }
  .footerCtaTitle { font-size: 18px; }
  .footerCtaActions { width: 100%; flex-direction: column; }
  .footerCtaActions .btn { width: 100%; justify-content: center; padding: 14px; }
  .footerMain { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 32px; }
  .footerBrandCol { flex-direction: column; grid-column: auto; }
  .footerTagline { max-width: 100%; }
  .footerServiceGrid { grid-template-columns: 1fr 1fr; }
  .footerBottom { flex-direction: column; text-align: center; gap: 4px; padding: 14px 0; }
}

/* Remove old footer single column override — no longer needed */
.footerTopSingle { all: unset; }

/* ── Footer mobile fixes ────────────────────────────── */
@media (max-width: 640px) {
  /* Center logo + tagline on phones */
  .footerBrandCol {
    align-items: center;
    text-align: center;
  }
  .footerTagline { text-align: center; max-width: 100%; }
  .footerSocial { justify-content: center; }

  /* Hide services grid on phones — already in hamburger menu */
  .footerInfoCol:last-child { display: none; }
}

/* ── FOOTER — compact 2-column layout ──────────── */
.footerMain {
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  padding: 36px 0 32px;
}

/* Contact details inside brand column */
.footerContactRow {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footerContactItem {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,.52);
  line-height: 1.5;
}
.footerContactItem svg {
  width: 13px; height: 13px;
  flex-shrink: 0;
  margin-top: 1px;
  opacity: .5;
}
.footerContactItem a { color: rgba(255,255,255,.52); transition: color .12s; }
.footerContactItem a:hover { color: #fff; }

/* Navigate column links */
.footerNavLinks {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footerNavLinks a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,.62);
  transition: color .12s;
}
.footerNavLinks a:hover { color: #fff; }

/* Legal links row in bottom bar */
.footerLegal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.footerLegal a {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,.35);
  transition: color .12s;
  text-decoration: none;
}
.footerLegal a:hover { color: rgba(255,255,255,.75); }
.footerLegalDot {
  font-size: 10px;
  color: rgba(255,255,255,.18);
}

@media (max-width: 700px) {
  .footerMain { grid-template-columns: 1fr; gap: 28px; }
  .footerBottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .footerLegal { gap: 8px; }
}

/* ── PRIVACY POLICY PAGE ───────────────────────────── */
.policyWrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px clamp(16px,3vw,56px) 88px;
}
.policyDate {
  font-size: 13px;
  color: var(--ink3);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.policyDate::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.policySection {
  margin-bottom: 52px;
}
.policySection h2 {
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  line-height: 1.25;
}
.policySection h3 {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin: 28px 0 8px;
}
.policySection p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink2);
  margin-bottom: 14px;
}
.policySection ul {
  margin: 4px 0 16px 20px;
  padding: 0;
}
.policySection ul li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink2);
  margin-bottom: 7px;
}
.policyHighlight {
  background: #f5f5f3;
  border-left: 3px solid var(--navy);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 24px 0;
}
.policyHighlight p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
}
.policyContact {
  background: var(--navy);
  border-radius: 10px;
  padding: 28px 32px;
  margin-top: 16px;
}
.policyContact p {
  color: rgba(255,255,255,.75);
  margin-bottom: 8px;
  font-size: 14px;
}
.policyContact p:last-child { margin: 0; }
.policyContact a { color: #fff; font-weight: 400; }
