/* ============================================================
   TWODOTS DENTAL CLINIC — Shared Stylesheet v2
   Font: Plus Jakarta Sans (display) + Inter (body)
   Both are professional, highly legible, and premium-feeling
============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --brand-blue:       #00AEEF;
  --brand-blue-deep:  #0090C8;
  --brand-blue-pale:  #E8F7FD;
  --brand-blue-mid:   #B8E8F8;
  --accent-gold:      #F5A623;
  --accent-teal:      #00C9B1;
  --accent-coral:     #FF6B6B;
  --white:            #FFFFFF;
  --off-white:        #F7FBFE;
  --text-dark:        #0D1B2A;
  --text-mid:         #3B556B;
  --text-light:       #7A95AA;
  --border:           #DCF0F9;
  --shadow-sm:        0 2px 12px rgba(0,174,239,0.08);
  --shadow-md:        0 8px 32px rgba(0,174,239,0.14);
  --shadow-lg:        0 20px 60px rgba(0,174,239,0.18);
  --font-display:     'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body:        'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius-sm:        8px;
  --radius-md:        16px;
  --radius-lg:        28px;
  --nav-height:       76px;
  --transition:       0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ============================================================
   UTILITY
============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2.5px;
  background: var(--brand-blue);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-label.center { justify-content: center; }
.section-label.center::before { display: none; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}
.section-title em { font-style: normal; color: var(--brand-blue); }
.section-title.center { text-align: center; }

/* ============================================================
   ACCENT HIGHLIGHTS
============================================================ */
.accent-bar {
  display: inline-block;
  width: 40px; height: 4px;
  background: linear-gradient(90deg, var(--brand-blue), var(--accent-teal));
  border-radius: 4px;
  margin-bottom: 18px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}
.tag-pill.blue   { background: var(--brand-blue-pale); color: var(--brand-blue-deep); border: 1px solid var(--brand-blue-mid); }
.tag-pill.gold   { background: #FEF3E2; color: #B45309; border: 1px solid #FDE68A; }
.tag-pill.teal   { background: #E6FAF8; color: #0A7C6E; border: 1px solid #99E9E0; }
.tag-pill.coral  { background: #FFF0F0; color: #B91C1C; border: 1px solid #FECACA; }

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 15px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0,174,239,0.35);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--brand-blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,174,239,0.45);
}
.btn-primary svg { transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
}
.btn-secondary:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: var(--brand-blue-pale);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: gap 0.3s ease;
}
.btn-ghost:hover { gap: 14px; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 100px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.3);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.4);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white);
  color: var(--brand-blue);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 100px;
  border: 1.5px solid var(--brand-blue);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-call:hover {
  background: var(--brand-blue-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   SCROLL ANIMATIONS
============================================================ */
.reveal        { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; will-change: opacity, transform; }
.reveal-left   { opacity: 0; transform: translateX(-30px) translateZ(0); transition: opacity 0.6s ease, transform 0.6s ease; will-change: opacity, transform; }
.reveal-right  { opacity: 0; transform: translateX(30px) translateZ(0); transition: opacity 0.6s ease, transform 0.6s ease; will-change: opacity, transform; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateZ(0); }

.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.10s; }
.delay-4 { transition-delay: 0.15s; }
.delay-5 { transition-delay: 0.20s; }
.delay-6 { transition-delay: 0.60s; }
.delay-7 { transition-delay: 0.70s; }
.delay-8 { transition-delay: 0.80s; }

/* ============================================================
   NAVIGATION
============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
  background: rgba(255,255,255,0.0);
}
#navbar.solid,
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
.nav-logo img { height: clamp(80px, 6vw, 120px); width: auto; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text-main { font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-dark); }
.logo-text-sub  { font-family: var(--font-body); font-size: 9.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-blue); margin-top: 3px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-mid);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--brand-blue);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--brand-blue); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--brand-blue) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 100px;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(0,174,239,0.3);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--brand-blue-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,174,239,0.4) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* Drawer close button */
.drawer-close {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-mid);
  padding: 0 0 20px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  width: 100%;
  text-align: left;
  transition: color 0.25s;
}
.drawer-close:hover { color: var(--brand-blue); }
.drawer-close svg { flex-shrink: 0; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--white);
  z-index: 1000;
  box-shadow: -8px 0 48px rgba(0,0,0,0.12);
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-height) + 24px) 32px 48px;
  gap: 8px;
}
.mobile-drawer.open { right: 0; }
.mobile-drawer a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.25s, padding-left 0.25s;
}
.mobile-drawer a:hover,
.mobile-drawer a.active { color: var(--brand-blue); padding-left: 8px; }
.mobile-drawer a:last-child { border-bottom: none; margin-top: 16px; }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(3px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

/* ============================================================
   TRUST STRIP (marquee)
============================================================ */
.trust-strip {
  background: var(--brand-blue);
  padding: 13px 0;
  overflow: hidden;
  margin-bottom: 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.marquee-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  flex-shrink: 0;
}

/* ============================================================
   WHY GRID ALIGNMENT FIX
============================================================ */
.why-nums-wrap { align-self: start; }

/* ============================================================
   PAGE HERO (inner pages)
============================================================ */
.page-hero {
  padding: 72px 0 80px;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,174,239,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.025em;
}
.page-hero h1 em { font-style: normal; color: var(--brand-blue); }
.page-hero-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  font-weight: 400;
  line-height: 1.75;
  max-width: 560px;
  margin-top: 18px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-light);
  margin-bottom: 24px;
  font-weight: 500;
}
.breadcrumb a { color: var(--text-light); transition: color 0.25s; }
.breadcrumb a:hover { color: var(--brand-blue); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current { color: var(--brand-blue); font-weight: 600; }

/* ============================================================
   FLOATING WHATSAPP BUTTON
============================================================ */
.float-wa {
  position: fixed;
  bottom: 32px; right: 28px;
  z-index: 900;
  background: #25D366;
  color: var(--white);
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}

/* ============================================================
   GOOGLE REVIEWS CIRCLE BUTTON
   Sits directly above the WhatsApp button, same size
============================================================ */
.float-reviews {
  position: fixed;
  bottom: calc(32px + 58px + 14px); /* WA bottom + WA height + gap */
  right: 28px;
  z-index: 900;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 24px rgba(0,0,0,0.13), 0 1px 4px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-decoration: none;
  overflow: visible;
}
.float-reviews:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(0,0,0,0.18);
}
.float-reviews svg {
  width: 28px; height: 28px;
  flex-shrink: 0;
}

