/* =========================================================================
   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%}
body{
  font-family:var(--f-body);
  color:var(--navy);
  background:#fff;
  line-height:1.5;
  overflow-x:hidden;
}
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}

.header-actions{display:flex;align-items:center;gap:16px}
.header-actions .btn{height:55px;width:163px}
.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}
.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:right center}
.hero-bg::after{content:"";position:absolute;inset:0;
  background:linear-gradient(87.9deg,var(--navy) 5.67%,rgba(102,102,102,0) 111.56%)}
.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}
.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;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,540px) 1fr;gap:56px;align-items:center}
.about-media{display:grid;grid-template-columns:233px 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 90px}
.process-inner{background:var(--navy);border-radius:0;position:relative;overflow:hidden;
  padding:80px 96px;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.process-figure{position:relative;z-index:1}
.process-figure img{width:100%;max-width:651px;margin-inline:auto}
.process-figure .glow{position:absolute;left:0;top:6%;width:592px;max-width:100%;z-index:-1;opacity:.9}
.process-content 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-content h2 span{color:var(--blue)}
.process-content .lead{font-weight:600;font-size:16px;color:#fff;max-width:542px;margin-bottom:24px}
.process-content .phone-pill{margin-bottom:8px}

.timeline{display:flex;flex-direction:column;gap:24px}
.step{display:flex;gap:24px;align-items:stretch}
.step .col{display:flex;flex-direction:column;align-items:center;width:56px;flex:0 0 56px}
.step .badge-ic{width:56px;height:56px;border-radius:28px;background:rgba(2,160,216,.11);
  border:1px solid var(--blue);display:flex;align-items:center;justify-content:center}
.step .badge-ic img{width:24px;height:24px}
.step .connector{flex:1;width:2px;min-height:40px;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:16px;
  padding:24px;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:12px}
.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:80px 0}
.trusted h2{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;margin-bottom:36px}
.trusted h2 span{color:var(--blue)}
.trusted-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px 60px;max-width:1000px}
.trusted-list li{display:flex;align-items:center;gap:14px;font-weight:600;font-size:21.8px;
  color:var(--navy);padding:10px 0}
.trusted-list .check{width:26px;height:26px;flex:0 0 auto;border-radius:50%;background:var(--blue);
  display:flex;align-items:center;justify-content:center}
.trusted-list .check img{width:14px;height:14px;filter:brightness(0) invert(1)}

/* =========================== 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}
.painfree-bg img{width:100%;height:100%;object-fit:cover;object-position:right center}
.painfree-bg::after{content:"";position:absolute;inset:0;
  background:linear-gradient(90.8deg,rgba(2,160,216,.55) 5%,rgba(2,160,216,.30) 55%,rgba(2,160,216,0) 100%)}
.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}

/* ============================ RESPONSIVE ============================= */
@media (max-width:1200px){
  :root{--gutter:32px}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .reviews{grid-template-columns:1fr}
  .process-inner{grid-template-columns:1fr;padding:56px 40px}
  .process-figure{order:2;max-width:520px;margin-inline:auto}
  .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}
  .about-grid{grid-template-columns:1fr;gap:36px}
  .about-media{max-width:520px}
  .trusted-cols{grid-template-columns:1fr;gap:4px}
  .hero-cols{flex-direction:column}
  .injuries-card{width:min(340px,100%)}
}
@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}
}
