/* ==========================================================================
   Springfield Dental Kids - Core Theme & Design System
   Harmonized with Theme Rules & Bootstrap 5
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  /* Primary Teal Palette (from Theme Files) */
  --t9: #083c41;
  --t8: #0B4F55;
  --t7: #0F6B73;
  --t6: #167e88;
  --t5: #238FA3;
  --t3: #58B2C4;
  --t2: #9ED4DC;
  --t1: #DDF3F0;
  --t0: #F0F9F8;

  /* Pediatric Niche Warm & Friendly Accents */
  --coral: #FF6565;
  --coral-dark: #E04E4E;
  --coral-light: #FFF1F0;
  --gold: #F59E0B;
  --gold-dark: #D97706;
  --gold-light: #FEF3C7;
  --mint: #10B981;
  --mint-light: #D1FAE5;
  --sky: #38BDF8;
  --sky-light: #E0F2FE;

  /* Dark & Text Neutrals */
  --navy: #12343B;
  --navy-dark: #0A1E22;
  --slate: #4E6166;
  --slate-light: #70848A;
  --slate-lighter: #97A8AD;
  --bd: #DCE7E8;
  --bd-light: #EDF4F5;
  --bg: #F1FAFB;
  --bg-warm: #FAFDFD;
  --base: #FFFFFF;
  --ok: #2F8064;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0F6B73 0%, #238FA3 100%);
  --grad-coral: linear-gradient(135deg, #FF6565 0%, #FF8A65 100%);
  --grad-hero: linear-gradient(135deg, rgba(8, 60, 65, 0.92) 0%, rgba(18, 52, 59, 0.78) 55%, rgba(35, 143, 163, 0.5) 100%);
  --grad-soft: linear-gradient(180deg, #F0F9F8 0%, #FFFFFF 100%);

  /* Radius & Shadows */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(18, 52, 59, 0.05);
  --shadow-md: 0 8px 24px rgba(18, 52, 59, 0.08);
  --shadow-lg: 0 16px 38px rgba(18, 52, 59, 0.12);
  --shadow-xl: 0 24px 50px rgba(18, 52, 59, 0.16);
  --shadow-glow: 0 8px 25px rgba(15, 107, 115, 0.28);
}

/* ==========================================================================
   Reset & Base Typography
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--slate);
  background-color: var(--bg-warm);
  line-height: 1.65;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.6rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

h4 {
  font-size: 1.2rem;
}

h5 {
  font-size: 1.05rem;
}

h6 {
  font-size: 0.95rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--t7);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--t9);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.w {
  width: min(1320px, 94%);
  margin-left: auto;
  margin-right: auto;
}

section {
  padding: clamp(3.75rem, 6.5vw, 6.5rem) 0;
  position: relative;
}

.tint-bg {
  background-color: var(--bg);
}

.white-bg {
  background-color: #FFFFFF;
}

/* ==========================================================================
   Buttons & Badges (Matching Theme Files Specs)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0 1.6rem;
  border-radius: var(--radius-sm);
  background: var(--t7);
  color: #FFFFFF;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  border: 2px solid var(--t7);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 3px 10px rgba(15, 107, 115, 0.22);
}

.btn:hover {
  background: var(--t9);
  border-color: var(--t9);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 79, 85, 0.32);
}

.btn-primary {
  background: var(--grad-primary);
  border-color: transparent;
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--t9);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(15, 107, 115, 0.4);
}

.btn-coral {
  background: var(--grad-coral);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 101, 101, 0.35);
}

.btn-coral:hover {
  background: var(--coral-dark);
  border-color: transparent;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(224, 78, 78, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--t7);
  border: 2px solid var(--t7);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--t1);
  border-color: var(--t7);
  color: var(--t9);
  transform: translateY(-2px);
}

.btn-white {
  background: #FFFFFF;
  color: var(--t9);
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  background: var(--t1);
  border-color: var(--t1);
  color: var(--t9);
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 40px;
  padding: 0 1.15rem;
  font-size: 14px;
  border-radius: var(--radius-xs);
}

.btn-lg {
  min-height: 56px;
  padding: 0 2rem;
  font-size: 16.5px;
  border-radius: var(--radius-md);
}

.btn-arrow svg {
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow svg {
  transform: translateX(4px);
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(221, 243, 240, 0.7);
  border: 1px solid rgba(15, 107, 115, 0.25);
  color: var(--t9);
  padding: 0.42rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(6px);
}

.badge-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(47, 128, 100, 0.25);
  animation: pulseDot 2s ease infinite;
}

.badge-coral {
  background: var(--coral-light);
  border-color: rgba(255, 101, 101, 0.3);
  color: var(--coral-dark);
}

.badge-coral .dot {
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 101, 101, 0.25);
}

.badge-gold {
  background: var(--gold-light);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--gold-dark);
}

.badge-gold .dot {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.22);
    opacity: 0.75;
  }
}

/* ==========================================================================
   Top Announcement Ribbon
   ========================================================================== */
.top-ribbon {
  background: var(--navy);
  color: #FFFFFF;
  padding: 0.55rem 0;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 101;
}

.top-ribbon-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ribbon-badges {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.ribbon-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #DDF3F0;
}

.ribbon-badge-item strong {
  color: #FFFFFF;
}

.ribbon-badge-item .spark {
  color: var(--gold);
  font-size: 0.95rem;
}

.ribbon-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ribbon-links a {
  color: rgba(221, 243, 240, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
}

.ribbon-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ==========================================================================
   Header & Sticky Navigation (Theme Files Spec)
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bd);
  transition: all 0.25s ease;
}

