/* ============================================================
   Tea of Therapy — Shared Stylesheet (tot.css)
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --sage:        #9fbd84;
  --sage-light:  #c6d9b5;
  --sage-dark:   #7a9e65;
  --gold:        #d8b46a;
  --blush:       #e8c7be;
  --warm-dark:   #6a655f;
  --charcoal:    #3a3a3a;
  --coral:       #f28c52;
  --coral-light: #f6a87a;
  --cream:       #fff7ed;
  --white:       #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Navigation ─────────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 72px;
  background: rgba(255, 247, 237, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.nav-logo span {
  color: var(--sage-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sage-dark);
  font-weight: 600;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--charcoal);
  color: var(--white) !important;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--sage-dark);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(255, 247, 237, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 24px 32px 32px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  border-bottom: 1px solid rgba(159,189,132,0.2);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 1.05rem;
  font-weight: 400;
  padding: 12px 0;
  border-bottom: 1px solid rgba(159,189,132,0.15);
  transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--sage-dark);
  font-weight: 600;
}

.mobile-menu .mobile-cta {
  margin-top: 16px;
  display: inline-flex;
  justify-content: center;
  padding: 14px 28px;
  background: var(--charcoal);
  color: var(--white) !important;
  border-radius: 100px;
  font-weight: 500;
  border-bottom: none;
}

.mobile-menu .mobile-cta:hover {
  background: var(--sage-dark);
}

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  padding: 140px 60px 80px;
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-hero-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 680px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--sage-dark);
}

.page-hero .sub {
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
  opacity: 0.85;
}

.page-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Home Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 140px 60px 80px;
  align-items: center;
  gap: 60px;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-content {
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(159,189,132,0.15);
  border: 1px solid rgba(159,189,132,0.3);
  color: var(--sage-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.13;
  margin-bottom: 24px;
  color: var(--charcoal);
}

.hero h1 em {
  font-style: italic;
  color: var(--sage-dark);
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--warm-dark);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating Hero Cards */
.hcard {
  position: absolute;
  background: var(--white);
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: 0 8px 40px rgba(58,58,58,0.12);
}

.hcard.main {
  width: 220px;
  padding: 28px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 24px;
  text-align: center;
  animation: cardFloat 6s ease-in-out infinite;
}

.hcard.main .tea-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.hcard.main h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--sage-light);
  margin-bottom: 4px;
}

.hcard.main p {
  font-size: 0.78rem;
  opacity: 0.6;
  font-weight: 300;
}

.hcard.s1 {
  top: 40px;
  right: -20px;
  animation: cardFloat 5s ease-in-out infinite 0.8s;
}

.hcard.s2 {
  bottom: 60px;
  right: -10px;
  animation: cardFloat 7s ease-in-out infinite 1.6s;
}

.hcard.s3 {
  bottom: 40px;
  left: -10px;
  animation: cardFloat 5.5s ease-in-out infinite 0.4s;
}

.hcard-stat {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--charcoal);
  display: block;
}

.hcard-label {
  font-size: 0.78rem;
  color: var(--warm-dark);
  font-weight: 400;
}

.hcard.s1 .hcard-stat { color: var(--sage-dark); }
.hcard.s2 .hcard-stat { color: var(--coral); }
.hcard.s3 .hcard-stat { color: var(--gold); }

/* ── Section Shared ─────────────────────────────────────────── */
.section-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  color: var(--sage-dark);
}

.section-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--warm-dark);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 32px;
}

section {
  padding: 96px 60px;
}

.inner {
  max-width: 1240px;
  margin: 0 auto;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(122,158,101,0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 27px;
  background: transparent;
  color: var(--charcoal);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--charcoal);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-portal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--sage);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-portal:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(122,158,101,0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 27px;
  background: transparent;
  color: var(--white);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-coral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--coral);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-coral:hover {
  background: #d97340;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(242,140,82,0.35);
}

/* ── Client Logos ─────────────────────────────────────────────── */
.clients-section {
  background: var(--white);
  padding: 56px 0;
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--warm-dark);
  opacity: 0.65;
  margin-bottom: 32px;
}

.clients-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.clients-track {
  display: flex;
  width: max-content;
  animation: scroll-clients 40s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 44px;
  height: 64px;
  opacity: 0.55;
  transition: opacity 0.3s;
  flex-shrink: 0;
  text-align: center;
}

.client-logo:hover {
  opacity: 1;
}

.logo-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
}

.logo-type {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warm-dark);
  margin-top: 2px;
}

