/* ========================================
   Dr. Sam — Pediatric Practice
   Warm, child-friendly design
   ======================================== */

:root {
  --teal: #26a69a;
  --teal-dark: #00897b;
  --teal-light: #b2dfdb;
  --teal-bg: #e0f2f1;
  --coral: #ff7043;
  --coral-dark: #e64a19;
  --coral-light: #ffccbc;
  --sunshine: #ffb74d;
  --lavender: #b39ddb;
  --sky: #81d4fa;
  --mint: #a5d6a7;
  --cream: #fdfaf6;
  --warm-white: #fefefe;
  --ink: #2d3436;
  --ink-soft: #546e7a;
  --ink-muted: #90a4ae;
  --line: #e0e0e0;
  --line-light: #f0ece6;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(38,166,154,0.06);
  --shadow-md: 0 8px 30px rgba(38,166,154,0.1);
  --shadow-lg: 0 16px 60px rgba(38,166,154,0.12);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.06);
  --font-display: 'Baloo 2', cursive;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --nav-h: 72px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--coral); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(253,250,246,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-light);
  transition: box-shadow .3s, background .3s;
}
.nav.scrolled {
  background: rgba(253,250,246,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--teal-dark);
}
.brand:hover { color: var(--teal); }
.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}
.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--teal-bg);
  border-radius: 12px;
  color: var(--teal);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal-dark); background: var(--teal-bg); }
.nav-cta {
  background: var(--teal) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all .25s cubic-bezier(.22,1,.36,1);
  text-decoration: none;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,112,67,.25);
}
.btn-primary:hover {
  background: var(--coral-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,112,67,.3);
}
.btn-outline {
  background: transparent;
  color: var(--teal-dark);
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 32px; font-size: 17px; }

/* ── Hero ── */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
  background: linear-gradient(170deg, var(--cream) 0%, #e8f5f0 40%, #fff9f5 100%);
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .15;
}
.shape-1 {
  width: 400px; height: 400px;
  background: var(--teal-light);
  top: -100px; right: -80px;
  animation: float 8s ease-in-out infinite;
}
.shape-2 {
  width: 250px; height: 250px;
  background: var(--coral-light);
  bottom: -50px; left: -60px;
  animation: float 10s ease-in-out infinite reverse;
}
.shape-3 {
  width: 150px; height: 150px;
  background: var(--sunshine);
  top: 30%; left: 15%;
  animation: float 6s ease-in-out infinite 1s;
}
.shape-4 {
  width: 100px; height: 100px;
  background: var(--lavender);
  bottom: 20%; right: 20%;
  animation: float 7s ease-in-out infinite 2s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
.hero-wave {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 4px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}
.highlight {
  color: var(--teal);
  position: relative;
}
.highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: -4px; right: -4px;
  height: 12px;
  background: var(--sunshine);
  opacity: .35;
  border-radius: 4px;
  z-index: -1;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.trust-item svg { color: var(--teal); flex-shrink: 0; }

/* Dr. Sam Card */
.dr-sam-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-light);
  position: relative;
  overflow: hidden;
}
.dr-sam-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--sunshine));
}
.dr-sam-avatar {
  margin: 0 auto 20px;
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--teal-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(38,166,154,.15);
}
.dr-sam-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  transform: scale(1.8);
}
.dr-sam-info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.dr-sam-info p {
  font-size: 15px;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 20px;
}
.dr-sam-quote {
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  padding: 16px 20px;
  background: var(--teal-bg);
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
}