header.scrolled {
  box-shadow: 0 4px 20px rgba(18, 52, 59, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
  min-height: 76px;
  flex-wrap: nowrap !important;
  width: 100%;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 1.25rem;
}

.nav-brand img {
  height: 48px;
  width: auto;
  max-height: 50px;
  max-width: 250px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
  margin-left: clamp(0px, 3.5vw, 60px);
}

.nav-brand:hover img {
  transform: scale(1.02);
}

.brand-text,
.nav-brand .brand-text {
  display: none !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--navy);
  padding: 0.45rem 0;
  position: relative;
  transition: color 0.18s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--t7);
  border-radius: 2px;
  transition: width 0.22s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--t7);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1.25rem;
  flex-shrink: 0;
  white-space: nowrap;
  margin-right: clamp(0px, 3.5vw, 60px);
}

.nav-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--t7);
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  background: rgba(15, 107, 115, 0.08);
  border: 1.5px solid rgba(15, 107, 115, 0.22);
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 2px 6px rgba(15, 107, 115, 0.06);
}

.nav-tel svg {
  color: var(--t7);
  transition: transform 0.2s ease;
}

.nav-tel:hover {
  background: var(--t7);
  border-color: var(--t7);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 107, 115, 0.25);
}

.nav-tel:hover svg {
  color: #FFFFFF;
  transform: scale(1.1);
}

.nav-actions .btn {
  min-height: 46px;
  padding: 0 1.5rem;
  font-size: 15px;
  font-weight: 600;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255, 101, 101, 0.35);
}

.nav-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(224, 78, 78, 0.45);
}

#menuToggle {
  display: none; /* hidden on desktop */
  background: transparent;
  border: 1px solid var(--bd);
  border-radius: var(--radius-xs);
  width: 44px;
  height: 44px;
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  padding: 0;
}

/* Mobile navigation */
@media (max-width: 768px) {
  #menuToggle { display: flex; }

  /* Keep the header on a single row: the logo and the actions must sit side by
     side instead of the actions taking a full-width column (which overflowed
     the canvas and pushed the hamburger button outside the viewport). */
  .nav {
    gap: 0.75rem;
  }

  .nav-brand {
    margin-right: 0;
    min-width: 0;
  }

  .nav-brand img {
    max-width: clamp(150px, 28vw, 250px);
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    z-index: 99;
    padding: 0.5rem 1rem;
  }
  .nav-menu.open {
    max-height: 500px; /* enough for all items */
  }

  .nav-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    width: auto;
    min-width: 0;
    margin-left: auto;
    margin-right: 0;
    gap: 0.5rem;
    padding: 0;
    white-space: nowrap;
  }

  /* Buttons keep their intrinsic width instead of stretching full-width */
  .nav-actions .btn,
  .nav-actions .nav-tel {
    width: auto;
    max-width: none;
    justify-content: center;
  }
}


