/* ============================================================
   TonyDent — Clínica Dental Integral
   Design System & Styles
   ============================================================ */

/* ── Design Tokens ── */
:root {
  /* Brand colors */
  --color-primary: #1D2A78;
  --color-primary-dark: #141e5a;
  --color-primary-light: #2a3a96;
  --color-accent: #27A438;
  --color-accent-dark: #1e8430;
  --color-accent-light: #34c94b;
  --color-accent-pale: rgba(39,164,56,0.12);

  /* Neutrals */
  --text-primary: #1A1A1A;
  --text-muted: #4a4a4a;
  --text-light: #9aa0a6;
  --bg-white: #ffffff;
  --bg-light: #f6f8fa;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(29,42,120,0.08);
  --shadow-md: 0 4px 16px rgba(29,42,120,0.1);
  --shadow-lg: 0 12px 36px rgba(29,42,120,0.12);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Typography */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--color-accent-pale); color: var(--color-accent); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 3px; }

/* ── Utility ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block; width: 24px; height: 2px;
  background: var(--color-accent);
}
h1,h2,h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
p { line-height: 1.7; color: var(--text-muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 14px 32px; border-radius: var(--radius-md);
  border: none; cursor: pointer; transition: all 0.22s ease;
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: white;
  box-shadow: 0 4px 20px rgba(39,164,56,0.35);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(39,164,56,0.45);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(29,42,120,0.3);
}
.btn-navy:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}
.btn-white {
  background: white; color: var(--color-accent);
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; padding: 14px 32px;
  border-radius: var(--radius-md); border: none;
  text-decoration: none; display: inline-flex;
  align-items: center; gap: 10px; cursor: pointer;
  transition: all 0.22s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 32px;
  transition: all 0.3s ease;
}
nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo img { height: 48px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: var(--color-primary); text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-accent); }
nav.transparent .nav-links a { color: white; }
nav.transparent .nav-links a:hover { color: var(--color-accent-light); }
.nav-cta {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  background: var(--color-accent); color: white;
  padding: 10px 24px; border-radius: var(--radius-md);
  text-decoration: none; transition: all 0.2s;
  box-shadow: 0 3px 14px rgba(39,164,56,0.35);
}
.nav-cta:hover {
  background: var(--color-accent-dark);
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #2a4ab0 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(39,164,56,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(39,164,56,0.10) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  max-width: 1140px; margin: 0 auto; padding: 120px 32px 80px;
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(39,164,56,0.18); border: 1px solid rgba(39,164,56,0.35);
  color: var(--color-accent-light); border-radius: 100px;
  padding: 6px 16px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  color: white; line-height: 1.08; margin-bottom: 24px;
}
.hero h1 span { color: var(--color-accent); }
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.72);
  margin-bottom: 40px; max-width: 480px; line-height: 1.65;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.hero-stats {
  display: flex; gap: 32px; margin-top: 56px; flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-display); font-size: 32px; font-weight: 800;
  color: white; line-height: 1;
}
.hero-stat-num span { color: var(--color-accent); }
.hero-stat-label {
  font-size: 13px; color: rgba(255,255,255,0.55);
  margin-top: 4px; font-weight: 500;
}
.hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.hero-card-stack {
  position: relative; width: 360px; height: 420px;
}
.hero-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: transform 0.3s ease;
}
.hero-card-main {
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.10);
}
.hero-card-float {
  bottom: 0; right: -24px;
  width: 200px;
  background: rgba(39,164,56,0.15);
  border-color: rgba(39,164,56,0.3);
}
.service-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border-radius: 100px;
  padding: 8px 16px; margin: 5px;
  color: white; font-size: 13px; font-weight: 500;
}
.service-pill-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}
.hero-img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; margin-bottom: 16px;
  border: 1px dashed rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.4); font-size: 12px;
  font-family: monospace;
}

/* ── SOCIAL PROOF / TRUST BAR ── */
.trust-bar {
  background: white;
  border-bottom: 1px solid oklch(93% 0.01 220);
  padding: 20px 0;
}
.trust-bar-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-around;
  gap: 24px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 14px; font-weight: 500;
}
.trust-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--color-accent-pale);
  display: flex; align-items: center; justify-content: center;
}
.trust-divider {
  width: 1px; height: 28px;
  background: oklch(90% 0.01 220);
}

/* ── GOOGLE REVIEWS ── */
.section-reviews {
  padding: 80px 0;
  background: var(--bg-light);
}
.reviews-header {
  text-align: center; max-width: 600px;
  margin: 0 auto 48px;
}
.reviews-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--color-primary); margin-bottom: 16px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  background: white;
  border: 1px solid oklch(92% 0.012 220);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.28s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.review-stars {
  display: flex; gap: 3px; margin-bottom: 14px;
}
.review-text {
  font-size: 15px; line-height: 1.65; color: var(--text-muted);
  margin-bottom: 16px; font-style: italic;
}
.review-author {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--color-primary);
}
.review-date {
  font-size: 12px; color: var(--text-light); margin-top: 2px;
}