.accent-sage .logo-name { color: var(--sage-dark); }
.accent-coral .logo-name { color: var(--coral); }
.accent-gold .logo-name { color: #b8922e; }

/* ── Trust Strip ─────────────────────────────────────────────── */
.trust-strip {
  background: var(--cream);
  padding: 64px 60px;
}

.trust-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.trust-item {
  text-align: center;
  padding: 20px 24px;
  border-right: 1px solid rgba(159,189,132,0.25);
}

.trust-item:last-child {
  border-right: none;
}

.trust-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--charcoal);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.trust-label {
  font-size: 0.82rem;
  color: var(--warm-dark);
  font-weight: 400;
  line-height: 1.4;
}

/* ── Who We Serve ─────────────────────────────────────────────── */
.serve-section {
  background: var(--charcoal);
  padding: 96px 60px;
}

.serve-section .section-label {
  color: var(--sage-light);
  opacity: 0.8;
}

.serve-section .section-title {
  color: var(--white);
}

.serve-section .section-sub {
  color: rgba(255,255,255,0.6);
}

.serve-header {
  max-width: 1240px;
  margin: 0 auto 56px;
  text-align: center;
}

.serve-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.scard {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, background 0.3s;
}

.scard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 4px 4px 0 0;
}

.scard.schools::before { background: var(--sage); }
.scard.parents::before { background: var(--gold); }
.scard.counsellors::before { background: var(--coral); }

.scard:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
}

.scard-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.scard.schools .scard-icon { background: rgba(159,189,132,0.15); }
.scard.parents .scard-icon { background: rgba(216,180,106,0.15); }
.scard.counsellors .scard-icon { background: rgba(242,140,82,0.15); }

.scard h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.scard p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 20px;
}

.scard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.scard-tag {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 500;
}

.scard.schools .scard-tag { background: rgba(159,189,132,0.2); color: var(--sage-light); }
.scard.parents .scard-tag { background: rgba(216,180,106,0.2); color: var(--gold); }
.scard.counsellors .scard-tag { background: rgba(242,140,82,0.2); color: var(--coral-light); }

.scard-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.scard.schools .scard-link { color: var(--sage-light); }
.scard.parents .scard-link { color: var(--gold); }
.scard.counsellors .scard-link { color: var(--coral-light); }

.scard-link:hover { gap: 10px; }

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials-section {
  background: var(--white);
  padding: 96px 60px;
}

.testimonials-section .section-title {
  text-align: center;
}

.testimonials-section .section-sub {
  text-align: center;
  margin: 0 auto 56px;
}

.tgrid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.tcard {
  background: var(--cream);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition: transform 0.3s;
}

.tcard:hover {
  transform: translateY(-4px);
}

.tcard-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.tcard-stars span {
  color: var(--gold);
  font-size: 1rem;
}

.tcard-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tcard-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.tcard-avatar.green  { background: var(--sage-dark); }
.tcard-avatar.gold   { background: var(--gold); }
.tcard-avatar.coral  { background: var(--coral); }

.tcard-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}

.tcard-role {
  font-size: 0.78rem;
  color: var(--warm-dark);
}

/* ── Blog ─────────────────────────────────────────────────────── */
.blog-section {
  background: var(--cream);
  padding: 96px 60px;
}

.blog-header {
  max-width: 1240px;
  margin: 0 auto 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.blog-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 5th card spans 2 col */
.blog-card:nth-child(4) {
  grid-column: span 1;
}

.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(58,58,58,0.1);
}

