/* ===================================================================
   BRIGHTSMILE DENTAL — styles.css
   Premium Dental Practice Website Stylesheet
   Mobile-first | WCAG AA contrast | CSS custom properties
   =================================================================== */

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

/* ===================================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   =================================================================== */
:root {
  /* --- Color Palette --- */
  --primary:        #0077B6;
  --primary-dark:   #005a8e;
  --primary-light:  #0096d6;
  --teal:           #14B8A6;
  --accent:         #2563EB;
  --accent-dark:    #1d4ed8;
  --dark:           #0F172A;
  --gray-800:       #1E293B;
  --gray-700:       #334155;
  --gray-500:       #64748B;
  --gray-400:       #94A3B8;
  --gray-300:       #CBD5E1;
  --gray-200:       #E2E8F0;
  --gray-100:       #F1F5F9;
  --light:          #F8FAFC;
  --white:          #FFFFFF;
  --star:           #F59E0B;
  --green:          #10B981;
  --error:          #EF4444;

  /* --- Gradients --- */
  --grad-primary:   linear-gradient(135deg, #0077B6 0%, #2563EB 100%);
  --grad-hero:      linear-gradient(135deg, rgba(0,40,80,0.90) 0%, rgba(15,23,42,0.72) 50%, rgba(37,99,235,0.55) 100%);
  --grad-teal:      linear-gradient(135deg, #0077B6 0%, #14B8A6 100%);
  --grad-dark:      linear-gradient(180deg, #0F172A 0%, #1E293B 100%);

  /* --- Typography --- */
  --font-heading:   'Poppins', system-ui, -apple-system, sans-serif;
  --font-body:      'Inter', system-ui, -apple-system, sans-serif;

  /* --- Spacing --- */
  --section-py:     5rem;
  --container-max:  1280px;
  --container-px:   1.5rem;

  /* --- Border Radius --- */
  --radius-sm:   0.375rem;
  --radius-md:   0.75rem;
  --radius-lg:   1.25rem;
  --radius-xl:   1.75rem;
  --radius-2xl:  2.5rem;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg:      0 10px 36px rgba(0,0,0,0.11), 0 4px 10px rgba(0,0,0,0.06);
  --shadow-xl:      0 20px 56px rgba(0,0,0,0.14), 0 8px 16px rgba(0,0,0,0.07);
  --shadow-primary: 0 8px 24px rgba(0,119,182,0.30);
  --shadow-accent:  0 8px 28px rgba(37,99,235,0.35);

  /* --- Transitions --- */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --transition:      all 0.28s var(--ease);
  --transition-slow: all 0.5s var(--ease);
}

/* ===================================================================
   2. RESET & BASE
   =================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ===================================================================
   3. LAYOUT UTILITIES
   =================================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section-py { padding: var(--section-py) 0; }

/* Section labels, titles, subtitles */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(37,99,235,0.09);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.875rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-500);
  margin-top: 0.75rem;
  max-width: 560px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0.75rem auto 0; }
.text-center .section-label { display: block; }

/* ===================================================================
   4. BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.875rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37,99,235,0.48);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn-white {
  background: var(--white);
  color: var(--accent);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--white);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }

/* ===================================================================
   5. SCROLL ANIMATIONS
   =================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.72s var(--ease-out), transform 0.72s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity 0.72s var(--ease-out), transform 0.72s var(--ease-out);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(44px);
  transition: opacity 0.72s var(--ease-out), transform 0.72s var(--ease-out);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stagger.visible > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0.05s; }
.stagger.visible > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.15s; }
.stagger.visible > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.25s; }
.stagger.visible > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.35s; }
.stagger.visible > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:0.45s; }
.stagger.visible > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay:0.55s; }

/* ===================================================================
   6. KEYFRAME ANIMATIONS
   =================================================================== */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-18px) rotate(3deg); }
  66%       { transform: translateY(-8px) rotate(-2deg); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-28px) scale(1.04); }
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(37,99,235,0.45), var(--shadow-accent); }
  70%  { box-shadow: 0 0 0 14px rgba(37,99,235,0), var(--shadow-accent); }
  100% { box-shadow: 0 0 0 0 rgba(37,99,235,0), var(--shadow-accent); }
}

