/* ═══════════════════════════════════════════════════════════════
   Pacific Coast Dental Group — project3.css
   Enterprise Case Study · Ocean Blue / Green Theme
═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Skip link ─── */
.skip-link {
  position: fixed; top: -100%; left: 16px; z-index: 99999;
  background: var(--blue, #0EA5E9); color: var(--white, #ffffff);
  padding: 10px 20px; border-radius: 0 0 8px 8px;
  font-weight: 700; font-size: 0.875rem; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ─── Focus visible ─── */
:focus-visible {
  outline: 2px solid #0EA5E9;
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue, #0EA5E9);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn-primary:focus-visible { outline-color: var(--green); }
.nav-cta:focus-visible { outline-offset: 4px; }

:root {
  --blue:    #0EA5E9;
  --blue-d:  #0284C7;
  --green:   #10B981;
  --green-d: #059669;
  --dark:    #0F172A;
  --dark2:   #1E293B;
  --dark3:   #334155;
  --light:   #F0F9FF;
  --amber:   #F59E0B;
  --white:   #FFFFFF;
  --text:    #1E293B;
  --muted:   #64748B;
  --border:  rgba(14,165,233,0.15);

  --csb-h:    44px;
  --topbar-h: 40px;
  --nav-h:    72px;
  --total-off: calc(var(--csb-h) + var(--topbar-h) + var(--nav-h));

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.16);
  --shadow-blue: 0 8px 32px rgba(14,165,233,0.28);

  --grad: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
}

@media (max-width: 768px) {
  :root { --csb-h: 36px; --topbar-h: 0px; --nav-h: 60px; }
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.15; }

/* ─── Text selection ─── */
::selection { background: var(--blue); color: white; }

/* ─── Scroll offset for fixed navbar + topbar + csb ─── */
section[id] { scroll-margin-top: calc(var(--total-off) + 16px); }

/* ─── Shared ─── */
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--dark); margin: 12px 0 16px; }
.section-header.light h2 { color: white; }
.section-header h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-header p  { color: var(--muted); font-size: 1.05rem; max-width: 580px; margin: 0 auto; line-height: 1.7; }
.section-header.light p { color: rgba(255,255,255,0.55); }

.section-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; font-family: var(--font-head);
}
.section-tag.blue  { background: rgba(14,165,233,0.1);  color: var(--blue);  border: 1px solid rgba(14,165,233,0.2);  }
.section-tag.green { background: rgba(16,185,129,0.1);  color: var(--green); border: 1px solid rgba(16,185,129,0.2);  }
.section-tag.amber { background: rgba(245,158,11,0.1);  color: var(--amber); border: 1px solid rgba(245,158,11,0.2);  }
.section-tag.light { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.15); }

.grad-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ═══ PRELOADER ═══ */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--dark); display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.pl-inner { text-align: center; }
.pl-logo svg { display: block; margin: 0 auto 24px; animation: plPulse 2s ease-in-out infinite; }
@keyframes plPulse { 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.06); } }
.pl-bar { width: 200px; height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; margin: 0 auto 16px; overflow: hidden; }
.pl-fill { height: 100%; background: var(--grad); animation: plLoad 2.2s ease-in-out forwards; }
@keyframes plLoad { to { width: 100%; } }
.pl-text { color: rgba(255,255,255,0.4); font-size: 0.78rem; letter-spacing: 0.08em; }

/* ═══ CASE STUDY BAR ═══ */
#caseStudyBar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--csb-h); background: linear-gradient(90deg, #0F172A 0%, #1E3A5F 50%, #0F172A 100%);
  border-bottom: 1px solid rgba(14,165,233,0.2); display: flex; align-items: center;
}
.csb-inner {
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.csb-back {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.55); font-size: 0.75rem; font-family: var(--font-head); font-weight: 500;
  transition: color 0.2s;
}
.csb-back:hover { color: var(--blue); }
.csb-center { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 0.75rem; }
.csb-center strong { color: var(--blue); }
.csb-badge { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: rgba(255,255,255,0.45); }
.csb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: dotPulse 2s infinite; }
@keyframes dotPulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:0.5; transform:scale(0.8); } }

/* ═══ TOP BAR ═══ */
#topBar {
  position: fixed; top: var(--csb-h); left: 0; right: 0; z-index: 999;
  height: var(--topbar-h); background: var(--dark2); display: flex; align-items: center;
}
@media (max-width: 768px) { #topBar { display: none; } }
.tb-inner {
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center; gap: 32px;
}
.tb-inner span { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.tb-inner span i { width: 12px; height: 12px; color: var(--blue); }

/* ═══ NAVBAR ═══ */
#navbar {
  position: fixed; top: calc(var(--csb-h) + var(--topbar-h)); left: 0; right: 0; z-index: 998;
  height: var(--nav-h); background: rgba(255,255,255,0.96); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(14,165,233,0.1); transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.10); }
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-emblem { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--dark); }
.logo-grad { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-sub  { font-family: var(--font-head); font-size: 0.68rem; font-weight: 500; color: var(--muted); letter-spacing: 0.05em; }

.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: var(--r-sm);
  font-size: 0.875rem; font-weight: 500; color: var(--dark3); transition: background 0.2s, color 0.2s;
}
.nav-links > li > a i { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--blue); }
.nav-links > li > a:hover { background: rgba(14,165,233,0.07); }
.has-mega:hover > a > i { transform: rotate(180deg); }

