/* ============================================================
   Aviator Dental Hygiene · Smile Prep Timeline landing page
   Warm blush + coral, editorial clinical, light theme locked
   ============================================================ */

:root {
  /* palette */
  --blush:        #F3EBE8;   /* brand background */
  --blush-deep:   #EBDAD3;
  --cream:        #FBF6F4;
  --white:        #FFFFFF;
  --coral:        #D9685B;
  --coral-deep:   #C2554A;
  --coral-soft:   #F0BFB6;
  --ink:          #2C2421;   /* warm near-black */
  --ink-soft:     #5E534D;
  --muted:        #8C7E77;
  --line:         #E2D2CB;

  /* type */
  --font-display: "Host Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* radius + shadow */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(70, 45, 38, 0.06);
  --shadow-md: 0 14px 34px rgba(70, 45, 38, 0.10);
  --shadow-lg: 0 30px 60px rgba(70, 45, 38, 0.14);

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--blush);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ---------- shared type ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral-deep);
  padding: 6px 14px;
  background: rgba(217,104,91,.10);
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow.light { background: rgba(255,255,255,.18); color: #fff; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-lead {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 56ch;
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }

.section { padding-block: clamp(72px, 9vw, 128px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 999px;
  padding: 15px 28px;
  min-height: 50px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn-sm { padding: 10px 20px; min-height: 42px; font-size: 14px; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 22px rgba(217,104,91,.30); }
.btn-primary:hover { background: var(--coral-deep); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(217,104,91,.36); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: 3px solid var(--coral-soft); outline-offset: 3px; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243,235,232,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 4px 10px rgba(217,104,91,.28)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.brand-text small { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; gap: 32px; }
.site-nav a { font-size: 15px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--coral); transition: width .25s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { width: 100%; }
.header-cta { white-space: nowrap; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(36px, 6vh, 64px);
  padding-bottom: clamp(48px, 7vh, 72px);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(240,191,182,.45) 0%, rgba(243,235,232,0) 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(217,104,91,.08) 0%, rgba(243,235,232,0) 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px - 130px);
}
.hero-copy { max-width: 600px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-title .accent {
  color: var(--coral);
  font-style: italic;
  font-weight: 600;
}
.hero-sub { font-size: 18.5px; color: var(--ink-soft); max-width: 50ch; margin-bottom: 30px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-trust li { position: relative; padding-left: 22px; }
.hero-trust li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 13px; height: 13px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--coral-soft), var(--coral));
}

/* hero media collage */
.hero-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.media-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--blush-deep);
  box-shadow: var(--shadow-md);
}
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-tall { grid-row: span 2; aspect-ratio: 3 / 4.4; }
.media-wide { aspect-ratio: 4 / 3.3; align-self: end; }
.media-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44,36,33,0) 55%, rgba(44,36,33,.10) 100%);
}
.media-badge {
  position: absolute;
  left: -14px;
  bottom: 26px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: baseline;
  gap: 8px;
  z-index: 3;
  border: 1px solid var(--line);
}
.media-badge-num { font-family: var(--font-display); font-weight: 800; font-size: 38px; color: var(--coral); line-height: 1; }
.media-badge-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* image fallback (if a remote photo fails to load) */
.media-card.img-failed img,
.loc-photo.img-failed img { display: none; }
.media-card.img-failed,
.loc-photo.img-failed {
  background:
    linear-gradient(135deg, var(--coral-soft) 0%, var(--blush-deep) 55%, var(--cream) 100%);
}
.media-card.img-failed::before,
.loc-photo.img-failed::before {
  content: "📷";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 34px; opacity: .5;
}

/* ============================================================
   FORM
   ============================================================ */
.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 14px;
}
.hero-form { margin-top: 4px; grid-template-columns: 1fr 1fr; }
.hero-form .field:first-child,
.hero-form .field:nth-child(2) { grid-column: auto; }
.hero-form .field:nth-child(3) { grid-column: 1 / -1; }
.hero-form .btn-block,
.hero-form .form-note,
.hero-form .form-success { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-soft); letter-spacing: .01em; }
.field input {
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input::placeholder { color: #b6a79f; }
.field input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(217,104,91,.14);
}
.field input.invalid { border-color: #c0473c; box-shadow: 0 0 0 4px rgba(192,71,60,.12); }

.form-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 2px; }
.form-success {
  background: rgba(217,104,91,.10);
  color: var(--coral-deep);
  border: 1px solid var(--coral-soft);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  font-weight: 500;
  text-align: center;
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding-block: 16px;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .02em;
  animation: ticker 26s linear infinite;
}
.ticker-track span { opacity: .92; }
.ticker-track .dot { color: var(--coral); opacity: 1; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   COVERS (feature cards)
   ============================================================ */
.covers { background: var(--blush); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.info-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--coral-soft); }
.card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  font-size: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 18px;
}
.info-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.info-card p { color: var(--ink-soft); font-size: 15.5px; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-section { background: var(--cream); }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 36px; left: 6%; right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--coral-soft) 0 10px, transparent 10px 20px);
  z-index: 0;
}
.tl-step { position: relative; display: flex; flex-direction: column; gap: 18px; }
.tl-marker {
  position: relative;
  z-index: 1;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--coral);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.tl-marker span { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--coral); line-height: 1; }