/* ── BEFORE & AFTER ── */
.section-before-after {
  padding: 100px 0;
  background: var(--bg-white);
}
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.ba-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.28s;
}
.ba-card:hover { transform: translateY(-4px); }
.ba-card img {
  width: 100%; height: 300px;
  object-fit: cover; display: block;
}
.ba-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(29,42,120,0.85));
  padding: 20px 24px;
  color: white;
}
.ba-card-overlay h4 {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  letter-spacing: 0.05em;
}
.ba-card-label {
  position: absolute; top: 12px; left: 12px;
  background: var(--color-accent); color: white;
  padding: 4px 12px; border-radius: var(--radius-sm);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* ── SERVICIOS ── */
.section-services {
  padding: 100px 0;
  background: var(--bg-white);
}
.section-header {
  text-align: center; max-width: 600px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--color-primary); margin-bottom: 16px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.service-card {
  background: white;
  border: 1px solid oklch(92% 0.012 220);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.28s ease;
  cursor: default;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(39,164,56,0.3);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-accent-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background 0.28s;
}
.service-icon-wrap svg {
  color: var(--color-accent);
  transition: color 0.28s;
}
.service-card:hover .service-icon-wrap {
  background: var(--color-accent);
}
.service-card:hover .service-icon-wrap svg { color: white; }
.service-title {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  color: var(--color-primary); margin-bottom: 10px;
}
.service-desc {
  font-size: 14px; line-height: 1.65; color: var(--text-muted);
}

/* ── POR QUÉ NOSOTROS ── */
.section-why {
  padding: 100px 0;
  background: #0a1128;
  position: relative; overflow: hidden;
}
.section-why::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(39,164,56,0.12) 0%, transparent 70%);
}
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.why-text h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  color: white; margin-bottom: 20px;
}
.why-text h2 span { color: var(--color-accent); }
.why-text p { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 32px; }
.why-text .section-label { color: var(--color-accent); }
.why-text .section-label::before { background: var(--color-accent); }
.features-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.feature-check {
  width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px;
  border-radius: 50%; background: rgba(39,164,56,0.2);
  border: 1.5px solid var(--color-accent);
  display: flex; align-items: center; justify-content: center;
}
.feature-check svg { width: 12px; height: 12px; color: var(--color-accent); }
.feature-text { color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.55; }
.feature-text strong { color: white; font-weight: 600; }
.why-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.why-stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: all 0.25s;
}
.why-stat-card:hover {
  background: rgba(39,164,56,0.1);
  border-color: rgba(39,164,56,0.3);
  transform: translateY(-4px);
}
.why-stat-card.accent-card {
  background: rgba(39,164,56,0.12);
  border-color: rgba(39,164,56,0.25);
  grid-column: span 2;
}
.why-num {
  font-family: var(--font-display); font-size: 40px; font-weight: 800;
  color: white; line-height: 1;
}
.why-num span { color: var(--color-accent); font-size: 28px; }
.why-label {
  font-size: 13px; color: rgba(255,255,255,0.5);
  margin-top: 6px; font-weight: 500;
}
.why-sublabel {
  font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 2px;
}

/* ── HORARIO ── */
.section-hours {
  padding: 80px 0;
  background: var(--bg-light);
}
.hours-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center;
}
.hours-card {
  background: white; border-radius: var(--radius-xl);
  padding: 48px; box-shadow: var(--shadow-md);
}
.hours-card h3 {
  font-family: var(--font-display); font-size: 22px;
  color: var(--color-primary); margin-bottom: 32px;
}
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid oklch(93% 0.01 220);
}
.hours-row:last-child { border-bottom: none; }
.hours-day { font-weight: 600; color: var(--text-primary); font-size: 15px; }
.hours-time {
  font-family: var(--font-display); font-weight: 700;
  color: var(--color-accent); font-size: 15px;
}
.contact-card {
  display: flex; flex-direction: column; gap: 20px;
}
.contact-card h3 {
  font-family: var(--font-display); font-size: 28px;
  color: var(--color-primary); margin-bottom: 8px;
}
.contact-card p { font-size: 16px; margin-bottom: 8px; }
.phone-link {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 24px;
  background: white; border-radius: var(--radius-md);
  border: 1px solid oklch(92% 0.012 220);
  text-decoration: none; color: var(--color-primary);
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  transition: all 0.22s; box-shadow: var(--shadow-sm);
}
.phone-link:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(39,164,56,0.2);
  transform: translateX(4px);
}
.phone-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-accent-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.emergency-badge {
  display: flex; align-items: center; gap: 12px;
  background: oklch(97% 0.025 25); border: 1px solid oklch(88% 0.05 25);
  border-radius: var(--radius-md); padding: 14px 18px;
  color: oklch(40% 0.08 25); font-size: 14px; font-weight: 600;
}

