/* ===========================================================
   AMG design system — derived from the Home Figma
   =========================================================== */
/* Aeonik webfont (.otf). Aeonik has no SemiBold, so weight 600 maps to Bold. */
@font-face{font-family:"Aeonik";src:url("../fonts/aeonik/Aeonik-Regular.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Aeonik";src:url("../fonts/aeonik/Aeonik-Medium.otf") format("opentype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Aeonik";src:url("../fonts/aeonik/Aeonik-Bold.otf") format("opentype");font-weight:600 700;font-style:normal;font-display:swap}
:root{
  --blue:#0464CB; --blue-dark:#0353a8; --navy:#16243d; --navy-2:#1d2f4f;
  --cyan-50:#f1fbfe; --cyan-100:#d6f2fb; --cyan-200:#c3eaf6;
  --ink:#16202e; --body:#51607a; --line:#e6edf3; --white:#fff;
  --radius:18px; --radius-sm:12px; --maxw:1200px;
  --serif:"Lora",Georgia,"Times New Roman",serif;
  --sans:"Aeonik","Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --shadow:0 18px 40px -18px rgba(16,40,80,.25);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);color:var(--body);font-size:16px;line-height:1.6;background:var(--white);-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-family:inherit}
img{max-width:100%;display:block}
a{color:var(--blue);text-decoration:none}
h1,h2,h3,h4,h5,h6{font-family:var(--serif);color:var(--ink);line-height:1.15;margin:0 0 .4em;font-weight:400}
h1{font-size:clamp(2.4rem,5vw,4rem)}
h2{font-size:clamp(1.9rem,3.4vw,2.9rem)}
h3{font-size:1.35rem}
h4{font-size:1.15rem}
h5{font-size:1rem}
h6{font-size:.9rem}
p{margin:0 0 1rem}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.section{padding:84px 0}
.section--cyan{background:var(--cyan-100)}
.section--cyan-soft{background:var(--cyan-50)}
.center{text-align:center}

/* pills + buttons */
.pill{display:inline-block;background:var(--white);color:var(--blue);border:1px solid var(--cyan-200);
  font-weight:600;font-size:.82rem;padding:6px 16px;border-radius:999px;margin-bottom:18px}
.section--cyan .pill{background:var(--white)}
.btn{display:inline-flex;align-items:center;gap:.5em;font-family:var(--sans);font-weight:600;font-size:.95rem;
  padding:13px 26px;border-radius:999px;cursor:pointer;border:1.5px solid transparent;transition:.2s;white-space:nowrap}
.btn--primary{background:var(--blue);color:#fff}
.btn--primary:hover{background:var(--blue-dark)}
/* header "Schedule Appointment" button — accent color (scoped to header only) */
.utility-right .btn--primary{background:#C9F7FE;color:var(--ink)}
.utility-right .btn--primary:hover{background:#0059A6;color:#fff}
.btn--ghost{background:transparent;color:var(--ink);border-color:#cdd8e3}
.btn--ghost:hover{border-color:var(--blue);color:var(--blue)}
.btn--light{background:#fff;color:var(--blue)}
.btn .ar{font-size:1.1em;line-height:1}
.lead{font-size:1.05rem;color:var(--body);max-width:60ch}

/* arrow circle */
.arrow-circle{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:999px;
  background:var(--blue);color:#fff;font-size:1.1rem;cursor:pointer;transition:background .25s ease,color .25s ease}
.arrow-circle:hover{background:#fff;color:var(--blue)}

/* ============ HEADER ============ */
.site-header{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.06)}
.utility{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 0}
.brand img{height:46px;width:auto}
.utility-right{display:flex;align-items:center;gap:22px;font-size:.9rem;font-weight:400;color:var(--ink)}
.utility-right a{color:var(--ink);display:inline-flex;align-items:center;gap:7px}
.utility-right .phone{font-weight:400}
.mainnav{background:var(--navy)}
.mainnav .container{display:flex;align-items:center;gap:6px}
.mainnav ul{list-style:none;display:flex;flex-wrap:wrap;gap:4px;margin:0;padding:0;width:100%}
.mainnav a{color:#cdd9ec;font-size:.93rem;font-weight:500;padding:16px 18px;display:block;border-bottom:3px solid transparent}
.mainnav a:hover{color:#fff}
.mainnav .current-menu-item>a,.mainnav .active>a{color:#fff;border-bottom-color:var(--blue)}
.nav-toggle{display:none}

/* ============ HERO ============ */
.hero{position:relative;min-height:800px;display:flex;align-items:center;color:#fff;overflow:hidden}
.hero__bg{position:absolute;inset:0;background:#0c1b30 top center/cover no-repeat}
.hero .container{position:relative;z-index:2;width:100%;transform:translateY(110px)}
@media(min-width:1260px){.hero .container{padding-left:0;padding-right:0}}
.hero h1{color:#fff;max-width:14ch;font-size:clamp(2.6rem,6.4vw,5.75rem)}
/* 1536px laptop screens: fixed h1 size */
@media(min-width:1281px) and (max-width:1536px){.hero h1{font-size:82px}}
.hero__spec{display:flex;align-items:center;gap:14px;margin-top:26px;font-weight:600}
.hero__dots{display:flex;gap:8px;margin-top:22px}
.hero__dots span{width:34px;height:4px;border-radius:4px;background:rgba(255,255,255,.4)}
.hero__dots span.on{background:#0059A6}
/* Hero slider: each slide (bg + content) cross-fades; autoplay via JS, no hover pause */
.hero--slider .hero__slide{position:absolute;inset:0;display:flex;align-items:center;background:#0c1b30 top center/cover no-repeat;opacity:0;transition:opacity .8s ease;color:#fff;pointer-events:none}
.hero--slider .hero__slide.is-active{opacity:1;z-index:1;pointer-events:auto}
.hero__badge{position:absolute;right:max(24px,calc((100% - var(--maxw)) / 2 + 24px));top:50%;transform:translateY(calc(-50% + 58px));z-index:2;width:clamp(104px,9vw,144px);height:clamp(104px,9vw,144px);display:block;text-decoration:none}
/* 1280px laptop screens: slightly larger badge */
@media(min-width:981px) and (max-width:1280px){.hero__badge{width:148px;height:148px}}
.hero__badge__svg{display:block;width:100%;height:100%;
  filter:drop-shadow(0 14px 28px rgba(0,89,166,.45));transition:transform .35s ease,filter .35s ease}
.hero__badge:hover .hero__badge__svg{transform:scale(1.06);filter:drop-shadow(0 22px 40px rgba(0,89,166,.6))}
/* curved text ring spins by default; pauses on hover while the arrow keeps moving */
.hero__badge__text{transform-box:view-box;transform-origin:center;animation:amgTextSpin 18s linear infinite;will-change:transform}
.hero__badge:hover .hero__badge__text{animation-play-state:paused}
.hero__badge__arrow{transform-box:fill-box;transform-origin:center;animation:amgArrowNudge 1.8s ease-in-out infinite}
@keyframes amgTextSpin{to{transform:rotate(360deg)}}
@keyframes amgArrowNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(6px)}}
/* uploaded badge image spins around; the centered arrow stays still */
.hero__badge__ring{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transform-origin:center;animation:amgTextSpin 18s linear infinite;will-change:transform}
.hero__badge:hover .hero__badge__ring{animation-play-state:paused}
.hero__badge__arrowsvg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
@media(prefers-reduced-motion:reduce){.hero__badge__text,.hero__badge__ring,.hero__badge__arrow{animation:none}}
/* Large screens (1920px): text shadow for readability over the photo — NO background overlay, image stays fully clear */
@media(min-width:1600px){.hero h1,.hero__spec{text-shadow:0 1px 2px rgba(0,0,0,.55),0 3px 20px rgba(0,0,0,.6)}}

/* ============ ABOUT ============ */
.about{display:grid;grid-template-columns:1.3fr .9fr;gap:50px;align-items:center}
.about__img{position:relative}
.about__img img{border-radius:50% 50% 50% 50%/40% 40% 40% 40%;border-radius:200px}
/* About: full-width heading above the text/image split (wraps to 2 lines like reference) */
.about__title{max-width:none;margin:0 0 30px;font-size:clamp(2rem,4vw,3rem)}
/* About paragraph: 24px at 1920px, scales down responsively */
.about__text p{font-size:clamp(1rem,1.25vw,1.5rem);line-height:1.7}
/* About "More about us" — plain underlined text link (reference look) */
.about__link{display:inline-block;margin-top:8px;color:var(--blue);font-weight:600;font-size:clamp(.95rem,1.07vw,1.25rem);text-decoration:underline;text-underline-offset:3px}
.about__link:hover{color:var(--blue-dark)}
.split{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center}
/* About split: top-align text with image so the paragraph sits right under the heading (no centered gap) */
.about__split{align-items:start}
/* About image nudged up slightly on the 2-column layout; no shift when stacked on mobile (<=980) */
@media(min-width:981px){
  .about__split .about__img{margin-top:-32px}
}

/* feature: Dr Richard */
.feat{display:grid;grid-template-columns:.9fr 1.1fr;gap:46px;align-items:start}
.feat__media{position:relative;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);background:#0a2540}
.feat__media>img,.feat__media>video{display:block;width:100%;height:auto;border-radius:inherit}
.feat__video{aspect-ratio:16/9;object-fit:cover;background:#0a2540}
.feat--video{align-items:center}
.feat__media .play{position:absolute;left:18px;bottom:16px;background:rgba(0,0,0,.55);color:#fff;padding:8px 14px;border-radius:999px;font-size:.8rem;display:inline-flex;gap:8px;align-items:center;pointer-events:none;z-index:2;backdrop-filter:blur(4px)}
.checklist{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:14px}
.checklist li{display:flex;gap:12px;align-items:flex-start;color:var(--body)}
.checklist li::before{content:"";flex:0 0 20px;height:20px;margin-top:2px;border-radius:999px;background:var(--blue);
  -webkit-mask:url('../icons/tick.svg') center/12px no-repeat;mask:url('../icons/tick.svg') center/12px no-repeat}
.callout{margin-top:22px;background:var(--cyan-100);border-radius:var(--radius-sm);padding:18px 20px}
.callout h4{color:var(--blue);margin:0 0 6px;font-family:var(--serif);font-size:1rem}
.callout p{margin:0;font-size:.9rem}

/* ============ SERVICES grid ============ */
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:36px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card-img{position:relative;border-radius:var(--radius);overflow:hidden;min-height:240px;color:#fff;display:flex;align-items:flex-end;
  background:#123 center/cover no-repeat}
.card-img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(6,18,33,.78))}
.card-img span{position:relative;z-index:2;padding:18px 20px;font-weight:600;font-size:1.05rem}
.card-img small{display:block;font-weight:400;opacity:.85;font-size:.8rem}
.card-cta{background:var(--blue);color:#fff;border-radius:var(--radius);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;min-height:240px}
.card-cta h3{color:#fff;font-size:1.5rem}

/* ============ PROVIDERS ============ */
.providers{display:flex;flex-wrap:wrap;gap:34px;justify-content:center;margin-top:30px}
.provider{width:150px;text-align:center}
.provider img{width:130px;height:130px;border-radius:999px;object-fit:cover;background:var(--cyan-100);margin:0 auto 12px}
.provider b{display:block;color:var(--ink);font-size:.95rem}
.provider small{color:var(--body)}

/* ============ WHY CHOOSE ============ */
.why{display:grid;grid-template-columns:repeat(3,1fr);gap:38px 40px;margin-top:30px}
.why__item{display:flex;flex-direction:column;gap:12px}
.why__item img{width:46px;height:46px}
.why__item b{color:var(--ink);font-size:1.02rem}

/* ============ CONDITIONS tiles ============ */
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.tile{background:var(--cyan-50);border:1px solid var(--cyan-200);border-radius:var(--radius-sm);padding:22px;min-height:128px;display:flex;flex-direction:column;justify-content:space-between}
.tile img{width:40px;height:40px}
.tile b{color:var(--ink);font-size:.98rem;font-weight:600}
.tile--active{background:var(--blue);border-color:var(--blue);color:#fff}
.tile--active b{color:#fff}
.tile--active img{filter:brightness(0) invert(1)}

/* ============ OBL procedures ============ */
.proc{display:grid;grid-template-columns:1fr 1fr;gap:14px 22px}
.proc a{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 20px;color:var(--ink);font-weight:500}
.proc a.on{background:var(--blue);color:#fff;border-color:var(--blue)}
.proc a .ar{color:inherit}

/* ============ PAD warning CTA banner ============ */
.warn{background:var(--blue);color:#fff;border-radius:var(--radius);padding:34px 38px;margin-top:34px;display:flex;gap:22px;align-items:flex-start}
.warn h3{color:#fff;font-size:1.5rem;margin:0 0 8px}
.warn p{margin:0;opacity:.9;font-size:.92rem}

/* ============ BLOG ============ */
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.post-card img{border-radius:var(--radius);height:200px;object-fit:cover;width:100%}
.post-card .meta{font-size:.78rem;color:#8a97a8;margin:14px 0 6px}
.post-card h3{font-size:1.12rem}
.post-card a.more{font-weight:600;font-size:.88rem}

/* ============ TESTIMONIALS ============ */
.tcards{display:flex;gap:20px;overflow:auto;padding-bottom:8px;scroll-snap-type:x mandatory}
.tcard{flex:0 0 300px;background:#fff;border-radius:var(--radius);padding:26px;scroll-snap-align:start;box-shadow:var(--shadow)}
.tcard p{font-size:.92rem}
.tcard .stars{color:#f5a623;letter-spacing:2px}
.tcard b{display:block;margin:10px 0 2px;color:var(--ink)}

/* ============ LOCATIONS ============ */
.locs{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.loc{background:var(--cyan-50);border:1px solid var(--cyan-200);border-radius:var(--radius);padding:26px}
.loc--active{background:var(--blue);color:#fff;border-color:var(--blue)}
.loc--active h3,.loc--active a{color:#fff}
.loc h3{margin-bottom:12px}
.loc p{font-size:.9rem;margin:0 0 6px}
.loc .open{font-weight:600}

/* ============ INSURANCE concierge strip ============ */
.insure{position:relative;border-radius:var(--radius);overflow:hidden;min-height:280px;display:flex;align-items:center;background:#123 center/cover no-repeat}
.insure__card{background:#fff;border-radius:var(--radius);padding:30px;max-width:380px;margin:30px}
.insure__card h3{font-size:1.5rem}
.insure__call{display:flex;align-items:center;gap:10px;color:var(--blue);font-weight:700;margin:14px 0}

/* ============ FOOTER ============ */
.site-footer{background:#C9F7FE;padding:64px 0 0}
/* left CTA column + right main region */
.foot-top{display:grid;grid-template-columns:1fr 2.3fr;gap:60px;align-items:start}
.foot-cta h2{font-size:clamp(2rem,3.2vw,3.1rem);color:var(--blue);line-height:1.1}
.foot-about{margin:18px 0 0;color:var(--body);font-size:.95rem;max-width:38ch}
.foot-contact{margin:26px 0 0}
.foot-legal a{color:inherit}
.foot-contact strong{color:var(--ink);font-weight:600}
.foot-contact a{color:var(--body)}
/* right region: logo + social on a row, divider, then 3 link columns */
.foot-main{display:flex;flex-direction:column}
.foot-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:26px;border-bottom:1px solid rgba(16,40,80,.14);margin-bottom:40px}
.foot-brand img{height:46px;display:block}
.foot-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:34px}
.site-footer h6{font-family:var(--sans);font-weight:500;font-size:var(--ts-h6,clamp(1.15rem,1.4vw,1.5rem));color:var(--ink);margin:0 0 18px;line-height:1.2}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.site-footer a{color:var(--ink);font-size:.95rem}
.site-footer a:hover{color:var(--blue)}
.social{display:flex;align-items:center;gap:12px;margin:0}
.social a{flex:0 0 42px;width:42px;height:42px;border-radius:999px;background:#fff;color:var(--navy);display:inline-flex;align-items:center;justify-content:center;line-height:0;transition:transform .15s ease,background .15s ease,color .15s ease}
.social a svg{width:18px;height:18px;fill:currentColor;display:block}
/* all icons white by default; on hover they turn blue (like the first icon used to look) */
.social a:hover,
.social a.is-primary:hover{background:var(--blue);color:#fff;transform:translateY(-2px)}
/* uploaded social icons (img) turn white on hover, matching the built-in SVGs */
.social a:hover img{filter:brightness(0) invert(1)}
.foot-bottom{border-top:1px solid rgba(16,40,80,.14);margin-top:52px;padding:24px 0;font-size:.9rem;color:var(--ink);
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

/* Footer link columns become tap-to-expand accordions on mobile only */
@media(max-width:640px){
  .site-footer .foot-head{ border-bottom:none; padding-bottom:0; margin-bottom:16px; }
  .site-footer .foot-bottom{ margin-top:20px; }
  .site-footer .foot-cols{ gap:0; }
  .site-footer .foot-col{ border-top:1px solid rgba(16,40,80,.14); }
  .site-footer .foot-col h6{ cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0; padding:16px 0; }
  .site-footer .foot-col h6::after{ content:"\203A"; font-size:1.4em; line-height:1; transform:rotate(90deg); transition:transform .25s ease; }
  .site-footer .foot-col.open h6::after{ transform:rotate(-90deg); }
  .site-footer .foot-col ul{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
  .site-footer .foot-col.open ul{ max-height:600px; padding-bottom:18px; }
}

/* ============ generic inner-page bits (reused by CPT templates) ============ */
.page-hero{background:var(--navy);color:#fff;padding:64px 0}
.page-hero h1{color:#fff;margin:0}
.breadcrumbs{font-size:.85rem;color:#aebfd6;margin-bottom:10px}
.rail{margin-top:40px}
.rail h3{margin-bottom:18px}

/* ============ responsive ============ */
@media(max-width:980px){
  .about,.split,.feat{grid-template-columns:1fr;gap:30px}
  .cards,.posts,.locs,.why{grid-template-columns:repeat(2,1fr)}
  .tiles{grid-template-columns:repeat(2,1fr)}
  .foot-top{grid-template-columns:1fr;gap:40px}
  .hero{min-height:600px}
  .hero__bg{background-position:top center}
  .hero__badge{width:112px;height:112px;right:20px;transform:translateY(calc(-50% + 30px))}
}
@media(max-width:640px){
  .section{padding:56px 0}
  .hero{min-height:480px}
  .hero__bg{background-position:top center}
  .hero__badge{width:88px;height:88px;right:14px;top:50%;bottom:auto;transform:translateY(calc(-50% + 110px))}
  .cards,.posts,.locs,.why,.proc{grid-template-columns:1fr}
  .sec-head{flex-direction:column;align-items:flex-start}
  .foot-top{grid-template-columns:1fr}
  .foot-head{flex-direction:column;align-items:flex-start;gap:18px}
  .foot-cols{grid-template-columns:1fr 1fr;gap:28px}
}
/* iPhone / small phones */
@media(max-width:480px){
  .foot-cols{grid-template-columns:1fr;gap:26px}
  .foot-bottom{flex-direction:column;gap:8px}
  .container{padding:0 18px}
  .hero h1{font-size:clamp(2.05rem,8.5vw,2.7rem)}
  .providers{gap:18px}
  .warn{padding:24px 20px}
  .tiles{grid-template-columns:1fr 1fr}
}
@media(max-width:420px){
  .hero{min-height:420px}
  .hero__badge{width:76px;height:76px;right:10px;top:50%;bottom:auto;transform:translateY(calc(-50% + 95px))}
}

/* ===========================================================
   INNER PAGE TEMPLATES (Specialty / Condition / Location / etc.)
   =========================================================== */
.ihero{background:var(--navy);color:#fff;padding:60px 0}
.ihero .pill{background:rgba(255,255,255,.14);color:#fff;border-color:transparent}
.ihero h1{color:#fff;margin:.1em 0 .25em}
.ihero p{color:#cdd9ec;max-width:64ch;margin:0;font-size:1.05rem}
.ihero__icon{width:62px;height:62px;margin-bottom:14px;background:#fff;border-radius:14px;padding:12px;object-fit:contain}
.ihero--media .container{display:grid;grid-template-columns:1.15fr .85fr;gap:44px;align-items:center}
.ihero--media .ihero__media img{width:100%;height:360px;object-fit:cover;border-radius:var(--radius);display:block;box-shadow:0 18px 40px rgba(0,0,0,.18)}
@media(max-width:860px){.ihero--media .ihero__media img{height:240px}}
@media(max-width:860px){.ihero--media .container{grid-template-columns:1fr;gap:24px}.ihero--media .ihero__media{order:-1}}
.media-embed{margin:22px 0}
.media-embed video,.media-embed iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:var(--radius);display:block;background:#000}
.prov-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:24px;margin-top:30px}
.prov-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;color:var(--ink)}
.prov-card img{width:128px;height:128px;border-radius:999px;object-fit:cover;background:#fff;margin-bottom:8px;box-shadow:0 12px 28px rgba(16,40,80,.14)}
.prov-card b{font-family:var(--sans);font-size:1rem}
.prov-card span{font-size:.85rem;color:var(--blue);font-weight:600}
.prov-card small{font-size:.78rem;color:var(--body)}
.prov-card:hover b{color:var(--blue)}
.testi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;margin-top:30px;text-align:left}
.testi-card{margin:0;background:#fff;border:1px solid rgba(16,40,80,.1);border-radius:var(--radius);padding:26px;box-shadow:0 8px 22px rgba(16,40,80,.06)}
.testi-card .stars{color:#f5a623;letter-spacing:2px;margin-bottom:10px}
.testi-card p{margin:0 0 14px;color:var(--body);font-size:.95rem;line-height:1.6}
.testi-card cite{font-style:normal;font-weight:600;color:var(--ink)}
.breadcrumbs{font-size:.82rem;color:#9fb3d1;margin-bottom:14px}
.breadcrumbs a{color:#cdd9ec}
.ibody{display:grid;grid-template-columns:1fr 320px;gap:48px;align-items:start}
@media(max-width:900px){.ibody{grid-template-columns:1fr}}
.prose h2{margin-top:1.3em}.prose h3{margin-top:1.1em;font-size:1.2rem}
.prose p{color:var(--body)}
.svc-list{display:grid;gap:14px;margin:22px 0}
.svc-item{background:var(--cyan-50);border:1px solid var(--cyan-200);border-radius:var(--radius-sm);padding:18px 22px}
.svc-item b{color:var(--ink);display:block;margin-bottom:6px;font-size:1.05rem}
.svc-item p{margin:0;font-size:.92rem}
.symptoms{list-style:none;padding:0;margin:18px 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.symptoms li{display:flex;gap:10px;align-items:flex-start}
.symptoms li::before{content:"";flex:0 0 18px;height:18px;margin-top:3px;border-radius:999px;background:var(--blue);-webkit-mask:url('../icons/tick.svg') center/11px no-repeat;mask:url('../icons/tick.svg') center/11px no-repeat}
.sidebar{position:sticky;top:130px;display:grid;gap:22px}
.sidebar .box{background:var(--cyan-50);border:1px solid var(--cyan-200);border-radius:var(--radius);padding:22px}
.sidebar h4{font-family:var(--serif);margin:0 0 14px;color:var(--ink)}
.cards-min{display:grid;gap:10px}
.mincard{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px;color:var(--ink);font-weight:500;font-size:.9rem}
.mincard img{width:40px;height:40px;border-radius:8px;object-fit:cover;background:var(--cyan-100)}
.loc-info{display:grid;gap:12px;margin:18px 0}
.loc-info .row{display:flex;gap:12px;color:var(--body)}
.loc-info b{color:var(--ink);min-width:84px}
.arch-intro{max-width:60ch}
.arch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:34px}
@media(max-width:900px){.arch-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.arch-grid{grid-template-columns:1fr}}
.arch-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:.2s}
.arch-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.arch-card>img{height:190px;object-fit:cover;width:100%}
.arch-card .tile-ic{width:52px;height:52px;margin:22px 22px 0;object-fit:contain}
.arch-card__b{padding:20px 22px}
.arch-card h3{font-size:1.18rem;margin:0 0 8px}
.arch-card p{font-size:.9rem;margin:0 0 14px;color:var(--body)}
.arch-card a.more{font-weight:600;font-size:.88rem}

/* ============ NAV DROPDOWNS ============ */
.mainnav li{position:relative}
.mainnav .caret{font-size:.7em;opacity:.7;margin-left:2px}
.mainnav .submenu{display:none;position:absolute;top:100%;left:0;background:#fff;min-width:240px;
  border-radius:0 0 12px 12px;box-shadow:var(--shadow);padding:8px 0;z-index:60}
.mainnav .has-sub:hover>.submenu{display:block}
.mainnav .submenu li{width:100%}
.mainnav .submenu a{color:var(--ink);padding:11px 18px;border:0;font-size:.9rem;white-space:nowrap;
  display:flex;align-items:center;justify-content:space-between;gap:14px}
.mainnav .submenu a:hover{background:var(--cyan-50);color:var(--blue)}
/* 3rd-level (flyout) submenu — opens to the RIGHT of its parent. */
.mainnav .submenu .submenu{top:-8px;left:100%;right:auto;border-radius:12px;margin:0;z-index:70}
.mainnav .submenu .has-sub:hover>.submenu{display:block}
.mainnav .submenu .has-sub>a>.caret{opacity:.55}

.nav-cta{display:none}

/* ===== Mobile / tablet header menu (<=1024px = tablet view) ===== */
@media(max-width:1024px){
  /* top row: logo left, hamburger right */
  .utility-right{ display:none; }
  .site-header .utility{ padding-top:20px; padding-bottom:20px; }
  .nav-toggle{ display:flex; align-items:center; justify-content:center; width:46px; height:46px; padding:0; background:none; border:0; cursor:pointer; color:var(--ink); }
  .nav-toggle::before{ content:"\2630"; font-size:1.7rem; line-height:1; }     /* hamburger */
  .nav-toggle.is-open::before{ content:"\2715"; font-size:1.45rem; }           /* close (X) */
  /* the navy bar becomes a vertical dropdown panel */
  .mainnav .container{ display:block; }
  .mainnav #primary-menu{ display:none; flex-direction:column; flex-wrap:nowrap; width:100%; padding:6px 0 14px; }
  .mainnav #primary-menu.open{ display:flex; overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
  /* lock the page behind the open menu so only the menu scrolls */
  body.menu-open{ overflow:hidden; }
  .mainnav #primary-menu > li{ width:100%; position:relative; }
  .mainnav #primary-menu > li > a{ padding:14px 0; border-bottom:1px solid rgba(255,255,255,.12); }
  /* submenus collapsed by default; expand only when the parent is tapped (.is-open) */
  .mainnav .submenu{ display:none !important; position:static; box-shadow:none; background:transparent; border-radius:0; padding:0 0 6px 16px; min-width:0; width:auto; margin:0; }
  .mainnav .has-sub.is-open > .submenu{ display:block !important; }
  .mainnav .submenu a{ color:#cdd9ec; justify-content:flex-start; white-space:normal; padding:10px 0; }
  .mainnav .submenu .submenu{ padding-left:16px; }
  .mainnav .has-sub > a .caret{ transition:transform .2s ease; }
  .mainnav .has-sub.is-open > a .caret{ transform:rotate(180deg); }
  /* tablet/mobile: no underline; hover & active use the accent colour */
  .mainnav #primary-menu a::after{ display:none !important; }
  .mainnav #primary-menu .active > a, .mainnav #primary-menu .current-menu-item > a, .mainnav #primary-menu .current_page_item > a{ border-bottom-color:transparent !important; }
  .mainnav #primary-menu a:hover, .mainnav #primary-menu .active > a, .mainnav #primary-menu .current-menu-item > a, .mainnav #primary-menu .current_page_item > a{ color:#C9F7FE; }
  /* Schedule Appointment button shown inside the menu — light cyan pill */
  .mainnav .nav-cta{ display:block; margin-top:18px; border:0; }
  .mainnav #primary-menu li.nav-cta > a{ display:inline-flex !important; align-items:center; justify-content:center; width:auto; background:#C9F7FE !important; color:var(--ink) !important; border:0 !important; padding:14px 40px !important; border-radius:999px !important; font-weight:500; }
  .mainnav #primary-menu li.nav-cta > a:hover{ background:#0059A6 !important; color:#fff !important; }
}

/* ============ CAROUSEL CONTROLS ============ */
.carousel-nav{display:flex;gap:10px}
.cbtn{width:46px;height:46px;border-radius:999px;border:1.5px solid #cdd8e3;background:#fff;color:var(--ink);
  font-size:1.1rem;cursor:pointer;transition:.2s;display:flex;align-items:center;justify-content:center}
.cbtn:hover{background:var(--blue);color:#fff;border-color:var(--blue)}
.tcards{scrollbar-width:none}
.tcards::-webkit-scrollbar{display:none}

/* ============ BLOG (index + cards as links) ============ */
.post-card{display:block;color:inherit}
.post-card h3{color:var(--ink)}
.arch-card .meta{font-size:.78rem;color:#8a97a8;margin-bottom:8px}
.pagination,.nav-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.pagination .page-numbers,.nav-links .page-numbers{display:inline-flex;min-width:42px;height:42px;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:10px;color:var(--ink);padding:0 12px}
.pagination .page-numbers.current{background:var(--blue);color:#fff;border-color:var(--blue)}
.pagination a.page-numbers:hover{border-color:var(--blue);color:var(--blue)}

/* ============ LOCATION: available doctors + gallery ============ */
.avail-doc{padding:12px 0;border-bottom:1px solid var(--cyan-200)}
.avail-doc:last-child{border-bottom:0;padding-bottom:0}
.avail-doc b{color:var(--ink)}
.avail-doc small{display:block;color:var(--blue);font-size:.82rem;margin:2px 0 4px}
.avail-doc .sched{font-size:.82rem;color:var(--body);line-height:1.55}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.gallery-grid img{border-radius:var(--radius-sm);height:210px;width:100%;object-fit:cover}
@media(max-width:700px){.gallery-grid{grid-template-columns:1fr 1fr}}

/* ============================================================
   HOME — full-width gutter system  (--fs-* spacing variables)
   Scoped to body.home ONLY. Other pages keep the 1200px center.

   REGION        SIDE | 1920 | 1536 | 1440 | 1220 | mobile(<=768)
   ------------------ | ---- | ---- | ---- | ---- | -------------
   Header         PL  | 150  | 120  |  85  |  80  |     20
   Header         PR  | 150  | 180  |  85  |  80  |     20
   Menu (nav)     PY  |  24  |  22  |  20  |  18  |     14
   Banner (hero)  PL  | 230  | 180  | 120  | 100  |     20
   Banner (hero)  PR  | 170  | 150  | 100  |  90  |     20
   Section        PL  | 230  | 200  | 170  | 100  |     20
   Section        PR  | 230  | 200  | 170  | 100  |     20
   Testimonial    PL  | 230  | 200  | 170  | 100  |     20
   Testimonial    PR  |   0  |   0  |   0  |   0  |      0
   Footer         PL  | 150  | 120  | 100  |  80  |     20
   Footer         PR  | 150  | 120  | 100  |  80  |     20
   Footer         PT  |  70  |  70  |  70  |  50  |     40
   Footer         PB  |  70  |  70  |  70  |  50  |     40
   ============================================================ */

/* --- breakpoint values (base = 1920 and up) --- */
body.home{
  --fs-header-pl:150px;  --fs-header-pr:150px;  --fs-nav-py:24px;
  --fs-banner-pl:230px;  --fs-banner-pr:170px;
  --fs-section-pl:230px; --fs-section-pr:230px;
  --fs-testi-pl:230px;   --fs-testi-pr:0px;
  --fs-footer-pl:150px;  --fs-footer-pr:150px;  --fs-footer-pt:70px;  --fs-footer-pb:70px;
}
@media(max-width:1536px){ body.home{
  --fs-header-pl:120px;  --fs-header-pr:180px;  --fs-nav-py:22px;
  --fs-banner-pl:180px;  --fs-banner-pr:150px;
  --fs-section-pl:200px; --fs-section-pr:200px;
  --fs-testi-pl:200px;   --fs-testi-pr:0px;
  --fs-footer-pl:120px;  --fs-footer-pr:120px;  --fs-footer-pt:70px;  --fs-footer-pb:70px;
}}
@media(max-width:1440px){ body.home{
  --fs-header-pl:85px;   --fs-header-pr:85px;   --fs-nav-py:20px;
  --fs-banner-pl:120px;  --fs-banner-pr:100px;
  --fs-section-pl:170px; --fs-section-pr:170px;
  --fs-testi-pl:170px;   --fs-testi-pr:0px;
  --fs-footer-pl:100px;  --fs-footer-pr:100px;  --fs-footer-pt:70px;  --fs-footer-pb:70px;
}}
@media(max-width:1220px){ body.home{
  --fs-header-pl:80px;   --fs-header-pr:80px;   --fs-nav-py:18px;
  --fs-banner-pl:100px;  --fs-banner-pr:90px;
  --fs-section-pl:100px; --fs-section-pr:100px;
  --fs-testi-pl:100px;   --fs-testi-pr:0px;
  --fs-footer-pl:80px;   --fs-footer-pr:80px;   --fs-footer-pt:50px;  --fs-footer-pb:50px;
}}
@media(max-width:768px){ body.home{
  --fs-header-pl:20px;   --fs-header-pr:20px;   --fs-nav-py:14px;
  --fs-banner-pl:20px;   --fs-banner-pr:20px;
  --fs-section-pl:20px;  --fs-section-pr:20px;
  --fs-testi-pl:20px;    --fs-testi-pr:0px;
  --fs-footer-pl:20px;   --fs-footer-pr:20px;   --fs-footer-pt:40px;  --fs-footer-pb:40px;
}}

/* --- apply: full-width containers + per-region gutters (home only) --- */
body.home .site-header .container,
body.home .hero .container,
body.home .section .container,
body.home .site-footer .container{ max-width:none; margin-left:0; margin-right:0; }

body.home .site-header .container{ padding-left:var(--fs-header-pl);  padding-right:var(--fs-header-pr); }
body.home .mainnav > .container > ul > li:not(.nav-cta) > a{ padding-top:var(--fs-nav-py); padding-bottom:var(--fs-nav-py); }
/* HOME nav: reference-style centered white underline on hover + active (TOP-LEVEL links only) */
body.home .mainnav > .container > ul > li > a{ position:relative; border-bottom-color:transparent; }
body.home .mainnav > .container > ul > li > a::after{
  content:""; position:absolute; left:18px; right:18px;
  bottom:calc(var(--fs-nav-py) - 6px); height:2px; background:#fff;
  opacity:0; transition:opacity .2s ease;
}
body.home .mainnav > .container > ul > li > a:hover::after,
body.home .mainnav > .container > ul > li.active > a::after,
body.home .mainnav > .container > ul > li.current-menu-item > a::after,
body.home .mainnav > .container > ul > li.current_page_item > a::after{ opacity:1; }
body.home .mainnav .active>a,
body.home .mainnav .current-menu-item>a,
body.home .mainnav .current_page_item>a{ border-bottom-color:transparent; }
/* HOME dropdowns: panel grows to fit the longest item (no right-edge touch);
   equal 18px gap on all four sides  (panel 7px + item 11px = 18 top/bottom; item 18 left/right). */
@media(min-width:641px){
  body.home .mainnav .submenu{ width:max-content; min-width:240px; padding:7px 0; }
  body.home .mainnav .submenu a{ padding:11px 18px; }
}
body.home .hero .container{        padding-left:var(--fs-banner-pl);  padding-right:var(--fs-banner-pr); }
body.home .section .container{     padding-left:var(--fs-section-pl); padding-right:var(--fs-section-pr); }
body.home .section--testi .container{ padding-left:var(--fs-testi-pl); padding-right:var(--fs-testi-pr); }
body.home .site-footer{            padding-top:var(--fs-footer-pt);   padding-bottom:var(--fs-footer-pb); }
body.home .site-footer .container{ padding-left:var(--fs-footer-pl);  padding-right:var(--fs-footer-pr); }

/* ============================================================
   HOME — typography scale  (--ts-h1 .. --ts-p)
   Scoped to body.home ONLY. Other pages keep their heading sizes.
   H1-H6 map to <h1>-<h6>; P -> <p> paragraphs.

   ELEM | 1920 | 1536 | 1440 | 1280 | 1024 | 425 | 393
   ---- | ---- | ---- | ---- | ---- | ---- | --- | ---
   H1   |  92  |  82  |  76  |  68  |  42  | 32  | 30
   H2   |  60  |  52  |  48  |  42  |  36  | 28  | 26
   H3   |  56  |  48  |  42  |  36  |  32  | 24  | 22
   H4   |  42  |  36  |  32  |  30  |  24  | 20  | 20
   H5   |  32  |  28  |  26  |  24  |  20  | 18  | 18
   H6   |  24  |  22  |  20  |  18  |  18  | 16  | 16
   P    |  20  |  18  |  18  |  16  |  16  | 14  | 14
   ============================================================ */

/* --- type-scale values (base = 1920 and up) --- */
body.home{
  --ts-h1:92px; --ts-h2:60px; --ts-h3:56px; --ts-h4:42px; --ts-h5:32px; --ts-h6:24px; --ts-p:20px;
}
@media(max-width:1536px){ body.home{
  --ts-h1:82px; --ts-h2:52px; --ts-h3:48px; --ts-h4:36px; --ts-h5:28px; --ts-h6:22px; --ts-p:18px;
}}
@media(max-width:1440px){ body.home{
  --ts-h1:76px; --ts-h2:48px; --ts-h3:42px; --ts-h4:32px; --ts-h5:26px; --ts-h6:20px; --ts-p:18px;
}}
@media(max-width:1280px){ body.home{
  --ts-h1:68px; --ts-h2:42px; --ts-h3:36px; --ts-h4:30px; --ts-h5:24px; --ts-h6:18px; --ts-p:16px;
}}
@media(max-width:1024px){ body.home{
  --ts-h1:42px; --ts-h2:36px; --ts-h3:32px; --ts-h4:24px; --ts-h5:20px; --ts-h6:18px; --ts-p:16px;
}}
@media(max-width:425px){ body.home{
  --ts-h1:32px; --ts-h2:28px; --ts-h3:24px; --ts-h4:20px; --ts-h5:18px; --ts-h6:16px; --ts-p:14px;
}}
@media(max-width:393px){ body.home{
  --ts-h1:30px; --ts-h2:26px; --ts-h3:22px; --ts-h4:20px; --ts-h5:18px; --ts-h6:16px; --ts-p:14px;
}}

/* --- apply (home only) --- */
body.home h1{ font-size:var(--ts-h1); }
body.home h2{ font-size:var(--ts-h2); }
body.home h3{ font-size:var(--ts-h3); }
body.home h4{ font-size:var(--ts-h4); }
body.home h5{ font-size:var(--ts-h5); }
body.home h6{ font-size:var(--ts-h6); }
body.home p{ font-size:var(--ts-p); }
/* HOME buttons: normal font weight */
body.home .btn{ font-weight:400; }
/* HOME hero "Our Specialties" label: normal font weight */
body.home .hero__spec{ font-weight:400; }
/* HOME header menu + submenu links: normal font weight */
body.home .mainnav a{ font-weight:400; }

/* ===== HOME — Dr. Richard feature: contained light card (reference redesign) ===== */
body.home .dr-feature{ background:#fff; }
body.home .dr-feature .dr-card{
  background:linear-gradient(180deg,#e8f5fc 0%,#f4fbfe 100%);
  border-radius:28px; padding:48px;
}
body.home .dr-card__head{ margin-bottom:32px; }
body.home .dr-card__title{ margin:0 0 10px; }
body.home .dr-card__sub{ margin:0; color:var(--body); max-width:48ch; font-size:1rem; line-height:1.55; }
/* two columns: video | body */
body.home .dr-feat{ grid-template-columns:.92fr 1.08fr; gap:48px; align-items:start; }
body.home .dr-feat .dr-media{ position:relative; }
/* Card = full 16:9 video on top + a blue panel below holding the Watch pill */
body.home .dr-feat .feat__media{ border-radius:20px; background:#0059A6; padding-bottom:104px; }
body.home .dr-feat .feat__video{ aspect-ratio:16/9; object-fit:cover; border-radius:0; }
/* one continuous fade from inside the video down through the blue panel (no seam line) */
body.home .dr-feat .feat__media::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:220px;
  background:linear-gradient(180deg,rgba(0,89,166,0) 0%,#0059A6 50%,#0059A6 100%); pointer-events:none; z-index:1;
}
/* white-outline "Watch" pill, bottom-left in the blue panel */
body.home .dr-feat .feat__media .play{
  left:28px; right:auto; bottom:34px; transform:none;
  background:transparent; border:1.5px solid rgba(255,255,255,.9);
  backdrop-filter:none; -webkit-backdrop-filter:none;
  padding:12px 22px; font-size:.92rem; gap:10px; z-index:2; white-space:nowrap;
}
body.home .dr-feat .play .play__ic{
  width:22px; height:22px; padding:5px; border:1.5px solid #fff; border-radius:50%; box-sizing:border-box;
}
/* mobile: keep the "Watch" pill inside the card (it was clipping past the right edge) */
@media(max-width:640px){
  body.home .dr-feat .feat__media .play{ left:16px; right:16px; width:auto; justify-content:center; text-align:center; padding:11px 12px; font-size:.8rem; gap:8px; white-space:normal; line-height:1.25; }
  body.home .dr-feat .play .play__ic{ flex:0 0 22px; }
}
/* slider dots under the video (decorative) */
body.home .dr-dots{ display:flex; gap:8px; justify-content:center; margin-top:18px; }
body.home .dr-dots span{ width:9px; height:9px; border-radius:999px; background:#bcdcec; }
body.home .dr-dots span.on{ width:30px; background:var(--blue); }
/* bold quote */
body.home .dr-body .dr-quote, body.home .dr-body .dr-quote p{ font-weight:500; color:var(--ink); font-size:1.12rem; line-height:1.5; }
body.home .dr-body .dr-quote{ margin:0 0 24px; }
body.home .dr-body .dr-quote p{ margin:0 0 .5em; }
body.home .dr-body .dr-quote p:last-child{ margin-bottom:0; }
/* slider */
body.home .dr-slide{ display:none; }
body.home .dr-slide.is-active{ display:block; }
body.home .dr-dots span{ cursor:pointer; }
/* circular check icons (blue circle + white tick) */
body.home .dr-body .checklist{ margin-top:0; gap:18px; }
body.home .dr-body .checklist li::before{
  background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4 4 10-10'/%3E%3C/svg%3E") center/12px no-repeat;
}
/* callout */
body.home .dr-body .callout{ background:#e3f4fb; border-radius:16px; padding:22px 24px; }
body.home .dr-body .callout h4{ font-size:var(--ts-h6); }
body.home .dr-body .callout p{ font-size:var(--ts-p); }

/* ===== HOME — Services section (reference): text + circle "Explore" link, outline CTA button ===== */
body.home .svc-explore{ display:inline-flex; align-items:center; gap:14px; color:var(--ink); font-weight:400; white-space:nowrap; }
body.home .svc-explore:hover{ color:var(--blue); }
body.home .svc-explore:hover .arrow-circle,
body.home .svc-explore .arrow-circle:hover{ background:var(--blue); color:#fff; }
/* "Explore all Services" link: underline the text label only (not the arrow) */
body.home .section--cyan .svc-explore__label{ text-decoration:underline; text-underline-offset:4px; }
body.home .card-cta .btn{ background:transparent; border:1.5px solid rgba(255,255,255,.85); color:#fff; font-size:var(--ts-p); font-weight:400; padding:12px 34px; gap:26px; margin-top:30px; }
body.home .card-cta .btn:hover{ background:#fff; color:var(--blue); }
/* CTA card heading: H3 size, normal weight */
body.home .card-cta h3{ font-size:var(--ts-h3); font-weight:400; }
/* Services cards: 431 x 593 box proportion (fluid width via the grid, height follows the ratio at every screen size) */
body.home .cards{ align-items:start; }
body.home .cards .card-img,
body.home .cards .card-cta{ aspect-ratio:431 / 593; min-height:0; min-width:0; width:100%; }
/* mobile: the 431:593 portrait is too tall when full-width — shorten all cards (incl. the CTA) */
@media(max-width:640px){
  body.home .cards .card-img,
  body.home .cards .card-cta{ aspect-ratio:4 / 3; }
  /* anchor the image to the top so the shorter crop doesn't cut the heads off */
  body.home .cards .card-img{ background-position:top center; }
}
/* card hover: blue colour overlay fades in + the subtitle is revealed (title stays visible always) */
body.home .cards .card-img::before{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,89,166,0) 38%,rgba(0,89,166,.9) 100%); opacity:0; transition:opacity .3s ease; z-index:1; pointer-events:none; }
body.home .cards .card-img:hover::before{ opacity:1; }
body.home .cards .card-img small{ max-height:0; opacity:0; margin-top:0; overflow:hidden; transition:max-height .3s ease, opacity .3s ease, margin-top .3s ease; }
body.home .cards .card-img:hover small{ max-height:3em; opacity:.92; margin-top:3px; }
/* card title: Plus Jakarta Sans, H5 size (responsive), weight 500 */
body.home .cards .card-img span{ font-family:"Plus Jakarta Sans",var(--sans); font-size:var(--ts-h5); font-weight:500; }
/* card hover subtitle: paragraph (body) font, P-scale size, weight 400 */
body.home .cards .card-img small{ font-family:var(--sans); font-size:var(--ts-p); font-weight:400; }
body.home .callout__star{ color:#e0413b; font-weight:700; margin-right:1px; }
/* responsive */
@media(max-width:980px){
  body.home .dr-feat{ grid-template-columns:1fr; gap:28px; align-items:stretch; }
  body.home .dr-feature .dr-card{ padding:34px; }
  body.home .dr-feat .feat__video{ aspect-ratio:16/9; }
}
@media(max-width:560px){
  body.home .dr-feature .dr-card{ padding:22px; border-radius:20px; }
  body.home .dr-card__head{ margin-bottom:24px; }
}

/* ===== HOME — About section pill (reference: solid cyan fill, blue text, larger) ===== */
body.home .about__pill{
  background:var(--cyan-100); border-color:transparent; color:var(--blue);
  font-size:var(--ts-h6); padding:10px 22px; margin-bottom:22px; font-weight:400;
}
/* "Our Services" pill: same --ts-h6 font size, normal weight */
body.home .services__pill{ font-size:var(--ts-h6); font-weight:400; }
/* "Our Services" heading: H3 size */
body.home .services__pill + h2{ font-size:var(--ts-h3); }
/* About section "More about us" link: normal weight */
body.home .about__link{ font-weight:400; }
/* About section heading: H3 size */
body.home .about__title{ font-size:var(--ts-h3); }
/* ===== HOME — Providers section ===== */
body.home .section:has(.providers) .sec-head h2{ font-size:var(--ts-h3); }   /* heading -> H3 */
body.home .section:has(.providers) .sec-head p{ font-size:var(--ts-p); }     /* intro -> P size */
/* "Meet the Providers" link: underline the text label only (not the arrow) */
body.home .section:has(.providers) .svc-explore__label{ text-decoration:underline; text-underline-offset:4px; }
body.home .provider b{ font-size:var(--ts-p); font-weight:500; }             /* doctor name -> P, weight 500 */
body.home .provider small{ display:block; font-size:calc(var(--ts-p) - 3px); margin-top:2px; }  /* role -> a bit smaller */
/* providers head: heading on top, then text + button on the SAME row (same level) */
body.home .prov-head{ flex-direction:column; align-items:stretch; }
body.home .prov-head__row{ display:flex; justify-content:space-between; align-items:flex-start; gap:24px; margin-top:14px; }
@media(max-width:640px){ body.home .prov-head__row{ flex-direction:column; align-items:flex-start; gap:14px; } }
/* HOME: tighten the vertical gap between the About section and the Dr. Richard section */
body.home .section:has(.about__split){ padding-bottom:40px; }
body.home .dr-feature{ padding-top:40px; }
/* mobile only: tighten the About -> Dr. Richard gap further */
@media(max-width:768px){
  body.home .section:has(.about__split){ padding-bottom:14px; }
  body.home .dr-feature{ padding-top:14px; }
}
@media(max-width:560px){ body.home .about__pill{ padding:8px 18px; font-size:.95rem; } }

/* ===== HOME — Why Choose (Our Promise) section ===== */
/* White background (override the cyan-soft fill) */
body.home .section:has(.why){ background:#fff; }
/* Pill: solid cyan fill, blue text (matches About/Services pills) */
body.home .section:has(.why) .pill{
  background:var(--cyan-100); border-color:transparent; color:var(--blue);
  font-size:var(--ts-h6); padding:10px 22px; margin-bottom:22px; font-weight:400;
}
/* Heading: H3 tag at H3 scale (Lora serif), centered */
body.home .section:has(.why) h3{ font-size:var(--ts-h3); }
/* Intro: paragraph scale, centered, constrained measure */
body.home .section:has(.why) .lead{ font-size:var(--ts-p); max-width:760px; }
/* Grid: thin blue line icon on top, H5-scale title (weight 500) below */
body.home .why{ margin-top:48px; gap:46px 48px; max-width:960px; margin-inline:auto; }
body.home .why__item{ gap:24px; }
/* icon: 77x72 at 1920+, scaled down per breakpoint */
body.home .why__item img{ width:77px; height:72px; object-fit:contain; }
body.home .why__item b{ font-size:var(--ts-h5); font-weight:400; line-height:1.35; max-width:24ch; }
@media(max-width:1536px){ body.home .why__item img{ width:70px; height:65px; } body.home .why__item b{ font-size:24px; } }
@media(max-width:1440px){ body.home .why__item img{ width:64px; height:60px; } }
@media(max-width:1440px){ body.home .why__item{ gap:20px; } }
@media(max-width:1280px){ body.home .why{ margin-top:40px; gap:40px 42px; } body.home .why__item img{ width:58px; height:54px; } body.home .why__item{ gap:18px; } body.home .why__item b{ font-size:20px; } }
@media(max-width:1024px){ body.home .why__item img{ width:52px; height:49px; } }
@media(max-width:980px){ body.home .why{ margin-top:38px; gap:38px 40px; } }
/* keep two short tiles per row on phones instead of a single stretched column */
@media(max-width:640px){
  body.home .why{ grid-template-columns:repeat(2,1fr); gap:30px 24px; margin-top:30px; }
  body.home .why__item img{ width:48px; height:45px; }
  body.home .why__item{ gap:14px; }
}
@media(max-width:425px){ body.home .why__item img{ width:44px; height:41px; } }
@media(max-width:380px){
  body.home .why{ grid-template-columns:1fr; gap:26px; }
}

/* ===== HOME — In-Office Procedures section ===== */
body.home .section:has(.proc){ background:#F6FBFE; }
/* Heading: H3 tag at H3 scale */
body.home .section:has(.proc) h3{ font-size:var(--ts-h3); }
/* Box text: H5 scale, weight 500 */
body.home .proc a{ font-size:var(--ts-h5); font-weight:400; transition:background .2s ease,border-color .2s ease,color .2s ease; }
@media(max-width:1536px){ body.home .proc a{ font-size:24px; } }
/* All boxes default to the plain (second-box) white style — neutralise the blue first box */
body.home .proc a.on{ background:#fff; color:var(--ink); border-color:var(--line); }
/* Hover: switch any box to the blue (first-box) look */
body.home .proc a:hover{ background:var(--blue); color:#fff; border-color:var(--blue); }
/* Arrow: chevron (›) shown on every box */
body.home .proc a .ar{ font-size:0; opacity:1; }
body.home .proc a .ar::before{ content:"\203A"; font-size:1.7rem; line-height:1; font-weight:600; }
@media(max-width:1280px){ body.home .proc a{ font-size:20px; } }
/* Warning box: extra gap above it (from the procedures grid), H4 heading, paragraph text, manageable icon */
body.home .warn{ margin-top:64px; }
body.home .warn h4{ color:#fff; font-size:var(--ts-h4); margin:0 0 20px; line-height:1.2; }
body.home .warn p{ margin:0; opacity:.9; font-size:var(--ts-p); line-height:1.55; }
body.home .warn{ gap:26px; align-items:flex-start; padding:40px 44px; }
body.home .warn__icon{ flex:0 0 auto; font-size:2.2rem; line-height:1; margin-top:4px; }
body.home .warn__icon img{ width:56px; height:56px; object-fit:contain; }
@media(max-width:1024px){ body.home .warn{ margin-top:52px; padding:34px 32px; gap:22px; } body.home .warn__icon img{ width:50px; height:50px; } body.home .warn h4{ margin-bottom:16px; } }
@media(max-width:768px){
  body.home .warn{ margin-top:44px; padding:28px 24px; gap:18px; }
  body.home .warn__icon img{ width:44px; height:44px; }
  body.home .warn h4{ margin-bottom:14px; }
}
@media(max-width:480px){
  body.home .warn{ margin-top:34px; flex-direction:column; gap:14px; padding:22px 18px; }
  body.home .warn__icon{ margin-top:0; }
  body.home .warn__icon img{ width:40px; height:40px; }
  body.home .warn h4{ margin-bottom:12px; }
}

/* ===== HOME — Blog section ===== */
/* Section heading: H3 tag at H3 scale */
body.home .section:has(.posts) .sec-head h3{ font-size:var(--ts-h3); }
/* "View All Blogs" arrow circle a bit larger (scoped to this section only) */
body.home .section:has(.posts) .svc-explore .arrow-circle{ width:54px; height:54px; font-size:1.15rem; }
@media(max-width:768px){ body.home .section:has(.posts) .svc-explore .arrow-circle{ width:48px; height:48px; } }
@media(max-width:480px){ body.home .section:has(.posts) .svc-explore .arrow-circle{ width:44px; height:44px; } }

/* ===== HOME — Locations section ===== */
/* Section heading: H3 tag at H3 scale */
body.home .section:has(.locs) .sec-head h3{ font-size:var(--ts-h3); }
/* "View All Locations": text + blue arrow circle (smaller) */
body.home .section:has(.locs) .svc-explore .arrow-circle{ width:42px; height:42px; font-size:1rem; }
@media(max-width:768px){ body.home .section:has(.locs) .svc-explore .arrow-circle{ width:38px; height:38px; } }
@media(max-width:480px){ body.home .section:has(.locs) .svc-explore .arrow-circle{ width:36px; height:36px; } }
/* Card title: H5 tag at H5 scale */
body.home .locs .loc h5{ font-size:var(--ts-h5); margin-bottom:12px; line-height:1.2; }
/* "We're Open" label colour + weight */
body.home .locs .loc .open{ color:#06A9FF; font-weight:500; }
/* "Get Direction": plain underlined text link (not a pill button) — like the image */
body.home .locs .loc .btn{
  color:#0B2F7C; background:transparent; border:0; padding:0;
  border-radius:0; text-decoration:underline; text-underline-offset:4px;
  font-weight:600; display:inline-block; min-height:0;
}
/* Normalise every box to the light (second-box) look — including the highlighted first one */
body.home .locs .loc--active{ background:var(--cyan-50); border-color:var(--cyan-200); color:var(--ink); }
body.home .locs .loc--active h5,
body.home .locs .loc--active p,
body.home .locs .loc--active a{ color:var(--ink); }
body.home .locs .loc--active .btn{ background:transparent; color:var(--ink); border-color:#cdd8e3; }
/* Hover: switch any box to the blue (first-box) look */
body.home .locs .loc{ transition:background .2s ease,border-color .2s ease,color .2s ease; }
body.home .locs .loc:hover{ background:#06A9FF; border-color:#06A9FF; color:#fff; }
body.home .locs .loc:hover h5,
body.home .locs .loc:hover p,
body.home .locs .loc:hover .open{ color:#fff; }
body.home .locs .loc:hover .btn{ background:transparent; color:#fff; border-color:transparent; }

/* ===== HOME — Insurance concierge card ===== */
/* Tighten the gap between the Locations section above and this one */
body.home .section:has(.locs){ padding-bottom:40px; }
body.home .section:has(.insure){ padding-top:24px; }
@media(max-width:768px){
  body.home .section:has(.locs){ padding-bottom:24px; }
  body.home .section:has(.insure){ padding-top:14px; }
}
/* Title: H4 tag at H4 scale */
body.home .insure__card h4{ font-size:var(--ts-h4); margin:0 0 14px; line-height:1.2; }
/* Intro text: paragraph scale */
body.home .insure__card p{ font-size:var(--ts-p); margin:0 0 8px; line-height:1.5; }
/* Phone line: H5 scale, weight 400, extra space before the button */
body.home .insure__call{ font-size:var(--ts-h5); font-weight:400; margin:16px 0 26px; }
@media(max-width:560px){ body.home .insure__call{ margin:14px 0 20px; } }
body.home .insure__call-icon{ width:38px; height:38px; object-fit:contain; flex:0 0 auto; }
@media(max-width:560px){ body.home .insure__call-icon{ width:32px; height:32px; } }
/* Verify Insurance button: keep the arrow inline next to the text */
body.home .insure__btn{ display:inline-flex; align-items:center; gap:8px; }
/* Mobile: show the photo full-width on top, then the details card below (both visible) */
@media(max-width:640px){
  body.home .insure{ display:block; align-items:stretch; min-height:0; background-position:center 22%; }
  body.home .insure::before{ content:""; display:block; height:200px; }
  body.home .insure__card{ margin:0; max-width:none; border-radius:0; padding:26px 22px; }
}
@media(max-width:420px){
  body.home .insure::before{ height:170px; }
  body.home .insure__card{ padding:22px 18px; }
}

/* ===== HOME — Testimonials section ===== */
/* Pill: solid cyan fill, blue text (matches the other section pills) */
body.home .section--testi .pill{
  background:#fff; border-color:transparent; color:var(--blue);
  font-size:var(--ts-h6); padding:10px 22px; margin-bottom:18px; font-weight:400;
}
@media(max-width:560px){ body.home .section--testi .pill{ padding:8px 18px; font-size:.95rem; margin-bottom:14px; } }
/* Auto-scroll marquee: hide nav arrows, disable snap, and remove the scrollbar line */
body.home .section--testi .carousel-nav{ display:none; }
body.home .section--testi .tcards{ scroll-snap-type:none; overflow:hidden; align-items:stretch; }
/* Card layout: quote heading on top, body grows, name + stars at the bottom (like the reference) */
body.home .section--testi .tcard{ display:flex; flex-direction:column; }
body.home .section--testi .tcard__quote{ display:block; font-size:var(--ts-p); font-weight:600; color:var(--ink); line-height:1.35; margin:0 0 14px; }
body.home .section--testi .tcard p{ flex:1 0 auto; margin:0; }
body.home .section--testi .tcard b{ margin:18px 0 8px; }
body.home .section--testi .tcard .stars{ margin:0; }
/* Card meta (date · category): 16px at 1920, weight 400, scaled per screen */
body.home .posts .post-card .meta{ font-size:16px; font-weight:400; color:#382E27; }
@media(max-width:1280px){ body.home .posts .post-card .meta{ font-size:15px; } }
@media(max-width:1024px){ body.home .posts .post-card .meta{ font-size:14px; } }
@media(max-width:640px){ body.home .posts .post-card .meta{ font-size:13px; } }
/* Card title: H6 scale, weight 500 (scales per screen via --ts-h6) */
body.home .posts .post-card h6{ font-family:"Aeonik",var(--sans); font-size:var(--ts-h6); font-weight:500; color:var(--ink); line-height:1.3; margin:0 0 14px; }
@media(max-width:640px){ body.home .posts .post-card h6{ font-size:18px; } }
/* Equal-height cards so every "Read article" sits on the same baseline */
body.home .posts .post-card{ display:flex; flex-direction:column; height:100%; }
body.home .posts .post-card h6{ margin-bottom:0; }
/* "Read article": paragraph style (P scale, weight 400), blue + underline, pinned to bottom */
body.home .posts .post-card .more{ font-size:var(--ts-p); font-weight:400; color:var(--blue); text-decoration:underline; text-underline-offset:3px; margin-top:auto; padding-top:18px; }

/* ===== HOME — Conditions tiles: all boxes uniform light bg, blue on hover ===== */
/* Section background */
body.home .section:has(.tiles){ background:#F6FBFE; }
/* Heading: H3 tag at H3 scale */
body.home .section:has(.tiles) h3{ font-size:var(--ts-h3); }
/* Box title: H6 scale, weight 400 */
body.home .tiles .tile b{ font-size:var(--ts-h6); font-weight:400; }
/* Icon: 100px at 1920+, scaled down per breakpoint */
body.home .tiles .tile img{ width:100px; height:100px; }
@media(max-width:1536px){ body.home .tiles .tile img{ width:88px; height:88px; } }
@media(max-width:1440px){ body.home .tiles .tile img{ width:78px; height:78px; } }
@media(max-width:1280px){ body.home .tiles .tile img{ width:68px; height:68px; } }
@media(max-width:1024px){ body.home .tiles .tile img{ width:60px; height:60px; } }
@media(max-width:640px){ body.home .tiles .tile img{ width:52px; height:52px; } }
@media(max-width:425px){ body.home .tiles .tile img{ width:48px; height:48px; } }
body.home .tiles .tile{ background:#DFFAFE; transition:background .2s ease,border-color .2s ease,color .2s ease; }
/* Neutralise the highlighted first box so every tile matches the light style */
body.home .tiles .tile--active{ background:#DFFAFE; border-color:var(--cyan-200); color:var(--ink); }
body.home .tiles .tile--active b{ color:var(--ink); }
body.home .tiles .tile--active img{ filter:none; }
/* Hover: light-blue box, white text/heading — icon stays unchanged */
body.home .tiles .tile:hover{ background:#06A9FF; border-color:#06A9FF; color:#fff; }
body.home .tiles .tile:hover b{ color:#fff; }

/* ===== HOME — Mobile hero: shorter banner, image fills (no dark gaps), text on the image ===== */
@media(max-width:640px){
  body.home .hero{ min-height:430px; align-items:flex-end; }
  body.home .hero--slider .hero__slide{ align-items:flex-end; }
  /* drop the desktop downward push so content sits on the image, not in the dark zone */
  body.home .hero .container{ transform:none; padding-bottom:26px; }
  /* cover so the photo fills the banner (no dark space); focal point near the faces */
  body.home .hero--slider .hero__slide,
  body.home .hero__bg{ background-size:cover !important; background-position:center 30% !important; }
  /* subtle bottom shade only for text legibility (not a flat dark block) */
  body.home .hero--slider .hero__slide::after,
  body.home .hero__bg::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top,rgba(8,18,32,.55),rgba(8,18,32,0) 42%); pointer-events:none; }
  body.home .hero .container{ z-index:2; }
}
@media(max-width:480px){
  body.home .hero{ min-height:380px; }
}
@media(max-width:420px){
  body.home .hero{ min-height:340px; }
}

/* ===== HOME — Services cards: horizontal auto-slider on mobile only ===== */
@media(max-width:640px){
  body.home .section--cyan .cards{
    display:flex; grid-template-columns:none; gap:16px;
    overflow-x:auto; -webkit-overflow-scrolling:touch;
    scrollbar-width:none; padding-bottom:4px;
  }
  body.home .section--cyan .cards::-webkit-scrollbar{ display:none; }
  body.home .section--cyan .cards > *{ flex:0 0 82%; }

  /* Move "Explore all Services" link below the cards slider (mobile only) */
  body.home .section--cyan .container{ display:flex; flex-direction:column; }
  body.home .section--cyan .sec-head{ display:contents; }
  body.home .section--cyan .sec-head > div{ margin-bottom:22px; }
  body.home .section--cyan .cards{ order:1; }
  body.home .section--cyan .svc-explore{ order:2; margin-top:22px; align-self:flex-start; }

  /* Providers: horizontal auto-slider on mobile only */
  body.home .providers{
    flex-wrap:nowrap; justify-content:flex-start;
    overflow-x:auto; -webkit-overflow-scrolling:touch;
    scrollbar-width:none; padding-bottom:4px;
  }
  body.home .providers::-webkit-scrollbar{ display:none; }
  body.home .provider{ flex:0 0 auto; }

  /* Move "Meet the Providers" link below the providers slider (mobile only) */
  body.home .section:has(.providers) .container{ display:flex; flex-direction:column; }
  body.home .section:has(.providers) .sec-head{ display:contents; }
  body.home .section:has(.providers) .prov-head__row{ display:contents; }
  body.home .section:has(.providers) .prov-head__row p{ margin-top:14px; }
  body.home .section:has(.providers) .providers{ order:1; }
  body.home .section:has(.providers) .svc-explore{ order:2; margin-top:22px; align-self:flex-start; }
}
