/* =========================================================================
   The Humble Doctor — Humble Chiropractic, Fort Myers
   Global stylesheet (shared across all pages)
   Design source: Figma "Humble Chiropractic - Home page design"
   ========================================================================= */

/* ----------------------------- Design tokens ---------------------------- */
:root{
  /* Brand colors */
  --navy:        #042544;
  --blue:        #02a0d8;
  --blue-tint:   #eaf6fa;
  --muted:       #ccded9;
  --gray-bg:     #f2f2f2;
  --border:      #e5e7eb;
  --slate:       #94a3b8;

  /* Dark process section */
  --dark-1:      #141e33;
  --dark-2:      #1e294b;

  /* Footer */
  --footer-bg:   #041b35;
  --footer-icon: #092440;
  --footer-text: #e2e8f0;

  /* Testimonials */
  --quote-1:     #0c1f4a;
  --quote-2:     #152848;

  /* Fonts */
  --f-display: 'Outfit', 'Poppins', system-ui, sans-serif; /* Product Sans substitute */
  --f-body:    'Poppins', system-ui, sans-serif;
  --f-alt:     'Inter', system-ui, sans-serif;
  --f-manrope: 'Manrope', system-ui, sans-serif;
  --f-num:     'Sora', 'Outfit', sans-serif;

  /* Layout */
  --maxw: 1500px;
  --gutter: 50px;
  --radius: 12.7px;

  --shadow-card: 0 16px 32px -12px rgba(0,0,0,.07), 0 2px 8px rgba(0,0,0,.04);
  --shadow-btn:  0 10.6px 12.7px rgba(167,139,250,.25);
}