.mega-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: white; border: 1px solid rgba(14,165,233,0.12); border-radius: var(--r-md);
  padding: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; width: 680px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s; pointer-events: none;
}
.has-mega:hover .mega-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: all;
}
.mega-col h4 {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--blue);
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(14,165,233,0.1);
}
.mega-col a { display: block; padding: 5px 0; font-size: 0.85rem; color: var(--muted); transition: color 0.2s; }
.mega-col a:hover { color: var(--blue); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-phone { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--dark); transition: color 0.2s; }
.nav-phone i { width: 14px; height: 14px; color: var(--blue); }
.nav-phone:hover { color: var(--blue); }
.btn-book-nav {
  padding: 10px 20px; border-radius: 50px; background: var(--grad); color: white;
  font-size: 0.85rem; font-weight: 600; font-family: var(--font-head);
  transition: box-shadow 0.2s, transform 0.2s; white-space: nowrap;
}
.btn-book-nav:hover { box-shadow: var(--shadow-blue); transform: translateY(-1px); }
.btn-book-nav:active { transform: translateY(0); box-shadow: none; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; width: 40px;
}
.nav-hamburger span { display: block; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-overlay {
  position: fixed; inset: 0; z-index: 997; background: var(--dark);
  padding-top: var(--total-off);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateX(100%);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s;
}
.mobile-overlay.open { opacity: 1; visibility: visible; transform: translateX(0); }
.mo-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: 320px; }
.mo-link {
  display: block; width: 100%; text-align: center; padding: 14px;
  font-size: 1.1rem; font-weight: 600; font-family: var(--font-head);
  color: rgba(255,255,255,0.8); border-radius: var(--r-sm); transition: background 0.2s, color 0.2s;
}
.mo-link:hover { background: rgba(14,165,233,0.1); color: var(--blue); }
.mo-cta {
  display: block; width: 100%; text-align: center; padding: 16px; margin-top: 16px;
  border-radius: 50px; background: var(--grad); color: white;
  font-size: 1rem; font-weight: 700; font-family: var(--font-head);
}

@media (max-width: 1024px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
}

/* ═══ HERO ═══ */
#hero {
  position: relative; padding-top: var(--total-off);
  background: var(--dark); overflow: hidden; min-height: 100vh;
}
.hero-bg-animate {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(14,165,233,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, rgba(16,185,129,0.14) 0%, transparent 60%),
    var(--dark);
  animation: bgShift 10s ease-in-out infinite alternate;
}
@keyframes bgShift {
  0%   { opacity: 1; }
  50%  { opacity: 0.85; }
  100% { opacity: 1; }
}
.hero-swiper { position: relative; z-index: 1; }
.slide-content {
  max-width: 1280px; margin: 0 auto; padding: 80px 24px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  min-height: calc(100vh - var(--total-off) - 180px);
}
.slide-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 7px 16px; border-radius: 50px;
  background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.22);
  font-size: 0.78rem; font-weight: 600; color: var(--blue); font-family: var(--font-head); letter-spacing: 0.04em;
}
.sb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: dotPulse 1.5s infinite; }
.slide-h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); color: white; line-height: 1.1; margin-bottom: 20px; }
.slide-text > p { font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 32px; }
.slide-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-hero-primary {
  padding: 14px 28px; border-radius: 50px; background: var(--grad); color: white;
  font-weight: 700; font-size: 0.95rem; font-family: var(--font-head);
  transition: box-shadow 0.2s, transform 0.2s;
}
.btn-hero-primary:hover { box-shadow: var(--shadow-blue); transform: translateY(-2px); }
.btn-hero-primary:active { transform: translateY(0); box-shadow: none; }
.btn-hero-secondary {
  padding: 14px 28px; border-radius: 50px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: white; font-weight: 600; font-size: 0.95rem; font-family: var(--font-head);
  transition: background 0.2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.14); }
.btn-hero-secondary:active { background: rgba(255,255,255,0.08); }

.slide-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.slide-img img { width: 100%; height: 100%; object-fit: cover; }