/* Tooltip that expands on hover — shows rating */
.float-reviews-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px 7px 12px;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 7px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) translateX(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.float-reviews:hover .float-reviews-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.tooltip-stars { color: #F59E0B; font-size: 13px; letter-spacing: -1px; line-height: 1; }
.tooltip-text  { font-size: 12px; font-weight: 700; color: var(--text-dark); font-family: var(--font-body); }

/* ============================================================
   SECTION SPACING
============================================================ */
.section { padding: 100px 0; }
.section-sm { padding: 72px 0; }

/* ============================================================
   IMAGE PLACEHOLDER SYSTEM
============================================================ */
.img-slot {
  position: relative;
  background: linear-gradient(135deg, var(--brand-blue-pale), var(--brand-blue-mid));
  overflow: hidden;
}
.img-slot img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.img-slot .img-placeholder-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--brand-blue);
  pointer-events: none;
  z-index: 0;
}
.img-slot .img-placeholder-text .ph-icon { font-size: 2rem; opacity: 0.45; }
.img-slot .img-placeholder-text .ph-name { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.35; }
.img-slot img:not([src=""]) { z-index: 1; }

/* ============================================================
   CONTACT CARDS
============================================================ */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-blue);
}
.contact-info-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 5px; }
.contact-info-value { font-size: 15px; font-weight: 600; color: var(--text-dark); line-height: 1.4; }
.contact-info-sub   { font-size: 12.5px; color: var(--text-light); margin-top: 2px; }

/* Map */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  height: 420px;
  background: var(--brand-blue-pale);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* Hours table */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 5px 0; font-size: 13.5px; color: var(--text-mid); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--text-dark); }