/* ------------------------------- Reset ---------------------------------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;overflow-x:hidden}
body{
  font-family:var(--f-body);
  color:var(--navy);
  background:#fff;
  line-height:1.5;
  overflow-x:hidden;
  max-width:100%;
}
section{max-width:100%}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button,input,textarea,select{font:inherit;color:inherit}

/* ----------------------------- Utilities -------------------------------- */
.container{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:var(--gutter)}
.section{position:relative}
.text-blue{color:var(--blue)}
.text-white{color:#fff}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

.eyebrow{display:inline-block;background:var(--blue);color:var(--navy);font-family:var(--f-body);
  font-weight:600;font-size:22px;line-height:1.2;padding:1px 8px}

.section-title{font-family:var(--f-display);font-weight:700;color:var(--navy);
  font-size:clamp(32px,4vw,55px);line-height:1.16;letter-spacing:-1.65px}
.section-sub{font-family:var(--f-body);font-weight:600;font-size:16px;color:var(--navy)}

/* ------------------------------ Buttons --------------------------------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10.6px;
  font-family:var(--f-body);font-weight:700;font-size:15.9px;line-height:1;
  border-radius:var(--radius);padding:15px 17px;cursor:pointer;border:0;
  text-transform:capitalize;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}
.btn:hover{transform:translateY(-2px)}
.btn img,.btn svg{width:19px;height:19px}

.btn-primary{background:var(--blue);color:var(--navy);box-shadow:var(--shadow-btn)}
.btn-primary:hover{background:#039ed2}
.btn-dark{background:var(--navy);color:var(--blue);padding-inline:17px}
.btn-dark:hover{background:#06345f}

/* Outlined phone pill (Google-review style badge on left) */
.phone-pill{display:inline-flex;align-items:center;gap:8px;height:56px;padding:0 22px 0 8px;
  border:1px solid var(--navy);border-radius:90px;font-family:var(--f-display);font-weight:700;
  font-size:23.7px;letter-spacing:-.71px;color:var(--navy);white-space:nowrap;transition:background .15s}
.phone-pill .g-badge{width:47px;height:47px;flex:0 0 auto}
.phone-pill:hover{background:var(--blue-tint)}
.phone-pill.on-dark{border-color:#fff;color:#fff}
.phone-pill.on-dark:hover{background:rgba(255,255,255,.08)}

/* ============================= HEADER =================================== */
.topbar{background:var(--blue);height:28px}
.site-header{position:sticky;top:0;z-index:100;background:#fff;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.header-inner{display:flex;align-items:center;justify-content:space-between;
  height:86px;gap:24px}
.brand img{width:233px;height:56px;object-fit:contain}

.main-nav ul{display:flex;align-items:center;gap:34px}
.main-nav a{font-family:var(--f-body);font-weight:500;font-size:16px;color:#000;position:relative;
  padding-bottom:4px;white-space:nowrap}
.main-nav a:hover,.main-nav a.active{color:var(--blue)}
.main-nav a.active::after{content:"";position:absolute;left:0;bottom:0;width:47px;height:3px;background:var(--blue);border-radius:2px}
/* Services dropdown */
.main-nav .has-dropdown{position:relative}
.main-nav .dropdown{display:block;position:absolute;top:100%;left:0;padding-top:14px;margin:0;list-style:none;
  width:max-content;min-width:290px;gap:0;opacity:0;visibility:hidden;transform:translateY(6px);
  transition:opacity .15s ease,transform .15s ease;z-index:200}
.main-nav .dropdown::before{content:"";position:absolute;inset:14px 0 0 0;background:#fff;
  border-radius:12px;box-shadow:0 10px 30px rgba(4,37,68,.14);z-index:-1}
.main-nav .has-dropdown:hover .dropdown,.main-nav .has-dropdown:focus-within .dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.main-nav .dropdown li{white-space:nowrap}
.main-nav .dropdown a{display:block;padding:10px 22px;font-size:15px;font-weight:500;color:var(--navy)}
.main-nav .dropdown a:hover{background:var(--blue-tint);color:var(--blue)}
.main-nav .dropdown a.active::after{display:none}

.header-actions{display:flex;align-items:center;gap:16px}
.header-actions .btn{height:55px;min-width:163px;white-space:nowrap;padding-inline:22px}
.header-actions .phone-pill{font-size:20px}

.nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:8px;flex-direction:column;gap:5px}
.nav-toggle span{display:block;width:26px;height:3px;background:var(--navy);border-radius:2px;transition:.25s}
.nav-toggle.open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* ============================== HERO =================================== */
.hero{position:relative;color:#fff;background:var(--navy);overflow:hidden}
.hero-bg{position:absolute;inset:0;z-index:0;
  background:var(--navy) url('../images/hero-banner.jpg') no-repeat center right/cover}
/* Flattened export already has the navy gradient baked in — no extra overlay needed */
.hero .container{position:relative;z-index:2;padding-top:100px;padding-bottom:60px;min-height:795px;
  display:flex;flex-direction:column;justify-content:flex-start}

.hero-title{font-family:var(--f-display);font-weight:700;letter-spacing:-2.98px;line-height:.82;margin-bottom:18px}
.hero-title .line1{display:block;color:var(--blue);font-size:clamp(52px,7vw,100px)}
.hero-title .line2{display:block;color:#fff;font-size:clamp(34px,4.4vw,62px);margin-top:6px}
.hero .eyebrow{margin-bottom:22px;align-self:flex-start}
.hero-lead{max-width:567px;font-weight:600;font-size:16px;color:#fff;margin-bottom:34px}

/* Hero grid: lead form + common injuries card */
.hero-cols{display:flex;gap:32px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;margin-top:auto}

/* Lead form card */
.lead-form{background:var(--navy);border:3px solid rgba(2,160,216,0);border-radius:17px;
  padding:17px 21px 29px;width:min(677px,100%);box-shadow:0 12.7px 14.8px rgba(0,0,0,.15);
  display:flex;flex-direction:column;gap:25px}
.lead-form .fields{display:flex;gap:12.7px}
.lead-form .field{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:6px}
.lead-form label{font-weight:600;font-size:11.6px;letter-spacing:.7px;text-transform:uppercase;color:rgba(255,255,255,.7)}
.lead-form input{height:46.6px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);
  border-radius:12.7px;padding:0 12.7px;font-family:var(--f-alt);font-size:14.8px;color:#fff}
.lead-form input::placeholder{color:rgba(255,255,255,.5)}
.lead-form input:focus{outline:2px solid var(--blue);outline-offset:0}
.lead-form .btn{width:100%;height:46.6px}

/* Common injuries card (glass) */
.injuries-card{width:259px;flex:0 0 auto;background:rgba(4,37,68,.33);backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);border-radius:23px;padding:22px 18px;color:#fff}
.injuries-card h3{font-family:var(--f-alt);font-style:italic;font-weight:700;color:var(--blue);
  font-size:15px;letter-spacing:2px;text-transform:uppercase;margin-bottom:18px}
.injuries-card ul{display:flex;flex-direction:column;gap:10px}
.injuries-card li{display:flex;align-items:center;gap:10px;font-family:var(--f-alt);font-weight:600;font-size:16px}
.injuries-card .tick{width:24px;height:24px;flex:0 0 auto;border:2px solid var(--blue);border-radius:12px;
  display:flex;align-items:center;justify-content:center}
.injuries-card .tick img{width:13px;height:13px}

/* Hero trust strip */
.hero-trust{display:flex;flex-wrap:wrap;align-items:center;gap:16px 22px;margin-top:28px;
  position:relative;z-index:2}
.hero-trust .item{display:flex;align-items:center;gap:9px;font-family:var(--f-manrope);font-weight:500;
  font-size:14.7px;color:#fff}
.hero-trust .item img{width:18px;height:18px}
.hero-trust .divider{width:1px;height:20px;background:var(--muted)}

/* ========================= INSURANCE LOGOS ============================= */
.insurers{padding:34px 0}
.insurers .row{display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}
.insurers img{height:70px;width:auto;object-fit:contain;filter:grayscale(1);opacity:.85;transition:.2s}
.insurers img:hover{filter:none;opacity:1}

/* ============================== ABOUT ================================== */
.about{background:var(--gray-bg);padding:80px 0}
.about-grid{display:grid;grid-template-columns:minmax(0,720px) 1fr;gap:48px;align-items:center}
.about-media{display:grid;grid-template-columns:200px 1fr;gap:20px;align-items:stretch}
.about-thumbs{display:flex;flex-direction:column;gap:20px}
.about-thumbs img{width:100%;height:124px;object-fit:cover;border-radius:10px}
.about-doctor{width:100%;height:100%;min-height:556px;object-fit:cover;object-position:bottom;border-radius:10px}
.about-body h2{font-family:var(--f-display);font-weight:700;font-size:clamp(34px,4vw,55px);
  line-height:1.16;letter-spacing:-1.65px;margin-bottom:22px}
.about-body h2 span{color:var(--blue);display:block}
.about-body p{font-weight:600;font-size:16px;color:var(--navy);margin-bottom:16px;max-width:707px}
.about-body .btn{margin-top:14px}

/* ============================= SERVICES ================================ */
.services{padding:90px 0}
.services .head{text-align:center;max-width:707px;margin:0 auto 60px}
.services .head .section-title{margin-bottom:16px}
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.service-card{background:#fff;border:1px solid var(--border);border-radius:20px;overflow:hidden;
  box-shadow:var(--shadow-card);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.service-card:hover{transform:translateY(-6px);box-shadow:0 22px 40px -12px rgba(0,0,0,.14)}
.service-card .card-img{height:350px;overflow:hidden}
.service-card .card-img img{width:100%;height:100%;object-fit:cover}
.service-card .accent{height:3px;background:var(--blue)}
.service-card .card-body{padding:24px;display:flex;flex-direction:column;gap:16px;flex:1}
.service-card .title-row{display:flex;align-items:center;gap:12px}
.service-card .icon{width:40px;height:40px;flex:0 0 auto;background:var(--blue-tint);border-radius:12px;
  display:flex;align-items:center;justify-content:center}
.service-card .icon img{width:20px;height:20px}
.service-card h3{font-weight:600;font-size:18px;letter-spacing:-.18px;line-height:1.3;color:var(--navy)}
.service-card .desc{font-weight:400;font-size:14px;line-height:1.5;color:var(--navy);flex:1}
.service-card .badges{display:flex;flex-wrap:wrap;gap:8px}
.service-card .badge{background:var(--blue-tint);color:var(--blue);font-weight:600;font-size:12px;
  padding:6px 12px;border-radius:100px}
.service-card .card-cta{display:inline-flex;align-items:center;gap:6px;color:var(--blue);
  font-weight:600;font-size:15px;margin-top:auto}
.service-card .card-cta img{width:14px;height:14px}

/* ============================= PROCESS ================================= */
.process{padding:0 0 28px}
.process-inner{background:var(--navy);border:1px solid rgba(2,160,216,.35);border-radius:24px;
  position:relative;overflow:hidden;padding:52px 56px;display:grid;grid-template-columns:1fr 1fr;
  gap:44px;align-items:stretch}
.process-left{display:flex;flex-direction:column}
.process-left h2{font-family:var(--f-display);font-weight:700;color:#fff;text-transform:capitalize;
  font-size:clamp(32px,3.6vw,55px);line-height:1.16;letter-spacing:-1.65px;margin-bottom:20px}
.process-left h2 span{color:var(--blue)}
.process-left .lead{font-weight:600;font-size:16px;color:#fff;max-width:542px;margin-bottom:24px}
.process-left .phone-pill{margin-bottom:24px;align-self:flex-start;position:relative;z-index:3}
.process-figure{position:relative;margin-top:-55px;margin-bottom:-52px;margin-left:-32px;min-height:240px;
  z-index:1;pointer-events:none}
.process-figure img{position:relative;z-index:1;width:100%;max-width:600px;display:block}
.process-figure .glow{position:absolute;left:2%;bottom:0;width:100%;max-width:600px;z-index:0;opacity:.9}

.timeline{display:flex;flex-direction:column;justify-content:space-between;gap:14px}
.step{display:flex;gap:20px;align-items:stretch}
.step .col{display:flex;flex-direction:column;align-items:center;width:52px;flex:0 0 52px}
.step .badge-ic{width:52px;height:52px;border-radius:26px;background:rgba(2,160,216,.11);
  border:1px solid var(--blue);display:flex;align-items:center;justify-content:center}
.step .badge-ic img{width:22px;height:22px}
.step .connector{flex:1;width:2px;min-height:10px;background:linear-gradient(var(--blue),var(--dark-2))}
.step:last-child .connector{display:none}
.step .card{flex:1;background:var(--dark-1);border:1px solid var(--dark-2);border-radius:14px;
  padding:16px 22px;box-shadow:0 8px 12px rgba(0,0,0,.25)}
.step .card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}
.step .card-head h3{font-family:var(--f-display);font-weight:700;font-size:18px;color:#fff}
.step .num{font-family:var(--f-num);font-weight:800;font-size:28px;color:var(--blue)}
.step .card p{font-weight:400;font-size:14px;line-height:1.5;color:var(--slate)}

/* ========================== TRUSTED CARE ============================== */
.trusted{padding:44px 0}
.trusted-row{display:flex;align-items:center;gap:56px;flex-wrap:wrap}
.trusted-head{font-family:var(--f-display);font-weight:700;color:var(--navy);
  font-size:clamp(30px,3.4vw,52px);line-height:1.12;letter-spacing:-1.5px;flex:0 0 auto;
  max-width:none;white-space:nowrap}
.trusted-head .th-icon{width:42px;height:36px;display:inline-block;vertical-align:-8px;margin-right:6px}
.trusted-head span{color:var(--blue)}
.trusted-lists{display:flex;align-items:stretch;gap:48px;flex:1 1 480px}
.trusted-list{display:flex;flex-direction:column;justify-content:center;gap:16px;flex:1}
.trusted-list li{display:flex;align-items:center;gap:12px;font-weight:600;
  font-size:clamp(15px,1.25vw,20px);color:var(--navy);white-space:nowrap}
.trusted-list .check{width:24px;height:24px;flex:0 0 auto;border:1.5px solid var(--blue);border-radius:50%;
  background:transparent;display:flex;align-items:center;justify-content:center}
.trusted-list .check svg{width:13px;height:13px;stroke:var(--blue);stroke-width:2.5}
.trusted .v-divider{width:1px;background:#d5dee2;align-self:stretch}

/* =========================== TESTIMONIALS ============================= */
.testimonials{background:var(--gray-bg);padding:80px 0}
.testimonials .head{text-align:center;margin-bottom:48px}
.testimonials .head .section-title{text-transform:capitalize;margin-bottom:16px}
.reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.review{background:#fff;border-radius:20px;padding:34px 30px;position:relative;min-height:353px;
  display:flex;flex-direction:column}
.review .quote-mark{width:50px;height:50px;margin-bottom:14px}
.review .body{font-weight:400;font-size:18px;line-height:1.5;color:var(--quote-1);flex:1}
.review .foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}
.review .name{font-weight:600;font-size:18px;color:var(--quote-2)}
.review .stars{height:18px;margin-top:8px}
.review .g-logo{width:60px;height:60px;flex:0 0 auto}
.reviews-cta{display:flex;justify-content:center;margin-top:40px}
.reviews-cta .btn{width:202px;height:47px}

/* ============================ PAINFREE CTA ============================ */
.painfree{position:relative;color:#fff;background:var(--blue);overflow:hidden}
.painfree-bg{position:absolute;inset:0;z-index:0;
  background:#02a0d8 url('../images/cta-pain-free.jpg') no-repeat center/cover}
.painfree .container{position:relative;z-index:2;padding:120px 50px 100px;min-height:564px}
.painfree h2{font-family:var(--f-display);font-weight:700;font-size:clamp(40px,5vw,62px);
  letter-spacing:-1.88px;line-height:1.05;margin-bottom:22px}
.painfree .eyebrow{background:var(--navy);color:var(--blue);margin-bottom:22px}
.painfree p{font-weight:600;font-size:16px;max-width:709px;margin-bottom:26px}
.painfree .cta-row{display:flex;flex-wrap:wrap;gap:18px;align-items:center}
.painfree .btn-dark{height:47px;padding-inline:17px}

/* ============================== MAP ================================== */
.map-band{height:260px;overflow:hidden}
.map-band img{width:100%;height:100%;object-fit:cover}
.map-band iframe{width:100%;height:100%;border:0;display:block}

/* ============================= FOOTER ================================ */
.site-footer{background:var(--footer-bg);border-top:4px solid var(--blue);color:var(--footer-text);
  padding:80px 100px 40px}
.footer-cols{display:grid;grid-template-columns:380px 220px 280px 340px;gap:40px;
  justify-content:space-between}
.footer-brand img{width:233px;height:56px;object-fit:contain;margin-bottom:24px}
.footer-brand p{font-weight:400;font-size:14px;line-height:1.6;color:var(--footer-text)}
.footer-col h4{font-family:var(--f-body);font-weight:700;font-size:18px;color:#fff;letter-spacing:.5px;margin-bottom:12px}
.footer-col .accent{width:32px;height:3px;background:var(--blue);border-radius:2px;margin-bottom:24px}
.footer-col li{margin-bottom:16px}
.footer-col li a{display:flex;align-items:center;gap:8px;font-weight:500;font-size:14px;color:var(--footer-text);transition:.15s}
.footer-col li a:hover{color:var(--blue)}
.footer-col li a::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--blue);flex:0 0 auto}
.contact-list{display:flex;flex-direction:column;gap:18px}
.contact-item{display:flex;gap:12px;align-items:flex-start}
.contact-item .ic{width:32px;height:32px;flex:0 0 auto;background:var(--footer-icon);border-radius:16px;
  display:flex;align-items:center;justify-content:center}
.contact-item .ic img{width:14px;height:14px}
.contact-item .label{font-family:var(--f-alt);font-weight:600;font-size:12px;color:var(--slate)}
.contact-item .value{font-weight:500;font-size:14px;color:var(--footer-text)}

.newsletter{margin-top:50px;border-top:1px solid rgba(255,255,255,.08);padding-top:36px;
  display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}
.newsletter .txt h4{font-family:var(--f-body);font-weight:700;font-size:18px;color:#fff;margin-bottom:6px}
.newsletter .txt p{font-size:14px;color:var(--slate)}
.newsletter form{display:flex;gap:12px;flex:1;max-width:520px;min-width:280px}
.newsletter input{flex:1;height:48px;background:var(--footer-icon);border:1px solid rgba(255,255,255,.1);
  border-radius:10px;padding:0 16px;color:#fff;font-size:14px}
.newsletter input::placeholder{color:var(--slate)}
.newsletter .btn{height:48px;padding-inline:24px}

.footer-social{display:flex;gap:12px;margin-top:24px}
.footer-social a{width:38px;height:38px;border-radius:10px;background:var(--footer-icon);
  display:flex;align-items:center;justify-content:center;transition:.15s}
.footer-social a:hover{background:var(--blue)}
.footer-social img{width:18px;height:18px}

.footer-bottom{margin-top:36px;border-top:1px solid rgba(255,255,255,.08);padding-top:24px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  font-size:13px;color:var(--slate)}
.footer-bottom a:hover{color:var(--blue)}
.footer-bottom .links{display:flex;gap:24px}

.footer-logo{display:inline-block}
.footer-map{margin-top:44px;position:relative}
.footer-map iframe{width:100%;height:300px;border:0;border-radius:16px;display:block;
  filter:grayscale(.15)}
.footer-map .map-link{position:absolute;top:14px;right:14px;z-index:2;background:#fff;
  color:var(--navy);font-weight:700;font-size:13px;padding:8px 14px;border-radius:999px;
  box-shadow:0 6px 18px rgba(0,0,0,.18)}
.footer-map .map-link:hover{color:var(--blue)}
.footer-powered{border-top:1px solid rgba(255,255,255,.08);margin-top:24px;padding-top:20px;
  text-align:center;font-size:13px;color:var(--slate)}
.footer-powered a{color:var(--blue);font-weight:700}
.footer-powered a:hover{text-decoration:underline}

/* ======================= INNER PAGE BANNER =========================== */
.page-banner{position:relative;background:var(--navy);color:#fff;overflow:hidden;padding:72px 0 60px}
.page-banner::before{content:"";position:absolute;right:-8%;top:-40%;width:640px;height:640px;border-radius:50%;
  background:radial-gradient(circle,rgba(2,160,216,.35),rgba(2,160,216,0) 62%);z-index:0}
.page-banner .container{position:relative;z-index:2}
.page-banner .crumb{font-weight:500;font-size:14px;color:var(--muted);margin-bottom:14px}
.page-banner .crumb a:hover{color:var(--blue)}
.page-banner h1{font-family:var(--f-display);font-weight:700;font-size:clamp(34px,5vw,56px);
  letter-spacing:-1.5px;line-height:1.08}
.page-banner h1 span{color:var(--blue)}
.page-banner p{max-width:660px;font-weight:500;font-size:16px;color:#cdd8e2;margin-top:14px}

/* Inner-page hero — same look as the home hero (navy gradient over image), no form.
   Set the background image inline on .bg: <div class="bg" style="background-image:url('images/x.png')"></div> */
.page-hero{position:relative;color:#fff;background:var(--navy);overflow:hidden}
.page-hero .bg{position:absolute;inset:0;z-index:0;background-position:center right;background-size:cover;background-repeat:no-repeat}
.page-hero .bg::after{content:"";position:absolute;inset:0;
  background:linear-gradient(87.9deg,var(--navy) 5.67%,rgba(102,102,102,0) 111.56%)}
/* Fixed banner height shared by EVERY page hero — keeps all banners identical and
   shows the (tall) hero images properly. Content is vertically centred within it. */
.page-hero .container{position:relative;z-index:2;min-height:640px;padding-top:96px;padding-bottom:64px;
  display:flex;flex-direction:column;justify-content:center}
.page-hero h1{font-family:var(--f-display);font-weight:700;letter-spacing:-2px;line-height:1.04;margin-bottom:18px}
.page-hero h1 .l2{margin-top:2px}
.page-hero h1 .l1{display:block;color:var(--blue);font-size:clamp(46px,6.4vw,100px)}
.page-hero h1 .l2{display:block;color:#fff;font-size:clamp(30px,4vw,62px)}
.page-hero p{max-width:610px;font-weight:600;font-size:16px;color:#fff;line-height:1.55}

/* Generic light section + section heading centered */
.section-pad{padding:80px 0}
.section-pad.alt{background:var(--gray-bg)}
.centered-head{text-align:center;max-width:720px;margin:0 auto 52px}
.centered-head .section-title{margin-bottom:16px}

/* ============================ STAFF ================================= */
.staff-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.staff-card{background:#fff;border:1px solid var(--border);border-radius:20px;overflow:hidden;
  box-shadow:var(--shadow-card);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.staff-card:hover{transform:translateY(-6px);box-shadow:0 22px 40px -12px rgba(0,0,0,.14)}
.staff-card .photo{height:320px;overflow:hidden;background:var(--blue-tint)}
.staff-card .photo img{width:100%;height:100%;object-fit:cover}
.staff-card .accent{height:3px;background:var(--blue)}
.staff-card .body{padding:24px}
.staff-card h3{font-family:var(--f-display);font-weight:700;font-size:22px;color:var(--navy)}
.staff-card .role{color:var(--blue);font-weight:600;font-size:14px;margin:4px 0 12px}
.staff-card p{font-weight:400;font-size:14px;line-height:1.6;color:var(--navy)}

/* ========================= FEATURE ROWS (services detail) ========== */
.feature-row{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.feature-row + .feature-row{margin-top:64px}
.feature-row.reverse .media{order:2}
.feature-row .media img{width:100%;border-radius:16px}
/* Image placeholder slot — clean gradient box until the real photo is supplied.
   Add class "img-ph" to the image's wrapper (.media or .mid-img); give the <img>
   onerror="this.style.display='none'" so a missing file reveals the gradient. */
.img-ph{position:relative;border-radius:20px;overflow:hidden;min-height:360px;
  background:linear-gradient(135deg,#e9f2f8 0%,#d2e3ef 100%);display:flex;align-items:center;justify-content:center}
.mid-img.img-ph{min-height:320px;margin:36px auto}
.img-ph::after{content:"";width:76px;height:76px;opacity:.5;background:center/contain no-repeat;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237199b5' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E")}
.img-ph img{width:100%;height:100%;object-fit:cover;border-radius:20px;position:relative;z-index:1}
.feature-row h3{font-family:var(--f-display);font-weight:700;font-size:clamp(26px,3vw,36px);
  color:var(--navy);margin-bottom:16px}
.feature-row p{font-weight:400;font-size:15px;line-height:1.7;color:var(--navy);margin-bottom:14px}
.feature-row .ticks{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.feature-row .ticks li{display:flex;align-items:center;gap:12px;font-weight:600;color:var(--navy)}
.feature-row .ticks .check{width:24px;height:24px;flex:0 0 auto;border-radius:50%;background:var(--blue);
  display:flex;align-items:center;justify-content:center}
.feature-row .ticks .check svg{width:13px;height:13px;stroke:#fff;stroke-width:3}

/* ============================ CONTACT ============================== */
.contact-wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:start}
.contact-form{background:#fff;border:1px solid var(--border);border-radius:20px;padding:32px;
  box-shadow:var(--shadow-card)}
.contact-form .row{display:flex;gap:16px}
.contact-form .field{flex:1;display:flex;flex-direction:column;gap:6px;margin-bottom:18px}
.contact-form label{font-weight:600;font-size:13px;color:var(--navy)}
.contact-form input,.contact-form textarea{border:1px solid var(--border);border-radius:12px;
  padding:12px 14px;font-family:var(--f-body);font-size:15px;color:var(--navy);background:#fff}
.contact-form input:focus,.contact-form textarea:focus{outline:2px solid var(--blue);border-color:var(--blue)}
.contact-form textarea{min-height:130px;resize:vertical}
.contact-form .btn{width:100%;margin-top:4px}
.contact-side{display:flex;flex-direction:column;gap:20px}
.contact-side .info{background:var(--navy);color:#fff;border-radius:20px;padding:28px}
.contact-side .info h3{font-family:var(--f-display);font-weight:700;font-size:22px;margin-bottom:18px}
.contact-side .info .item{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px}
.contact-side .info .ic{width:38px;height:38px;flex:0 0 auto;background:rgba(2,160,216,.15);border-radius:12px;
  display:flex;align-items:center;justify-content:center}
.contact-side .info .ic img{width:16px;height:16px}
.contact-side .info .label{font-size:12px;color:var(--slate);font-weight:600}
.contact-side .info .value{font-size:15px;color:#fff;font-weight:500}
.contact-side .info .value a:hover{color:var(--blue)}
.form-alert{background:#fdecea;border:1px solid #f5c6cb;color:#a12a2a;border-radius:12px;
  padding:12px 16px;margin-bottom:18px;font-size:14px;font-weight:500}

/* ============================== BLOG ================================ */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.blog-card{background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;
  box-shadow:var(--shadow-card);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.blog-card:hover{transform:translateY(-6px);box-shadow:0 22px 40px -12px rgba(0,0,0,.14)}
.blog-card .img{height:200px;overflow:hidden}
.blog-card .img img{width:100%;height:100%;object-fit:cover}
.blog-card .body{padding:22px;display:flex;flex-direction:column;gap:10px;flex:1}
.blog-card .tag{color:var(--blue);font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:.5px}
.blog-card h3{font-family:var(--f-display);font-weight:700;font-size:19px;color:var(--navy);line-height:1.3}
.blog-card p{font-size:14px;color:var(--navy);line-height:1.6;flex:1}
.blog-card .more{color:var(--blue);font-weight:600;font-size:14px;margin-top:auto}

/* ============================== FAQ ================================= */
.faq{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.faq details{background:#fff;border:1px solid var(--border);border-radius:14px;padding:2px 22px;box-shadow:var(--shadow-card)}
.faq summary{cursor:pointer;list-style:none;padding:18px 0;font-family:var(--f-body);font-weight:600;
  font-size:17px;color:var(--navy);display:flex;justify-content:space-between;align-items:center;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:26px;line-height:1;color:var(--blue);font-weight:400}
.faq details[open] summary::after{content:"\2013"}
.faq details p{padding:0 0 18px;font-size:15px;line-height:1.7;color:var(--navy)}

/* =========================== LEGAL PROSE =========================== */
.prose{max-width:820px;margin:0 auto}
.prose h2{font-family:var(--f-display);font-weight:700;font-size:24px;color:var(--navy);margin:28px 0 12px}
.prose p{font-size:15px;line-height:1.8;color:var(--navy);margin-bottom:14px}
.prose ul{margin:0 0 14px 22px;list-style:disc}
.prose li{font-size:15px;line-height:1.8;color:var(--navy)}

/* ==================== SIMPLE NUMBERED STEPS ======================== */
.steps-simple{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.step-simple{background:#fff;border:1px solid var(--border);border-radius:16px;padding:28px;box-shadow:var(--shadow-card)}
.step-simple .n{width:44px;height:44px;border-radius:50%;background:var(--blue-tint);color:var(--blue);
  font-family:var(--f-num);font-weight:800;font-size:20px;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.step-simple h3{font-family:var(--f-display);font-weight:700;font-size:18px;color:var(--navy);margin-bottom:8px}
.step-simple p{font-size:14px;line-height:1.6;color:var(--navy)}

/* ======================= SEO LANDING PAGES ========================= */
/* NOTE: heroes deliberately share the exact .page-hero height across ALL pages —
   do not override min-height/padding here, or the banners become uneven. */
.seo-hero h1{margin-bottom:12px}
.seo-hero .sub{font-weight:600;font-size:16px;color:#fff;margin-bottom:22px}

.seo-content{padding:70px 0;text-align:center}
.seo-content h2{font-family:var(--f-display);font-weight:700;font-size:clamp(32px,4vw,55px);
  color:var(--navy);margin-bottom:28px;letter-spacing:-1.65px}
.seo-content h2 span{color:var(--blue)}
.seo-content p{font-weight:600;font-size:16px;line-height:1.7;color:var(--navy);max-width:1246px;
  margin:0 auto 16px}
.seo-content .mid-img{margin:36px auto;max-width:1040px}
.seo-content .mid-img img{width:100%;border-radius:12px}

.seo-blue{background:var(--blue);text-align:center;padding:44px 0}
.seo-blue h2{font-family:var(--f-display);font-weight:700;font-size:clamp(26px,3vw,38px);
  color:var(--navy);margin-bottom:16px}
.seo-blue h2 span{color:#fff}
.seo-blue p{font-weight:600;font-size:15px;line-height:1.7;color:var(--navy);max-width:1040px;margin:0 auto 12px}
.seo-blue .quote{font-style:italic;font-weight:600;color:var(--navy);opacity:.9}

.seo-help{background:var(--navy);color:#fff;padding:60px 0}
.seo-help .inner{display:grid;grid-template-columns:1fr 1.1fr;gap:40px;align-items:center}
.seo-help h2{font-family:var(--f-display);font-weight:700;font-size:clamp(26px,3vw,40px);
  color:#fff;line-height:1.15;margin-bottom:22px}
.seo-help .phone-pill{margin-bottom:18px}
.seo-help .fig img{width:100%;max-width:460px}
.seo-help .cond{display:grid;grid-template-columns:1fr 1fr;gap:14px 32px}
.seo-help .cond li{display:flex;align-items:center;gap:12px;font-weight:600;font-size:16px;color:#fff}
.seo-help .cond .check{width:22px;height:22px;flex:0 0 auto;border:1.5px solid var(--blue);border-radius:50%;
  display:flex;align-items:center;justify-content:center}
.seo-help .cond .check svg{width:12px;height:12px;stroke:var(--blue);stroke-width:2.5}

/* ============================ RESPONSIVE ============================= */
@media (max-width:1200px){
  :root{--gutter:32px}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .reviews{grid-template-columns:1fr}
  /* Every dark conditions box collapses to ONE column on mobile (beats page-scoped 2-col overrides) */
  .process-inner{grid-template-columns:1fr !important;padding:56px 32px}
  .process-figure{order:2;max-width:300px;margin:20px auto 0 !important;min-height:0}
  /* Conditions lists used grid-auto-flow:column with fixed-width cols that overflowed the box
     and got clipped by overflow:hidden — force them into equal columns that fit the box width */
  .process-inner > ul,.fmpid-grid > ul,.fmaad-grid > ul,.pc-grid > ul{
    grid-auto-flow:row !important;grid-template-columns:1fr 1fr !important;grid-template-rows:auto !important;
    gap:12px 18px !important}
  .process-inner > ul li,.fmpid-grid > ul li,.fmaad-grid > ul li,.pc-grid > ul li{font-size:14px !important;white-space:normal !important}
  .footer-cols{grid-template-columns:1fr 1fr;gap:40px}
  .site-footer{padding:64px 40px 40px}
}
@media (max-width:900px){
  .main-nav,.header-actions .btn,.header-actions .phone-pill{display:none}
  .nav-toggle{display:flex}
  .header-inner{height:72px}
  .brand img{width:190px;height:46px}
  /* Mobile nav drawer */
  .main-nav.open{display:block;position:absolute;top:100%;left:0;right:0;background:#fff;
    box-shadow:0 12px 24px rgba(0,0,0,.12);padding:12px 0}
  .main-nav.open ul{flex-direction:column;align-items:stretch;gap:0}
  .main-nav.open a{padding:14px 32px;font-size:17px}
  .main-nav.open a.active::after{display:none}
  /* Services dropdown becomes an inline, indented sublist on mobile */
  .main-nav.open .dropdown{position:static;opacity:1;visibility:visible;transform:none;
    min-width:0;padding-top:0;box-shadow:none;background:var(--gray-bg)}
  .main-nav.open .dropdown::before{display:none}
  .main-nav.open .dropdown a{padding:11px 32px 11px 48px;font-size:15px;white-space:normal}
  .about-grid{grid-template-columns:1fr;gap:36px}
  .about-media{max-width:520px}
  .trusted-head{max-width:none;flex-basis:100%;white-space:normal}
  .trusted-lists{flex-direction:column;flex-basis:auto;gap:16px}
  .hero-cols{flex-direction:column}
  .injuries-card{width:min(340px,100%)}
  .staff-grid{grid-template-columns:repeat(2,1fr)}
  .feature-row{grid-template-columns:1fr;gap:28px}
  .feature-row.reverse .media{order:0}
  .contact-wrap{grid-template-columns:1fr;gap:28px}
  .blog-grid{grid-template-columns:repeat(2,1fr)}
  .steps-simple{grid-template-columns:1fr;gap:16px}
  .seo-help .inner{grid-template-columns:1fr;gap:24px}
  .seo-help .fig{order:2;max-width:400px;margin-inline:auto}
}
@media (max-width:600px){
  :root{--gutter:20px}
  .topbar{height:16px}
  .hero .container{padding-top:56px;min-height:auto}
  .lead-form .fields{flex-direction:column}
  .services-grid{grid-template-columns:1fr}
  .service-card .card-img{height:220px}
  .about-media{grid-template-columns:120px 1fr;gap:12px}
  .about-thumbs img{height:80px}
  .about-doctor{min-height:360px}
  .trusted-list li{font-size:17px}
  .review .body{font-size:16px}
  .newsletter{flex-direction:column;align-items:stretch}
  .newsletter form{max-width:none}
  .footer-cols{grid-template-columns:1fr;gap:36px}
  .site-footer{padding:48px 20px 32px}
  .footer-bottom{flex-direction:column;text-align:center}
  .insurers img{height:44px}
  .staff-grid{grid-template-columns:1fr}
  .contact-form .row{flex-direction:column;gap:0}
  .contact-form{padding:22px}
  .blog-grid{grid-template-columns:1fr}
}