.tl-marker small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.tl-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 20px;
  flex: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tl-step:hover .tl-body { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tl-body h3 { font-family: var(--font-display); font-size: 18.5px; font-weight: 600; margin-bottom: 8px; }
.tl-body p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 14px; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tl-tags li {
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  color: var(--coral-deep);
  background: rgba(217,104,91,.10);
  padding: 4px 10px; border-radius: 999px;
}
.timeline-cta { text-align: center; margin-top: 56px; }

/* ============================================================
   WHITENING (split)
   ============================================================ */
.whitening { background: var(--blush); }
.split-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split-media { position: relative; }
.split-media .media-card { aspect-ratio: 4 / 4.4; }
.stat-chip {
  position: absolute;
  right: -16px; bottom: 28px;
  background: var(--coral);
  color: #fff;
  border-radius: var(--r-md);
  padding: 16px 22px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; line-height: 1.15;
}
.stat-chip strong { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.stat-chip span { font-size: 13px; opacity: .9; letter-spacing: .04em; }

.split-copy .section-title { margin-bottom: 18px; }
.split-copy p { color: var(--ink-soft); margin-bottom: 20px; }
.check-list { display: grid; gap: 14px; margin-bottom: 22px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink); font-size: 16px; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 23px; height: 23px;
  display: grid; place-items: center;
  background: var(--coral); color: #fff;
  border-radius: 50%; font-size: 13px; font-weight: 700;
}
.fine-print { font-size: 14.5px; color: var(--muted); font-style: italic; }

/* ============================================================
   LOCATIONS
   ============================================================ */
.locations { background: var(--cream); }
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.loc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.loc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.loc-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blush-deep); }
.loc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.loc-card:hover .loc-photo img { transform: scale(1.05); }
.loc-body { padding: 24px 24px 28px; }
.loc-body h3 { font-family: var(--font-display); font-size: 23px; font-weight: 700; margin-bottom: 8px; }
.loc-body p { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; }
.loc-hours {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  color: var(--coral-deep); letter-spacing: .03em;
  border-top: 1px solid var(--line); padding-top: 12px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background:
    radial-gradient(120% 120% at 100% 0%, var(--coral) 0%, var(--coral-deep) 60%, #a8463d 100%);
  color: #fff;
}
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.cta-copy p { color: rgba(255,255,255,.9); font-size: 18px; max-width: 48ch; margin-bottom: 24px; }
.cta-points { display: grid; gap: 12px; }
.cta-points li { position: relative; padding-left: 30px; font-size: 16px; color: #fff; }
.cta-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 21px; height: 21px; display: grid; place-items: center;
  background: rgba(255,255,255,.22); border-radius: 50%; font-size: 12px; font-weight: 700;
}
.cta-form-wrap .lead-form { box-shadow: var(--shadow-lg); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--cream); padding-block: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px 40px; align-items: start; }
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-brand p { font-size: 14.5px; color: rgba(251,246,244,.72); max-width: 38ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px 26px; justify-content: flex-end; }
.footer-nav a { font-size: 14.5px; color: rgba(251,246,244,.82); }
.footer-nav a:hover { color: #fff; }
.footer-fine {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(251,246,244,.14);
  padding-top: 22px; margin-top: 8px;
  font-size: 12.5px; color: rgba(251,246,244,.55); max-width: 80ch;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .hero-media { max-width: 520px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .timeline::before { display: none; }
  .split-grid { grid-template-columns: 1fr; gap: 48px; }
  .split-media { max-width: 480px; }
  .cta-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; max-width: 480px; }
  .site-nav { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .header-cta { display: none; }
  .header-inner { height: 66px; }
  .hero-form { grid-template-columns: 1fr; }
  .hero-media { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .media-badge { left: 8px; bottom: 14px; padding: 10px 14px; }
  .media-badge-num { font-size: 30px; }
  .cards-grid { grid-template-columns: 1fr; }
  .info-card { padding: 26px 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .stat-chip { right: 8px; bottom: 14px; padding: 12px 16px; }
  .lead-form { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto; transition-duration: .001ms !important; }
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