.open-now { color: #16A34A !important; }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.55);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { height: clamp(44px, 6vw, 64px); width: auto; display: block; border-radius: 8px; background: white; padding: 4px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-tagline { font-size: 14px; line-height: 1.7; max-width: 270px; font-weight: 400; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 20px; }
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.25s; }
.footer-col-links a:hover { color: var(--brand-blue); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.footer-bottom a { color: var(--brand-blue); }

/* ============================================================
   LIGHTBOX
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  cursor: default;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: rgba(255,255,255,0.7);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.25s;
}
.lightbox-close:hover { color: #fff; }

/* ============================================================
   QUAL CHECK (checkmark list item)
============================================================ */
.qual-list { display: flex; flex-direction: column; gap: 14px; }
.qual-item { display: flex; align-items: flex-start; gap: 14px; font-size: 14.5px; color: var(--text-mid); line-height: 1.55; font-weight: 400; }
.qual-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-blue-pale);
  border: 1.5px solid var(--brand-blue-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-logo img { height: 70px !important; }
  .section { padding: 72px 0; }
  .section-sm { padding: 52px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

/* ============================================================
   TESTIMONIALS SLIDER
============================================================ */
#testimonials { padding: 100px 0; background: var(--off-white); }
.testimonials-track-wrap {
  overflow: hidden;
  position: relative;
  margin: 0 -28px;
  padding: 0 28px;
}
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
  transform: translateZ(0);
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  min-width: 360px;
  max-width: 360px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-stars { display: flex; gap: 3px; }
.testimonial-stars span { color: #F59E0B; font-size: 16px; }
.testimonial-text {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: var(--white);
  flex-shrink: 0;
  font-family: var(--font-display);
}
.author-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.author-meta { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.testimonials-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  color: var(--text-mid);
}
.testimonials-btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: var(--white);
  transform: scale(1.05);
}
.testimonials-dots { display: flex; gap: 8px; }
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.t-dot.active { background: var(--brand-blue); transform: scale(1.3); }

/* ============================================================
   CLINIC HOURS / TIMETABLE
============================================================ */
.hours-section { padding: 80px 0; background: var(--white); }
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hours-table-wrap {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hours-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.hours-row-item:last-child { border-bottom: none; }
.hours-row-item.today { background: var(--brand-blue-pale); }
.hours-day-name { font-weight: 600; color: var(--text-dark); }
.hours-time-val { font-weight: 500; color: var(--text-mid); }
.hours-time-val.open { color: #16A34A; font-weight: 700; }
.hours-time-val.appt { color: var(--brand-blue); font-weight: 700; }
.hours-time-val.closed { color: #DC2626; }
.hours-cta-wrap { display: flex; flex-direction: column; gap: 20px; }
.hours-cta-wrap h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--text-dark); line-height: 1.2; letter-spacing: -0.02em; }
.hours-cta-wrap p { font-size: 1rem; color: var(--text-mid); line-height: 1.75; }
.hours-cta-btns { display: flex; flex-direction: column; gap: 12px; }

/* ============================================================
   SERVICES — new services added
============================================================ */
.svc-card-cat.diagnosis  { background: rgba(0,174,239,0.75); }
.svc-card-cat.gum        { background: rgba(0,201,177,0.85); }
.svc-card-cat.tmj        { background: rgba(245,166,35,0.85); }

/* ============================================================
   RESPONSIVE ADDITIONS
============================================================ */
@media (max-width: 768px) {
  .testimonial-card { min-width: 300px; max-width: 300px; }
  .hours-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .testimonial-card { min-width: 280px; max-width: 280px; }
}

/* ============================================================
   MOBILE ALIGNMENT FIXES
============================================================ */
@media (max-width: 768px) {
  /* Hero stats — tighter gaps on small screens */
  .hero-stats { gap: 0; overflow-x: auto; }
  .hero-stat { min-width: 80px; }
  .hero-stat + .hero-stat { padding-left: 16px; padding-right: 16px; }
  .marquee-item { padding: 0 14px; font-size: 11px; }

  /* Trust strip — smaller text */
  .marquee-item { font-size: 11px; padding: 0 18px; }

  /* Why section — stack cleanly */
  .why-cards-unified { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why-feat, .why-num-card { padding: 14px; }
  .why-feat p { font-size: 11.5px; line-height: 1.4; }
  .why-big { font-size: 2.2rem; }

  /* Contact layout */
  .contact-layout { grid-template-columns: 1fr; }
  .map-col { position: static; }
  .contact-btns { flex-direction: column; }

  /* Hours section */
  .hours-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-tagline { font-size: 13px; }

  /* Testimonials */
  .testimonial-card { min-width: 280px; max-width: 280px; padding: 22px 18px; }

  /* Gallery */
  .gal-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  /* Nav */
  .container { padding: 0 16px; }

  /* Hero */
  .hero-content { padding-top: calc(var(--nav-height) + 32px); padding-bottom: 52px; }
  .hero-p { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-actions { gap: 10px; }
  .stat-num { font-size: 1.9rem; }
  .stat-label { font-size: 11px; }

  /* Why */
  .why-feat-icon { font-size: 1.2rem; }
  .why-feat h4 { font-size: 13px; }
  .why-feat p { font-size: 12px; }
  .why-big { font-size: 2rem; }
  .why-label { font-size: 11.5px; }

  /* Services grid — 2x2 on all small screens */
  .services-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .svc-card-body { padding: 14px 14px 16px; }
  .svc-card-body h3 { font-size: 0.9rem; margin-bottom: 0; }
  .svc-card-body p, .svc-card-body ul, .svc-card-link { display: none; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; }

  /* Gallery — 1 col on very small */
  .gal-grid { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .hours-row { font-size: 13px; }
  .contact-info-value { font-size: 14px; }
}

@media (max-width: 480px) {
  .float-wa {
    width: 48px; height: 48px;
    bottom: 20px; right: 16px;
  }
  .float-reviews {
    width: 48px; height: 48px;
    bottom: calc(20px + 48px + 12px);
    right: 16px;
  }
  .float-reviews svg { width: 22px; height: 22px; }
  .float-reviews-tooltip { display: none; }
}


/* ============================================================
   COMPREHENSIVE MOBILE FIXES — final pass
============================================================ */

/* Filter row on mobile — horizontal scroll, no wrap, looks intentional */
@media (max-width: 768px) {
  /* filter-row: nowrap + scroll already set in inline CSS */
  .filter-btn { flex-shrink: 0; }

  /* Services grid — 2x2 uniform */
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .svc-card-body { padding: 14px 14px 16px; }
  .svc-card-body h3 { font-size: 0.95rem; margin-bottom: 0; }
  .svc-card-body p,
  .svc-card-body ul,
  .svc-card-link { display: none; }

  /* Hero stats — 3 stats fit neatly, no scroll */
  .hero-stats {
    overflow-x: visible;
    gap: 0;
  }
  .hero-stat { padding-right: 16px; }
  .hero-stat + .hero-stat { padding-left: 16px; padding-right: 16px; }
  .stat-num { font-size: 1.8rem; }
  .stat-label { font-size: 10.5px; }

  /* Contact map — reduce height on mobile */

  /* Testimonials dots — scrollable row, no wrap */
  .testimonials-dots {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    max-width: 160px;
    flex-wrap: nowrap;
  }
  .testimonials-dots::-webkit-scrollbar { display: none; }

  /* Footer — hide redundant nav/services cols on mobile */
  .footer-nav-col,
  .footer-services-col { display: none; }

  /* Why num cards hidden */
  .why-num-mobile-hide { display: none !important; }
  .why-cards-unified {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  /* Hero stats — proportional on tiny screens */
  .hero-stat { min-width: 0; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 10px; }

  /* Services 2x2 on all small screens */
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* Footer — single column, only brand + contact */
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .footer-nav-col,
  .footer-services-col { display: none; }

  /* Contact map */

  /* Why section — tighten */
  .why-feat { padding: 12px; }
  .why-feat h4 { font-size: 13px; }
  .why-feat p { font-size: 11.5px; }
}


/* ============================================================
   CONTACT EXTERIOR PHOTO COLUMN
============================================================ */
.contact-img-col {
  display: flex;
  flex-direction: column;
}
.contact-exterior-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex: 1;
  min-height: 480px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-exterior-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.contact-exterior-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 28px;
  gap: 10px;
}
.contact-exterior-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--white);
  width: fit-content;
}
.contact-exterior-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 100px;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-exterior-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
@media (max-width: 768px) {
  .contact-exterior-wrap { min-height: 260px; }
  .contact-img-col { margin-top: 0; }
}

.hero-reviews-badge { display: none; }
