/* =============================================
   BRIGHT BEAM DENTAL CARE — style.css
   ============================================= */

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

/* ── CSS VARIABLES ───────────────────────────── */
:root {
  --blue-900: #0a1628;
  --blue-800: #0d1f3c;
  --blue-700: #0f2d5e;
  --blue-600: #1a3d7c;
  --blue-500: #1e4d9a;
  --blue-400: #2563c4;
  --blue-300: #4b81d4;
  --blue-100: #dce9f9;
  --blue-50:  #f0f5fc;
  --yellow:   #f5c842;
  --yellow-dark: #d4a820;
  --white:    #ffffff;
  --gray-100: #f8f9fb;
  --gray-200: #eef0f4;
  --gray-400: #9ba3b2;
  --gray-600: #5c6370;
  --gray-800: #2e3340;
  --text:     #1c2333;
  --radius:   8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(10,22,40,0.08);
  --shadow-md: 0 6px 24px rgba(10,22,40,0.12);
  --shadow-lg: 0 16px 48px rgba(10,22,40,0.18);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  color: var(--blue-800);
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section { padding: 96px 0; }

/* ── UTILITY ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--yellow);
  color: var(--blue-900);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245,200,66,0.35);
}

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

.btn-blue {
  background: var(--blue-500);
  color: var(--white);
}
.btn-blue:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 540px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-sub {
  margin: 0 auto;
}

/* ── NAVIGATION ──────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  padding: 20px 0;
}

#navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(10,22,40,0.1);
  padding: 14px 0;
}

#navbar.scrolled .nav-logo span { color: var(--blue-700); }
#navbar.scrolled .nav-logo strong { color: var(--yellow-dark); }
#navbar.scrolled .nav-links a { color: var(--gray-800); }
#navbar.scrolled .nav-links a:hover { color: var(--blue-500); }
#navbar.scrolled .nav-cta { background: var(--blue-500); color: var(--white); }

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

.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.nav-logo span { display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.nav-logo strong { color: var(--yellow); }

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.03em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--yellow);
  color: var(--blue-900);
  padding: 10px 24px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

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

#navbar.scrolled .hamburger span { background: var(--blue-800); }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--blue-900);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

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

/* ── HERO ─────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 860px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10,22,40,0.86) 45%, rgba(10,22,40,0.4) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 5%;
  padding-top: 72px;
}

.hero-text {
  max-width: 580px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(245,200,66,0.45);
  border-radius: 40px;
  padding: 5px 14px;
  margin-bottom: 18px;
}

.hero-badge span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-text h1 {
  font-size: clamp(1.65rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.hero-text h1 em {
  font-style: normal;
  color: var(--yellow);
}

.hero-text p {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  line-height: 1.65;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 12px 26px;
  font-size: 0.85rem;
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: var(--transition);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--yellow);
  width: 24px;
  border-radius: 4px;
}

/* ── TRUST BAR ───────────────────────────────── */
#trust-bar {
  background: var(--blue-800);
  padding: 24px 0;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-avatars {
  display: flex;
}

.trust-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--blue-800);
  object-fit: cover;
  margin-left: -10px;
}

.trust-avatars img:first-child { margin-left: 0; }

.trust-text strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}

.trust-text span {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.55);
}

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

.trust-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-meta svg { color: var(--yellow); flex-shrink: 0; }

.trust-meta span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* ── ABOUT ───────────────────────────────────── */
#about {
  background: var(--white);
}

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

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

.about-img-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--blue-500);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-badge strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}

.about-badge span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

.about-content .section-title { margin-bottom: 8px; }
.about-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-400);
  margin-bottom: 24px;
  font-family: 'Montserrat', sans-serif;
}

.about-bio {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.stat strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-700);
}

.stat span {
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* ── SERVICES ─────────────────────────────────── */
#services {
  background: var(--gray-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-card.hidden { display: none; }

.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 10px;
}

.service-body p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.service-body .btn {
  align-self: flex-start;
  font-size: 0.8rem;
  padding: 10px 20px;
}

.services-toggle {
  text-align: center;
  margin-top: 48px;
}

/* ── BEFORE & AFTER ──────────────────────────── */
#before-after {
  background: var(--white);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ba-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.ba-card.hidden { display: none; }

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

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

.ba-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 16px;
  background: linear-gradient(transparent, rgba(10,22,40,0.75));
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ba-toggle {
  text-align: center;
  margin-top: 40px;
}

/* ── WHY CHOOSE US ───────────────────────────── */
#why-us {
  background: var(--blue-900);
  position: relative;
  overflow: hidden;
}

