/* ═══════════════════════════════════════════════════════════════
   SmileCare Design System — Teal + Coral
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0F766E;
  --primary-dark: #0B5E58;
  --primary-deeper: #074E49;
  --primary-light: #CCFBF1;
  --primary-bg: #F0FDFA;

  --accent: #F97066;
  --accent-dark: #E04E45;
  --accent-light: #FEF2F2;

  --bg: #FAFAF8;
  --surface: #ffffff;
  --text: #111827;
  --text-2: #374151;
  --muted: #6B7280;
  --faint: #9CA3AF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.10);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.14);
  --shadow-primary: 0 4px 24px rgba(15,118,110,.22);
  --shadow-accent: 0 4px 24px rgba(249,112,102,.28);

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --max-w: 1280px;
}

html { scroll-behavior: smooth }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block }
a { text-decoration: none; color: inherit }
h1,h2,h3,h4,h5 { font-family: var(--font-heading); line-height: 1.15 }


/* ═══ NAVIGATION ═══ */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 0 40px;
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.06) }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-heading); font-weight: 800;
  font-size: 1.4rem; color: var(--primary);
  letter-spacing: -.03em; display: flex; align-items: center; gap: 8px;
}
.logo svg { flex-shrink: 0 }
.logo span { color: var(--text) }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none }
.nav-links a {
  font-weight: 500; font-size: .9rem; color: var(--muted);
  padding: 8px 18px; border-radius: 8px;
  transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover { color: var(--text); background: var(--border-light) }
.nav-links a.active { color: var(--primary); font-weight: 600 }

.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0 }
.nav-phone {
  font-size: .85rem; font-weight: 500; color: var(--muted);
  display: flex; align-items: center; gap: 6px; transition: color .2s;
}
.nav-phone i { color: var(--primary); font-size: 1rem }
.nav-phone:hover { color: var(--primary) }
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 10px 22px; border-radius: 50px;
  font-family: var(--font-heading); font-weight: 700; font-size: .85rem;
  transition: all .25s; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px) }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
  width: 36px; height: 36px; justify-content: center; align-items: center;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--text);
  border-radius: 2px; transition: all .3s; display: block;
}
.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-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px; z-index: 999;
  flex-direction: column; box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.mobile-menu.open { display: flex }
.mobile-menu a {
  font-size: 1rem; font-weight: 500; color: var(--text);
  padding: 14px 0; border-bottom: 1px solid var(--border-light); transition: color .2s;
}
.mobile-menu a:last-child { border-bottom: none }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--primary) }
.mobile-menu .nav-cta {
  background: var(--primary); color: #fff !important;
  text-align: center; margin-top: 16px; padding: 14px;
  border-radius: 50px; border-bottom: none; font-weight: 700;
}


/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 16px 34px; border-radius: 50px;
  font-family: var(--font-heading); font-weight: 700; font-size: .95rem;
  border: none; cursor: pointer;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--accent-dark); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(249,112,102,.38);
}
.btn-primary i { font-size: 1.1rem }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  padding: 16px 34px; border-radius: 50px;
  font-family: var(--font-heading); font-weight: 700; font-size: .95rem;
  border: none; cursor: pointer;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-primary);
}
.btn-secondary:hover {
  background: var(--primary-dark); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(15,118,110,.32);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  padding: 15px 32px; border-radius: 50px;
  font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
  border: 2px solid var(--border); cursor: pointer;
  transition: all .25s;
}
.btn-outline:hover {
  border-color: var(--primary); color: var(--primary); background: var(--primary-bg);
}

.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--primary);
  padding: 16px 34px; border-radius: 50px;
  font-family: var(--font-heading); font-weight: 700; font-size: .95rem;
  border: none; cursor: pointer;
  transition: all .25s; box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.18) }


/* ═══ SECTION UTILITIES ═══ */
section { padding: 100px 48px }
.section-inner { max-width: var(--max-w); margin: 0 auto }

.section-badge {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 18px;
}
.section-badge::before {
  content: '';
  width: 28px; height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}
.section-badge i { display: none }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--text);
  letter-spacing: -.03em; margin-bottom: 14px;
}
.section-sub {
  color: var(--muted); font-size: 1.02rem;
  max-width: 560px; line-height: 1.75;
}
.section-header { margin-bottom: 56px }
.section-header.center { text-align: center }
.section-header.center .section-sub { margin: 0 auto }