.blog-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.blog-card-img.bg-sage   { background: linear-gradient(135deg, var(--sage-light), var(--sage)); }
.blog-card-img.bg-blush  { background: linear-gradient(135deg, var(--blush), #d4a89f); }
.blog-card-img.bg-gold   { background: linear-gradient(135deg, #f0d898, var(--gold)); }
.blog-card-img.bg-coral  { background: linear-gradient(135deg, var(--coral-light), var(--coral)); }
.blog-card-img.bg-green  { background: linear-gradient(135deg, #a8d5a2, #5fa85a); }

.blog-card-body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.blog-tag.sage   { background: rgba(159,189,132,0.2); color: var(--sage-dark); }
.blog-tag.blush  { background: rgba(232,199,190,0.4); color: #a05e52; }
.blog-tag.gold   { background: rgba(216,180,106,0.2); color: #8a6820; }
.blog-tag.coral  { background: rgba(242,140,82,0.2); color: #c45e20; }
.blog-tag.green  { background: rgba(95,168,90,0.15); color: #3d7539; }

.blog-date {
  font-size: 0.78rem;
  color: var(--warm-dark);
  margin-bottom: 10px;
}

.blog-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--warm-dark);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.blog-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage-dark);
  text-decoration: none;
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.blog-link:hover {
  color: var(--charcoal);
}

/* ── Feature List ─────────────────────────────────────────────── */
.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0 36px;
}

.feat-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  background: rgba(159,189,132,0.15);
}

.feat-icon.coral-tint { background: rgba(242,140,82,0.12); }
.feat-icon.sage-tint  { background: rgba(159,189,132,0.15); }
.feat-icon.gold-tint  { background: rgba(216,180,106,0.15); }

.feat-text h4 {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.feat-text p {
  font-size: 0.88rem;
  color: var(--warm-dark);
  line-height: 1.6;
}

/* ── Quote Card ─────────────────────────────────────────────────── */
.quote-card {
  background: var(--sage);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  color: rgba(255,255,255,0.18);
  line-height: 1;
  pointer-events: none;
}

.quote-card blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.quote-attr {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  position: relative;
  z-index: 1;
}

/* ── Mini Stats ─────────────────────────────────────────────────── */
.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.mini-stat {
  background: var(--white);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(58,58,58,0.07);
}

.mini-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--charcoal);
  display: block;
}

.mini-stat-label {
  font-size: 0.78rem;
  color: var(--warm-dark);
  line-height: 1.3;
}

/* ── Form Styles ─────────────────────────────────────────────────── */
.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--cream);
  border: 1.5px solid rgba(159,189,132,0.3);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(159,189,132,0.15);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ── Contact Section ─────────────────────────────────────────────── */
.contact-section {
  background: var(--cream);
  padding: 96px 60px;
}

.contact-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(159,189,132,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--warm-dark);
  margin-bottom: 4px;
}

.contact-detail p, .contact-detail a {
  font-size: 0.95rem;
  color: var(--charcoal);
  text-decoration: none;
}

.contact-detail a:hover {
  color: var(--sage-dark);
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.contact-chip {
  font-size: 0.8rem;
  padding: 6px 14px;
  background: rgba(159,189,132,0.15);
  color: var(--sage-dark);
  border-radius: 100px;
  font-weight: 500;
}

.contact-form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 0 8px 48px rgba(58,58,58,0.08);
}

.contact-form-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--charcoal);
}

.contact-submit {
  width: 100%;
  padding: 15px;
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
}

.contact-submit:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
}

.privacy-note {
  font-size: 0.75rem;
  color: var(--warm-dark);
  opacity: 0.7;
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 20px;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form-success p {
  color: var(--warm-dark);
  font-size: 0.95rem;
}

/* ── CTA Band ─────────────────────────────────────────────────── */
.cta-section {
  background: var(--charcoal);
  padding: 96px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(159,189,132,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-section h2 em {
  font-style: italic;
  color: var(--sage-light);
}

.cta-section .cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
  font-weight: 300;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  background: #282828;
  color: rgba(255,255,255,0.7);
}

.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 60px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 14px;
}

.footer-brand .footer-logo span { color: var(--sage-light); }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
  max-width: 240px;
  margin-bottom: 8px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--sage-light);
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 60px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--sage-light); }

/* ── Reveal Animation ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.on {
  opacity: 1;
  transform: translateY(0);
}

/* ── Keyframes ────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

@keyframes scroll-clients {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Plan Cards ─────────────────────────────────────────────────── */
.plan {
  background: var(--cream);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 18px;
  border: 1.5px solid rgba(159,189,132,0.2);
  transition: transform 0.3s;
}

.plan:hover { transform: translateY(-4px); }

.plan.featured {
  background: var(--charcoal);
  border-color: var(--sage);
  position: relative;
}

.plan-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  background: var(--sage);
  color: var(--white);
  border-radius: 100px;
  margin-bottom: 16px;
}

.plan-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.plan h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.plan.featured h4 { color: var(--white); }

.plan-sub {
  font-size: 0.82rem;
  color: var(--warm-dark);
  margin-bottom: 14px;
}

.plan.featured .plan-sub { color: rgba(255,255,255,0.5); }

.plan p {
  font-size: 0.88rem;
  color: var(--warm-dark);
  line-height: 1.6;
  margin-bottom: 16px;
}

.plan.featured p { color: rgba(255,255,255,0.6); }