@keyframes pulse-teal {
  0%,100% { box-shadow: 0 0 0 0 rgba(20,184,166,0.5); }
  50%     { box-shadow: 0 0 0 10px rgba(20,184,166,0); }
}

@keyframes bounce-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes ripple-out {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.8); opacity: 0; }
}

@keyframes slide-up {
  from { opacity:0; transform: translateY(16px); }
  to   { opacity:1; transform: translateY(0); }
}

/* ===================================================================
   7. HEADER
   =================================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.375rem 0;
  transition: var(--transition-slow);
}

#header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
  padding: 0.875rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--grad-primary);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-primary);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.7;
  display: block;
}

#header:not(.scrolled) .logo-text { color: var(--white); }
#header:not(.scrolled) .logo-text .brand-accent { color: rgba(255,255,255,0.75); }
#header.scrolled .logo-text { color: var(--dark); }
#header.scrolled .logo-text .brand-accent { color: var(--primary); }

/* Desktop Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  flex: 1;
  justify-content: center;
}

.nav a {
  padding: 0.5rem 0.9375rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

#header:not(.scrolled) .nav a { color: rgba(255,255,255,0.88); }
#header.scrolled .nav a { color: var(--gray-700); }
#header:not(.scrolled) .nav a:hover { color: var(--white); background: rgba(255,255,255,0.15); }
#header.scrolled .nav a:hover { color: var(--primary); background: rgba(0,119,182,0.07); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}

#header:not(.scrolled) .header-phone { color: rgba(255,255,255,0.9); }
#header.scrolled .header-phone { color: var(--gray-700); }
.header-phone:hover { color: var(--accent) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  transition: var(--transition);
}

#header:not(.scrolled) .hamburger span { background: var(--white); }
#header.scrolled .hamburger span { background: var(--dark); }

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Navigation Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,18,36,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
}

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-nav-close:hover { background: rgba(255,255,255,0.2); }

.mobile-nav a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  transition: var(--transition);
  letter-spacing: -0.01em;
}

.mobile-nav a:hover { color: var(--teal); }

.mobile-nav .mobile-cta {
  margin-top: 1rem;
}

/* ===================================================================
   8. HERO SECTION
   =================================================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.55;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}

/* Floating decorative shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.shape-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(20,184,166,0.18) 0%, transparent 70%);
  top: -160px;
  right: -100px;
  animation: float-slow 9s ease-in-out infinite;
}

.shape-2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(56,189,248,0.22) 0%, transparent 70%);
  bottom: 8%;
  right: 18%;
  animation: float 6.5s ease-in-out infinite 1.2s;
}

.shape-3 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  top: 35%;
  right: 40%;
  animation: float 5.5s ease-in-out infinite 2.8s;
}

.shape-4 {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 70%);
  bottom: 30%;
  left: 8%;
  animation: float-slow 7s ease-in-out infinite 0.5s;
}

/* Floating emoji icons */
.float-icon {
  position: absolute;
  font-size: 2.25rem;
  animation: float 8s ease-in-out infinite;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.25));
  pointer-events: none;
  z-index: 2;
  user-select: none;
}
.float-icon:nth-of-type(1) { top: 18%; right: 8%;  animation-delay: 0s;   opacity: 0.55; }
.float-icon:nth-of-type(2) { top: 55%; right: 4%;  animation-delay: 2.2s; font-size: 1.6rem; opacity: 0.38; }
.float-icon:nth-of-type(3) { top: 38%; right: 22%; animation-delay: 4.1s; font-size: 1.4rem; opacity: 0.28; }
.float-icon:nth-of-type(4) { bottom: 25%; left: 5%; animation-delay: 1.5s; font-size: 1.8rem; opacity: 0.35; }

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  padding: 9rem 0 6rem;
  max-width: 740px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  animation: slide-up 0.8s var(--ease-out) 0.2s both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-teal 2s infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 1.375rem;
  letter-spacing: -0.02em;
  animation: slide-up 0.8s var(--ease-out) 0.35s both;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #14B8A6 0%, #38BDF8 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  animation: slide-up 0.8s var(--ease-out) 0.5s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
  animation: slide-up 0.8s var(--ease-out) 0.65s both;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  animation: slide-up 0.8s var(--ease-out) 0.8s both;
}

