/* ==========================================================================
   Viva Smiles Family Dental — Design System
   Brand colors sampled directly from the practice logo:
     --brand-blue  : #1078c0
     --brand-green : #38b848
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* Brand */
  --brand-blue: #1078c0;
  --brand-blue-dark: #0b5a92;
  --brand-blue-deeper: #08456f;
  --brand-green: #2fa542;
  --brand-green-dark: #24842f;
  --brand-green-light: #eaf8ec;
  --brand-blue-light: #eaf4fc;

  /* Neutrals */
  --ink: #142433;
  --ink-soft: #3c5266;
  --ink-faint: #6b7f91;
  --line: #e3eaf0;
  --line-soft: #eef2f6;
  --surface: #ffffff;
  --surface-alt: #f6f9fb;
  --surface-tint: #f2f8fd;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--brand-blue) 0%, #0d8fb0 52%, var(--brand-green) 100%);
  --grad-hero: linear-gradient(120deg, rgba(8,45,74,.92) 0%, rgba(9,72,110,.82) 45%, rgba(15,110,110,.55) 100%);

  /* Type */
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Layout */
  --maxw: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(15,45,70,.06);
  --shadow-md: 0 12px 32px rgba(15,45,70,.10);
  --shadow-lg: 0 24px 60px rgba(15,45,70,.16);
  --header-h: 92px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{
  font-family: var(--font-head);
  color: var(--ink);
  line-height:1.15;
  margin:0 0 .5em;
  letter-spacing:-.01em;
}
p{ margin:0 0 1em; color:var(--ink-soft); line-height:1.7; }
.container{
  max-width: var(--maxw);
  margin:0 auto;
  padding:0 28px;
}
section{ position:relative; }
.section-pad{ padding: 96px 0; }
@media (max-width:768px){ .section-pad{ padding:64px 0; } }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-head);
  font-weight:700;
  font-size:.78rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding:8px 16px;
  border-radius:100px;
  margin-bottom:18px;
}
.eyebrow.green{ color: var(--brand-green-dark); background: var(--brand-green-light); }
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background: var(--brand-green); }