/* Swiper overrides */
.hero-pagination { bottom: 16px !important; }
.hero-pagination .swiper-pagination-bullet { background: rgba(255,255,255,0.35); width: 8px; height: 8px; opacity: 1; }
.hero-pagination .swiper-pagination-bullet-active { background: var(--blue); width: 24px; border-radius: 4px; }
.hero-prev, .hero-next { color: white; }
.hero-prev::after, .hero-next::after { font-size: 18px; }
.tech-prev, .tech-next { color: rgba(255,255,255,0.6); }
.tech-prev::after, .tech-next::after { font-size: 16px; }
.doc-prev, .doc-next { color: var(--blue); }
.doc-prev::after, .doc-next::after { font-size: 16px; }
.testi-pagination { bottom: -4px !important; }
.testi-pagination .swiper-pagination-bullet { background: var(--blue); }

/* Hero search */
.hero-search { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 0 24px 20px; }
.hs-inner {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px; padding: 8px 8px 8px 20px; max-width: 560px; position: relative;
}
.hs-inner > i { color: var(--blue); width: 18px; height: 18px; flex-shrink: 0; }
.hs-inner input { flex: 1; background: none; border: none; outline: none; color: white; font-size: 0.9rem; }
.hs-inner input::placeholder { color: rgba(255,255,255,0.4); }
.hs-btn {
  padding: 10px 22px; border-radius: 50px; border: none; cursor: pointer;
  background: var(--grad); color: white; font-weight: 600; font-size: 0.85rem; font-family: var(--font-head);
  flex-shrink: 0; transition: box-shadow 0.2s;
}
.hs-btn:hover { box-shadow: var(--shadow-blue); }
.hs-dropdown {
  position: fixed; top: 0; left: 0; width: 100%;
  background: white; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: 8px; z-index: 9999; display: none;
}
.hs-dropdown.open { display: block; }
.hs-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--r-sm); color: var(--dark3); font-size: 0.88rem; transition: background 0.15s;
}
.hs-item:hover { background: rgba(14,165,233,0.07); color: var(--blue); }
.hs-item i { width: 14px; height: 14px; color: var(--blue); }

/* Trust bar */
.trust-bar {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.04); border-top: 1px solid rgba(255,255,255,0.07);
  padding: 28px 24px;
}
.tb-stats {
  max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
.tbs-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 48px; }
.tbs-num { display: flex; align-items: baseline; gap: 2px; line-height: 1; }
.tbs-item .countup { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: white; line-height: 1; }
.tbs-plus { font-size: 1.6rem; font-weight: 800; color: var(--blue); line-height: 1; }
.tbs-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 500; text-align: center; }
.tbs-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.1); }