/* ── Hero Family Card ── */
.hero-family-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-light);
  position: relative;
  overflow: hidden;
}
.hero-family-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--sunshine));
}
.hero-family-scene {
  padding: 24px 24px 0;
  background: linear-gradient(180deg, #edf7f6 0%, #fff9f5 100%);
}
.family-illustration {
  width: 100%;
  height: auto;
  max-height: 280px;
}
.hero-tooth-sparkle {
  animation: float 3s ease-in-out infinite;
}
.hero-family-message {
  padding: 20px 28px 28px;
}
.hero-family-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
  background: var(--teal-bg);
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.hero-family-message p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ── Tooth Fairy Tips ── */
.tooth-fairy-tip {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 80;
  max-width: 320px;
  animation: fairySlideIn .5s cubic-bezier(.22,1,.36,1);
}
.tooth-fairy-tip.hiding {
  animation: fairySlideOut .4s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes fairySlideIn {
  from { opacity: 0; transform: translateY(20px) scale(.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fairySlideOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(20px) scale(.9); }
}
.fairy-tip-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(233,30,99,.12);
  border: 2px solid #fce4ec;
  position: relative;
}
.fairy-tip-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e91e63, #7c4dff, #ff9800);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.fairy-tip-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.fairy-tip-icon {
  font-size: 32px;
  line-height: 1;
  animation: fairyFloat 4s ease-in-out infinite;
}
.fairy-tip-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #e91e63;
}
.fairy-tip-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}
.fairy-tip-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border: none;
  background: var(--line-light);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1;
  transition: background .2s, color .2s;
}
.fairy-tip-close:hover {
  background: #fce4ec;
  color: #e91e63;
}

/* Inline fairy tip (embedded in page sections) */
.fairy-tip-inline {
  background: linear-gradient(135deg, #fce4ec, #ede7f6);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid rgba(233,30,99,.12);
  margin: 48px auto;
  max-width: 680px;
}
.fairy-tip-inline .fairy-inline-icon {
  font-size: 40px;
  flex-shrink: 0;
  animation: fairyFloat 4s ease-in-out infinite;
}
.fairy-tip-inline .fairy-inline-content h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #e91e63;
  margin-bottom: 6px;
}
.fairy-tip-inline .fairy-inline-content p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

/* ── Marquee ── */
.marquee {
  background: var(--teal);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .5px;
}
.marquee-track .dot {
  width: 6px; height: 6px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Section Labels ── */
.section-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
  text-align: center;
}
.section-sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.7;
}
.section-label { text-align: center; }

/* ── Services ── */
.services {
  padding: 100px 0;
  background: var(--warm-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line-light);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.service-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ── Calendar ── */
.calendar-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream) 0%, #e8f5f0 100%);
}
.calendar-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line-light);
}
.calendar {
  padding: 32px;
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.cal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}
.cal-nav {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  color: var(--ink-soft);
}
.cal-nav:hover {
  background: var(--teal-bg);
  border-color: var(--teal);
  color: var(--teal);
}
.calendar-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 8px;
}
.calendar-days-header span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 8px 0;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.cal-day {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--ink);
  transition: all .2s;
  font-family: var(--font-body);
}
.cal-day:hover:not(.empty):not(.past):not(.unavailable) {
  background: var(--teal-bg);
  color: var(--teal-dark);
}
.cal-day.today {
  background: var(--teal);
  color: #fff;
  font-weight: 700;
}
.cal-day.selected {
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255,112,67,.3);
}
.cal-day.past { color: var(--ink-muted); opacity: .4; cursor: default; }
.cal-day.empty { cursor: default; }
.cal-day.available::after {
  content: '';
  position: absolute;
  bottom: 2px;
  width: 4px; height: 4px;
  background: var(--teal);
  border-radius: 50%;
}
.cal-day.limited { color: var(--sunshine); }
.cal-day.unavailable { color: var(--ink-muted); opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.cal-day { position: relative; }

.calendar-legend {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-muted);
}
.legend-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.legend-dot.available { background: var(--teal); }
.legend-dot.limited { background: var(--sunshine); }
.legend-dot.unavailable { background: var(--ink-muted); }

/* Calendar Sidebar */
.calendar-sidebar {
  background: var(--teal-bg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.selected-date-info {
  text-align: center;
}
.date-icon {
  color: var(--teal);
  margin-bottom: 16px;
}
.selected-date-info h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.selected-date-info p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.appointment-types h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}
.appt-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all .2s;
  border: 1px solid transparent;
}
.appt-option:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.appt-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  white-space: nowrap;
}
.appt-type {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ── Ask Dr. Sam ── */
.ask-section {
  padding: 100px 0;
  background: var(--warm-white);
}
.ask-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.ask-info .section-heading { text-align: left; }
.ask-info p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 32px;
}
.ask-topics h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.topic-tag {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-dark);
  background: var(--teal-bg);
  border-radius: 50px;
  transition: all .2s;
  cursor: default;
}
.topic-tag:hover {
  background: var(--teal);
  color: #fff;
}

/* Form */
.ask-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-light);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(38,166,154,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-muted);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.submit-btn { width: 100%; justify-content: center; font-size: 17px; }

