/* =========================================================
   Жугић · Dental Clinic · Complete redesign
   Navy #1b2d45 | Cream #faf7f2 | Gold #c9a96e | Dark #07111f
   ========================================================= */

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

:root {
  --navy:    #1b2d45;
  --navy-dk: #0f1d2e;
  --hero-bg: #07111f;
  --gold:    #c9a96e;
  --gold-lt: #e8d5a8;
  --cream:   #faf7f2;
  --cream-dk:#f0ebe1;
  --white:   #ffffff;
  --text:    #1a1a1a;
  --text-md: #4a4a4a;
  --text-lt: #888;
  --green:   #2d6a4f;
  --r:       6px;
  --shadow:  0 4px 24px rgba(7,17,31,.12);
  --t:       220ms ease;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.02em;
}

p { color: var(--text-md); font-size: .9625rem; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold); }
img { display: block; max-width: 100%; }

/* ── Utilities ───────────────────────────────────────────── */

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .85rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--navy);
  margin-bottom: 1.1rem;
}

.section-intro { max-width: 50ch; font-size: 1rem; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-eyebrow { justify-content: center; }
.section-header .section-intro { margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.85rem;
  border-radius: var(--r);
  font-family: 'Inter', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--t);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dk);
  animation: glow-pulse 3s ease-in-out infinite;
}
.btn-gold:hover { background: var(--gold-lt); color: var(--navy-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,.4); }

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dk); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(27,45,69,.25); }

.btn-sm { padding: .55rem 1.2rem; font-size: .8125rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Animations ──────────────────────────────────────────── */

@keyframes float-tooth {
  0%,100% { transform: translateY(0) rotate(-1.5deg); }
  50%     { transform: translateY(-18px) rotate(1.5deg); }
}

@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,169,110,0); }
  50%     { box-shadow: 0 0 22px 4px rgba(201,169,110,.35); }
}

@keyframes orbit-dot {
  from { transform: rotate(0deg) translateX(var(--r,90px)) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(var(--r,90px)) rotate(-360deg); }
}

@keyframes rise-particle {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  8%   { opacity: .8; }
  85%  { opacity: .3; }
  100% { transform: translateY(-110px) translateX(var(--drift,12px)); opacity: 0; }
}

@keyframes bg-tooth-drift {
  0%   { transform: translateX(0) translateY(0) rotate(var(--rot,0deg)); opacity: 0; }
  10%  { opacity: .045; }
  90%  { opacity: .045; }
  100% { transform: translateX(var(--dx,8px)) translateY(-60px) rotate(calc(var(--rot,0deg) + 15deg)); opacity: 0; }
}

@keyframes badge-float-a {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-7px); }
}
@keyframes badge-float-b {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(7px); }
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.1%{ transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Header ─────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background var(--t), box-shadow var(--t);
}

.site-header.scrolled {
  background: rgba(7,17,31,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
}

.logo-tooth { width: 20px; color: var(--gold); flex-shrink: 0; }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; gap: 1px; }
.logo-name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.35rem; font-weight: 600; color: #fff; }
.logo-sub  { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 500; }

.main-nav ul { display: flex; align-items: center; gap: 2rem; list-style: none; }

.main-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--t);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.main-nav .nav-cta {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.2rem;
  background: var(--gold);
  color: var(--navy-dk) !important;
  border-radius: var(--r);
  font-size: .8125rem;
  font-weight: 600;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--gold-lt); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; background: #0d1e35; border-top: 1px solid rgba(255,255,255,.06); padding: 1.25rem 1.5rem 1.75rem; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav a { font-size: .9375rem; font-weight: 500; color: rgba(255,255,255,.8); }
.mobile-nav .nav-cta { display: inline-block; padding: .65rem 1.25rem; background: var(--gold); color: var(--navy-dk) !important; border-radius: var(--r); }

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* accounts for mobile address bar */
  display: flex;
  align-items: center;
  background: var(--hero-bg);
  overflow: hidden;
  padding: 7rem 0 5rem;
}