/* ═══ LOCATIONS ═══ */
#locations { background: var(--light); }
.locations-layout { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.location-tabs { display: flex; flex-direction: column; gap: 8px; }
.loc-tab {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px;
  border-radius: var(--r-md); background: white; border: 2px solid transparent;
  cursor: pointer; text-align: left; transition: all 0.25s; box-shadow: var(--shadow-sm);
}
.loc-tab:hover  { border-color: rgba(14,165,233,0.3); }
.loc-tab:active { background: rgba(14,165,233,0.06); }
.loc-tab.active { border-color: var(--blue); background: rgba(14,165,233,0.04); }
.lt-num { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: rgba(14,165,233,0.18); min-width: 28px; transition: color 0.2s; }
.loc-tab.active .lt-num { color: var(--blue); }
.loc-tab div strong { display: block; font-family: var(--font-head); font-size: 0.9rem; color: var(--dark); }
.loc-tab div span  { font-size: 0.78rem; color: var(--muted); }
.location-detail { position: relative; }
.loc-panel { display: none; animation: fadeSlide 0.3s ease; }
.loc-panel.active { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); }
@keyframes fadeSlide { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
.lp-img { overflow: hidden; min-height: 360px; }
.lp-img img { width: 100%; height: 100%; object-fit: cover; }
.lp-info { background: white; padding: 40px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.lp-info h3 { font-size: 1.25rem; color: var(--dark); margin-bottom: 4px; }
.lp-row { display: flex; align-items: flex-start; gap: 10px; }
.lp-row i { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.lp-row span { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.btn-loc {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 50px;
  background: var(--grad); color: white; font-size: 0.875rem; font-weight: 600; font-family: var(--font-head);
  transition: box-shadow 0.2s, transform 0.2s; width: fit-content; margin-top: 8px;
}
.btn-loc:hover { box-shadow: var(--shadow-blue); transform: translateY(-1px); }
.btn-loc i { width: 15px; height: 15px; }

/* ═══ SERVICES ═══ */
#services { background: white; }
.svc-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.svc-tab {
  padding: 10px 22px; border-radius: 50px;
  background: rgba(14,165,233,0.06); border: 2px solid transparent;
  font-size: 0.85rem; font-weight: 600; font-family: var(--font-head);
  color: var(--muted); cursor: pointer; transition: all 0.2s;
}
.svc-tab:hover  { border-color: rgba(14,165,233,0.3); color: var(--blue); }
.svc-tab.active { background: var(--grad); color: white; border-color: transparent; }

.svc-panels { position: relative; }
.svc-panel { display: none; animation: fadeSlide 0.3s ease; }
.svc-panel.active { display: block; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.svc-card {
  padding: 26px; border-radius: var(--r-md); background: var(--light);
  border: 1px solid var(--border); transition: all 0.25s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(14,165,233,0.3); }
.svc-icon {
  width: 50px; height: 50px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.svc-icon.blue  { background: rgba(14,165,233,0.1); }
.svc-icon.green { background: rgba(16,185,129,0.1); }
.svc-icon.amber { background: rgba(245,158,11,0.1); }
.svc-icon.red   { background: rgba(239,68,68,0.1); }
.svc-icon.blue  i { color: var(--blue); }
.svc-icon.green i { color: var(--green); }
.svc-icon.amber i { color: var(--amber); }
.svc-icon.red   i { color: #EF4444; }
.svc-icon i { width: 22px; height: 22px; }
.svc-card h4 { font-size: 1rem; color: var(--dark); margin-bottom: 8px; }
.svc-card p  { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.emergency-cta {
  display: flex; align-items: center; gap: 12px; margin-top: 24px;
  padding: 20px 24px; border-radius: var(--r-md);
  background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.15);
}
.emergency-cta i { width: 20px; height: 20px; color: #EF4444; flex-shrink: 0; }
.emergency-cta span { font-size: 0.9rem; color: var(--dark3); }
.ec-phone { font-weight: 700; color: #EF4444; font-size: 1.05rem; font-family: var(--font-head); }
.svc-footer {
  display: flex; align-items: center; gap: 20px; justify-content: center; flex-wrap: wrap;
  margin-top: 48px; padding: 24px; border-radius: var(--r-md);
  background: rgba(14,165,233,0.04); border: 1px solid rgba(14,165,233,0.12);
}
.svc-footer p { font-size: 0.9rem; color: var(--muted); }
.btn-outline-blue {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 50px; border: 2px solid var(--blue);
  color: var(--blue); font-weight: 600; font-size: 0.875rem; font-family: var(--font-head);
  transition: background 0.2s, color 0.2s;
}
.btn-outline-blue:hover { background: var(--blue); color: white; }
.btn-outline-blue i { width: 15px; height: 15px; }

/* ═══ TECHNOLOGY ═══ */
#technology { background: var(--dark); padding: 80px 0; }
.tech-swiper { padding: 0 24px 48px; max-width: 1280px; margin: 0 auto; overflow: hidden; }
.tech-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl); overflow: hidden; transition: all 0.3s;
}
.tech-card:hover { border-color: rgba(14,165,233,0.3); transform: translateY(-4px); }
.tc-img { aspect-ratio: 16/9; overflow: hidden; }
.tc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.tech-card:hover .tc-img img { transform: scale(1.04); }
.tc-body { padding: 22px; }
.tc-tag {
  display: inline-block; padding: 3px 10px; border-radius: 50px; margin-bottom: 10px;
  background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.2);
  font-size: 0.7rem; font-weight: 700; color: var(--blue); letter-spacing: 0.06em; text-transform: uppercase;
}
.tc-body h3 { font-size: 1.05rem; color: white; margin-bottom: 8px; }
.tc-body p  { font-size: 0.83rem; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 14px; }
.tc-body ul { display: flex; flex-direction: column; gap: 6px; }
.tc-body li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
}
.tc-body li i { width: 13px; height: 13px; color: var(--green); flex-shrink: 0; }

/* ═══ DOCTORS ═══ */
#doctors { background: var(--light); }
.doctor-filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.df-btn {
  padding: 8px 18px; border-radius: 50px; border: 2px solid var(--border);
  background: white; font-size: 0.82rem; font-weight: 600; font-family: var(--font-head);
  color: var(--muted); cursor: pointer; transition: all 0.2s;
}
.df-btn:hover  { border-color: rgba(14,165,233,0.4); color: var(--blue); }
.df-btn:active { transform: scale(0.97); }
.df-btn.active { background: var(--grad); color: white; border-color: transparent; }

.doctors-swiper { max-width: 1280px; margin: 0 auto; padding: 0 24px 48px; overflow: hidden; }
.doc-card {
  background: white; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: all 0.3s;
}
.doc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.doc-img { aspect-ratio: 3/4; overflow: hidden; background: var(--light); }
.doc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.4s; }
.doc-card:hover .doc-img img { transform: scale(1.04); }
.doc-body { padding: 20px; }
.doc-body h4 { font-size: 1rem; color: var(--dark); margin-bottom: 4px; }
.doc-title { font-size: 0.78rem; color: var(--blue); font-weight: 600; font-family: var(--font-head); display: block; margin-bottom: 8px; }
.doc-loc  { display: flex; align-items: center; gap: 5px; font-size: 0.75rem; color: var(--muted); margin-bottom: 10px; }
.doc-loc i { width: 13px; height: 13px; color: var(--green); }
.doc-stars { font-size: 0.78rem; color: var(--amber); margin-bottom: 14px; }
.doc-stars span { color: var(--muted); margin-left: 4px; }
.doc-btn {
  display: block; width: 100%; padding: 10px; border-radius: var(--r-sm);
  background: rgba(14,165,233,0.06); border: 1px solid rgba(14,165,233,0.15);
  text-align: center; font-size: 0.82rem; font-weight: 600; color: var(--blue);
  font-family: var(--font-head); transition: all 0.2s;
}
.doc-btn:hover { background: var(--grad); color: white; border-color: transparent; }

/* ═══ DASHBOARD ═══ */
#dashboard { background: var(--dark2); padding: 80px 0; }
.dash-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.dm-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md); padding: 24px; text-align: center; transition: border-color 0.2s;
}
.dm-card:hover { border-color: rgba(14,165,233,0.3); }
.dm-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--grad);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.dm-icon i { width: 20px; height: 20px; color: white; }
.dm-num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: white; line-height: 1; margin-bottom: 4px; }
.dm-num .countup { font-family: inherit; font-size: inherit; font-weight: inherit; color: inherit; }
.dm-num span { font-size: 1.3rem; color: var(--blue); }
.dm-label { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

.dash-charts { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.chart-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md); padding: 24px;
}
.chart-card h4 { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.chart-wrap { height: 200px; }
.doughnut-wrap { height: 220px; }

/* ═══ INSURANCE ═══ */
#insurance { background: white; }
.insurance-logos {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 40px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.ins-badge {
  display: flex; align-items: center; justify-content: center; padding: 14px 12px;
  border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--light);
  font-size: 0.8rem; font-weight: 700; color: var(--dark3); text-align: center;
  transition: all 0.2s;
}
.ins-badge:hover { border-color: rgba(14,165,233,0.35); background: rgba(14,165,233,0.04); color: var(--blue); }

.financing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 56px; }
.fin-card {
  padding: 28px; border-radius: var(--r-md); border: 1px solid var(--border);
  background: var(--light); display: flex; flex-direction: column; gap: 12px;
}
.fin-icon {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(16,185,129,0.1));
  display: flex; align-items: center; justify-content: center;
}
.fin-icon i { width: 22px; height: 22px; color: var(--blue); }
.fin-card h4 { font-size: 1rem; color: var(--dark); }
.fin-card p  { font-size: 0.85rem; color: var(--muted); line-height: 1.6; flex: 1; }
.btn-fin {
  display: inline-block; padding: 10px 20px; border-radius: 50px; margin-top: 4px;
  background: var(--grad); color: white; font-size: 0.82rem; font-weight: 600; font-family: var(--font-head);
  transition: box-shadow 0.2s; width: fit-content;
}
.btn-fin:hover { box-shadow: var(--shadow-blue); }

