/* =============================================================
   Tree Montessori — landing styles
   Palette and typography mirror the existing quiz for a unified funnel.
   ============================================================= */

:root {
  /* Brand palette — same as quiz */
  --purple: #C377FD;
  --pink:   #FE88F6;
  --teal:   #4EC9D8;
  --lilac:  #A78BFA;

  /* Text */
  --dark:    #1A1A2E;
  --text:    #2C3E50;
  --muted:   #8B9BB4;
  --soft:    #B0BCCC;

  /* Surfaces */
  --bg:        #FAF7FF;
  --bg-grad:   linear-gradient(160deg, #F3E8FF 0%, #FFF0FE 50%, #E8F9FB 100%);
  --bg-soft:   #F8F4FF;
  --bg-warm:   linear-gradient(135deg, #F3E8FF, #FFF0FE);
  --border:   #EDE8F5;
  --white:    #FFFFFF;

  /* Effects */
  --grad-cta:    linear-gradient(135deg, #C377FD, #FE88F6);
  --grad-cta-hv: linear-gradient(135deg, #B266F0, #ED7AE3);
  --shadow-sm:   0 2px 8px rgba(195,119,253,0.08);
  --shadow-md:   0 6px 24px rgba(195,119,253,0.13);
  --shadow-lg:   0 20px 60px rgba(195,119,253,0.18);
  --shadow-cta:  0 8px 28px rgba(195,119,253,0.30);

  /* Layout */
  --container:   1200px;
  --gutter:      24px;
  --gutter-lg:   48px;
  --r-sm:        14px;
  --r-md:        20px;
  --r-lg:        28px;
  --r-pill:      999px;

  /* Type */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, -apple-system, sans-serif;
}

/* =============================================================
   Reset
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-grad);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* =============================================================
   Typography
   ============================================================= */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; color: var(--dark); line-height: 1.15; }
.h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; }
.h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; }
.h3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.2; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--bg-warm);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.lead { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; color: var(--text); }
.muted { color: var(--muted); }

/* =============================================================
   Layout
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 72px 0; position: relative; }
.section--alt { background: rgba(255,255,255,0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.section--dark { background: linear-gradient(135deg, #1A1A2E 0%, #2D2A4E 100%); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .h2 { margin-bottom: 16px; }

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad-cta);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(195,119,253,0.40); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--border);
}
.btn--ghost:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); }
.btn--lg { padding: 20px 36px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
.btn-note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }

/* =============================================================
   Header
   ============================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(250, 247, 255, 0.85);
  border-bottom: 1px solid rgba(237, 232, 245, 0.6);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--dark);
}
.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--grad-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.nav a:hover { color: var(--purple); }
.header__right { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 4px;
  font-size: 13px;
  font-weight: 700;
}
.lang-switch a {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  color: var(--muted);
  transition: all 0.2s;
}
.lang-switch a.is-active { background: var(--grad-cta); color: var(--white); }
.header__cta { display: none; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; padding: 10px 22px; font-size: 14px; }
}

/* =============================================================
   Hero
   ============================================================= */
.hero { padding: 56px 0 80px; position: relative; overflow: hidden; }
.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}
.hero__copy { text-align: left; }
.hero__title { font-size: clamp(34px, 6.5vw, 64px); margin-bottom: 18px; line-height: 1.05; }
.hero__title em { font-style: normal; background: linear-gradient(120deg, var(--purple), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(16px, 1.8vw, 20px); color: var(--text); margin-bottom: 32px; max-width: 560px; }
.hero__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero__media {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__trust {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  padding: 18px 24px;
  background: rgba(255,255,255,0.7);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--purple); }

@media (min-width: 900px) {
  .hero { padding: 80px 0 100px; }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .hero__media { aspect-ratio: 4 / 5; }
  .hero__actions { flex-direction: row; align-items: center; gap: 16px; }
}

/* =============================================================
   Media: <img> that fills its container (hero, gallery, food, story, team)
   ============================================================= */
.hero__media img,
.gallery__item img,
.food-grid__photos img,
.teacher__photo img,
.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Brand logo image (replaces inline mark in header where real logo is shown) */
.brand__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}

/* =============================================================
   Placeholder for missing images
   ============================================================= */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, #F3E8FF 0%, #FFF0FE 50%, #E8F9FB 100%);
  color: var(--purple);
  border-radius: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 20px;
}
.ph::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px dashed rgba(195,119,253,0.35);
  border-radius: inherit;
  pointer-events: none;
}
.ph__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.ph__icon svg { width: 22px; height: 22px; stroke: var(--purple); }
.ph__caption { color: var(--muted); font-weight: 500; font-size: 12px; }

