/* =============================================================
   ADVANCED DENTAL SINGAPORE — MAIN STYLESHEET
   ============================================================= */

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

/* ---- CSS Variables ---- */
:root {
  --navy:        #0D2137;
  --navy-mid:    #163355;
  --navy-light:  #1E4471;
  --gold:        #C4963A;
  --gold-light:  #D4A94A;
  --gold-pale:   #FBF3E3;
  --white:       #FFFFFF;
  --off-white:   #F8FAFD;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-400:    #94A3B8;
  --gray-600:    #475569;
  --gray-800:    #1E293B;
  --text:        #0D2137;
  --text-muted:  #475569;

  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 4px rgba(13,33,55,0.07);
  --shadow:    0 4px 18px rgba(13,33,55,0.10);
  --shadow-lg: 0 20px 48px rgba(13,33,55,0.14);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s var(--ease);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; font-weight: 600; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---- Utility ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.centered   { text-align: center; }
.centered .section-sub { margin-left: auto; margin-right: auto; }

.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 56px;
  line-height: 1.75;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.btn svg { width: 16px; height: 16px; }

.btn-gold {
  background: var(--gold);
  color: white;
  box-shadow: 0 4px 20px rgba(196,150,58,0.38);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196,150,58,0.48);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}

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

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--navy);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(13,33,55,0.09);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.navbar-logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; fill: white; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700;
  color: white;
  line-height: 1.1;
  transition: color 0.3s;
}
.navbar.scrolled .logo-name { color: var(--navy); }
.logo-sub {
  font-size: 10px; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.navbar.scrolled .logo-sub { color: var(--gold); }

/* Nav links */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-link:hover { color: white; }
.nav-link:hover::after { width: 100%; }
.navbar.scrolled .nav-link { color: var(--gray-600); }
.navbar.scrolled .nav-link:hover { color: var(--navy); }

/* Navbar right */
.navbar-right { display: flex; align-items: center; gap: 20px; }
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.82);
  transition: var(--transition);
}
.nav-phone svg { width: 14px; height: 14px; fill: var(--gold); }
.navbar.scrolled .nav-phone { color: var(--gray-600); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  width: 22px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.navbar.scrolled .hamburger span { background: var(--navy); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 600;
  color: white;
}
.mobile-close {
  position: absolute;
  top: 24px; right: 28px;
  background: none; border: none;
  color: white;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(140deg, #091a2e 0%, #0d2137 40%, #163355 80%, #1a4a72 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 88px;
  overflow: hidden;
}

/* Decorative blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(196,150,58,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(30,68,113,0.5) 0%, transparent 65%);
  pointer-events: none;
}

/* Grid dots pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Hero text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,150,58,0.12);
  border: 1px solid rgba(196,150,58,0.28);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.25); }
}
.hero-badge span {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  color: white;
  margin-bottom: 24px;
  line-height: 1.08;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  line-height: 1.78;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 32px;
  width: fit-content;
}
.hero-stat { border-left: 2px solid rgba(196,150,58,0.35); padding-left: 18px; }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700;
  color: white; line-height: 1;
}
.hero-stat-label {
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-card-glow {
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(196,150,58,0.25) 0%, transparent 65%);
  pointer-events: none;
}
.hero-tooth {
  width: 160px;
  opacity: 0.18;
}
.hero-float {
  position: absolute;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.hero-float-tl { top: 32px; left: -36px; }
.hero-float-br { bottom: 56px; right: -36px; }
.float-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 3px;
}
.float-val {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: white; line-height: 1;
}
.float-sub { font-size: 11px; color: var(--gold); margin-top: 2px; }

/* ================================================================
   TRUST BAR
   ================================================================ */
.trust-bar {
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 60px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 40px;
  border-right: 1px solid var(--gray-200);
}
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child  { border-right: none; }
.trust-icon {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 26px; height: 26px; fill: var(--gold); }
.trust-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.trust-lbl {
  font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ================================================================
   TREATMENTS SECTION (Home)
   ================================================================ */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.treatment-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.treatment-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.treatment-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-7px);
}
.treatment-card:hover::after { transform: scaleX(1); }

.t-icon {
  width: 60px; height: 60px;
  background: var(--gold-pale);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.t-icon svg { width: 30px; height: 30px; fill: var(--gold); }

.t-name {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.t-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.t-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.t-tag {
  font-size: 11px; font-weight: 600;
  padding: 4px 10px;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 50px;
}
.t-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
  color: var(--navy);
  transition: var(--transition);
}
.t-link svg { width: 14px; height: 14px; }
.t-link:hover { color: var(--gold); gap: 10px; }

/* ================================================================
   WHY US
   ================================================================ */
.why-us { background: var(--off-white); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

/* Visual side */
.why-visual { position: relative; }
.why-img {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--navy) 0%, #1a4a72 100%);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.why-img svg { width: 120px; height: 120px; opacity: 0.12; fill: white; }
.why-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,33,55,0.65) 0%, transparent 50%);
}
.why-badge {
  position: absolute;
  bottom: 28px; left: 24px; right: 24px;
  background: white;
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.why-badge-icon {
  width: 42px; height: 42px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-badge-icon svg { width: 22px; height: 22px; fill: var(--gold); }
.why-badge-txt strong { display: block; font-size: 14px; color: var(--navy); font-weight: 700; }
.why-badge-txt span  { font-size: 12px; color: var(--text-muted); }

/* Features */
.why-features { display: flex; flex-direction: column; gap: 26px; margin-top: 40px; }
.why-feat {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.why-feat:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateX(4px); }
.why-feat-icon {
  width: 42px; height: 42px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-feat-icon svg { width: 20px; height: 20px; fill: var(--gold); }
.why-feat h4 { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.why-feat p  { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testi-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: var(--transition);
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: 20px; right: 26px;
  font-family: 'Playfair Display', serif;
  font-size: 72px; font-weight: 700;
  color: var(--gray-100);
  line-height: 1;
}
.testi-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-5px); }
.testi-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.star { font-size: 16px; color: var(--gold); }
.testi-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700;
  color: white; flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.testi-loc  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ================================================================
   LOCATIONS (Homepage widget)
   ================================================================ */
.locations-section { background: var(--navy); color: white; }
.locations-section .section-title { color: white; }
.locations-section .section-sub   { color: rgba(255,255,255,0.6); }
.loc-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}
.loc-list { display: flex; flex-direction: column; gap: 10px; }
.loc-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.loc-item:hover, .loc-item.active {
  background: rgba(196,150,58,0.12);
  border-color: rgba(196,150,58,0.35);
}
.loc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.loc-name { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,0.88); }
.loc-area { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 1px; }