.faq-section h3 { font-size: 1.4rem; color: var(--dark); margin-bottom: 20px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 800px; margin: 0 auto; }
.faq-item { border-radius: var(--r-sm); border: 1px solid var(--border); overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: rgba(14,165,233,0.3); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 16px 20px; cursor: pointer; background: white; border: none; text-align: left;
  font-size: 0.9rem; font-weight: 600; color: var(--dark); line-height: 1.4; font-family: var(--font-body);
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(14,165,233,0.03); }
.faq-q:active { background: rgba(14,165,233,0.07); }
.faq-q i { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue); transition: transform 0.25s; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px; background: rgba(14,165,233,0.02);
}
.faq-a p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 300px; padding: 16px 20px; }

/* ═══ TESTIMONIALS ═══ */
#testimonials { background: var(--light); }
.review-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.rb-item {
  display: flex; align-items: center; gap: 10px; padding: 14px 22px;
  border-radius: var(--r-md); background: white; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-size: 0.85rem; font-family: var(--font-head);
}
.rb-item .rb-score { font-size: 1.3rem; font-weight: 800; color: var(--dark); }
.rb-item span:nth-child(2) { color: var(--amber); }
.rb-item span:nth-child(3) { color: var(--muted); font-size: 0.8rem; }

.testimonials-swiper { max-width: 1280px; margin: 0 auto; padding: 0 24px 48px; overflow: hidden; }
.testi-card {
  background: white; border-radius: var(--r-xl); padding: 30px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.tc-stars { color: var(--amber); font-size: 1rem; margin-bottom: 14px; }
.testi-card > p { font-size: 0.9rem; color: var(--dark3); line-height: 1.7; margin-bottom: 20px; }
.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-av {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: white; font-size: 0.85rem;
}
.tc-author strong { display: block; font-size: 0.875rem; color: var(--dark); }
.tc-author span { font-size: 0.75rem; color: var(--muted); }

/* ═══ BLOG ═══ */
#blog { background: white; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: all 0.3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(14,165,233,0.2); }
.blog-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-img img { transform: scale(1.04); }
.blog-body { padding: 24px; background: white; }
.blog-tag {
  display: inline-block; padding: 3px 10px; border-radius: 50px; margin-bottom: 10px;
  background: rgba(14,165,233,0.08); color: var(--blue);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.blog-body h4 { font-size: 1.05rem; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.blog-body p  { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.blog-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600; color: var(--blue); font-family: var(--font-head); transition: gap 0.2s;
}
.blog-link:hover { gap: 10px; }
.blog-link i { width: 14px; height: 14px; }

/* ═══ BOOKING ═══ */
#booking { background: var(--light); }
.booking-wrap {
  max-width: 760px; margin: 0 auto; background: white;
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 48px; border: 1px solid var(--border);
}
.booking-progress { margin-bottom: 36px; }
.bp-bar { height: 6px; background: rgba(14,165,233,0.1); border-radius: 3px; overflow: hidden; margin-bottom: 16px; }
.bp-fill { height: 100%; background: var(--grad); border-radius: 3px; transition: width 0.4s ease; width: 16.66%; }
.bp-steps {
  display: flex; gap: 0; justify-content: space-between;
}
.bp-step {
  font-size: 0.72rem; font-weight: 600; color: var(--muted); font-family: var(--font-head);
  text-align: center; flex: 1; position: relative;
}
.bp-step.active { color: var(--blue); }

.booking-form-wrap { position: relative; }
.b-step { display: none; animation: fadeSlide 0.3s ease; }
.b-step.active { display: block; }
.b-step > h3 { font-size: 1.3rem; color: var(--dark); margin-bottom: 24px; }

/* Step 1 — location */
.step-loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 8px; }
.loc-choice { cursor: pointer; }
.loc-choice input[type="radio"] { display: none; }
.lc-inner {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 12px; border-radius: var(--r-md); border: 2px solid var(--border);
  background: var(--light); transition: all 0.2s; text-align: center;
}
.lc-inner:hover { border-color: rgba(14,165,233,0.35); }
.loc-choice input:checked + .lc-inner { border-color: var(--blue); background: rgba(14,165,233,0.05); }
.lc-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: white;
  font-family: var(--font-head); font-weight: 800; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}
.lc-inner strong { font-size: 0.875rem; color: var(--dark); display: block; }
.lc-inner span   { font-size: 0.75rem; color: var(--muted); }

/* Step 2 — service */
.step-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 8px; }
.svc-choice { cursor: pointer; }
.svc-choice input[type="radio"] { display: none; }
.svc-choice label { display: none; }
.svc-choice {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 12px; border-radius: var(--r-md); border: 2px solid var(--border);
  background: var(--light); transition: all 0.2s; text-align: center;
  position: relative;
}
.svc-choice:hover { border-color: rgba(14,165,233,0.35); }
.svc-choice:has(input:checked) { border-color: var(--blue); background: rgba(14,165,233,0.05); }
.svc-choice > i { width: 24px; height: 24px; color: var(--blue); }
.svc-choice > span { font-size: 0.82rem; font-weight: 600; color: var(--dark3); }