/* Form Success */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  color: var(--teal);
  margin-bottom: 16px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-success p {
  font-size: 16px;
  color: var(--ink-soft);
}

/* ── Testimonials ── */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(180deg, #e8f5f0 0%, var(--cream) 100%);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-light);
  transition: transform .3s;
}
.testimonial-card:hover { transform: translateY(-4px); }
.stars {
  display: flex;
  gap: 2px;
  color: var(--sunshine);
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}
.testimonial-author span {
  font-size: 13px;
  color: var(--ink-muted);
}

/* ── Footer ── */
.footer {
  background: #1a2e2a;
  color: #b0bec5;
  padding: 80px 0 0;
}
.footer .brand { color: #fff; }
.footer .brand-logo { filter: brightness(0) invert(1); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 48px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #78909c;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li {
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.footer-col a {
  color: #90a4ae;
  transition: color .2s;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}
.legal-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.legal-links a { color: #78909c; }
.legal-links a:hover { color: var(--teal); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-sub { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { order: -1; }
  .fairy-tip-inline { flex-direction: column; align-items: center; text-align: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .calendar-wrapper {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .ask-grid { grid-template-columns: 1fr; gap: 40px; }
  .ask-info .section-heading { text-align: center; }
  .ask-info p { text-align: center; }
  .ask-topics { text-align: center; }
  .topic-tags { justify-content: center; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--cream);
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    gap: 4px;
    z-index: 99;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }
  .nav-toggle { display: flex; }
  .hero { padding: calc(var(--nav-h) + 40px) 0 60px; }
  .hero-headline { font-size: 36px; }
  .tooth-fairy-tip { left: 12px; right: 12px; max-width: none; bottom: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ask-form-wrap { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .calendar { padding: 24px 16px; }
  .calendar-sidebar { padding: 24px 16px; }
  .calendar-legend { flex-wrap: wrap; gap: 12px; }
}

/* ── Home CTA Section (Parent Q&A + Kids Zone) ── */
.home-cta-section {
  padding: 0 0 20px;
  background: linear-gradient(180deg, #e8f5f0 0%, var(--cream) 100%);
}
.home-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.home-cta-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 2px solid var(--line-light);
  text-decoration: none;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .3s;
}
.home-cta-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.parent-cta:hover { border-color: var(--teal); }
.kids-cta:hover { border-color: var(--coral); }
.home-cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.home-cta-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.home-cta-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}
.home-cta-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-dark);
}
.kids-cta .home-cta-link { color: var(--coral); }

@media (max-width: 640px) {
  .home-cta-grid { grid-template-columns: 1fr; }
}

/* ── SkyReserve pages (flights.html) — shared base styles ── */
.flights-hero {
  padding: calc(var(--nav-h) + 40px) 0 40px;
  text-align: center;
  background: linear-gradient(170deg, var(--cream) 0%, #e8f5f0 100%);
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}
.headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
}
.lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
.search-card {
  display: flex;
  gap: 12px;
  background: #fff;
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-light);
  flex-wrap: wrap;
}
.search-field {
  flex: 1;
  min-width: 150px;
}
.search-field span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.search-field input {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  background: transparent;
}
.search-field input:focus { border-color: var(--teal); }
.search-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  align-self: flex-end;
}
.search-submit:hover { background: var(--teal-dark); }
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.chip {
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--line);
  border-radius: 50px;
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
}
.chip:hover, .chip.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.flights-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 15px;
  color: var(--ink-soft);
}
.flight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.flight-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line-light);
  transition: transform .3s, box-shadow .3s;
}
.flight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.flight-route {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.iata {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.arrow { color: var(--teal); font-size: 18px; }
.flight-cities {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-light);
}
.flight-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.flight-meta dt {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.flight-meta dd {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.flight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flight-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--teal-bg);
  color: var(--teal-dark);
}
.flight-tag.gold {
  background: #fff8e1;
  color: #f57f17;
}
.section-tight { padding: 60px 0 80px; }
.cta-banner {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, #1a2e2a, #234e47);
  border-radius: var(--radius-lg);
  color: #fff;
}
.cta-banner .headline { color: #fff; }
.cta-banner p {
  color: rgba(255,255,255,.7);
  max-width: 480px;
  margin: 12px auto 0;
  font-size: 16px;
}

/* ══════════════════════════════════
   DR. SAM FLOATING CHAT (shared)
   ══════════════════════════════════ */
.dr-sam-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
}
.dr-sam-float-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  background: none;
  transition: transform .3s;
}
.dr-sam-float-btn:hover { transform: scale(1.1); }
.dr-sam-float-img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
  border: 3px solid var(--teal);
  box-shadow: 0 6px 24px rgba(38,166,154,.3);
}
.dr-sam-float-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  animation: chatPulse 2s ease-in-out infinite;
}
@keyframes chatPulse {
  0%, 100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.15); opacity: 0; }
}
.dr-sam-chat {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 340px;
  max-height: 480px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(0,0,0,.15);
  border: 1px solid var(--line-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: chatSlideUp .3s cubic-bezier(.22,1,.36,1);
}
@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.dr-sam-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--teal);
  color: #fff;
}
.dr-sam-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  background: linear-gradient(135deg, rgba(255,255,255,.3), rgba(178,223,219,.4));
  border: 2px solid rgba(255,255,255,.5);
  flex-shrink: 0;
}
.dr-sam-chat-header strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
}
.dr-sam-chat-header span {
  font-size: 12px;
  opacity: .8;
}
.dr-sam-chat-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  opacity: .7;
  transition: opacity .2s;
}
.dr-sam-chat-close:hover { opacity: 1; }
.dr-sam-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  max-height: 260px;
}
.dr-sam-msg {
  background: var(--teal-bg);
  border-radius: 16px 16px 16px 4px;
  padding: 12px 16px;
  margin-bottom: 12px;
}
.dr-sam-msg p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
}
.user-msg {
  background: var(--coral);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
  padding: 10px 16px;
  margin-bottom: 12px;
  margin-left: 40px;
}
.user-msg p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.dr-sam-chat-options {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line-light);
}
.chat-option {
  text-align: left;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-dark);
  background: var(--teal-bg);
  border: 1px solid var(--teal-light);
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s;
}
.chat-option:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
@media (max-width: 700px) {
  .dr-sam-chat {
    width: calc(100vw - 48px);
    right: -12px;
  }
}
.btn-ghost { border: none; background: none; cursor: pointer; }