/* =============================================================
   Cards — universal
   ============================================================= */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--bg-warm);
  margin-bottom: 16px;
}
.card__icon svg { width: 28px; height: 28px; stroke: var(--purple); }
.card__title { font-size: 20px; margin-bottom: 8px; }
.card__text { color: var(--text); font-size: 15px; line-height: 1.6; }
.card__num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.grid-2  { grid-template-columns: 1fr; }
.grid-3  { grid-template-columns: 1fr; }
.grid-4  { grid-template-columns: 1fr; }
@media (min-width: 700px)  { .grid-2 { grid-template-columns: repeat(2,1fr); } .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

/* =============================================================
   Day timeline (Экран 4)
   ============================================================= */
.timeline { display: grid; gap: 0; max-width: 760px; margin: 0 auto; }
.timeline__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--border);
  align-items: baseline;
}
.timeline__row:last-child { border-bottom: none; }
.timeline__time {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--pink);
}
.timeline__what { font-size: 16px; color: var(--text); line-height: 1.55; }
@media (min-width: 700px) { .timeline__row { grid-template-columns: 120px 1fr; } .timeline__time { font-size: 26px; } }

.discipline-strip {
  margin-top: 40px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.discipline-strip__title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 16px;
  text-align: center;
}
.discipline-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  justify-content: center;
}
.discipline-strip__list li {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  background: var(--bg-warm);
  padding: 8px 14px;
  border-radius: var(--r-pill);
}

/* =============================================================
   Gallery / masonry (Экран 5)
   ============================================================= */
.gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}
.gallery__item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.gallery__item--tall { aspect-ratio: 3 / 4; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery__caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(255,255,255,0.92);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  backdrop-filter: blur(6px);
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
}

/* =============================================================
   Food (Экран 6)
   ============================================================= */
.food-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
.food-grid__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.food-grid__photos .ph {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
}
.food-pillars { display: grid; gap: 20px; }
.food-pillar { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.food-pillar__ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--bg-warm);
  display: flex; align-items: center; justify-content: center;
}
.food-pillar__ico svg { width: 24px; height: 24px; stroke: var(--purple); }
.food-pillar h3 { font-size: 18px; margin-bottom: 4px; }
.food-pillar p { font-size: 15px; color: var(--text); }
@media (min-width: 900px) { .food-grid { grid-template-columns: 1fr 1fr; align-items: center; } }

/* =============================================================
   Teachers (Экран 7)
   ============================================================= */
.teachers { display: grid; gap: 20px; }
.teacher {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.teacher:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.teacher__photo { aspect-ratio: 4 / 5; background: var(--bg-warm); }
.teacher__body { padding: 20px 22px 24px; }
.teacher__name { font-family: var(--font-serif); font-size: 22px; color: var(--dark); margin-bottom: 4px; }
.teacher__role { font-size: 13px; font-weight: 700; color: var(--purple); margin-bottom: 10px; letter-spacing: 0.3px; }
.teacher__bio { font-size: 14px; color: var(--text); line-height: 1.55; margin-bottom: 12px; }
.teacher__quote { font-family: var(--font-serif); font-size: 15px; color: var(--muted); font-style: italic; border-left: 3px solid var(--pink); padding-left: 12px; }

.size-note {
  margin: 32px auto 0;
  max-width: 720px;
  text-align: center;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.size-note__title { font-family: var(--font-serif); font-size: 22px; color: var(--dark); margin-bottom: 8px; }
.size-note__sub { font-size: 15px; color: var(--muted); }

@media (min-width: 700px) { .teachers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .teachers { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   Age groups (Экран 8)
   ============================================================= */
.ages { display: grid; gap: 16px; }
.age-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.age-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.age-card__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.age-card__title { font-family: var(--font-serif); font-size: 22px; color: var(--dark); }
.age-card__range { font-size: 14px; color: var(--muted); font-weight: 600; }
.age-card__text { font-size: 15px; color: var(--text); line-height: 1.55; }
.age-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--grad-cta);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-cta);
}
@media (min-width: 700px) { .ages { grid-template-columns: repeat(2,1fr); } }

/* =============================================================
   Reviews (Экран 9)
   ============================================================= */
.reviews {
  position: relative;
  overflow: hidden;
}
.reviews__track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  will-change: transform;
}
.review {
  flex: 0 0 100%;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.review::before {
  content: '"';
  position: absolute;
  top: 8px;
  left: 22px;
  font-family: var(--font-serif);
  font-size: 88px;
  color: var(--pink);
  opacity: 0.4;
  line-height: 1;
  pointer-events: none;
}
.review__text {
  position: relative;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.45;
  color: var(--dark);
  margin-bottom: 20px;
  padding-top: 28px;
}
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
}
.review__meta { font-size: 13px; color: var(--muted); line-height: 1.4; }
.review__meta strong { display: block; color: var(--text); font-size: 14px; }
.reviews__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.reviews__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: width 0.3s ease, background 0.3s ease;
  cursor: pointer;
}
.reviews__dot.is-active { background: var(--purple); width: 24px; border-radius: 99px; }
.reviews__rating {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}
.reviews__stars { color: var(--pink); font-size: 18px; letter-spacing: 2px; }