/* Background canvas */
.hero-canvas { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(201,169,110,.10) 0%, rgba(201,169,110,.03) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Floating particles */
.particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size, 4px);
  height: var(--size, 4px);
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: rise-particle var(--dur, 7s) var(--delay, 0s) infinite ease-in-out;
}

/* Floating bg tooth silhouettes */
.bg-tooth {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 40px;
  height: 52px;
  opacity: 0;
  animation: bg-tooth-drift var(--dur, 12s) var(--delay, 0s) infinite ease-in-out;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 28 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 1C10 1 6 3.5 4 7C2 10.5 2 14.5 3 18C4 20 5 22 5.5 24.5C6 27 6 29 7 31C7.5 32.5 9 34 10.5 33.5C12 33 12.5 31 13 29C13.3 27.5 13.7 26 14 26C14.3 26 14.7 27.5 15 29C15.5 31 16 33 17.5 33.5C19 34 20.5 32.5 21 31C22 29 22 27 22.5 24.5C23 22 24 20 25 18C26 14.5 26 10.5 24 7C22 3.5 18 1 14 1Z' fill='%23c9a96e'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: scale(var(--scale, 0.5)) rotate(var(--rot, 0deg));
}

/* Hero inner layout */
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 3rem;
  align-items: center;
}

/* Hero content */
.hero-eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: glow-pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(3rem, 6.5vw, 5rem);
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.62);
  max-width: 44ch;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .875rem; margin-bottom: 2.25rem; }

.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.hero-chips li {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  font-weight: 400;
}
.chip-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: rgba(201,169,110,.2);
  border-radius: 50%;
  font-size: .62rem;
  color: var(--gold);
  font-weight: 700;
}

/* Hero visual */
.hero-visual { display: flex; align-items: center; justify-content: center; }

.tooth-stage {
  position: relative;
  width: 340px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.tooth-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(201,169,110,.18) 0%, rgba(201,169,110,.06) 50%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tooth-main {
  width: 220px;
  filter: drop-shadow(0 20px 60px rgba(201,169,110,.2)) drop-shadow(0 4px 16px rgba(0,0,0,.4));
  animation: float-tooth 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.tooth-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  background: transparent;
  pointer-events: none; /* never steal touch/scroll events */
  touch-action: none;
  transition: opacity .5s ease;
}

/* Loading spinner */
.tooth-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
  transition: opacity .6s ease;
}

.tooth-loader-ring {
  width: 44px;
  height: 44px;
  border: 2.5px solid rgba(201,169,110,.18);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin-ring 0.9s linear infinite;
}

@keyframes spin-ring {
  to { transform: rotate(360deg); }
}

/* Floating badges */
.tooth-badge {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: .65rem .9rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  font-size: .82rem;
  font-weight: 500;
  color: var(--navy);
  z-index: 3;
  white-space: nowrap;
}

.badge-top {
  top: 28px;
  right: -10px;
  animation: badge-float-a 4s ease-in-out infinite;
}

.badge-bottom {
  bottom: 45px;
  left: -15px;
  animation: badge-float-b 5s ease-in-out infinite;
  gap: .8rem;
}

.badge-icon-wrap {
  width: 28px;
  height: 28px;
  background: rgba(45,106,79,.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-stat {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.badge-stat span { font-size: 1.1rem; }

.badge-label-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.badge-label-main { font-weight: 600; font-size: .82rem; color: var(--navy); }
.badge-label-sub  { font-size: .72rem; color: var(--text-lt); font-weight: 400; }

/* Orbit dots */
.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  z-index: 1;
}
.od-1 { background: var(--gold); opacity: .6; animation: orbit-dot 8s linear infinite; --r: 140px; margin: -4px 0 0 -4px; }
.od-2 { background: rgba(255,255,255,.4); opacity: .5; animation: orbit-dot 12s linear infinite reverse; --r: 160px; margin: -4px 0 0 -4px; width: 5px; height: 5px; }
.od-3 { background: var(--gold); opacity: .35; animation: orbit-dot 16s linear infinite; --r: 130px; margin: -4px 0 0 -4px; width: 6px; height: 6px; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.3);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.15);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: scroll-line 2s ease-in-out infinite;
}