#why-us::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(30,77,154,0.25);
  pointer-events: none;
}

#why-us .section-label { color: var(--yellow); }
#why-us .section-title { color: var(--white); }
#why-us .section-sub { color: rgba(255,255,255,0.6); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(245,200,66,0.3);
  transform: translateY(-4px);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(245,200,66,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.why-icon svg { color: var(--yellow); }

.why-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ── HOW IT WORKS ────────────────────────────── */
#how-it-works {
  background: var(--gray-100);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 32px);
  right: calc(12.5% + 32px);
  height: 2px;
  background: linear-gradient(to right, var(--blue-300), var(--blue-100));
  z-index: 0;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue-500);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(30,77,154,0.4);
}

.step-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── FAQ ─────────────────────────────────────── */
#faq {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.faq-aside h2 { font-size: 2rem; margin-bottom: 16px; }
.faq-aside p { color: var(--gray-600); line-height: 1.75; margin-bottom: 32px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

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

.faq-item.open { border-color: var(--blue-300); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-800);
  background: var(--white);
  gap: 12px;
  transition: var(--transition);
}

.faq-item.open .faq-q { background: var(--blue-50); color: var(--blue-600); }

.faq-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.faq-item.open .faq-arrow {
  background: var(--blue-500);
  transform: rotate(180deg);
}

.faq-item.open .faq-arrow svg { color: var(--white); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-a-inner {
  padding: 0 20px 18px;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ── TESTIMONIALS ────────────────────────────── */
#testimonials {
  background: var(--gray-100);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testi-card.hidden { display: none; }
.testi-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.star { color: #f5b942; font-size: 1rem; }

.testi-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.testi-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-author strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue-800);
}

.testi-author span {
  font-size: 0.775rem;
  color: var(--gray-400);
}

.testi-toggle {
  text-align: center;
  margin-top: 48px;
}

/* ── TICKER ──────────────────────────────────── */
#ticker {
  background: var(--blue-50);
  padding: 40px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 20px;
  animation: ticker 32s linear infinite;
  width: max-content;
}

.ticker-track img {
  width: 240px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── CTA SECTION ─────────────────────────────── */
#cta-section {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(13,31,60,0.82) 100%);
}

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

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.cta-content h2 span { color: var(--yellow); }

.cta-content p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  font-size: 1.05rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── CONTACT ─────────────────────────────────── */
#contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { font-size: 1.75rem; margin-bottom: 12px; }
.contact-info p { color: var(--gray-600); margin-bottom: 36px; line-height: 1.7; }

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { color: var(--blue-500); }

.contact-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 2px;
}