#menuToggle:hover {
  background: var(--t1);
  border-color: var(--t7);
  color: var(--t7);
}

/* ==========================================================================
   Full-Width Cinematic Photo Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(520px, 75vh, 720px);
  display: flex;
  align-items: center;
  padding: clamp(4.5rem, 6.5vw, 6.5rem) 0;
  overflow: hidden;
  background: #08242A;
}

.hero-slider-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease-out;
  transform: scale(1.06);
  will-change: transform, opacity;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-content-slide {
  display: none;
  animation: heroContentFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content-slide.active {
  display: block;
}

@keyframes heroContentFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(6, 28, 33, 0.94) 0%, rgba(6, 28, 33, 0.84) 45%, rgba(6, 28, 33, 0.52) 80%, rgba(6, 28, 33, 0.42) 100%),
    linear-gradient(180deg, rgba(6, 28, 33, 0.35) 0%, transparent 40%, rgba(6, 28, 33, 0.8) 100%);
  pointer-events: none;
}

.hero .w {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1.15rem;
  border-radius: var(--radius-full);
  background: rgba(221, 243, 240, 0.16);
  border: 1px solid rgba(221, 243, 240, 0.35);
  color: #DDF3F0;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.85rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin: 0 0 2.2rem 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
  font-weight: 800;
}

.hero h1 .text-highlight {
  background: linear-gradient(135deg, #5CE1E6 0%, #FFD6A5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-acts {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2.5rem;
}

.hero-acts .btn {
  min-height: 52px;
  padding: 0 1.85rem;
  font-size: 15.5px;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.hero-tel-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.38) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.hero-tel-btn:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.92rem;
  color: rgba(221, 243, 240, 0.92);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.trust-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-rating .stars {
  color: #FBBF24;
  font-size: 0.92rem;
  letter-spacing: -1px;
}

.trust-item strong {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.22);
}

/* Slider Controls */
.hero-slider-nav {
  position: absolute;
  bottom: 28px;
  right: clamp(16px, 4vw, 50px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 28, 33, 0.75);
  border: 1px solid rgba(221, 243, 240, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.hero-slider-btn {
  background: none;
  border: none;
  color: #DDF3F0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.hero-slider-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.hero-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 0 4px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dot.active {
  width: 22px;
  border-radius: 4px;
  background: #5CE1E6;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: clamp(3.5rem, 8vw, 5rem) 0;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 7.5vw, 2.85rem);
    margin-bottom: 1.75rem;
  }

  .hero-slider-nav {
    bottom: 16px;
    right: 16px;
  }
}

@media (max-width: 576px) {
  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .trust-divider {
    display: none;
  }
}

/* ==========================================================================
   Insurance Banner & Ticker
   ========================================================================== */
.insurance-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--bd);
  padding: 1.75rem 0;
  box-shadow: var(--shadow-sm);
}

.insurance-strip-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.insurance-strip-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.insurance-strip-label .masshealth-tag {
  background: #005A36;
  color: #FFFFFF;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.insurance-logos-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  flex: 1;
}

.insurance-logo-item {
  height: 34px;
  display: flex;
  align-items: center;
  opacity: 0.85;
  filter: grayscale(20%);
  transition: all 0.2s ease;
}

.insurance-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}

.insurance-logo-item img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header.text-start {
  text-align: left;
  margin-left: 0;
}

.section-header h2 {
  margin-bottom: 0.85rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--slate);
  margin-bottom: 0;
}