/* ═══ WHATSAPP FLOAT ═══ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 1100;
}
.wa-btn {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #25d366, #1da851);
  color: #fff; padding: 14px 22px; border-radius: 50px;
  box-shadow: 0 6px 28px rgba(37,211,102,.4), 0 2px 8px rgba(0,0,0,.1);
  font-family: var(--font-heading); font-weight: 800; font-size: .92rem;
  white-space: nowrap; transition: transform .25s, box-shadow .25s;
  position: relative;
}
.wa-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(37,211,102,.5), 0 4px 12px rgba(0,0,0,.12);
}
.wa-btn i { font-size: 1.45rem; flex-shrink: 0 }
.wa-btn .wa-sub {
  font-family: var(--font-body); font-size: .72rem;
  font-weight: 500; opacity: .85; line-height: 1;
}
.wa-btn .wa-main { font-size: .9rem; line-height: 1.2 }
.wa-btn::before {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50px; background: rgba(37,211,102,.3);
  animation: waRing 2.4s ease-out infinite;
}
@keyframes waRing {
  0%   { transform: scale(1);    opacity: .4 }
  70%  { transform: scale(1.08); opacity: 0 }
  100% { transform: scale(1.08); opacity: 0 }
}


/* ═══ FOOTER ═══ */
footer {
  background: #0A0F1E; color: #8896b3;
  padding: 80px 48px 36px;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto }
.footer-top {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 60px;
}
.footer-logo {
  font-family: var(--font-heading); font-weight: 800;
  font-size: 1.5rem; color: var(--primary-light);
  letter-spacing: -.02em; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.footer-logo span { color: #e2e8f0 }
.footer-brand p {
  font-size: .88rem; line-height: 1.75;
  max-width: 280px; margin-bottom: 24px;
}
.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; margin-bottom: 10px; color: #7ea6cc;
}
.footer-contact-item i { font-size: 1rem; color: var(--primary) }

.footer-col h5 {
  color: #e2e8f0; font-family: var(--font-heading);
  font-weight: 700; margin-bottom: 20px; font-size: .88rem;
  letter-spacing: .06em; text-transform: uppercase;
}
.footer-col ul {
  list-style: none; display: flex;
  flex-direction: column; gap: 12px;
}
.footer-col a {
  font-size: .87rem; color: #8896b3; transition: color .2s;
}
.footer-col a:hover { color: var(--primary-light) }

.footer-social { display: flex; gap: 10px; margin-top: 4px }
.soc-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.soc-btn:hover { background: var(--primary); border-color: var(--primary) }
.soc-btn i { font-size: 1.05rem; color: #8896b3; transition: color .2s }
.soc-btn:hover i { color: #fff }

.footer-divider {
  border: none; border-top: 1px solid rgba(255,255,255,.06);
  margin: 0 0 28px;
}
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; font-size: .82rem;
}
.footer-bottom-links { display: flex; gap: 24px }
.footer-bottom-links a { color: #8896b3; transition: color .2s }
.footer-bottom-links a:hover { color: var(--primary-light) }


/* ═══ TRUST BAR ═══ */
.trust-bar {
  background: var(--primary);
  padding: 16px 48px;
}
.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.85);
  font-family: var(--font-heading);
  font-size: .84rem; font-weight: 600;
  white-space: nowrap;
}
.trust-item i { font-size: 1.1rem; color: var(--primary-light) }
.trust-item strong { font-weight: 800; color: #fff }
.trust-sep {
  width: 1px; height: 18px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}


/* ═══ ANIMATIONS ═══ */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: none }
.reveal-delay-1 { transition-delay: .1s }
.reveal-delay-2 { transition-delay: .2s }
.reveal-delay-3 { transition-delay: .3s }
.reveal-delay-4 { transition-delay: .4s }

.reveal-scale {
  opacity: 0; transform: scale(.92);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-scale.visible { opacity: 1; transform: none }

.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible { opacity: 1; transform: none }

.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible { opacity: 1; transform: none }


/* ═══ PAGE HERO (services, contact) ═══ */
.page-hero {
  position: relative; min-height: 48vh;
  display: flex; align-items: flex-end;
  overflow: hidden; padding: 0 48px;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,15,30,.88) 0%, rgba(15,118,110,.4) 60%, transparent 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); width: 100%;
  margin: 0 auto; padding: 100px 0 64px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: rgba(255,255,255,.55);
  margin-bottom: 16px; font-weight: 500;
}
.breadcrumb a { color: rgba(255,255,255,.55); transition: color .2s }
.breadcrumb a:hover { color: #fff }
.breadcrumb i { font-size: .75rem }
.page-hero h1 {
  font-size: clamp(2.2rem,5vw,3.6rem);
  font-weight: 800; color: #fff;
  letter-spacing: -.03em; margin-bottom: 14px;
}
.page-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,.72);
  max-width: 520px; line-height: 1.7;
}


/* ═══ SHARED RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr }
}
@media (max-width: 900px) {
  section { padding: 80px 24px }
  .page-hero { padding: 0 24px }
  .page-hero-content { padding: 90px 0 48px }
  footer { padding: 60px 24px 28px }
  .footer-top { grid-template-columns: 1fr 1fr }
}
@media (max-width: 768px) {
  .nav { padding: 0 16px }
  .nav-links { display: none }
  .nav-phone { display: none }
  .nav-right .nav-cta { display: none }
  .hamburger { display: flex }
  .footer-top { grid-template-columns: 1fr }
  .footer-bottom {
    flex-direction: column; gap: 12px; text-align: center;
  }
  .trust-bar { padding: 14px 20px }
  .trust-sep { display: none }
  .trust-bar-inner { gap: 12px; justify-content: center }
  .trust-item { font-size: .78rem }
}