/* ══════════════════════════════════════════
   ABCMouse-Style Hero & Homepage Redesign
   ══════════════════════════════════════════ */

/* ── ABC Hero ── */
.abchero {
  position: relative;
  padding: calc(var(--nav-h) + 40px) 0 60px;
  overflow: hidden;
  background: linear-gradient(160deg, #e3f2fd 0%, #e8f5e9 25%, #fff9c4 50%, #fce4ec 75%, #ede7f6 100%);
  min-height: 600px;
}
.abchero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.abc-blob {
  position: absolute;
  border-radius: 50%;
}
.abc-blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(66,165,245,.2) 0%, transparent 70%);
  top: -150px; right: -100px;
  animation: float 10s ease-in-out infinite;
}
.abc-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(102,187,106,.2) 0%, transparent 70%);
  bottom: -100px; left: -80px;
  animation: float 12s ease-in-out infinite reverse;
}
.abc-blob-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(255,183,77,.25) 0%, transparent 70%);
  top: 20%; left: 40%;
  animation: float 8s ease-in-out infinite 2s;
}
.abc-blob-4 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(171,71,188,.15) 0%, transparent 70%);
  bottom: 10%; right: 30%;
  animation: float 9s ease-in-out infinite 1s;
}
.abc-cloud {
  position: absolute;
  background: rgba(255,255,255,.6);
  border-radius: 50px;
  height: 40px;
}
.abc-cloud-1 {
  width: 160px; top: 15%; left: 5%;
  animation: cloudDrift 25s linear infinite;
}
.abc-cloud-2 {
  width: 120px; top: 8%; right: 15%;
  animation: cloudDrift 30s linear infinite 8s;
}
.abc-cloud-3 {
  width: 100px; top: 25%; left: 55%;
  animation: cloudDrift 20s linear infinite 4s;
}
@keyframes cloudDrift {
  0% { transform: translateX(0); }
  100% { transform: translateX(120px); }
}
.abc-star {
  position: absolute;
  font-size: 24px;
  animation: twinkle 2s ease-in-out infinite;
  opacity: .6;
}
.abc-star-1 { top: 12%; left: 20%; animation-delay: 0s; }
.abc-star-2 { top: 30%; right: 10%; animation-delay: .5s; }
.abc-star-3 { bottom: 25%; left: 8%; animation-delay: 1s; }
.abc-star-4 { bottom: 15%; right: 25%; animation-delay: 1.5s; }
@keyframes twinkle {
  0%, 100% { transform: scale(1); opacity: .4; }
  50% { transform: scale(1.3); opacity: .9; }
}