/* ==========================================================================
   Service Cards & Grid (Theme Files Specs)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.85rem;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--t5);
  box-shadow: var(--shadow-lg);
}

.service-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.06);
}

.service-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--t8);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.service-card-body {
  padding: 1.6rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-title {
  font-size: 1.28rem;
  margin-bottom: 0.65rem;
  color: var(--navy);
  font-weight: 700;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.55;
  margin-bottom: 1.4rem;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--t7);
  text-decoration: none;
  transition: all 0.2s ease;
}

.service-card-link svg {
  transition: transform 0.2s ease;
}

.service-card:hover .service-card-link {
  color: var(--t9);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.feature-box {
  background: #FFFFFF;
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  transition: all 0.25s ease;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--t3);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.feature-icon-teal {
  background: var(--t1);
  color: var(--t7);
}

.feature-icon-coral {
  background: var(--coral-light);
  color: var(--coral);
}

.feature-icon-gold {
  background: var(--gold-light);
  color: var(--gold-dark);
}

.feature-icon-mint {
  background: var(--mint-light);
  color: var(--mint);
}

.feature-box h3 {
  font-size: 1.22rem;
  margin-bottom: 0.6rem;
}

.feature-box p {
  font-size: 0.94rem;
  color: var(--slate);
  margin-bottom: 0;
}

/* ==========================================================================
   Doctor Spotlight & Media Section (Video / Quotes)
   ========================================================================== */
.doc-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.doc-media-wrapper {
  position: relative;
}

.doc-video-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
  border: 1px solid var(--bd);
}

.doc-video-container video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.doc-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: var(--shadow-md);
}

.doc-quote {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
  margin: 1.2rem 0;
  padding-left: 1.1rem;
  border-left: 3.5px solid var(--coral);
  font-style: italic;
}

/* Doctor Profile Cards */
.doctor-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
}

.doctor-card {
  background: #FFFFFF;
  border: 1px solid var(--bd);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  transform: translateY(-6px);
  border-color: var(--t5);
  box-shadow: var(--shadow-lg);
}

.doctor-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--t0);
  overflow: hidden;
}

.doctor-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-card-img-wrap img {
  transform: scale(1.03);
}

.doctor-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.doctor-card-name {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.doctor-card-role {
  font-weight: 600;
  color: var(--t7);
  font-size: 0.94rem;
  margin-bottom: 0.4rem;
}

.doctor-card-cred {
  font-size: 0.85rem;
  color: var(--slate-light);
  margin-bottom: 1rem;
}

.doctor-card-bio {
  font-size: 0.94rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.doctor-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.doctor-card-badges span {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg);
  color: var(--navy);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--bd);
}

/* ==========================================================================
   Patient Reviews & Testimonials
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.8rem;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 1px;
  color: #F59E0B;
}

.review-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1A73E8;
  background: #E8F0FE;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.review-body {
  font-size: 0.96rem;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
  font-style: italic;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--bd-light);
  padding-top: 1rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-author-name {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--navy);
  line-height: 1.2;
}

.review-author-sub {
  font-size: 0.78rem;
  color: var(--slate-light);
}

/* ==========================================================================
   Accordion FAQ Section (Theme Files Specs)
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--bd);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: var(--t7);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.6rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--t7);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--t1);
  color: var(--t7);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--t7);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 1.6rem 1.4rem;
  font-size: 0.96rem;
  color: var(--slate);
  line-height: 1.65;
}

/* ==========================================================================
   Gallery Showcase with Lightbox
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--bg);
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 52, 59, 0.4);
  opacity: 0;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  font-size: 1.5rem;
  transition: opacity 0.25s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 30, 34, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ==========================================================================
   Appointment Booking Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 34, 0.75);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog-custom {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: min(600px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--bd);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-dialog-custom {
  transform: translateY(0);
}

.modal-header-custom {
  padding: 1.5rem 1.8rem 1.2rem;
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-custom h3 {
  font-size: 1.35rem;
  margin: 0;
}

.modal-close-btn {
  background: none;
  border: 1px solid var(--bd);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--slate);
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  background: var(--bg);
  color: var(--navy);
}

.modal-body-custom {
  padding: 1.8rem;
}

.form-group-custom {
  margin-bottom: 1.2rem;
}

.form-label-custom {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-control-custom {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--bd);
  border-radius: var(--radius-xs);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--navy);
  background: #FFFFFF;
  transition: all 0.2s ease;
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--t7);
  box-shadow: 0 0 0 3px rgba(15, 107, 115, 0.15);
}

/* ==========================================================================
   Blog Preview Cards
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.85rem;
}

.blog-card {
  background: #FFFFFF;
  border: 1px solid var(--bd);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--t7);
  box-shadow: var(--shadow-lg);
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 52, 59, 0.88);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  font-size: 0.82rem;
  color: var(--slate-light);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 1.22rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.blog-card-title a {
  color: var(--navy);
}

.blog-card:hover .blog-card-title a {
  color: var(--t7);
}

.blog-card-desc {
  font-size: 0.94rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex: 1;
}

.blog-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--t7);
}

.blog-card-readmore svg {
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-card-readmore svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Footer (Specs from Theme Files)
   ========================================================================== */