.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.2);
  align-self: stretch;
}

.hero-stat-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.62);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

/* Scroll down indicator */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-cue .arrow { animation: bounce-y 1.6s ease-in-out infinite; font-size: 1.25rem; }

/* ===================================================================
   9. FLOATING CTAs (WhatsApp + Book Now)
   =================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 6.25rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 22px rgba(37,211,102,0.45);
  z-index: 890;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(37,211,102,0.6);
}

.floating-book {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--grad-primary);
  color: var(--white);
  padding: 0.875rem 1.625rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-accent);
  text-decoration: none;
  animation: pulse-ring 3s ease-in-out infinite;
  transition: var(--transition);
}

.floating-book:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(37,99,235,0.55);
}

.floating-book-icon { font-size: 1.1rem; }

/* ===================================================================
   10. TRUST / STATS BAR
   =================================================================== */
#trust {
  background: var(--white);
  padding: 0;
  border-bottom: 1px solid var(--gray-200);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-right: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.trust-card:last-child { border-right: none; }

.trust-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: var(--grad-primary);
  border-radius: 2px 2px 0 0;
  transition: transform 0.35s var(--ease);
}

.trust-card:hover { background: var(--light); }
.trust-card:hover::before { transform: translateX(-50%) scaleX(1); }

.trust-icon {
  font-size: 2.25rem;
  margin-bottom: 0.875rem;
  display: block;
  line-height: 1;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
}

.trust-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
  line-height: 1.4;
}

/* ===================================================================
   11. SERVICES SECTION
   =================================================================== */
#services {
  background: var(--light);
  padding: var(--section-py) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon-bg {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0,119,182,0.1), rgba(37,99,235,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.375rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-bg {
  background: var(--grad-primary);
  transform: scale(1.06) rotate(-3deg);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.625rem;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 1.375rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  transition: var(--transition);
}

.service-link .arrow { transition: transform 0.2s var(--ease); }
.service-card:hover .service-link .arrow { transform: translateX(5px); }

/* ===================================================================
   12. WHY CHOOSE US
   =================================================================== */
#about {
  padding: var(--section-py) 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-col {
  position: relative;
}

.about-img-outer {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-outer img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease);
}

.about-img-outer:hover img { transform: scale(1.03); }

.about-badge-card {
  position: absolute;
  bottom: 2.5rem;
  right: -2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-xl);
  text-align: center;
  min-width: 150px;
  border: 1px solid var(--gray-200);
}

.about-badge-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.about-badge-text {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.3rem;
  font-weight: 500;
}

.about-content-col .section-subtitle { max-width: 100%; }

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-top: 2.25rem;
}

.feature-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.375rem;
  border-radius: var(--radius-md);
  background: var(--light);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.feature-row:hover {
  border-color: rgba(0,119,182,0.25);
  box-shadow: 0 4px 18px rgba(0,119,182,0.08);
  background: var(--white);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-primary);
}

.feature-text h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.feature-text p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ===================================================================
   13. MEET THE DOCTORS
   =================================================================== */
#doctors {
  background: var(--light);
  padding: var(--section-py) 0;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.doctor-photo {
  position: relative;
  overflow: hidden;
}

.doctor-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
  display: block;
}

.doctor-card:hover .doctor-photo img { transform: scale(1.04); }

.doctor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.88) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.doctor-card:hover .doctor-overlay { opacity: 1; }

.doctor-social {
  display: flex;
  gap: 0.625rem;
}

.doctor-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
  transition: var(--transition);
}

.doctor-social a:hover {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}

.doctor-body {
  padding: 1.75rem 1.5rem 2rem;
  text-align: center;
}

.doctor-tag {
  display: inline-block;
  background: rgba(0,119,182,0.09);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.875rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.625rem;
}