/* Step 3 — doctor */
.step-doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 8px; }
.doc-choice { cursor: pointer; }
.doc-choice input[type="radio"] { display: none; }
.dc-inner {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  border-radius: var(--r-md); border: 2px solid var(--border);
  background: var(--light); transition: all 0.2s;
}
.dc-inner:hover { border-color: rgba(14,165,233,0.35); }
.doc-choice input:checked + .dc-inner { border-color: var(--blue); background: rgba(14,165,233,0.05); }
.dc-inner img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; flex-shrink: 0; }
.dc-inner strong { display: block; font-size: 0.875rem; color: var(--dark); }
.dc-inner span { font-size: 0.75rem; color: var(--muted); }
.dc-any { justify-content: center; flex-direction: column; gap: 6px; text-align: center; }
.dc-any i { width: 28px; height: 28px; color: var(--blue); }

/* Step 4 — calendar */
.cal-mock { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; margin-bottom: 20px; }
.cal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: var(--grad); color: white;
}
.cal-header span { font-family: var(--font-head); font-weight: 700; }
.cal-nav { background: none; border: none; cursor: pointer; color: white; font-size: 1.2rem; padding: 2px 6px; }
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 1px; background: var(--border); padding: 1px;
}
.cal-day-name {
  background: var(--light); padding: 8px; text-align: center;
  font-size: 0.7rem; font-weight: 700; color: var(--muted); text-transform: uppercase;
}
.cal-day {
  background: white; padding: 10px; text-align: center; cursor: pointer;
  font-size: 0.85rem; color: var(--dark3); transition: all 0.15s;
}
.cal-day:hover:not(.disabled) { background: rgba(14,165,233,0.07); color: var(--blue); }
.cal-day.active  { background: var(--blue); color: white; font-weight: 700; }
.cal-day.disabled { color: rgba(0,0,0,0.2); cursor: default; background: var(--light); }
.time-slots { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px; background: var(--light); }
.ts-btn {
  padding: 8px 14px; border-radius: var(--r-sm); border: 2px solid var(--border);
  background: white; cursor: pointer; font-size: 0.82rem; font-weight: 600; color: var(--dark3); transition: all 0.15s;
}
.ts-btn:hover  { border-color: rgba(14,165,233,0.4); color: var(--blue); }
.ts-btn.active { border-color: var(--blue); background: rgba(14,165,233,0.06); color: var(--blue); }