/* ── Trust bar ───────────────────────────────────────────── */

.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--cream-dk);
  padding: 1.5rem 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 2.5rem;
  color: var(--navy);
}
.trust-item svg { flex-shrink: 0; color: var(--gold); }
.trust-item div { display: flex; flex-direction: column; line-height: 1.3; }
.trust-item strong { font-size: .9rem; font-weight: 600; color: var(--navy); }
.trust-item span { font-size: .78rem; color: var(--text-lt); }
.trust-sep { width: 1px; height: 36px; background: var(--cream-dk); flex-shrink: 0; }

/* ── About ──────────────────────────────────────────────── */

.about { padding: 7rem 0; background: var(--cream); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.about-text .section-title { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.about-text p { margin-bottom: 1.1rem; line-height: 1.8; }

.about-pillars { display: flex; flex-direction: column; gap: 0; padding-top: 1rem; }

.pillar {
  padding: 1.6rem 1.6rem 1.6rem 1.8rem;
  border-left: 2px solid var(--cream-dk);
  transition: border-color var(--t), background var(--t);
  border-radius: 0 var(--r) var(--r) 0;
  cursor: default;
}
.pillar:hover { border-color: var(--gold); background: rgba(201,169,110,.05); }

.pillar-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .5rem;
  opacity: .7;
}
.pillar h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: .4rem; }
.pillar p  { font-size: .875rem; }

/* ── Services ───────────────────────────────────────────── */

.services { padding: 7rem 0; background: #fff; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--cream-dk);
  border: 1px solid var(--cream-dk);
  border-radius: 12px;
  overflow: hidden;
}

.service-card {
  background: #fff;
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: background var(--t), transform var(--t);
  cursor: default;
}
.service-card:hover { background: var(--cream); }
.service-card:hover .sc-num { opacity: 1; }

.sc-num {
  position: absolute;
  top: 1.2rem;
  right: 1.3rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream-dk);
  line-height: 1;
  opacity: .6;
  transition: opacity var(--t);
}

.sc-icon { color: var(--gold); margin-bottom: 1rem; }
.service-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: .45rem; line-height: 1.3; }
.service-card p { font-size: .84rem; line-height: 1.65; }

.service-card--cta {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card--cta:hover { background: var(--navy-dk); }

.sc-cta-inner { text-align: center; }
.sc-cta-inner p { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: .4rem; }
.sc-cta-inner h3 { color: #fff; font-size: 1.2rem; margin-bottom: 1rem; }

/* ── Stats strip ─────────────────────────────────────────── */

.stats-strip {
  background: var(--navy);
  padding: 4rem 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: 1rem 4rem;
}

.stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.02em;
}

.stat-label {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(248,246,242,.45);
}

.stat-sep { width: 1px; height: 48px; background: rgba(255,255,255,.08); flex-shrink: 0; }

/* ── Team ───────────────────────────────────────────────── */

.team { padding: 7rem 0; background: var(--cream); }

.team-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.team-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(27,45,69,.07);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: box-shadow var(--t), transform var(--t);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.team-card--featured { background: var(--navy); }
.team-card--featured .tc-info h3 { color: #fff; }
.team-card--featured .tc-title { color: rgba(255,255,255,.55); }
.team-card--featured .tc-bio { color: rgba(255,255,255,.7); }

.tc-avatar { position: relative; }

.tc-avatar-inner {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(201,169,110,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1.5px solid rgba(201,169,110,.25);
}
.tc-avatar-inner svg { width: 64px; height: 64px; }

.tc-badge {
  position: absolute;
  bottom: -4px;
  right: -8px;
  padding: .2rem .55rem;
  border-radius: 20px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tc-badge--primary { background: var(--gold); color: var(--navy-dk); }

.tc-langs {
  position: absolute;
  bottom: -4px;
  right: -8px;
  display: flex;
  gap: 3px;
}
.tc-langs span {
  padding: .2rem .45rem;
  border-radius: 20px;
  font-size: .62rem;
  font-weight: 700;
  background: rgba(27,45,69,.08);
  color: var(--navy);
  border: 1px solid rgba(27,45,69,.1);
}

.tc-info h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: .3rem; }
.tc-title { font-size: .8rem; font-weight: 600; color: var(--gold); letter-spacing: .02em; margin-bottom: .65rem; }
.tc-bio { font-size: .875rem; line-height: 1.7; }

/* ── Contact ─────────────────────────────────────────────── */

.contact { padding: 7rem 0 0; background: #fff; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  padding-bottom: 5rem;
}

.contact-intro { margin-bottom: 2.5rem; font-size: 1rem; line-height: 1.75; }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; }
.contact-list li { display: flex; align-items: flex-start; gap: .9rem; }

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--cream);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-top: 3px;
}