.plan ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan ul li {
  font-size: 0.85rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan.featured ul li { color: rgba(255,255,255,0.75); }

.plan ul li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── How It Works (children.html) ──────────────────────────────── */
.steps-row {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.88rem;
  color: var(--warm-dark);
  line-height: 1.6;
}

/* ── Reassurance Row ─────────────────────────────────────────── */
.reassurance-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.reassurance-item {
  text-align: center;
  max-width: 200px;
}

.reassurance-item .r-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.reassurance-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.reassurance-item p {
  font-size: 0.82rem;
  color: var(--warm-dark);
  line-height: 1.5;
}

/* ── Age chips ────────────────────────────────────────────────── */
.age-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.age-chip {
  padding: 8px 18px;
  background: rgba(242,140,82,0.1);
  color: var(--coral);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid rgba(242,140,82,0.25);
}

/* ── Upload zone ─────────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed rgba(159,189,132,0.4);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  background: rgba(159,189,132,0.04);
  cursor: pointer;
  transition: border-color 0.2s;
}

.upload-zone:hover {
  border-color: var(--sage);
}

.upload-zone p {
  font-size: 0.88rem;
  color: var(--warm-dark);
}

/* ── Social proof strip ─────────────────────────────────────── */
.proof-strip {
  background: var(--cream);
  padding: 64px 60px;
}

.proof-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.proof-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  border-left: 4px solid var(--sage);
  transition: transform 0.3s;
}

.proof-card:hover { transform: translateY(-4px); }

.proof-card blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.97rem;
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: 16px;
}

.proof-card cite {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--warm-dark);
  font-style: normal;
}

/* ── Map section ────────────────────────────────────────────── */
.map-section {
  background: var(--charcoal);
  padding: 80px 60px;
  text-align: center;
}

.map-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}

.map-section p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.map-placeholder {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.map-placeholder iframe {
  width: 100%;
  height: 360px;
  border: none;
  display: block;
}

/* ── Join section (educators.html) ──────────────────────────── */
.join-section {
  background: var(--blush);
  padding: 80px 60px;
}

.join-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.join-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}

.join-chip {
  padding: 7px 16px;
  background: rgba(255,255,255,0.6);
  color: var(--warm-dark);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.8);
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 120px 32px 64px;
  }

  .hero-visual { display: none; }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-item:nth-child(4),
  .trust-item:nth-child(5) {
    border-top: 1px solid rgba(159,189,132,0.25);
  }

  .trust-item:nth-child(3) { border-right: none; }

  .serve-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tgrid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  section { padding: 72px 32px; }

  .trust-strip { padding: 52px 32px; }
  .cta-section { padding: 72px 32px; }
  .blog-section { padding: 72px 32px; }
  .testimonials-section { padding: 72px 32px; }

  .page-hero {
    padding: 120px 32px 60px;
  }

  .join-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .proof-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-inner {
    padding: 0 24px;
  }

  section { padding: 64px 24px; }

  .trust-strip { padding: 48px 24px; }
  .blog-section { padding: 64px 24px; }
  .clients-section { padding: 40px 0; }
  .cta-section { padding: 64px 24px; }
  .map-section { padding: 60px 24px; }
  .proof-strip { padding: 56px 24px; }
  .serve-section { padding: 64px 24px; }
  .testimonials-section { padding: 64px 24px; }
  .contact-section { padding: 64px 24px; }
  .join-section { padding: 60px 24px; }

  .footer-top { padding: 48px 24px 32px; }
  .footer-bottom { padding: 16px 24px; }
}

@media (max-width: 680px) {
  .hero { padding: 110px 20px 56px; }

  .page-hero {
    padding: 110px 20px 56px;
    min-height: auto;
  }

  .page-hero h1 { font-size: 2rem; }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(4) { border-right: none; }
  .trust-item:nth-child(5) {
    grid-column: span 2;
    border-right: none;
    border-top: 1px solid rgba(159,189,132,0.25);
  }

  .serve-grid { grid-template-columns: 1fr; }

  .tgrid,
  .blog-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
  }

  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn-primary,
  .cta-actions .btn-outline,
  .cta-actions .btn-ghost,
  .cta-actions .btn-portal {
    text-align: center;
    justify-content: center;
  }

  .hero-actions { flex-direction: column; }

  .page-hero-actions { flex-direction: column; }

  .field-row { grid-template-columns: 1fr; }

  .contact-form-card { padding: 28px 20px; }

  section { padding: 60px 20px; }

  .cta-section { padding: 60px 20px; }

  .mini-stats { grid-template-columns: 1fr 1fr; }
}