/* Step 5 — form */
.step-form { display: flex; flex-direction: column; gap: 14px; }
.sf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sf-field { display: flex; flex-direction: column; gap: 6px; }
.sf-field.full { grid-column: 1 / -1; }
.sf-field label { font-size: 0.8rem; font-weight: 600; color: var(--dark3); }
.sf-field input,
.sf-field select,
.sf-field textarea {
  padding: 12px 14px; border-radius: var(--r-sm); border: 1.5px solid var(--border);
  font-size: 0.875rem; font-family: var(--font-body); color: var(--dark);
  background: white; outline: none; transition: border-color 0.2s;
}
.sf-field input:focus, .sf-field select:focus, .sf-field textarea:focus { border-color: var(--blue); }
.sf-radio { display: flex; gap: 20px; margin-top: 4px; }
.sf-radio label { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--dark3); cursor: pointer; }

/* Step 6 — confirm */
.confirm-wrap { text-align: center; padding-bottom: 8px; }
.confirm-check {
  width: 64px; height: 64px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: white; margin: 0 auto 16px;
}
.confirm-wrap h3 { font-size: 1.3rem; color: var(--dark); margin-bottom: 20px; }
.confirm-summary {
  background: var(--light); border-radius: var(--r-md); border: 1px solid var(--border);
  padding: 20px; margin-bottom: 16px; text-align: left;
}
.cs-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.875rem;
}
.cs-row:last-child { border: none; }
.cs-row span { color: var(--muted); }
.cs-row strong { color: var(--dark); }
.confirm-note { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* Booking success */
.booking-success { text-align: center; padding: 20px 0; }
.bs-icon { font-size: 3rem; margin-bottom: 16px; }
.booking-success h3 { font-size: 1.4rem; color: var(--dark); margin-bottom: 10px; }
.booking-success p  { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* Booking nav */
.b-nav { display: flex; gap: 12px; margin-top: 24px; }
.btn-back {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 50px; border: 2px solid var(--border);
  background: white; color: var(--muted); font-weight: 600; font-size: 0.9rem;
  font-family: var(--font-head); cursor: pointer; transition: all 0.2s;
}
.btn-back i { width: 16px; height: 16px; }
.btn-back:hover { border-color: rgba(14,165,233,0.4); color: var(--blue); }
.btn-back:active { transform: scale(0.97); }
.btn-next {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px; border: none; margin-left: auto;
  background: var(--grad); color: white; font-weight: 700; font-size: 0.9rem;
  font-family: var(--font-head); cursor: pointer; transition: box-shadow 0.2s, transform 0.2s;
}
.btn-next i { width: 16px; height: 16px; }
.btn-next:hover { box-shadow: var(--shadow-blue); transform: translateY(-1px); }
.btn-next:active { transform: translateY(0); box-shadow: none; }

/* ═══ CASE RESULTS ═══ */
#case-results { background: var(--dark); padding: 80px 0; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
.impact-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md); padding: 24px; transition: all 0.25s;
}
.impact-card:hover { border-color: rgba(14,165,233,0.3); transform: translateY(-4px); }
.ic-label { font-size: 0.75rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; font-family: var(--font-head); }
.ic-compare { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ic-before, .ic-after { display: flex; flex-direction: column; gap: 4px; }
.ic-tag { font-size: 0.68rem; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.06em; }
.ic-before .ic-val { font-size: 1.05rem; color: rgba(255,255,255,0.35); font-weight: 600; font-family: var(--font-head); }
.ic-after  .ic-val { font-size: 1.05rem; font-weight: 800; font-family: var(--font-head); background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ic-val span { font-size: 0.75rem; }
.ic-arrow { color: var(--green); flex-shrink: 0; }
.ic-arrow i { width: 18px; height: 18px; }
.ic-gain { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--green); }

.impact-chart-wrap {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl); padding: 32px; margin-bottom: 48px;
}
.impact-chart-wrap h4 { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 24px; font-family: var(--font-head); font-weight: 600; }
.chart-wrap-full { height: 260px; }