.doctor-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.375rem;
}

.doctor-bio {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===================================================================
   14. SMILE GALLERY (Before/After Slider)
   =================================================================== */
#gallery {
  background: var(--dark);
  padding: var(--section-py) 0;
}

#gallery .section-title  { color: var(--white); }
#gallery .section-label  { background: rgba(20,184,166,0.15); color: var(--teal); }
#gallery .section-subtitle { color: rgba(255,255,255,0.62); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-card {
  background: var(--gray-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.gallery-card-label {
  padding: 1rem 1.25rem 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
}

.gallery-card-label span {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  margin-left: 0.5rem;
}

/* Before/After Slider Component */
.ba-slider {
  position: relative;
  user-select: none;
  overflow: hidden;
  cursor: ew-resize;
  border-radius: 0;
}

.ba-slider img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.ba-before { position: relative; z-index: 1; }

.ba-after {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.ba-divider-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: white;
  z-index: 10;
  pointer-events: none;
}

.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  background: var(--white);
  border-radius: 50%;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 14px rgba(0,0,0,0.35);
  pointer-events: none;
  color: var(--primary);
  font-weight: 900;
  font-size: 0.75rem;
  gap: 2px;
  letter-spacing: -0.05em;
}

.ba-tag {
  position: absolute;
  bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  z-index: 5;
}

.ba-tag.before-tag { left: 0.75rem; background: rgba(0,0,0,0.55); color: rgba(255,255,255,0.9); }
.ba-tag.after-tag  { right: 0.75rem; background: var(--teal); color: white; }

/* ===================================================================
   15. TESTIMONIALS
   =================================================================== */
#testimonials {
  background: var(--light);
  padding: var(--section-py) 0;
}

.testimonials-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}

.testimonials-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 0.5rem;
}

.testimonial-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: var(--transition);
}

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

.t-quote-mark {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.2;
  font-family: Georgia, 'Times New Roman', serif;
  margin-bottom: 0.25rem;
  display: block;
}

.t-stars {
  color: var(--star);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.875rem;
}

.t-text {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.375rem;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.t-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.t-author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--dark);
}

.t-author-loc {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* Carousel controls */
.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  margin-top: 2.5rem;
}

.c-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: var(--gray-300);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  padding: 0;
}

.c-dot.active {
  background: var(--accent);
  width: 28px;
}

/* ===================================================================
   16. CTA BANNER
   =================================================================== */
#cta-banner {
  background: var(--grad-primary);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

#cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='3' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

/* Decorative circles */
#cta-banner::after {
  content: '';
  position: absolute;
  right: -8rem;
  top: -8rem;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-emoji {
  font-size: 3.25rem;
  margin-bottom: 1.125rem;
  display: block;
  animation: float 5s ease-in-out infinite;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.8vw, 2.875rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.875rem;
  letter-spacing: -0.02em;
}

.cta-sub {
  color: rgba(255,255,255,0.82);
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===================================================================
   17. FAQ SECTION
   =================================================================== */
#faq {
  background: var(--white);
  padding: var(--section-py) 0;
}

.faq-wrap {
  max-width: 820px;
  margin: 3rem auto 0;
  display: grid;
  gap: 0.875rem;
}

.faq-item {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}

.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: rgba(0,119,182,0.2);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.375rem 1.625rem;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  gap: 1rem;
  transition: var(--transition);
}

.faq-trigger:hover { background: var(--light); }

.faq-q {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  flex: 1;
}

.faq-plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--gray-500);
  flex-shrink: 0;
  transition: var(--transition);
  line-height: 1;
}

.faq-item.open .faq-plus {
  background: var(--accent);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease);
}

.faq-item.open .faq-body { max-height: 400px; }

.faq-a {
  padding: 0 1.625rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ===================================================================
   18. CONTACT SECTION
   =================================================================== */
#contact {
  background: var(--light);
  padding: var(--section-py) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 3rem;
}

/* Contact info column */
.contact-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  border: 1px solid var(--gray-200);
}