/* ── CTA BAND ── */
.section-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-accent) 0%, #1a8a2e 100%);
  position: relative; overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute; top: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.section-cta::after {
  content: '';
  position: absolute; bottom: -120px; right: -80px;
  width: 350px; height: 350px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-inner {
  position: relative; z-index: 2;
  text-align: center; max-width: 680px; margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(28px, 4vw, 46px);
  color: white; margin-bottom: 16px;
}
.cta-inner p {
  font-size: 18px; color: rgba(255,255,255,0.8);
  margin-bottom: 40px; line-height: 1.6;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── MAP SECTION ── */
.section-map {
  padding: 80px 0;
  background: var(--bg-light);
}
.map-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
}

/* ── FOOTER ── */
footer {
  background: #0a1128;
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.55);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 60px; margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-brand img { height: 44px; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: white; margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 14px; transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-accent); }
.footer-phone {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.55); font-size: 14px; margin-bottom: 8px;
}
.footer-phone a {
  color: white; text-decoration: none; font-weight: 600;
  font-family: var(--font-display); font-size: 15px;
}
.footer-phone a:hover { color: var(--color-accent); }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--color-accent); text-decoration: none; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  text-decoration: none; transition: all 0.22s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,17,40,0.7);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-box {
  background: white; border-radius: var(--radius-xl);
  padding: 48px; max-width: 480px; width: 100%;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s ease;
}
.modal-box--calendly {
  max-width: 700px;
  padding: 32px;
}
.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}
.modal-box h3 {
  font-family: var(--font-display); font-size: 24px;
  color: var(--color-primary); margin-bottom: 8px;
}
.modal-box p { font-size: 15px; margin-bottom: 28px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-label {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary);
}
.form-input {
  padding: 13px 16px; border-radius: var(--radius-md);
  border: 1.5px solid oklch(88% 0.012 220);
  font-family: var(--font-body); font-size: 15px; color: var(--text-primary);
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--bg-white);
}
.form-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(39,164,56,0.15);
}
.form-input::placeholder { color: var(--text-light); }
select.form-input { cursor: pointer; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; }
.btn-close-modal {
  background: transparent; border: 1.5px solid oklch(88% 0.012 220);
  color: var(--text-muted); padding: 13px 20px;
  border-radius: var(--radius-md); cursor: pointer; font-size: 15px;
  transition: all 0.2s;
}
.btn-close-modal:hover { border-color: var(--text-muted); }

/* ── TOOTH WATERMARK ── */
.tooth-watermark {
  position: absolute; right: 48px; bottom: 48px;
  opacity: 0.06; pointer-events: none;
}

/* ── PAGE HEADER (subpages) ── */
.page-header {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  position: relative; overflow: hidden;
  text-align: center;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(39,164,56,0.15) 0%, transparent 60%);
}
.page-header h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  color: white; position: relative; z-index: 1;
  margin-bottom: 16px;
}
.page-header p {
  font-size: 18px; color: rgba(255,255,255,0.72);
  position: relative; z-index: 1;
  max-width: 600px; margin: 0 auto;
}

/* ── ABOUT SECTION (subpage) ── */
.section-about {
  padding: 100px 0;
  background: var(--bg-white);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-grid img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-text h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  color: var(--color-primary); margin-bottom: 20px;
}
.about-text p {
  font-size: 16px; line-height: 1.75; margin-bottom: 16px;
}
.about-values {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; margin-top: 36px;
}
.value-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px;
}
.value-card h4 {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--color-primary); margin-bottom: 8px;
}
.value-card p {
  font-size: 14px; line-height: 1.6; margin-bottom: 0;
}

/* ── CONTACT SECTION (subpage) ── */
.section-contact {
  padding: 100px 0;
  background: var(--bg-white);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  color: var(--color-primary); margin-bottom: 16px;
}
.contact-info p {
  font-size: 16px; line-height: 1.7; margin-bottom: 36px;
}
.contact-methods {
  display: flex; flex-direction: column; gap: 16px;
}
.contact-method {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; background: var(--bg-light);
  border-radius: var(--radius-md);
  text-decoration: none; color: var(--text-primary);
  transition: all 0.22s; border: 1px solid transparent;
}
.contact-method:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-pale);
  transform: translateX(4px);
}
.contact-method-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--color-accent-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-method-text strong {
  display: block; font-family: var(--font-display);
  font-size: 15px; color: var(--color-primary); margin-bottom: 2px;
}
.contact-method-text span { font-size: 14px; color: var(--text-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  nav { padding: 0 24px; }
  .hero-content { padding: 120px 24px 60px; }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; padding-top: 100px; }
  .hero-card-stack { width: 100%; max-width: 400px; height: 320px; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .hours-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .before-after-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .about-values { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 26px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-card-stack { height: 260px; }
  .hero-card-float { right: 0; width: 160px; }
  .trust-bar-inner { flex-direction: column; gap: 12px; }
  .trust-divider { display: none; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn-white,
  .cta-actions .btn-outline { width: 100%; justify-content: center; }
  .modal-box { padding: 32px 24px; }
  .why-visual { grid-template-columns: 1fr; }
  .why-stat-card.accent-card { grid-column: span 1; }
  .hours-card { padding: 28px 24px; }
  .page-header { padding: 120px 0 60px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .section-header h2 { font-size: 26px; }
}