footer {
  background: var(--navy-dark);
  color: #DDF3F0;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: var(--coral);
  border-radius: 2px;
}

.footer-col p {
  font-size: 0.92rem;
  color: #B2CCD0;
  line-height: 1.65;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #B2CCD0;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  color: #B2CCD0;
}

.footer-contact-item svg {
  color: var(--t5);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #DDF3F0;
  font-weight: 600;
}

.footer-contact-item a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.86rem;
  color: #8CAAB0;
}

.footer-bottom a {
  color: #B2CCD0;
}

.footer-bottom a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ==========================================================================
   Mobile Fixed Bottom Action Bar (from Theme Files)
   ========================================================================== */
.mobile-fixed-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: #FFFFFF;
  border-top: 1px solid var(--bd);
  padding: 0.65rem 4%;
  gap: 0.6rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.mobile-fixed-bar .btn {
  min-height: 48px;
  flex: 1;
  font-size: 14px;
  padding: 0 0.5rem;
  white-space: nowrap;
}

/* Scroll To Top */
.scroll-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .doc-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1040px) {
  body {
    padding-bottom: 74px;
    /* space for mobile fixed bar */
  }

  .nav-brand img {
    margin-left: 0 !important;
  }

  .nav-actions {
    margin-right: 0 !important;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 1rem 5%;
    border-bottom: 1px solid var(--bd);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 100;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.05rem;
  }

  #menuToggle {
    display: flex;
  }

  .mobile-fixed-bar {
    display: flex;
  }

  .scroll-top {
    bottom: 84px;
  }
}

@media (max-width: 768px) {
  .top-ribbon-content {
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
  }

  .ribbon-badges,
  .ribbon-links {
    justify-content: center;
  }

  section {
    padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  }

  .hero {
    min-height: auto;
    padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(4rem, 8vw, 5.5rem);
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.85rem);
  }

  .hero-lead {
    font-size: 1rem;
    margin: 1rem 0 1.5rem;
  }

  .nav-actions .nav-tel {
    display: none;
    /* Phone is in top ribbon and mobile fixed bar */
  }

  .nav-actions .btn {
    padding: 0 1rem;
    font-size: 13.5px;
    min-height: 40px;
  }

  .form-control-custom,
  input, select, textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
  }

  .modal-dialog-custom {
    width: 95%;
    margin: 1rem auto;
    max-height: 92vh;
  }

  .modal-header-custom {
    padding: 1.1rem 1.25rem;
  }

  .modal-body-custom {
    padding: 1.25rem;
  }
}

@media (max-width: 576px) {
  .w {
    width: 92%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .trust-divider {
    display: none;
  }

  .hero-acts {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-acts .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .hero-slider-nav {
    bottom: 12px;
    right: 12px;
    padding: 4px 8px;
  }

  .hero-slider-btn {
    width: 28px;
    height: 28px;
  }

  .services-grid,
  .doctor-cards-grid,
  .reviews-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-actions .btn {
    display: none;
    /* Mobile bottom bar provides quick booking */
  }

  .nav-brand img {
    height: 40px;
    max-width: 180px;
  }

  .hero h1 {
    font-size: 2.15rem;
  }
}