.abchero-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Dr. Sam Character */
.abchero-character {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.dr-sam-spotlight {
  position: relative;
  width: 340px;
  height: 400px;
  cursor: pointer;
}
.dr-sam-spotlight::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(38,166,154,.2) 0%, transparent 70%);
  border-radius: 50%;
}
.dr-sam-hero-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,.15));
  animation: drSamBounce 4s ease-in-out infinite;
  transition: transform .3s ease, filter .3s ease;
}
.dr-sam-spotlight:hover .dr-sam-hero-svg {
  animation: drSamWave 0.6s ease-in-out;
  filter: drop-shadow(0 16px 40px rgba(38,166,154,.25));
}
.dr-sam-spotlight:active .dr-sam-hero-svg {
  transform: scale(0.95);
}
.dr-sam-speech-bubble {
  position: absolute;
  top: 10px;
  right: -30px;
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 18px 18px 18px 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  border: 2px solid var(--teal);
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
  white-space: nowrap;
  z-index: 10;
}
.dr-sam-spotlight:hover .dr-sam-speech-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@keyframes drSamBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes drSamWave {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(3deg) translateY(-4px); }
  30% { transform: rotate(-3deg); }
  45% { transform: rotate(2deg) translateY(-2px); }
  60% { transform: rotate(-2deg); }
  75% { transform: rotate(1deg); }
  100% { transform: rotate(0deg); }
}
.dr-sam-nametag {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 12px 32px 14px;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
  margin-top: -20px;
  position: relative;
  z-index: 3;
  border: 3px solid var(--teal);
}
.nametag-hi {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--coral);
  font-weight: 600;
}
.nametag-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1.1;
}
.nametag-role {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ABC Hero Text */
.abchero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.badge-tooth {
  font-size: 20px;
}
.abchero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 20px;
}
.abc-highlight {
  position: relative;
  display: inline;
}
.abc-highlight-yellow {
  color: #f57f17;
}
.abc-highlight-yellow::after {
  content: '';
  position: absolute;
  bottom: 2px; left: -4px; right: -4px;
  height: 14px;
  background: #fff176;
  opacity: .5;
  border-radius: 4px;
  z-index: -1;
}
.abc-highlight-teal {
  color: var(--teal-dark);
}
.abc-highlight-teal::after {
  content: '';
  position: absolute;
  bottom: 2px; left: -4px; right: -4px;
  height: 14px;
  background: #80cbc4;
  opacity: .4;
  border-radius: 4px;
  z-index: -1;
}
.abchero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 28px;
}
.abchero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.abc-btn-bounce {
  animation: btnPulse 3s ease-in-out infinite;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(255,112,67,.25); }
  50% { box-shadow: 0 4px 32px rgba(255,112,67,.45); }
}
.abc-btn-kids {
  background: linear-gradient(135deg, #7c4dff, #e040fb);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124,77,255,.25);
}
.abc-btn-kids:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,77,255,.35);
}
.abc-btn-kids span {
  font-size: 20px;
}
.abchero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid rgba(255,255,255,.8);
}
.trust-pill svg {
  color: var(--teal);
  flex-shrink: 0;
}