.contact-label {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-bottom: 3px;
}

.contact-value { font-size: .9375rem; font-weight: 500; color: var(--navy); }
.contact-value:hover { color: var(--gold); }

/* Form */
.contact-form-wrap { position: relative; }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }

.form-row.two-col { display: flex; gap: 1rem; }
.form-row.two-col .form-group { flex: 1; }

.form-group { display: flex; flex-direction: column; gap: .4rem; }

.form-group label { font-size: .8125rem; font-weight: 600; color: var(--navy); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .72rem .95rem;
  border: 1.5px solid var(--cream-dk);
  border-radius: var(--r);
  background: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%234a4a4a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,45,69,.08);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-note { text-align: center; font-size: .78rem; color: var(--text-lt); margin-top: .2rem; }

.form-success {
  position: absolute; inset: 0;
  background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem;
  padding: 2rem;
  border: 1px solid rgba(45,106,79,.15);
  border-radius: 10px;
}
.form-success h3 { font-size: 1.5rem; color: var(--green); }
.form-success p { max-width: 28ch; font-size: .9rem; }

.map-wrap { line-height: 0; border-top: 1px solid var(--cream-dk); }
.map-wrap iframe { display: block; width: 100%; }

/* ── Footer ─────────────────────────────────────────────── */

.site-footer { background: #050e1a; color: rgba(248,246,242,.6); }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
  padding: 3.5rem 0;
}

.footer-brand { display: flex; align-items: center; gap: .65rem; }
.footer-name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.3rem; font-weight: 600; color: #fff; display: block; }
.footer-sub { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); display: block; margin-top: 2px; }

.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .75rem; }
.footer-col p, .footer-col a { font-size: .875rem; color: rgba(248,246,242,.5); line-height: 1.8; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 1.25rem 0; }
.footer-bottom p { font-size: .78rem; color: rgba(248,246,242,.25); text-align: center; }

/* ── Scroll reveal (GSAP handles it, CSS for initial state) ── */
.fade-up  { opacity: 0; transform: translateY(32px); }
.stagger-grid > *, .stagger-fade > * { opacity: 0; transform: translateY(24px); }

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-desc { max-width: 52ch; }
  .hero-visual { justify-content: center; }
  .badge-top { right: 10px; }
  .badge-bottom { left: 10px; }
  .services-grid { grid-template-columns: repeat(3,1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-card--featured { grid-column: 1 / -1; flex-direction: row; gap: 2rem; align-items: flex-start; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { padding-top: 1rem; }
  .hero-title { font-size: 3rem; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .team-card--featured { flex-direction: column; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .trust-sep { display: none; }
  .trust-item { padding: .75rem 1.5rem; }
  .stats-inner { gap: 0; }
  .stat-block { padding: 1rem 2rem; }
  .stat-sep { display: none; }
}

@media (max-width: 540px) {
  .hero-title { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row.two-col { flex-direction: column; }
  .footer-cols { grid-template-columns: 1fr; }
  .tooth-stage { width: 260px; height: 320px; }
  .tooth-main  { width: 180px; }
}

/* No WebGL on mobile — hide canvas, show SVG */
@media (max-width: 768px) {
  .tooth-canvas, #tooth-loader { display: none !important; }
  .tooth-main { display: block !important; opacity: 1 !important; }
}