.section-head{ max-width:640px; margin-bottom:52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.9rem, 2.6vw, 2.6rem); }
.section-head p{ font-size:1.08rem; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family: var(--font-head);
  font-weight:700;
  font-size:.96rem;
  padding:15px 28px;
  border-radius:100px;
  border:2px solid transparent;
  white-space:nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg{ flex:none; }
.btn-primary{
  background: var(--brand-blue);
  color:#fff;
  box-shadow: 0 10px 24px rgba(16,120,192,.28);
}
.btn-primary:hover{ background: var(--brand-blue-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(16,120,192,.34); }
.btn-accent{
  background: var(--brand-green);
  color:#fff;
  box-shadow: 0 10px 24px rgba(47,165,66,.28);
}
.btn-accent:hover{ background: var(--brand-green-dark); transform: translateY(-2px); }
.btn-outline{
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color:#fff;
}
.btn-outline:hover{ background: rgba(255,255,255,.14); border-color:#fff; }
.btn-ghost{
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover{ border-color: var(--brand-blue); color: var(--brand-blue); }
.btn-sm{ padding:10px 18px; font-size:.86rem; }
.btn-block{ width:100%; }

/* ---------- Top utility bar ---------- */
.topbar{
  background: var(--brand-blue-deeper);
  color:#dfeeff;
  font-size:.85rem;
}
.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:9px;
  padding-bottom:9px;
  gap:18px;
}
.topbar-locs{ display:flex; align-items:center; gap:26px; flex-wrap:wrap; }
.topbar-loc{ display:flex; align-items:center; gap:8px; font-weight:500; }
.topbar-loc b{ color:#fff; font-weight:700; }
.topbar-loc a{ color:#dfeeff; }
.topbar-loc a:hover{ color: var(--brand-green); }
.topbar-loc svg{ flex:none; opacity:.85; }
.topbar-right{ display:flex; align-items:center; gap:16px; }
.topbar-right a{ opacity:.9; }
.topbar-right a:hover{ opacity:1; color: var(--brand-green); }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top:0;
  z-index:500;
  background: #ffffff;
  border-bottom:1px solid var(--line-soft);
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  height: var(--header-h);
}
.brand{ display:flex; align-items:center; gap:11px; flex:none; }
.brand-logo{ width:auto; height:44px; display:block; }
.footer-brand .brand-logo{ height:40px; }
.site-header .brand > img,
.footer-brand .brand > img{ width:190px !important; height:auto !important; display:block; }
.brand-mark{ width:44px; height:44px; flex:none; }
.brand-word{ font-family: var(--font-head); line-height:1.05; }
.brand-word .l1{ display:block; font-weight:800; font-size:1.28rem; color: var(--brand-blue); letter-spacing:-.01em; }
.brand-word .l2{ display:block; font-weight:700; font-size:.72rem; letter-spacing:.13em; text-transform:uppercase; color: var(--brand-green-dark); }

.primary-nav{
  display:flex;
  align-items:center;
  gap:2px;
  flex:1 1 auto;
  justify-content:center;
  min-width:0;
}
.primary-nav > li{ position:relative; }
.primary-nav > li > a, .primary-nav > li > button.nav-toplink{
  display:flex;
  align-items:center;
  gap:6px;
  padding:12px 15px;
  font-family: var(--font-head);
  font-weight:600;
  font-size:.94rem;
  color: var(--ink);
  border-radius:10px;
  background:none;
  border:none;
  white-space:nowrap;
}
.primary-nav > li > a:hover,
.primary-nav > li > button.nav-toplink:hover,
.primary-nav > li.is-open > button.nav-toplink{ color: var(--brand-blue); background: var(--brand-blue-light); }
.primary-nav > li.current > a{ color: var(--brand-blue); }
.caret{ width:9px; height:9px; transition: transform .2s ease; opacity:.65; }
.primary-nav > li.is-open .caret{ transform: rotate(180deg); }

.dropdown{
  position:absolute;
  top: calc(100% + 10px);
  left:0;
  min-width:250px;
  background: var(--surface);
  border:1px solid var(--line-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding:10px;
  opacity:0;
  visibility:hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.primary-nav > li.is-open .dropdown,
.primary-nav > li:hover .dropdown{ opacity:1; visibility:visible; transform: translateY(0); }
.dropdown a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 12px;
  border-radius:9px;
  font-size:.92rem;
  font-weight:500;
  color: var(--ink-soft);
}
.dropdown a:hover{ background: var(--surface-tint); color: var(--brand-blue); }
.dropdown a svg{ flex:none; color: var(--brand-green); }

.mobile-cta{ display:none; }
.nav-actions{ display:flex; align-items:center; gap:12px; flex:none; }
.nav-phone{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  line-height:1.25;
  padding-right:6px;
  border-right:1px solid var(--line);
  margin-right:4px;
}
.nav-phone span{ font-size:.7rem; color: var(--ink-faint); font-weight:600; text-transform:uppercase; letter-spacing:.06em; }
.nav-phone a{ font-family: var(--font-head); font-weight:700; color: var(--ink); font-size:.95rem; }
.nav-phone a:hover{ color: var(--brand-blue); }

.hamburger{
  display:none;
  width:46px; height:46px;
  border-radius:10px;
  border:1px solid var(--line);
  background: var(--surface);
  align-items:center;
  justify-content:center;
  flex:none;
}
.hamburger span{
  display:block; width:20px; height:2px; background: var(--ink); position:relative;
  transition: background .2s ease;
}
.hamburger span::before,.hamburger span::after{
  content:''; position:absolute; left:0; width:20px; height:2px; background: var(--ink);
  transition: transform .25s ease, top .25s ease;
}
.hamburger span::before{ top:-6px; }
.hamburger span::after{ top:6px; }
.hamburger.is-active span{ background:transparent; }
.hamburger.is-active span::before{ top:0; transform: rotate(45deg); }
.hamburger.is-active span::after{ top:0; transform: rotate(-45deg); }

/* Mobile nav */
@media (max-width: 1080px){
  .nav-phone{ display:none; }
}
@media (max-width: 980px){
  .primary-nav{
    position:fixed;
    inset: var(--header-h) 0 0 0;
    top: calc(var(--header-h) + 1px);
    background: var(--surface);
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    padding:14px 20px 28px;
    gap:2px;
    overflow-y:auto;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -12px 0 30px rgba(10,30,50,.08);
  }
  .primary-nav.is-open{ transform: translateX(0); }
  .primary-nav > li{ width:100%; border-bottom:1px solid var(--line-soft); }
  .primary-nav > li > a, .primary-nav > li > button.nav-toplink{ width:100%; padding:16px 6px; justify-content:space-between; font-size:1.02rem; }
  .dropdown{
    position:static; opacity:1; visibility:visible; transform:none;
    box-shadow:none; border:none; display:none; padding:0 0 10px 10px;
    background:transparent;
  }
  .primary-nav > li.is-open .dropdown{ display:block; }
  .mobile-cta{ display:flex; flex-direction:column; gap:10px; margin-top:18px; }
  .mobile-cta .nav-phone{ display:flex; flex-direction:row; justify-content:space-between; align-items:center; border:1px solid var(--line); border-radius:12px; padding:12px 14px; width:100%; }
  .hamburger{ display:flex; }
}

.nav-scrim{
  display:none;
  position:fixed; inset:0; top: var(--header-h);
  background: rgba(10,25,40,.35);
  z-index:490;
}
.nav-scrim.is-open{ display:block; }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  width:100%;
  min-height: 660px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background: var(--brand-blue-deeper);
  isolation:isolate;
}
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-media img{ width:100%; height:100%; display:block; object-fit:cover; object-position:center; }
.hero-media::after{
  content:'';
  position:absolute; inset:0;
  background: var(--grad-hero);
}
.hero .container{ position:relative; z-index:2; width:100%; }
.hero-inner{ max-width:720px; padding:110px 0 100px; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.28);
  color:#fff; font-weight:700; font-size:.78rem; letter-spacing:.1em; text-transform:uppercase;
  padding:9px 18px; border-radius:100px; margin-bottom:26px; backdrop-filter: blur(6px);
}
.hero-eyebrow svg{ color: var(--brand-green); }
.hero h1{
  color:#fff;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  margin-bottom:22px;
}
.hero h1 em{ font-style:normal; color: #7fe08f; }
.hero p.lead{
  color: rgba(255,255,255,.86);
  font-size:1.16rem;
  max-width:560px;
  margin-bottom:36px;
}
.hero-ctas{ display:flex; flex-wrap:wrap; gap:16px; margin-bottom:52px; }
.hero-trust{ display:flex; flex-wrap:wrap; gap:28px 40px; }
.hero-trust .stat b{ display:block; font-family: var(--font-head); font-size:1.5rem; color:#fff; }
.hero-trust .stat span{ font-size:.84rem; color: rgba(255,255,255,.72); }

.hero-wave{
  position:absolute; left:0; right:0; bottom:-1px; z-index:1; line-height:0;
}
.hero-wave svg{ width:100%; height:auto; display:block; }

/* ---------- Trust strip ---------- */
.trust-strip{
  background: var(--surface-alt);
  border-bottom:1px solid var(--line-soft);
  padding:26px 0;
}
.trust-strip .container{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px 34px;
}
.trust-item{ display:flex; align-items:center; gap:10px; color: var(--ink-soft); font-weight:600; font-size:.92rem; }
.trust-item svg{ color: var(--brand-green); flex:none; }

/* ---------- Services grid ---------- */
.services-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
@media (max-width:1080px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .services-grid{ grid-template-columns:1fr; } }

.service-card{
  background: var(--surface);
  border:1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding:30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon{
  width:56px; height:56px; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background: var(--grad-brand);
  color:#fff; margin-bottom:20px;
}
.service-card h3{ font-size:1.1rem; margin-bottom:10px; }
.service-card p{ font-size:.93rem; margin-bottom:16px; }
.service-link{ display:inline-flex; align-items:center; gap:6px; font-weight:700; font-size:.88rem; color: var(--brand-blue); font-family: var(--font-head); }
.service-link svg{ transition: transform .2s ease; }
.service-card:hover .service-link svg{ transform: translateX(4px); }

/* ---------- Split / About preview ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
@media (max-width:920px){ .split{ grid-template-columns:1fr; gap:40px; } }
.split.reverse .split-media{ order:2; }
.split-media{ position:relative; }
.split-art{ border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-lg); }
.split-badge{
  position:absolute; bottom:-22px; left:-22px;
  background:#fff; border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding:18px 22px; display:flex; align-items:center; gap:14px;
}
@media (max-width:560px){ .split-badge{ left:10px; bottom:-16px; padding:14px 16px; } }
.split-badge .num{ font-family: var(--font-head); font-weight:800; font-size:1.6rem; color: var(--brand-blue); }
.split-badge .lbl{ font-size:.78rem; color: var(--ink-faint); font-weight:600; max-width:110px; line-height:1.3; }

.check-list{ display:flex; flex-direction:column; gap:14px; margin:26px 0 30px; }
.check-list li{ display:flex; align-items:flex-start; gap:12px; color: var(--ink-soft); font-weight:500; }
.check-list svg{ flex:none; color: var(--brand-green); margin-top:2px; }

/* ---------- Location cards ---------- */
.locations-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
@media (max-width:860px){ .locations-grid{ grid-template-columns:1fr; } }
.loc-card{
  background: var(--surface);
  border:1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-sm);
  display:flex; flex-direction:column;
  transition: box-shadow .22s ease, transform .22s ease;
}
.loc-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-4px); }
.loc-card-top{
  padding:30px 30px 24px;
  color:#fff;
  background: var(--grad-brand);
  position:relative;
}
.loc-card-top .tag{ font-size:.76rem; text-transform:uppercase; letter-spacing:.12em; font-weight:700; opacity:.85; }
.loc-card-top h3{ color:#fff; font-size:1.5rem; margin:6px 0 0; }
.loc-card-body{ padding:26px 30px 30px; display:flex; flex-direction:column; gap:16px; flex:1; }
.loc-row{ display:flex; gap:14px; align-items:flex-start; }
.loc-row svg{ flex:none; color: var(--brand-blue); margin-top:3px; }
.loc-row div{ font-size:.94rem; color: var(--ink-soft); }
.loc-row strong{ display:block; color: var(--ink); font-family: var(--font-head); font-size:.86rem; margin-bottom:2px; }
.loc-actions{ display:flex; gap:12px; margin-top:6px; flex-wrap:wrap; }

/* ---------- Testimonials ---------- */
.testi-track-wrap{ overflow:hidden; }
.testi-track{
  display:flex; gap:22px;
  transition: transform .5s ease;
}
.testi-card{
  flex:0 0 calc(33.333% - 15px);
  background: var(--surface);
  border:1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding:28px;
  box-shadow: var(--shadow-sm);
  display:flex; flex-direction:column; gap:14px;
}
@media (max-width:980px){ .testi-card{ flex:0 0 calc(50% - 11px); } }
@media (max-width:640px){ .testi-card{ flex:0 0 100%; } }
.stars{ display:flex; gap:3px; color: var(--brand-green); }
.testi-card p{ font-size:.96rem; color: var(--ink-soft); margin:0; flex:1; }
.testi-who{ display:flex; align-items:center; gap:12px; }
.testi-avatar{
  width:42px; height:42px; border-radius:50%;
  background: var(--grad-brand); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-head); font-weight:700; font-size:.95rem; flex:none;
}
.testi-who b{ display:block; font-size:.9rem; font-family: var(--font-head); }
.testi-who span{ font-size:.78rem; color: var(--ink-faint); }
.testi-controls{ display:flex; justify-content:center; gap:12px; margin-top:34px; }
.testi-dot{ width:9px; height:9px; border-radius:50%; background: var(--line); border:none; padding:0; }
.testi-dot.is-active{ background: var(--brand-blue); width:26px; border-radius:6px; transition: all .25s ease; }

/* ---------- CTA banner ---------- */
.cta-banner{
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  padding:64px 60px;
  display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
  color:#fff;
  position:relative;
  overflow:hidden;
}
.cta-banner::before{
  content:''; position:absolute; inset:0;
  background: radial-gradient(600px circle at 85% 20%, rgba(255,255,255,.16), transparent 60%);
}
.cta-banner > *{ position:relative; z-index:1; }
.cta-banner h2{ color:#fff; font-size:clamp(1.6rem,2.6vw,2.15rem); margin-bottom:10px; max-width:480px; }
.cta-banner p{ color: rgba(255,255,255,.85); margin:0; max-width:440px; }
.cta-banner-actions{ display:flex; gap:14px; flex-wrap:wrap; }
@media (max-width:640px){ .cta-banner{ padding:44px 28px; } }

/* ---------- Footer ---------- */
.site-footer{ background: #0a2038; color: #c3d6e8; padding-top:80px; }
.footer-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap:44px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,.08);
}
@media (max-width:920px){ .footer-grid{ grid-template-columns:1fr 1fr; row-gap:40px; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand .brand-word .l1{ color:#fff; }
.footer-brand p{ color:#8fa8bf; font-size:.92rem; margin:16px 0 20px; max-width:280px; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center; color:#fff;
}
.footer-social a:hover{ background: var(--brand-green); border-color: var(--brand-green); }
.site-footer h4{ color:#fff; font-size:.86rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:20px; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ color:#a9c0d4; font-size:.93rem; }
.footer-col a:hover{ color: var(--brand-green); }
.footer-loc{ margin-bottom:22px; }
.footer-loc b{ display:block; color:#fff; font-size:.92rem; margin-bottom:6px; font-family: var(--font-head); }
.footer-loc div{ color:#a9c0d4; font-size:.88rem; line-height:1.6; }
.footer-loc a{ color:#a9c0d4; }
.footer-loc a:hover{ color: var(--brand-green); }
.footer-bottom{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px;
  padding:26px 0; font-size:.82rem; color:#7d94a9;
}
.footer-bottom a{ color:#7d94a9; }
.footer-bottom a:hover{ color:#fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  background: var(--brand-blue-deeper);
  position:relative; overflow:hidden;
  padding: 64px 0 90px;
}
.page-hero::after{ content:''; position:absolute; inset:0; background: var(--grad-hero); }
.page-hero .container{ position:relative; z-index:1; }
.breadcrumb{ display:flex; align-items:center; gap:8px; color: rgba(255,255,255,.65); font-size:.86rem; margin-bottom:18px; }
.breadcrumb a{ color: rgba(255,255,255,.85); }
.breadcrumb a:hover{ color:#fff; }
.page-hero h1{ color:#fff; font-size: clamp(2rem,3.6vw,2.9rem); max-width:680px; margin-bottom:14px; }
.page-hero p{ color: rgba(255,255,255,.82); max-width:560px; font-size:1.06rem; margin:0; }
.page-hero-wave{ position:absolute; left:0; right:0; bottom:-1px; line-height:0; z-index:1; }
.page-hero-wave svg{ width:100%; display:block; }

/* ---------- Generic content blocks ---------- */
.card{
  background: var(--surface);
  border:1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding:28px;
  box-shadow: var(--shadow-sm);
}
.two-col{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
@media (max-width:760px){ .two-col{ grid-template-columns:1fr; } }
.three-col{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:900px){ .three-col{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .three-col{ grid-template-columns:1fr; } }

/* Doctor / team cards */
.person-card{
  background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius-md);
  overflow:hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.person-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-4px); }
.person-photo{
  height:220px;
  background: var(--grad-brand);
  display:flex; align-items:center; justify-content:center; color:#fff;
  font-family: var(--font-head); font-weight:800; font-size:2.6rem;
  position:relative;
}
.person-photo::after{
  content:''; position:absolute; inset:0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 55%);
}
.person-body{ padding:24px; }
.person-body .role{ display:inline-block; font-size:.74rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color: var(--brand-green-dark); background: var(--brand-green-light); padding:5px 11px; border-radius:100px; margin-bottom:10px; }
.person-body h3{ font-size:1.12rem; margin-bottom:6px; }
.person-body .loc-tag{ font-size:.8rem; color: var(--ink-faint); margin-bottom:12px; display:flex; align-items:center; gap:6px; }
.person-body .loc-tag svg{ color: var(--brand-blue); }
.person-body p{ font-size:.9rem; margin-bottom:0; }

/* Insurance chips */
.chip-grid{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  background: var(--surface-alt); border:1px solid var(--line); color: var(--ink-soft);
  padding:10px 18px; border-radius:100px; font-size:.88rem; font-weight:600;
}

/* Accordion (FAQ / service accordion) */
.accordion-item{ border:1px solid var(--line-soft); border-radius: var(--radius-sm); margin-bottom:12px; overflow:hidden; background:#fff; }
.accordion-trigger{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:19px 22px; background:none; border:none; text-align:left;
  font-family: var(--font-head); font-weight:700; font-size:.98rem; color: var(--ink);
}
.accordion-trigger svg{ flex:none; transition: transform .25s ease; color: var(--brand-blue); }
.accordion-item.is-open .accordion-trigger svg{ transform: rotate(180deg); }
.accordion-panel{ max-height:0; overflow:hidden; transition: max-height .3s ease; }
.accordion-panel-inner{ padding:0 22px 20px; }
.accordion-panel-inner p{ margin:0; font-size:.93rem; }

/* Map */
.map-frame{
  border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-md); border:1px solid var(--line-soft);
}
.map-frame iframe{ width:100%; height:100%; min-height:380px; border:0; display:block; }

/* Sticky mobile call bar */
.mobile-callbar{
  display:none;
  position:fixed; left:0; right:0; bottom:0; z-index:600;
  background: #fff; border-top:1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(10,30,50,.10);
  padding:10px 14px;
  gap:10px;
}
@media (max-width:640px){ .mobile-callbar{ display:flex; } body{ padding-bottom:70px; } }
.mobile-callbar a{ flex:1; }

/* ---------- Landing page chrome ---------- */
.lp-topbar{ background:#fff; border-bottom:1px solid var(--line-soft); padding:16px 0; position:sticky; top:0; z-index:400; }
.lp-topbar .container{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.lp-topbar-cta{ display:flex; align-items:center; gap:14px; }
.lp-topbar-cta .nav-phone{ display:flex; flex-direction:column; align-items:flex-end; line-height:1.25; border:none; padding:0; margin:0; }
.lp-topbar-cta .nav-phone span{ font-size:.68rem; color:var(--ink-faint); font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.lp-topbar-cta .nav-phone a{ font-family:var(--font-head); font-weight:800; color:var(--ink); font-size:1.02rem; }
.lp-topbar .brand-logo{ width:190px; height:auto !important; flex:none; }
.lp-badge-pill{ display:inline-flex; align-items:center; gap:7px; font-size:.76rem; font-weight:700; color:var(--ink-faint); }
.lp-badge-pill a{ color: var(--brand-blue); }
.lp-badge-pill a:hover{ text-decoration:underline; }
.lp-footer{ background:#0a2038; color:#a9c0d4; padding:34px 0; }
.lp-footer .container{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.84rem; }
.lp-footer a{ color:#a9c0d4; }
.lp-footer a:hover{ color:#fff; }
.lp-footer .brand-logo{ height:40px; flex:none; }

/* ---------- Lead form ---------- */
.lp-form-card{ background:#fff; border:1px solid var(--line-soft); border-radius:var(--radius-lg); padding:38px; box-shadow:var(--shadow-lg); }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
.form-field{ display:flex; flex-direction:column; gap:7px; margin-bottom:16px; }
.form-field.full{ grid-column:1 / -1; }
.form-field label{ font-size:.82rem; font-weight:700; font-family:var(--font-head); color:var(--ink); }
.form-field input, .form-field select, .form-field textarea{
  border:1.5px solid var(--line); border-radius:10px; padding:13px 14px; font-family:var(--font-body);
  font-size:.95rem; color:var(--ink); background:#fff; transition:border-color .2s ease; width:100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ outline:none; border-color:var(--brand-blue); }
.form-field textarea{ resize:vertical; min-height:110px; }
.form-honeypot{ position:absolute; left:-9999px; top:-9999px; }
.form-disclaimer{ font-size:.78rem; color:var(--ink-faint); margin-top:2px; }

/* Rating row */
.rating-row{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.rating-row b{ font-family:var(--font-head); color:#fff; }
.rating-row span{ color:rgba(255,255,255,.75); font-size:.86rem; }

/* Utility */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.badge-float{ animation: floaty 5s ease-in-out infinite; }
@keyframes floaty{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
.reveal{ animation: fadeInUp .7s ease both; }
.reveal.is-visible{ opacity:1; transform:none; }
@keyframes fadeInUp{
  from{ opacity:0; transform: translateY(20px); }
  to{ opacity:1; transform:none; }
}
@media (prefers-reduced-motion: reduce){
  .reveal{ animation:none; opacity:1; transform:none; }
}

/* ---------- Mobile layout refinements ---------- */
@media (max-width: 980px){
  :root{ --header-h:72px; }
  .nav-wrap{ height:var(--header-h); }
  .nav-actions{ gap:8px; }
  .nav-actions .nav-phone,
  .nav-actions > .btn{ display:none; }
  .primary-nav{ padding-left:20px; padding-right:20px; }
}

@media (max-width: 640px){
  .container{ padding-left:20px; padding-right:20px; }
  .section-pad{ padding:52px 0; }
  .topbar .container{ align-items:flex-start; padding-top:8px; padding-bottom:8px; }
  .topbar-locs{ width:100%; justify-content:space-between; gap:6px 12px; }
  .topbar-loc{ font-size:.75rem; gap:5px; }
  .topbar-right{ display:none; }
  .brand img{ max-width:190px; height:auto !important; }
  .brand-logo{ max-width:190px; height:auto !important; }
  .primary-nav{ padding-left:20px; padding-right:20px; }
  .hero{ min-height:0; }
  .hero-inner{ padding:76px 0 88px; }
  .hero h1{ font-size:clamp(2rem, 9vw, 2.65rem); margin-bottom:16px; }
  .hero p.lead{ font-size:1rem; margin-bottom:26px; }
  .hero-ctas{ flex-direction:column; gap:10px; margin-bottom:34px; }
  .hero-ctas .btn{ width:100%; }
  .hero-trust{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:18px 14px; }
  .hero-trust .stat b{ font-size:1.25rem; }
  .hero-trust .stat span{ font-size:.76rem; }
  .trust-strip{ padding:20px 0; }
  .trust-strip .container{ display:grid; grid-template-columns:1fr 1fr; gap:14px 16px; }
  .trust-item{ align-items:flex-start; font-size:.78rem; line-height:1.35; }
  .trust-item svg{ width:17px; height:17px; }
  .section-head{ margin-bottom:32px; }
  .section-head h2{ font-size:1.75rem; }
  .section-head p{ font-size:.98rem; }
  .eyebrow{ font-size:.68rem; letter-spacing:.1em; padding:7px 11px; }
  .service-card{ padding:24px 20px; }
  .split{ gap:30px; }
  .split > *{ min-width:0; }
  .split.reverse .split-media{ order:2; }
  .split-art{ border-radius:18px; }
  .split-badge{ max-width:calc(100% - 20px); }
  .loc-card-top{ padding:24px 20px 20px; }
  .loc-card-body{ padding:22px 20px 24px; }
  .loc-row > div{ min-width:0; overflow-wrap:anywhere; }
  .loc-actions{ flex-direction:column; }
  .loc-actions .btn{ width:100%; }
  .testi-card{ padding:22px 20px; }
  .cta-banner{ padding:34px 22px; border-radius:18px; gap:26px; }
  .cta-banner-actions{ width:100%; flex-direction:column; }
  .cta-banner-actions .btn{ width:100%; }
  .site-footer{ padding-top:56px; }
  .footer-grid{ gap:32px; padding-bottom:38px; }
  .footer-bottom{ align-items:flex-start; flex-direction:column; padding:20px 0 86px; }
  .page-hero{ padding:42px 0 72px; }
  .page-hero h1{ font-size:clamp(1.85rem, 8vw, 2.4rem); }
  .page-hero p{ font-size:.98rem; }
  .breadcrumb{ font-size:.76rem; margin-bottom:14px; }
  .card{ min-width:0; padding:22px 20px !important; overflow-wrap:anywhere; }
  .map-frame{ border-radius:18px; }
  .map-frame iframe{ min-height:300px; }
  .person-photo{ height:190px; }
  .accordion-trigger{ padding:17px 16px; font-size:.92rem; }
  .accordion-panel-inner{ padding-left:16px; padding-right:16px; }
  .lp-topbar{ padding:12px 0; }
  .lp-topbar .container{ align-items:flex-start; }
  .lp-topbar-cta{ width:100%; justify-content:space-between; gap:8px; }
  .lp-topbar-cta .nav-phone{ display:flex; }
  .lp-topbar-cta .nav-phone a{ font-size:.86rem; }
  .lp-topbar .brand-logo{ width:190px; }
  .lp-form-card{ padding:24px 20px; border-radius:18px; }
}

@media (max-width: 380px){
  .container{ padding-left:16px; padding-right:16px; }
  .topbar-loc b{ display:none; }
  .hero-inner{ padding-top:64px; }
  .hero-trust{ gap:14px 10px; }
  .trust-strip .container{ grid-template-columns:1fr; }
  .mobile-callbar{ padding-left:8px; padding-right:8px; gap:6px; }
  .mobile-callbar .btn{ padding-left:8px; padding-right:8px; font-size:.76rem; }
}