/* ── Dr. Sam Tips Marquee Banner ── */
.drsam-tips-banner {
  background: linear-gradient(90deg, var(--teal), #00897b, #26a69a);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.drsam-tips-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  animation: marquee 50s linear infinite;
}
.tip-item {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.tip-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  margin-right: 6px;
}
.tip-dot {
  font-size: 16px;
  opacity: .6;
}

/* ── ABCMouse-Style Activity Tiles ── */
.abc-tiles-section {
  padding: 80px 0;
  background: var(--warm-white);
}
.abc-tiles-header {
  text-align: center;
  margin-bottom: 48px;
}
.abc-tiles-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}
.abc-tiles-sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 500px;
  margin: 0 auto;
}
.abc-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.abc-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px 28px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}
.abc-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.abc-tile:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
}
.abc-tile-green {
  background: linear-gradient(180deg, #e8f5e9 0%, #fff 60%);
  border-color: #a5d6a7;
}
.abc-tile-green::before { background: #43a047; }
.abc-tile-green:hover { border-color: #43a047; }
.abc-tile-green .abc-tile-icon { background: #c8e6c9; color: #2e7d32; }

.abc-tile-orange {
  background: linear-gradient(180deg, #fff3e0 0%, #fff 60%);
  border-color: #ffcc80;
}
.abc-tile-orange::before { background: #ef6c00; }
.abc-tile-orange:hover { border-color: #ef6c00; }
.abc-tile-orange .abc-tile-icon { background: #ffe0b2; color: #e65100; }

.abc-tile-blue {
  background: linear-gradient(180deg, #e3f2fd 0%, #fff 60%);
  border-color: #90caf9;
}
.abc-tile-blue::before { background: #1976d2; }
.abc-tile-blue:hover { border-color: #1976d2; }
.abc-tile-blue .abc-tile-icon { background: #bbdefb; color: #0d47a1; }

.abc-tile-purple {
  background: linear-gradient(180deg, #f3e5f5 0%, #fff 60%);
  border-color: #ce93d8;
}
.abc-tile-purple::before { background: #7b1fa2; }
.abc-tile-purple:hover { border-color: #7b1fa2; }
.abc-tile-purple .abc-tile-icon { background: #e1bee7; color: #4a148c; }

.abc-tile-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform .3s;
}
.abc-tile:hover .abc-tile-icon {
  transform: scale(1.1) rotate(-5deg);
}
.abc-tile h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.abc-tile p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.abc-tile-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
  transition: color .2s;
}
.abc-tile:hover .abc-tile-cta { color: var(--coral); }

/* ── Dr. Sam Inline Tip Cards ── */
.drsam-tip-card {
  background: linear-gradient(135deg, #fce4ec, #ede7f6, #e3f2fd);
  border: 2px solid rgba(233,30,99,.12);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  margin: 48px auto;
  max-width: 720px;
}
.drsam-tip-avatar {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
}
.drsam-tip-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

/* ── Dr. Sam's 10 Tips Section ── */
.drsam-tips-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff9c4 0%, #fff3e0 30%, var(--cream) 100%);
  position: relative;
}
.drsam-tips-header {
  text-align: center;
  margin-bottom: 48px;
}
.drsam-tips-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.drsam-tips-subtitle {
  font-size: 17px;
  color: var(--ink-soft);
}
.drsam-tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.drsam-tip-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 2px solid #f5f5f5;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.drsam-tip-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  border-color: var(--tip-color, var(--teal));
}
.drsam-tip-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--tip-color, var(--teal));
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.drsam-tip-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.drsam-tip-text p {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
}

/* ── Responsive overrides for new sections ── */
@media (max-width: 960px) {
  .abchero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .abchero-character { order: -1; }
  .dr-sam-spotlight {
    width: 280px;
    height: 340px;
    margin: 0 auto;
  }
  .dr-sam-speech-bubble {
    right: -10px;
    font-size: 13px;
  }
  .abchero-sub { margin: 0 auto 28px; }
  .abchero-actions { justify-content: center; }
  .abchero-trust { justify-content: center; }
  .abc-tiles-grid { grid-template-columns: repeat(2, 1fr); }
  .drsam-tips-grid { grid-template-columns: 1fr; }
  .drsam-tip-card { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 640px) {
  .abchero { padding: calc(var(--nav-h) + 24px) 0 40px; min-height: auto; }
  .dr-sam-spotlight {
    width: 220px;
    height: 280px;
  }
  .nametag-name { font-size: 26px; }
  .abchero-headline { font-size: 30px; }
  .abc-tiles-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .abc-tile { padding: 24px 16px 20px; }
  .abc-tile-icon { width: 56px; height: 56px; border-radius: 14px; }
  .drsam-tip-avatar { width: 50px; height: 50px; }
  .drsam-tip-img { width: 50px; height: 50px; }
  .drsam-tips-banner { padding: 10px 0; }
  .tip-item { font-size: 12px; }
}