.contact-map-wrap iframe {
  width: 100%;
  height: 250px;
  border: none;
  display: block;
}

.contact-details { display: flex; flex-direction: column; gap: 1.125rem; }

.contact-detail-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-d-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-primary);
}

.contact-d-body h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.contact-d-body p, .contact-d-body a {
  font-size: 0.875rem;
  color: var(--gray-500);
  display: block;
  line-height: 1.55;
  transition: var(--transition);
}

.contact-d-body a:hover { color: var(--primary); }

/* Appointment form card */
.appt-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.appt-form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.375rem;
}

.appt-form-sub {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--dark);
  font-size: 0.9375rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-group input.invalid { border-color: var(--error); }
.form-group textarea { resize: vertical; min-height: 110px; }

.field-error {
  font-size: 0.8rem;
  color: var(--error);
  display: none;
  margin-top: 0.125rem;
}

.form-group.has-error .field-error { display: block; }
.form-group.has-error input,
.form-group.has-error textarea { border-color: var(--error); }

.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* ===================================================================
   19. INSURANCE BAR
   =================================================================== */
.insurance-section {
  background: var(--white);
  padding: 2.5rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.ins-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1.375rem;
}

.ins-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.ins-logo {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-300);
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: default;
}

.ins-logo:hover { color: var(--gray-400); }

/* ===================================================================
   20. FOOTER
   =================================================================== */
footer {
  background: var(--dark);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand-col .logo-text { color: var(--white); }
.footer-brand-col .brand-accent { color: var(--teal) !important; }

.footer-brand-col p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-top: 1.125rem;
  line-height: 1.75;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.soc-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: var(--transition);
}

.soc-link:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(37,99,235,0.4);
}

.footer-col-head {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--white);
  margin-bottom: 1.375rem;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.footer-links-col a:hover { color: var(--teal); padding-left: 4px; }

.footer-contact-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-contact-row:last-child { margin-bottom: 0; }

.f-contact-icon {
  color: var(--teal);
  font-size: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
  transition: var(--transition);
}

.footer-legal a:hover { color: var(--teal); }

/* ===================================================================
   21. RESPONSIVE — TABLET (≤ 1024px)
   =================================================================== */
@media (max-width: 1024px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .header-phone { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge-card { right: 1rem; }
  .about-img-outer img { height: 380px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }

  .contact-grid { grid-template-columns: 1fr; }

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

  .testimonial-inner { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* ===================================================================
   22. RESPONSIVE — MOBILE (≤ 768px)
   =================================================================== */
@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-card { border-right: none; border-bottom: 1px solid var(--gray-200); padding: 1.75rem 1rem; }
  .trust-card:nth-child(odd) { border-right: 1px solid var(--gray-200); }
  .trust-card:nth-last-child(-n+2) { border-bottom: none; }

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

  .doctors-grid { grid-template-columns: 1fr 1fr; }

  .gallery-grid { grid-template-columns: 1fr; max-width: 420px; }

  .form-row-2 { grid-template-columns: 1fr; }

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

  .floating-book .btn-label { display: none; }
  .floating-book { padding: 0.875rem; border-radius: 50%; }
  .floating-book-icon { font-size: 1.35rem; margin: 0; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-stats { gap: 1.75rem; }
  .hero-stat-divider { display: none; }

  .cta-actions { flex-direction: column; align-items: center; }

  .ins-logos { gap: 2rem; }
}

/* ===================================================================
   23. RESPONSIVE — SMALL PHONES (≤ 480px)
   =================================================================== */
@media (max-width: 480px) {
  :root {
    --section-py: 2.75rem;
    --container-px: 1rem;
  }

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

  .services-grid { grid-template-columns: 1fr; }

  .doctors-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }

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

  .hero-ctas { flex-direction: column; align-items: flex-start; }

  .appt-form-card { padding: 1.5rem 1.25rem; }

  .hero-title { letter-spacing: -0.01em; }

  .about-badge-card { right: 0.5rem; bottom: 1rem; }
}

/* ===================================================================
   24. ACCESSIBILITY — Focus styles
   =================================================================== */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