.impact-cta { text-align: center; }
.impact-cta h3 { font-size: 1.6rem; color: white; margin-bottom: 12px; }
.impact-cta p  { color: rgba(255,255,255,0.55); margin-bottom: 28px; }
.btn-impact {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 50px; background: var(--grad); color: white;
  font-size: 1rem; font-weight: 700; font-family: var(--font-head);
  transition: box-shadow 0.2s, transform 0.2s;
}
.btn-impact:hover { box-shadow: var(--shadow-blue); transform: translateY(-2px); }
.btn-impact i { width: 18px; height: 18px; }

/* ═══ FOOTER ═══ */
#footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.06); padding: 60px 0 24px; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px;
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; margin-bottom: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); transition: all 0.2s;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: white; }
.footer-social a i { width: 15px; height: 15px; }
.footer-newsletter { display: flex; gap: 8px; }
.footer-newsletter input {
  flex: 1; padding: 10px 14px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: white; font-size: 0.85rem; outline: none; transition: border-color 0.2s; font-family: var(--font-body);
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter input:focus { border-color: rgba(14,165,233,0.4); }
.footer-newsletter button {
  padding: 10px 18px; border-radius: var(--r-sm); border: none; cursor: pointer;
  background: var(--grad); color: white; font-size: 0.82rem; font-weight: 600; font-family: var(--font-head);
  white-space: nowrap; transition: box-shadow 0.2s;
}
.footer-newsletter button:hover { box-shadow: var(--shadow-blue); }

.footer-col h4 {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-col li a { font-size: 0.85rem; color: rgba(255,255,255,0.38); transition: color 0.2s; line-height: 1.6; display: block; padding: 2px 0; }
.footer-col li a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.28); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-links a:hover { color: var(--blue); }
.footer-credit {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
}
.credit-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 50px;
  background: rgba(14,165,233,0.08); border: 1px solid rgba(14,165,233,0.2);
  color: var(--blue); font-weight: 700; font-size: 0.75rem; font-family: var(--font-head);
  transition: background 0.2s;
}
.credit-badge:hover { background: rgba(14,165,233,0.15); }
.credit-badge span { width: 20px; height: 20px; border-radius: 50%; background: var(--grad); color: white; display: inline-flex; align-items: center; justify-content: center; font-size: 0.65rem; }

/* ═══ BACK TO TOP ═══ */
#backToTop {
  position: fixed; bottom: 32px; right: 32px; z-index: 100;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad); color: white; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-blue); opacity: 0; pointer-events: none; transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s;
}
#backToTop.show { opacity: 1; pointer-events: all; transform: translateY(0); }
#backToTop:hover { transform: translateY(-3px); }
#backToTop:active { transform: translateY(0); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter { max-width: 360px; }
  .dash-charts { grid-template-columns: 1fr 1fr; }
  .dash-charts .chart-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .slide-content { grid-template-columns: 1fr; gap: 32px; min-height: auto; padding: 60px 24px 20px; }
  .slide-img { max-width: 460px; margin: 0 auto; }
  .locations-layout { grid-template-columns: 1fr; }
  .location-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .loc-tab { flex-shrink: 0; }
  .loc-panel.active { grid-template-columns: 1fr; }
  .lp-img { min-height: 240px; }
  .financing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .dash-metrics { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .insurance-logos { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .section-header { margin-bottom: 36px; }
  .svc-grid { grid-template-columns: 1fr; }
  .step-loc-grid { grid-template-columns: repeat(2, 1fr); }
  .step-svc-grid { grid-template-columns: repeat(2, 1fr); }
  .step-doc-grid { grid-template-columns: 1fr 1fr; }
  .sf-row { grid-template-columns: 1fr; }
  .booking-wrap { padding: 28px 20px; }
  .blog-grid { grid-template-columns: 1fr; }
  .csb-center { display: none; }
  .tbs-item { padding: 0 16px; }
  .tbs-divider { height: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .insurance-logos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .impact-grid { grid-template-columns: 1fr; }
  .slide-ctas { flex-direction: column; }
  .review-badges { flex-direction: column; align-items: center; }
  .tbs-divider { display: none; }
  .tb-stats { flex-wrap: wrap; gap: 16px; }
  .tbs-item { padding: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .step-loc-grid { grid-template-columns: 1fr; }
  .step-svc-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-metrics { grid-template-columns: 1fr 1fr; }
  .dash-charts { grid-template-columns: 1fr; }
  .bp-steps { display: none; }
}