@media (min-width: 900px) {
  .review { flex: 0 0 calc((100% - 20px) / 2); }
  .review__text { font-size: 18px; }
}
@media (min-width: 1200px) {
  .review { flex: 0 0 calc((100% - 40px) / 3); }
}

/* =============================================================
   Story (Экран 10)
   ============================================================= */
.story {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
.story__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.story__body { font-family: var(--font-serif); font-size: 19px; line-height: 1.7; color: var(--text); }
.story__body p { margin-bottom: 18px; }
.story__body p:last-child { font-weight: 700; color: var(--dark); }
@media (min-width: 900px) { .story { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }

/* =============================================================
   Pricing (Экран 11)
   ============================================================= */
.price-scale {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}
.price-tier {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
}
.price-tier__label { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px; letter-spacing: 0.3px; text-transform: uppercase; }
.price-tier__value { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--dark); }
.price-tier__unit { font-size: 14px; color: var(--muted); margin-top: 4px; }
.price-tier--us {
  background: var(--grad-cta);
  color: var(--white);
  box-shadow: var(--shadow-cta);
  transform: scale(1);
}
.price-tier--us .price-tier__label,
.price-tier--us .price-tier__value,
.price-tier--us .price-tier__unit { color: var(--white); }
.price-tier--us .price-tier__label { opacity: 0.85; }

.included {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  max-width: 760px;
  margin: 0 auto 40px;
}
.included__title { font-family: var(--font-serif); font-size: 20px; color: var(--dark); margin-bottom: 20px; text-align: center; }
.included__list { display: grid; gap: 12px; grid-template-columns: 1fr; }
.included__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}
.included__list li svg { flex-shrink: 0; width: 22px; height: 22px; stroke: var(--purple); margin-top: 1px; }
.price-cta { text-align: center; }
.price-cta .btn { padding: 22px 40px; font-size: 18px; }
.price-cta p { margin-top: 14px; font-size: 14px; color: var(--muted); }

@media (min-width: 700px) {
  .price-scale { grid-template-columns: 1fr 1.2fr 1fr; align-items: center; }
  .price-tier--us { transform: scale(1.05); }
  .included__list { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   FAQ
   ============================================================= */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 0;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}
.faq__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--grad-cta); color: var(--white); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq__answer p {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

/* =============================================================
   Final CTA section
   ============================================================= */
.final-cta { text-align: center; }
.final-cta .h2 { color: var(--white); margin-bottom: 16px; }
.final-cta__sub { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 600px; margin: 0 auto 32px; }
.final-cta .btn--primary { background: var(--white); color: var(--purple); box-shadow: 0 10px 36px rgba(0,0,0,0.25); }
.final-cta .btn--primary:hover { transform: translateY(-2px); background: var(--white); }
.final-contacts {
  margin-top: 40px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.final-contacts li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  font-size: 15px;
}
.final-contacts svg { width: 20px; height: 20px; stroke: var(--pink); flex-shrink: 0; }

/* =============================================================
   Footer
   ============================================================= */
.footer {
  background: #14122B;
  color: rgba(255,255,255,0.8);
  padding: 48px 0 32px;
}
.footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
.footer__col h4 { color: var(--white); font-family: var(--font-sans); font-size: 14px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: 14px; transition: color 0.2s; }
.footer__col a:hover { color: var(--pink); }
.footer__about { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.6); max-width: 320px; }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

/* =============================================================
   Sticky mobile CTA
   ============================================================= */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: none;
}
.sticky-cta.is-visible { display: block; animation: slideUp 0.3s ease; }
.sticky-cta .btn { width: 100%; padding: 18px; font-size: 16px; box-shadow: 0 10px 36px rgba(195,119,253,0.45); }
@media (min-width: 900px) { .sticky-cta.is-visible { display: none; } }
@keyframes slideUp { from { transform: translateY(120%); } to { transform: translateY(0); } }

/* =============================================================
   Pain points cards (Экран 2)
   ============================================================= */
.pain-card { padding: 24px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pain-card__icon {
  width: 44px; height: 44px;
  background: var(--bg-warm);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.pain-card__icon svg { width: 22px; height: 22px; stroke: var(--purple); }
.pain-card__title { font-family: var(--font-serif); font-size: 18px; color: var(--dark); margin-bottom: 6px; line-height: 1.3; }
.pain-card__text { font-size: 14px; color: var(--text); line-height: 1.55; }

/* =============================================================
   Animations on scroll
   ============================================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-revealed { opacity: 1; transform: translateY(0); }

/* =============================================================
   Programs strip — list of disciplines as chips (used in B2 carousel-like)
   ============================================================= */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.chip svg { width: 14px; height: 14px; stroke: var(--purple); }

/* =============================================================
   Utility
   ============================================================= */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; }

/* Print-safe: nothing fancy */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