/* Map panel */
.loc-map {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
}
.sg-map-svg { width: 100%; height: 100%; }
.map-pin {
  cursor: pointer;
  transition: var(--transition);
}
.map-pin:hover circle { r: 10; }
.loc-cta { margin-top: 28px; display: flex; gap: 14px; }

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--gold) 0%, #a87c28 100%);
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 65%);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
}
.cta-text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: white; margin-bottom: 12px; }
.cta-text p  { font-size: 1.05rem; color: rgba(255,255,255,0.82); max-width: 460px; }
.cta-btns    { display: flex; gap: 14px; flex-shrink: 0; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: #101c29;
  color: rgba(255,255,255,0.65);
  padding: 84px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.3fr;
  gap: 56px;
  margin-bottom: 64px;
}
.footer-brand p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  margin-top: 18px;
  max-width: 270px;
}
.footer-socials { display: flex; gap: 10px; margin-top: 24px; }
.soc-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
}
.soc-btn:hover { background: var(--gold); border-color: var(--gold); }
.soc-btn svg { width: 15px; height: 15px; fill: rgba(255,255,255,0.6); }
.soc-btn:hover svg { fill: white; }

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
  color: white; margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.48);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.f-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,0.5); }
.f-contact-item svg { width: 15px; height: 15px; fill: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.28); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 12.5px; color: rgba(255,255,255,0.28); transition: var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ================================================================
   PAGE HEADER (inner pages)
   ================================================================ */
.page-header {
  background: linear-gradient(140deg, #091a2e 0%, #0d2137 40%, #163355 100%);
  padding: 156px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(196,150,58,0.10) 0%, transparent 65%);
}
.page-header-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-header-inner { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.breadcrumb a   { font-size: 12px; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { font-size: 12px; color: rgba(255,255,255,0.25); }
.page-header h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); color: white; margin-bottom: 16px; }
.page-header p  { font-size: 1.1rem; color: rgba(255,255,255,0.65); max-width: 520px; line-height: 1.72; }

/* ================================================================
   TREATMENTS PAGE
   ================================================================ */