.contact-item span, .contact-item a {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.contact-item a:hover { color: var(--blue-500); }

.contact-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.contact-wa:hover { background: #1dba58; transform: translateY(-2px); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--blue-900);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 300px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-socials a:hover { background: var(--blue-500); }
.footer-socials svg { color: rgba(255,255,255,0.7); }

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-bottom a { color: var(--yellow); }

/* ── FLOATING ELEMENTS ───────────────────────── */
.floating-wa {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 900;
  transition: var(--transition);
}

.floating-wa:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
.floating-wa svg { color: var(--white); }

.sticky-book {
  position: fixed;
  bottom: 28px;
  right: 24px;
  background: var(--yellow);
  color: var(--blue-900);
  padding: 13px 22px;
  border-radius: 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(245,200,66,0.4);
  z-index: 900;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-book:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(245,200,66,0.55); }

#back-top {
  position: fixed;
  bottom: 28px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

#back-top.visible { opacity: 1; pointer-events: all; }
#back-top:hover { background: var(--blue-500); transform: translateY(-2px); }
#back-top svg { color: var(--white); }

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { gap: 48px; }
}

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

  section { padding: 72px 0; }

  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap img { height: 400px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .trust-inner { justify-content: center; }
  .trust-divider { display: none; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .about-badge { right: 0; bottom: -10px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  section { padding: 56px 0; }
}

/* ═══════════════════════════════════════════
   ADDITIONS & UPDATES
═══════════════════════════════════════════ */

/* ── LOGO REWORK ─────────────────────────── */
.nav-logo strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.nav-logo strong span {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
#navbar.scrolled .nav-logo strong { color: var(--blue-700); }
#navbar.scrolled .nav-logo strong span { color: var(--gray-600); }

/* ── WHY CAROUSEL ────────────────────────── */
.why-carousel-wrap {
  position: relative;
}

.why-carousel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* On mobile: show cards one at a time via slider */
.why-carousel .why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.why-carousel .why-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(245,200,66,0.3);
  transform: translateY(-4px);
}

.why-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.why-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.why-arrow:hover {
  background: var(--yellow);
}

.why-arrow svg { color: var(--white); }
.why-arrow:hover svg { color: var(--blue-900); }

.why-dots-wrap {
  display: flex;
  gap: 8px;
}

.why-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: var(--transition);
  cursor: pointer;
}

.why-dot.active {
  background: var(--yellow);
  width: 20px;
  border-radius: 4px;
}

.why-toggle-wrap {
  text-align: center;
  margin-top: 36px;
}

/* Mobile: carousel mode */
@media (max-width: 900px) {
  .why-carousel {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .why-carousel {
    display: block;
    overflow: hidden;
    position: relative;
  }

  .why-carousel .why-card {
    display: none;
    width: 100%;
  }

  .why-carousel .why-card.carousel-active {
    display: block;
  }

  .why-nav {
    display: flex;
  }
}

/* ── BEFORE & AFTER COMPARE SLIDER ──────── */
.ba-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ba-compare {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ba-compare-inner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.ba-after-img,
.ba-before-img {
  position: absolute;
  inset: 0;
}

.ba-after-img img,
.ba-before-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before-img {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0s;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--white);
  left: 50%;
  transform: translateX(-50%);
}

.ba-handle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.ba-handle-btn svg { color: var(--blue-600); }

.ba-tag {
  position: absolute;
  top: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  pointer-events: none;
  z-index: 5;
}

.ba-tag-before {
  left: 12px;
  background: rgba(0,0,0,0.55);
  color: var(--white);
}

.ba-tag-after {
  right: 12px;
  background: var(--blue-500);
  color: var(--white);
}

.ba-caption {
  background: var(--white);
  padding: 14px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-800);
  text-align: center;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

@media (max-width: 900px) {
  .ba-grid-new { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .ba-grid-new { grid-template-columns: 1fr; }
}

/* ── VIDEO BG CTA ────────────────────────── */
#cta-section .cta-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── DENTAL GUIDE SECTION ────────────────── */
#dental-guide {
  background: var(--gray-100);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.guide-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.guide-img-wrap {
  position: relative;
  overflow: hidden;
}

.guide-img-wrap img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.guide-card:hover .guide-img-wrap img {
  transform: scale(1.04);
}

.guide-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--yellow);
  color: var(--blue-900);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.guide-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-cat {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 8px;
}

.guide-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 12px;
}

.guide-body p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.guide-meta {
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-symptom {
  font-size: 0.775rem;
  color: var(--gray-400);
  font-style: italic;
  line-height: 1.5;
}

.guide-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-500);
  transition: color var(--transition);
}

.guide-link:hover { color: var(--blue-700); }

.guide-link::after {
  content: '→';
  transition: transform var(--transition);
}

.guide-link:hover::after {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .guide-grid { grid-template-columns: 1fr; }
}

/* ── HERO MULTI-CONTENT SLIDES ───────────── */
.hero-text-slide {
  display: none;
  animation: fadeSlideUp 0.8s ease both;
}

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

/* ── HERO RESPONSIVE ─────────────────────── */
@media (max-width: 768px) {
  #hero {
    min-height: 100svh;
    max-height: none;
  }

  .hero-content {
    align-items: flex-end;
    padding-bottom: 80px;
    padding-top: 80px;
    padding-left: 6%;
    padding-right: 6%;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-badge {
    margin-bottom: 14px;
  }

  .hero-badge span {
    font-size: 0.62rem;
  }

  .hero-text h1 {
    font-size: clamp(1.45rem, 6vw, 2rem);
    margin-bottom: 12px;
    line-height: 1.2;
  }

  .hero-text p {
    font-size: 0.875rem;
    margin-bottom: 22px;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.85rem;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(10,22,40,0.5) 0%, rgba(10,22,40,0.88) 60%);
  }
}

@media (max-width: 400px) {
  .hero-text h1 {
    font-size: 1.35rem;
  }

  .hero-badge span {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }
}