.treatment-tabs {
  display: flex;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 60px;
  overflow-x: auto;
}
.tab-btn {
  padding: 16px 28px;
  font-size: 14px; font-weight: 600;
  color: var(--text-muted);
  background: none; border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.tab-btn:hover   { color: var(--navy); }
.tab-btn.active  { color: var(--navy); border-bottom-color: var(--gold); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.svc-detail {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
}
.svc-detail:last-child { border-bottom: none; padding-bottom: 0; }
.svc-visual {
  background: linear-gradient(145deg, var(--navy) 0%, #1a4a72 100%);
  border-radius: 20px;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.svc-visual svg { width: 88px; height: 88px; fill: rgba(255,255,255,0.12); }
.svc-visual-num {
  position: absolute;
  bottom: 20px; right: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 72px; font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 1;
}
.svc-body h3  { font-size: 1.65rem; color: var(--navy); margin-bottom: 14px; }
.svc-body p   { font-size: 14.5px; color: var(--text-muted); line-height: 1.77; margin-bottom: 22px; }
.svc-tags     { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.svc-tag      { padding: 6px 14px; background: var(--gold-pale); color: #8a6820; border-radius: 50px; font-size: 12px; font-weight: 600; }

/* ================================================================
   BOOK PAGE
   ================================================================ */
.book-wrap {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 56px;
  align-items: start;
}
.book-form { background: white; border: 1.5px solid var(--gray-200); border-radius: 20px; padding: 40px; }
.book-form h2 { font-size: 1.7rem; color: var(--navy); margin-bottom: 8px; }
.book-form > p { font-size: 14px; color: var(--text-muted); margin-bottom: 36px; }

.form-step {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px; margin-top: 32px;
}
.form-step:first-of-type { margin-top: 0; }
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.form-step h3 { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 5px; }
.fg.full { grid-column: 1 / -1; }
.fg label { font-size: 12px; font-weight: 700; color: var(--navy); letter-spacing: 0.3px; }
.fg input, .fg select, .fg textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: var(--text);
  background: white; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,33,55,0.07);
}
.fg textarea { min-height: 90px; resize: vertical; }

.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.time-slot {
  padding: 10px 6px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  background: white;
}
.time-slot:hover   { border-color: var(--navy); color: var(--navy); }
.time-slot.active  { background: var(--navy); border-color: var(--navy); color: white; }

/* Sidebar info card */
.book-info { display: flex; flex-direction: column; gap: 22px; }
.info-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.info-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 16px; }
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-muted); }
.info-item svg { width: 16px; height: 16px; fill: var(--gold); flex-shrink: 0; margin-top: 2px; }
.info-item strong { color: var(--navy); font-weight: 600; display: block; font-size: 13px; }
.info-item span   { font-size: 12.5px; }

/* ================================================================
   LOCATIONS PAGE
   ================================================================ */
.locations-filter {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--gray-200);
  background: white;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.locs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.loc-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.loc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent; }

.loc-card-top {
  height: 130px;
  background: linear-gradient(140deg, var(--navy) 0%, #1a4a72 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.loc-card-top svg { width: 48px; height: 48px; fill: rgba(196,150,58,0.45); }
.loc-area-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 4px 10px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.loc-card-body { padding: 22px 24px; }
.loc-card-name { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.loc-card-addr { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin-bottom: 14px; }
.loc-card-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.loc-card-meta svg { width: 13px; height: 13px; fill: var(--gold); }
.loc-card-foot {
  padding: 0 24px 22px;
  display: flex; gap: 10px;
}

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--navy) 0%, #1a4a72 100%);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-img svg { width: 130px; height: 130px; opacity: 0.10; fill: white; }
.about-img-stat {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
}
.about-img-stat.top-right { top: 28px; right: -28px; }
.about-img-stat.bot-left  { bottom: 28px; left: -28px; }
.ais-num  { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--navy); line-height: 1; }
.ais-lbl  { font-size: 11px; font-weight: 600; color: var(--text-muted); margin-top: 3px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 64px;
}
.value-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  transition: var(--transition);
}
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.val-icon {
  width: 60px; height: 60px;
  background: var(--navy);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.val-icon svg { width: 28px; height: 28px; fill: var(--gold); }
.value-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; }
.value-card p  { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }

.timeline { margin-top: 8px; }
.tl-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::after {
  content: '';
  position: absolute;
  left: 35px; top: 36px; bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.tl-item:last-child::after { display: none; }
.tl-year {
  font-family: 'Playfair Display', serif;
  font-size: 13px; font-weight: 700;
  color: var(--gold);
  background: var(--gold-pale);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  height: fit-content;
}
.tl-content h4 { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 5px; padding-top: 4px; }
.tl-content p  { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* ================================================================
   BUTTON VARIANTS (additional)
   ================================================================ */
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
}

/* ================================================================
   DYNAMIC CLINIC CARD (Airtable CMS)
   ================================================================ */
.loc-card__img {
  height: 170px;
  background: linear-gradient(140deg, var(--navy) 0%, #1a4a72 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 12px;
  gap: 6px;
  flex-wrap: wrap;
}
.loc-card__badge {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.loc-card__body { padding: 22px 24px 24px; }
.loc-card__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}
.loc-card__addr {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 10px;
}
.loc-card__mrt {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.loc-card__mrt svg { fill: var(--gold); flex-shrink: 0; }
.loc-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.loc-card__rating .star {
  width: 14px; height: 14px;
  fill: var(--gold);
  flex-shrink: 0;
}
.loc-card__rating .star.half { opacity: 0.5; }
.loc-card__reviews {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 12px;
}
.loc-card__hours {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 12px;
  max-height: 78px;
  overflow: hidden;
  position: relative;
}
.loc-card__hours::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 24px;
  background: linear-gradient(transparent, white);
}
.loc-card__phone {
  font-size: 13px;
  margin-bottom: 8px;
}
.loc-card__phone a {
  color: var(--navy);
  font-weight: 600;
  transition: color 0.2s;
}
.loc-card__phone a:hover { color: var(--gold); }
.loc-card__dentists {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.loc-card__dentists strong { color: var(--navy); }
.loc-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

/* ================================================================
   DOCTOR CARD (Airtable CMS)
   ================================================================ */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.doc-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.doc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}
.doc-card__photo {
  height: 220px;
  background: linear-gradient(145deg, var(--navy) 0%, #1a4a72 100%);
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
}
.doc-card__body { padding: 22px 24px 24px; }
.doc-card__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.25;
}
.doc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 50px;
}
.tag--role {
  background: var(--gold-pale);
  color: #8a6820;
}
.tag--dept {
  background: var(--gray-100);
  color: var(--gray-600);
}
.doc-card__quals {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-style: italic;
}
.doc-card__clinics {
  font-size: 12px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 6px;
}
.doc-card__skills {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.doc-card__body .btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

/* ================================================================
   BOOKING HUB (book.html)
   ================================================================ */
.book-hub-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--gray-200);
}
.book-hub-tab {
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.book-hub-tab:hover { color: var(--navy); }
.book-hub-tab.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.book-hub-panel { display: none; }
.book-hub-panel.active { display: block; }

.dept-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* ================================================================
   LOADING SKELETONS
   ================================================================ */
.skeleton-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.skeleton-img {
  height: 170px;
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
.skeleton-card--doctor .skeleton-img { height: 220px; }
.skeleton-body { padding: 22px 24px; }
.skeleton-line {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  margin-bottom: 10px;
}
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w80 { width: 80%; }
.skeleton-line.w40 { width: 40%; }
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ================================================================
   CMS ERROR STATE
   ================================================================ */
.cms-error {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  grid-column: 1 / -1;
}
.cms-error a { color: var(--gold); font-weight: 600; }

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .treatments-grid       { grid-template-columns: repeat(2, 1fr); }
  .trust-grid            { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .trust-item            { border-right: none; padding: 0; }
  .footer-top            { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-inner            { gap: 40px; }
  .about-intro           { gap: 48px; }
  .values-grid           { grid-template-columns: repeat(2, 1fr); }
  .book-wrap             { grid-template-columns: 1fr; }
  .book-info             { display: grid; grid-template-columns: 1fr 1fr; }
  .locs-grid             { grid-template-columns: repeat(2, 1fr); }
  .doc-grid              { grid-template-columns: repeat(2, 1fr); }
  .svc-detail            { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .navbar-nav, .nav-phone, .navbar-right .btn { display: none; }
  .hamburger { display: flex; }

  .hero-inner    { grid-template-columns: 1fr; }
  .hero-visual   { display: none; }
  .hero-stats    { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  .why-inner     { grid-template-columns: 1fr; }
  .why-visual    { display: none; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .treatments-grid   { grid-template-columns: 1fr; }
  .trust-grid        { grid-template-columns: 1fr 1fr; }
  .locs-grid         { grid-template-columns: 1fr; }
  .doc-grid          { grid-template-columns: 1fr; }
  .values-grid       { grid-template-columns: 1fr; }
  .loc-inner         { grid-template-columns: 1fr; }
  .about-intro       { grid-template-columns: 1fr; }
  .about-visual      { display: none; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-btns  { flex-wrap: wrap; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }

  .form-grid  { grid-template-columns: 1fr; }
  .time-grid  { grid-template-columns: repeat(3, 1fr); }
  .book-info  { grid-template-columns: 1fr; }

  .section { padding: 64px 0; }
}
