/* ============================================================
   АЛЬФА КУРКИНО — Unified Styles
   Design: alfa-school-static pastel palette
   Content: alfa_v7 educational center
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
  --mint:      hsl(165 64% 84%);
  --blue:      hsl(199 73% 86%);
  --lavender:  hsl(244 64% 87%);
  --peach:     hsl(28 100% 90%);
  --yellow:    hsl(52 100% 84%);
  --purple:    hsl(272 56% 64%);
  --purple-dk: hsl(265 47% 48%);
  --cream:     hsl(252 100% 99%);
  --fg:        hsl(248 28% 23%);
  --fg-60:     hsl(248 28% 23% / .60);
  --fg-40:     hsl(248 28% 23% / .40);
  --border:    hsl(252 30% 90%);
  --muted:     hsl(248 16% 46%);
  --white:     #ffffff;
  --dark:      #1f1f24;

  --r-sm:   1rem;
  --r-md:   1.5rem;
  --r-lg:   2rem;
  --r-pill: 999px;

  --f-display: 'Manrope', sans-serif;
  --f-body:    'Inter', sans-serif;

  --sh-sm:     0 2px 12px hsl(248 28% 23% / .07);
  --sh-md:     0 8px 28px hsl(248 28% 23% / .10);
  --sh-lg:     0 20px 60px hsl(248 28% 23% / .13);
  --sh-purple: 0 12px 30px hsl(272 56% 64% / .35);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--fg);
  background: var(--cream);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); line-height: 1.1; }

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--purple);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}
.container--narrow { max-width: 840px; }

/* ── Section ── */
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section-sm { padding-block: clamp(2rem, 4vw, 3rem); }

/* ── Typography helpers ── */
.font-display   { font-family: var(--f-display); }
.text-purple    { color: var(--purple); }
.text-purple-dk { color: var(--purple-dk); }
.text-muted     { color: var(--muted); }
.text-center    { text-align: center; }

/* ── Section header ── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple);
  background: hsl(272 56% 64% / .12);
  padding: .375rem .875rem;
  border-radius: var(--r-pill);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  color: var(--fg);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--fg-60);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.65;
}

/* ── Blob decorations ── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: .6;
  z-index: 0;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Breadcrumbs ── */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.breadcrumbs__link { color: var(--purple); transition: color .2s; }
.breadcrumbs__link:hover { color: var(--purple-dk); }
.breadcrumbs__sep { color: var(--fg-40); }
.breadcrumbs__current { color: var(--fg-60); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: .75rem clamp(1rem, 4vw, 2rem);
  pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 60px;
  padding: 0 1.25rem 0 .75rem;
  border-radius: var(--r-pill);
  background: hsl(252 100% 99% / .65);
  backdrop-filter: blur(12px);
  border: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
  max-width: 1280px;
  margin: auto;
}
.site-header.is-scrolled .header-inner {
  background: hsl(252 100% 99% / .95);
  border-color: hsl(244 64% 87% / .5);
  box-shadow: 0 8px 30px hsl(248 28% 23% / .10);
}

/* Brand logo in header (SVG, no layout shift, subtle hover) */
.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform .22s var(--ease-out), filter .22s var(--ease-out);
}
.site-logo img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.site-logo:hover,
.site-logo:focus-visible { transform: translateY(-1px) scale(1.02); filter: drop-shadow(0 4px 10px hsl(272 56% 64% / .25)); }
@media (max-width: 560px) { .site-logo img { height: 34px; } }
@media (prefers-reduced-motion: reduce) {
  .site-logo { transition: none; }
  .site-logo:hover, .site-logo:focus-visible { transform: none; filter: none; }
}

/* Anchor targets clear the sticky header */
main [id] { scroll-margin-top: 88px; }

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--purple);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 24px; height: 24px; }
.nav-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  color: var(--fg);
}
.nav-logo__sub {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: .125rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .75rem;
  border-radius: .75rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--fg-60);
  transition: color .2s, background .2s;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}
.nav-link:hover, .nav-link.is-active { color: var(--purple-dk); background: hsl(272 56% 64% / .08); }
.nav-arrow { transition: transform .2s; flex-shrink: 0; }

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + .625rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: hsl(252 100% 99% / .98);
  backdrop-filter: blur(16px);
  border: 1px solid hsl(244 64% 87% / .5);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: .625rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
  z-index: 300;
}
/* Transparent pointer-bridge: fills the .625rem gap between trigger and popup
   so the dropdown stays open while the cursor travels down to it. */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -.75rem;
  left: 0;
  right: 0;
  height: .75rem;
}
.nav-dropdown--wide {
  min-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .25rem;
}
.nav-item:hover .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-item:hover .nav-arrow,
.nav-item.is-open .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem .875rem;
  border-radius: var(--r-sm);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--fg-60);
  transition: background .2s, color .2s;
  text-decoration: none;
}
.nav-dropdown-link:hover { background: hsl(272 56% 64% / .08); color: var(--purple-dk); }
.nav-dropdown-link__icon { font-size: 1.125rem; flex-shrink: 0; }
.nav-dropdown-link__text { display: flex; flex-direction: column; gap: .125rem; }
.nav-dropdown-link__title { font-weight: 700; color: var(--fg); line-height: 1.2; }
.nav-dropdown-link__desc { font-size: .7rem; color: var(--muted); }
.nav-dropdown-link--all .nav-dropdown-link__title { color: var(--purple); }

/* CTA area */
.nav-cta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.nav-phone {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .875rem;
  color: var(--purple-dk);
  white-space: nowrap;
  transition: color .2s;
}
.nav-phone:hover { color: var(--purple); }
.btn-header {
  display: flex;
  align-items: center;
  padding: .5rem 1.125rem;
  border-radius: var(--r-pill);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: var(--purple);
  color: #fff;
  box-shadow: var(--sh-purple);
  transition: background .2s, transform .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-header:hover { background: var(--purple-dk); transform: translateY(-1px); }

/* Burger */
.burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: .75rem;
  flex-shrink: 0;
}
.burger:hover { background: var(--lavender); }
.burger svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: clamp(1rem, 4vw, 2rem);
  right: clamp(1rem, 4vw, 2rem);
  background: hsl(252 100% 99% / .98);
  backdrop-filter: blur(16px);
  border-radius: var(--r-lg);
  border: 1px solid hsl(244 64% 87% / .4);
  box-shadow: var(--sh-lg);
  padding: .75rem;
  z-index: 199;
  max-height: 80vh;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a, .mobile-menu button.mobile-nav-btn {
  display: block; width: 100%;
  text-align: left;
  padding: .75rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .04em;
  color: var(--fg);
  transition: background .2s;
  text-decoration: none;
}
.mobile-menu a:hover, .mobile-menu button.mobile-nav-btn:hover { background: var(--lavender); }

.mobile-sub { display: none; padding: .25rem .5rem; }
.mobile-sub.open { display: block; }
.mobile-sub a {
  display: block;
  padding: .5rem .875rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--fg-60);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.mobile-sub a:hover { background: hsl(272 56% 64% / .08); color: var(--purple-dk); }

.btn-mobile-apply {
  width: 100%;
  margin-top: .5rem;
  padding: .875rem;
  border-radius: var(--r-pill);
  background: var(--purple);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .04em;
  text-align: center;
  cursor: pointer;
  transition: background .2s;
}
.btn-mobile-apply:hover { background: var(--purple-dk); }

.mobile-phone-link {
  display: block;
  text-align: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--purple-dk);
  padding: .75rem;
  margin-bottom: .25rem;
}

@media (max-width: 1023px) {
  .nav-desktop, .nav-cta { display: none; }
  .burger { display: flex; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  border-radius: var(--r-pill);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .9375rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
  text-decoration: none;
  border: none;
}
.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: var(--sh-purple);
}
.btn-primary:hover { background: var(--purple-dk); transform: translateY(-2px); }
.btn-secondary {
  background: hsl(252 60% 95%);
  color: var(--purple-dk);
}
.btn-secondary:hover { background: var(--lavender); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 2px dashed hsl(272 56% 64% / .55);
  color: var(--fg-60);
}
.btn-outline:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn-ghost {
  background: hsl(0 0% 100% / .15);
  border: 1px solid hsl(0 0% 100% / .3);
  color: #fff;
}
.btn-ghost:hover { background: hsl(0 0% 100% / .25); }
.btn-sm { padding: .5rem 1.25rem; font-size: .8125rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3rem, 7vh, 5rem);
  padding-bottom: clamp(3rem, 7vh, 5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
}
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--fg-60);
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: .875rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--purple);
  background: hsl(272 56% 64% / .1);
  padding: .375rem .875rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-trust-item { text-align: center; }
.hero-trust-number {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--purple-dk);
  line-height: 1;
}
.hero-trust-label { font-size: .75rem; color: var(--muted); margin-top: .25rem; }
.hero-trust-divider { width: 1px; height: 36px; background: var(--border); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  background: hsl(244 64% 87% / .15);
  border-bottom: 1px solid hsl(244 64% 87% / .4);
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 1rem;
  max-width: 700px;
}
.page-hero__desc {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--fg-60);
  max-width: 580px;
  line-height: 1.65;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.feature-card {
  border-radius: var(--r-lg);
  border: 2px dashed;
  padding: 1.5rem;
  transition: transform .3s, box-shadow .3s;
  cursor: default;
}
.feature-card:hover { transform: scale(1.04); box-shadow: var(--sh-md); }
.feature-card h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: .8125rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-60);
  margin-bottom: .75rem;
}
.feature-card p { font-size: .875rem; color: var(--fg-60); line-height: 1.6; margin: 0; }
.fc-yellow   { background: hsl(52  100% 84% / .4); border-color: hsl(52  100% 84%); }
.fc-blue     { background: hsl(199 73%  86% / .35); border-color: hsl(199 73%  86%); }
.fc-lavender { background: hsl(244 64%  87% / .4); border-color: hsl(244 64%  87%); }
.fc-peach    { background: hsl(28  100% 90% / .45); border-color: hsl(28  100% 90%); }
@media (max-width: 900px)  { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .features-grid { grid-template-columns: 1fr; } }

/* ============================================================
   STATS
   ============================================================ */
.stats-section { background: hsl(252 60% 96% / .4); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.stat-card {
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform .3s;
  cursor: default;
}
.stat-card:hover { transform: scale(1.04); }
.stat-value {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-label { font-size: .9375rem; font-weight: 600; color: hsl(248 28% 23% / .7); }
@media (max-width: 768px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   PROGRAMS / COURSES GRID
   ============================================================ */
.programs-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.program-featured-card {
  display: block;
  border-radius: var(--r-lg);
  padding: 2rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.program-featured-card--school { background: linear-gradient(135deg, hsl(244 64% 87% / .5), hsl(272 56% 64% / .15)); border: 2px solid hsl(244 64% 87%); }
.program-featured-card--afterschool { background: linear-gradient(135deg, hsl(28 100% 90% / .5), hsl(52 100% 84% / .3)); border: 2px solid hsl(28 100% 90%); }
.program-featured-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.program-featured-card__badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--purple);
  color: #fff;
  padding: .25rem .75rem;
  border-radius: var(--r-pill);
  margin-bottom: .875rem;
}
.program-featured-card__icon { font-size: 2.5rem; margin-bottom: .75rem; }
.program-featured-card__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--fg);
  margin-bottom: .75rem;
}
.program-featured-card__desc { font-size: .9375rem; color: var(--fg-60); margin-bottom: 1rem; line-height: 1.6; }
.program-featured-card__list { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1.25rem; }
.program-featured-card__list li { font-size: .875rem; color: var(--fg-60); padding-left: 1rem; position: relative; }
.program-featured-card__list li::before { content: '✓'; position: absolute; left: 0; color: var(--purple); font-weight: 700; }
.program-featured-card__cta { font-family: var(--f-display); font-weight: 700; color: var(--purple-dk); font-size: .9375rem; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.course-card {
  display: block;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid hsl(244 64% 87% / .4);
  padding: 1.5rem;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  box-shadow: var(--sh-sm);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: hsl(272 56% 64% / .5); }
.course-card__icon { font-size: 2rem; margin-bottom: .625rem; }
.course-card__age {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--purple);
  background: hsl(272 56% 64% / .1);
  display: inline-block;
  padding: .2rem .625rem;
  border-radius: var(--r-pill);
  margin-bottom: .625rem;
}
.course-card__title { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--fg); margin-bottom: .5rem; }
.course-card:hover .course-card__title { color: var(--purple-dk); }
.course-card__desc { font-size: .875rem; color: var(--fg-60); line-height: 1.55; margin-bottom: .875rem; }
.course-card__link { font-size: .8125rem; font-weight: 700; color: var(--purple); }

@media (max-width: 900px) {
  .programs-featured { grid-template-columns: 1fr; }
  .courses-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .courses-grid { grid-template-columns: 1fr; } }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.75rem;
  box-shadow: var(--sh-sm);
  transition: transform .3s, box-shadow .3s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.why-card__icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.why-card__icon-wrap--coral    { background: hsl(28  100% 90% / .6); }
.why-card__icon-wrap--teal     { background: hsl(165 64%  84% / .6); }
.why-card__icon-wrap--violet   { background: hsl(244 64%  87% / .6); }
.why-card__icon-wrap--amber    { background: hsl(52  100% 84% / .6); }
.why-card__icon-wrap--sage     { background: hsl(165 64%  84% / .5); }
.why-card__title { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--fg); margin-bottom: .5rem; }
.why-card__text { font-size: .9rem; color: var(--fg-60); line-height: 1.65; margin: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 2px;
  background: linear-gradient(to right, var(--lavender), var(--purple));
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-step__num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: var(--sh-purple);
}
.process-step__title { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--fg); margin-bottom: .5rem; }
.process-step__text { font-size: .875rem; color: var(--fg-60); line-height: 1.65; }
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-slider { position: relative; overflow: hidden; }
.reviews-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--sh-sm);
}
.review-card__stars { color: hsl(52 100% 60%); font-size: 1rem; margin-bottom: .875rem; }
.review-card__text { font-size: .9375rem; color: var(--fg-60); line-height: 1.7; font-style: italic; margin-bottom: 1.25rem; }
.review-card__author { display: flex; align-items: center; gap: .75rem; }
.review-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-card__name { font-family: var(--f-display); font-weight: 700; font-size: .9rem; color: var(--fg); }
.review-card__meta { font-size: .75rem; color: var(--muted); }
@media (max-width: 900px) { .reviews-track { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reviews-track { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
  text-align: left;
  cursor: pointer;
  transition: color .2s, background .2s;
}
.faq-question:hover { color: var(--purple-dk); background: hsl(272 56% 64% / .04); }
.faq-question[aria-expanded="true"] { color: var(--purple-dk); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--lavender);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--purple-dk);
  transition: background .2s, transform .2s;
}
.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--purple);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease-out); }
.faq-answer-inner { padding: 0 1.5rem 1.25rem; font-size: .9375rem; color: var(--fg-60); line-height: 1.7; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .875rem;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: hsl(244 64% 87% / .2);
  cursor: pointer;
}
.gallery-item--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--muted);
}
.gallery-item--placeholder .ph-icon { font-size: 2rem; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, hsl(272 56% 64% / .4) 0%, transparent 100%);
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   TEACHERS
   ============================================================ */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.teacher-card {
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid hsl(244 64% 87% / .4);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.teacher-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: hsl(272 56% 64% / .5); }
.teacher-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--lavender), var(--blue));
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.teacher-card:hover .teacher-photo img { transform: scale(1.05); }
.teacher-photo-placeholder {
  font-size: 4rem;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, hsl(244 64% 87% / .5), hsl(199 73% 86% / .5));
}
.teacher-body { padding: 1.25rem; }
.teacher-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
  line-height: 1.25;
  margin-bottom: .25rem;
}
.teacher-card:hover .teacher-name { color: var(--purple-dk); }
.teacher-role { font-size: .875rem; color: var(--muted); margin-bottom: .625rem; }
.teacher-exp { font-size: .75rem; color: var(--muted); }
.teacher-line {
  height: 2px; width: 40px;
  background: var(--blue);
  border-radius: 2px;
  margin-bottom: .625rem;
  transition: width .3s, background .3s;
}
.teacher-card:hover .teacher-line { width: 64px; background: var(--purple); }
.teacher-tags { display: flex; flex-wrap: wrap; gap: .375rem; margin-top: .625rem; }
.tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--purple-dk);
  background: hsl(272 56% 64% / .1);
  padding: .2rem .625rem;
  border-radius: var(--r-pill);
}
@media (max-width: 900px) { .teachers-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .teachers-grid { grid-template-columns: 1fr; } }

/* Временное центрирование сетки из пяти педагогов на главной (index.html).
   3 карточки в первом ряду, 2 по центру во втором. Только desktop (>900px) —
   на tablet/mobile действует базовая .teachers-grid раскладка.
   При добавлении шестой карточки удалить модификатор teachers-grid--five
   и специальные правила размещения 4-й и 5-й карточек. */
@media (min-width: 901px) {
  .teachers-grid--five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .teachers-grid--five > .teacher-card { grid-column: span 2; }
  .teachers-grid--five > .teacher-card:nth-child(4) { grid-column: 2 / span 2; }
  .teachers-grid--five > .teacher-card:nth-child(5) { grid-column: 4 / span 2; }
}

/* Teacher page full cards */
.teachers-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.teacher-page-card {
  display: flex;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--sh-sm);
  transition: box-shadow .3s;
}
.teacher-page-card:hover { box-shadow: var(--sh-md); }
.teacher-page-card__photo {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, hsl(244 64% 87%), hsl(199 73% 86%));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  overflow: hidden;
}
.teacher-page-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-page-card__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--fg);
  margin-bottom: .25rem;
}
.teacher-page-card__role { font-size: .8125rem; color: var(--purple); font-weight: 600; margin-bottom: .25rem; }
.teacher-page-card__exp { font-size: .75rem; color: var(--muted); margin-bottom: .75rem; }
.teacher-page-card__bio { font-size: .875rem; color: var(--fg-60); line-height: 1.65; margin-bottom: .75rem; }
.teacher-page-card__tags { display: flex; flex-wrap: wrap; gap: .375rem; }
.teacher-tag { font-size: .7rem; font-weight: 700; color: var(--purple-dk); background: hsl(272 56% 64% / .1); padding: .2rem .625rem; border-radius: var(--r-pill); }
@media (max-width: 768px) { .teachers-page-grid { grid-template-columns: 1fr; } }

/* ============================================================
   COURSE PAGE
   ============================================================ */
.course-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.course-info-card {
  background: var(--white);
  border: 2px dashed hsl(272 56% 64% / .4);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--sh-sm);
}
.course-badge {
  display: inline-block;
  border-radius: var(--r-pill);
  padding: .375rem 1rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: hsl(272 56% 64% / .15);
  color: var(--purple-dk);
  margin-bottom: 1rem;
}
.course-price {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--purple-dk);
  margin-bottom: .25rem;
}
.course-price-note { font-size: .8125rem; color: var(--muted); margin-bottom: 1.25rem; }
.course-bullets { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.course-bullets li { display: flex; gap: .625rem; font-size: .9375rem; color: var(--fg-60); }
.bullet-dot { margin-top: .6rem; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); flex-shrink: 0; }

.course-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.course-detail-item {
  border-radius: var(--r-md);
  padding: 1.25rem;
  text-align: center;
}
.course-detail-icon { font-size: 1.5rem; margin-bottom: .5rem; }
.course-detail-label { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
.course-detail-value { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--fg); }

@media (max-width: 900px) {
  .course-hero { grid-template-columns: 1fr; }
  .course-details-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .course-details-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PRICING
   ============================================================ */
.price-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: auto;
}
.price-card {
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--sh-sm);
  position: relative;
}
.price-card--featured {
  border-color: var(--purple);
  box-shadow: var(--sh-purple);
}
.price-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .875rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.price-card__name { font-family: var(--f-display); font-weight: 800; font-size: 1.375rem; color: var(--fg); margin-bottom: .5rem; }
.price-card__price { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.75rem); color: var(--purple-dk); }
.price-card__period { font-size: .875rem; color: var(--muted); margin-bottom: 1.25rem; }
.price-card__features { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.price-card__features li { font-size: .9rem; color: var(--fg-60); }
.price-card__note { font-size: .75rem; color: var(--muted); margin-top: .75rem; text-align: center; }
@media (max-width: 640px) { .price-cards { grid-template-columns: 1fr; } }

.price-table {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.price-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: .9375rem;
}
.price-table-row:last-child { border-bottom: none; }
.price-table-row--header {
  background: hsl(252 60% 96%);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-table-price { font-family: var(--f-display); font-weight: 700; color: var(--purple-dk); }
.price-table-price small { font-size: .75rem; font-weight: 400; color: var(--muted); }

.price-courses-grid { display: flex; flex-direction: column; gap: .75rem; }
.price-course-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--border);
}
.price-course-item__emoji { font-size: 1.5rem; flex-shrink: 0; }
.price-course-item__info { flex: 1; }
.price-course-item__name { font-family: var(--f-display); font-weight: 700; font-size: .9375rem; color: var(--fg); }
.price-course-item__detail { font-size: .8125rem; color: var(--muted); }
.price-course-item__price { font-family: var(--f-display); font-weight: 700; color: var(--purple-dk); text-align: right; }
.price-course-item__price small { font-size: .75rem; font-weight: 400; color: var(--muted); }

.discounts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.discount-card {
  border-radius: var(--r-lg);
  background: hsl(0 0% 100% / .08);
  border: 1px solid hsl(0 0% 100% / .15);
  padding: 1.75rem;
}
.discount-card__pct { font-family: var(--f-display); font-weight: 800; font-size: 2rem; color: hsl(52 100% 75%); margin-bottom: .5rem; }
.discount-card__title { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: #fff; margin-bottom: .5rem; }
.discount-card__text { font-size: .875rem; color: hsl(0 0% 100% / .7); line-height: 1.6; }
@media (max-width: 900px) { .discounts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .discounts-grid { grid-template-columns: 1fr; } }

.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.payment-item { text-align: center; }
.payment-item__icon { font-size: 2.5rem; margin-bottom: .75rem; }
.payment-item__title { font-family: var(--f-display); font-weight: 700; font-size: .9375rem; color: var(--fg); margin-bottom: .5rem; }
.payment-item__text { font-size: .875rem; color: var(--fg-60); line-height: 1.6; }
@media (max-width: 900px) { .payment-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   CONTACTS
   ============================================================ */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-block { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-block__icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-block__label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--purple-dk); margin-bottom: .25rem; }
.contact-block__value { font-weight: 600; color: var(--fg-60); font-size: .9375rem; }
.contact-block__value--link { color: var(--purple-dk); transition: color .2s; }
.contact-block__value--link:hover { color: var(--purple); text-decoration: underline; }
.contact-block__sub { font-size: .8125rem; color: var(--muted); margin-top: .125rem; }
.contacts-messengers { display: flex; gap: .75rem; margin-top: .5rem; flex-wrap: wrap; }
.messenger-btn {
  display: inline-block;
  padding: .375rem 1rem;
  border-radius: var(--r-pill);
  font-size: .8125rem;
  font-weight: 700;
  background: hsl(272 56% 64% / .1);
  color: var(--purple-dk);
  transition: background .2s;
}
.messenger-btn:hover { background: var(--purple); color: #fff; }

.contacts-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--sh-sm);
}
.contacts-form-card__title { font-family: var(--f-display); font-weight: 800; font-size: 1.375rem; color: var(--purple-dk); margin-bottom: .375rem; }
.contacts-form-card__sub { font-size: .875rem; color: var(--muted); margin-bottom: 1.5rem; }

.map-frame { display: block; width: 100%; height: 420px; border: none; border-radius: var(--r-lg); overflow: hidden; }
.map-placeholder {
  width: 100%;
  height: 420px;
  border-radius: var(--r-lg);
  background: hsl(244 64% 87% / .2);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.map-placeholder__content { text-align: center; }
.map-placeholder__icon { font-size: 3rem; margin-bottom: 1rem; }

.direction-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.direction-card { border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--border); padding: 1.5rem; box-shadow: var(--sh-sm); }
.direction-card__icon { font-size: 2rem; margin-bottom: .75rem; }
.direction-card__title { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--fg); margin-bottom: .5rem; }
.direction-card__text { font-size: .875rem; color: var(--fg-60); line-height: 1.6; margin: 0; }

@media (max-width: 900px) {
  .contacts-layout { grid-template-columns: 1fr; }
  .direction-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1rem; }
.form-label { font-size: .875rem; font-weight: 600; color: var(--fg); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--fg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
  box-sizing: border-box;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px hsl(272 56% 64% / .15);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--fg-40); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 1rem; padding-right: 2.5rem; }
.form-check { display: flex; align-items: flex-start; gap: .625rem; cursor: pointer; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--purple); flex-shrink: 0; margin-top: .125rem; }
.form-check-label { font-size: .875rem; color: var(--fg-60); line-height: 1.5; }
.form-check-label a { color: var(--purple); text-decoration: underline; }
.form-error { font-size: .75rem; color: hsl(0 70% 55%); }
.form-hint { display: block; font-size: .75rem; color: var(--muted); margin-top: .25rem; line-height: 1.4; }
.form-status { font-size: .875rem; min-height: 1.25rem; color: var(--purple-dk); }
.form-status[data-state="error"] { color: hsl(0 70% 45%); }
.form-honeypot { position: absolute; left: -9999px; }
.btn-submit {
  width: 100%;
  padding: .9375rem;
  border-radius: var(--r-md);
  background: var(--purple);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 1rem;
  transition: background .25s;
  cursor: pointer;
}
.btn-submit:hover { background: var(--purple-dk); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-policy { text-align: center; font-size: .75rem; color: var(--muted); margin-top: .75rem; line-height: 1.6; }
.form-policy a { text-decoration: underline; }

/* CTA Banner */
.cta-banner-section {
  background: linear-gradient(135deg, var(--purple-dk), hsl(272 56% 54%));
  border-radius: var(--r-lg);
  padding: 3rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: #fff; margin-bottom: .5rem; }
.cta-banner-section p { color: hsl(0 0% 100% / .8); margin: 0; }
.cta-banner-section .actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   STRIP / STATS BAR
   ============================================================ */
.school-strip { background: hsl(252 60% 96% / .6); padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.school-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.school-strip__item {
  display: flex;
  align-items: center;
  gap: .875rem;
}
.school-strip__icon { font-size: 1.875rem; flex-shrink: 0; }
.school-strip__title { font-family: var(--f-display); font-weight: 700; font-size: .9375rem; color: var(--fg); }
.school-strip__text { font-size: .8125rem; color: var(--muted); }
@media (max-width: 900px) { .school-strip__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .school-strip__grid { grid-template-columns: 1fr; } }

/* ============================================================
   VALUES / POLICY CARDS
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.value-card {
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.75rem;
  box-shadow: var(--sh-sm);
}
.value-card__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2rem;
  color: hsl(272 56% 64% / .25);
  line-height: 1;
  margin-bottom: .75rem;
}
.value-card__title { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--fg); margin-bottom: .5rem; }
.value-card__text { font-size: .875rem; color: var(--fg-60); line-height: 1.65; margin: 0; }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.safety-card {
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--sh-sm);
}
.safety-card__icon { font-size: 2rem; margin-bottom: .75rem; }
.safety-card__title { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--fg); margin-bottom: .5rem; }
.safety-card__text { font-size: .875rem; color: var(--fg-60); line-height: 1.6; margin: 0; }
.safety-item {
  text-align: center;
  background: var(--white);
  border: 1px solid hsl(244 64% 87% / .5);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--sh-sm);
  transition: transform .3s, box-shadow .3s;
}
.safety-item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.safety-item__icon { font-size: 2.5rem; margin-bottom: .75rem; }
.safety-item__title { font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: var(--fg); margin-bottom: .5rem; }
.safety-item__text { font-size: .875rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .safety-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .safety-grid { grid-template-columns: 1fr; } }

/* Signup form */
.signup-card {
  max-width: 600px;
  margin: auto;
  background: var(--white);
  border: 2px dashed hsl(272 56% 64% / .4);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--sh-sm);
  position: relative;
  z-index: 1;
}
.signup-card h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--purple-dk);
  text-align: center;
  margin-bottom: 1.75rem;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: hsl(248 28% 23% / .5);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 2.25rem;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(.97);
  transition: transform .3s var(--ease-out);
  position: relative;
  box-shadow: var(--sh-lg);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: hsl(252 60% 95%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--muted);
  transition: background .2s, color .2s;
  cursor: pointer;
}
.modal__close:hover { background: var(--lavender); color: var(--purple); }
.modal__title { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: var(--purple-dk); margin-bottom: .25rem; }
.modal__subtitle { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 560px;
  background: var(--dark);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  z-index: 999;
  box-shadow: var(--sh-lg);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__body { flex: 1 1 240px; min-width: 0; }
.cookie-banner__title { font-family: var(--f-display); font-weight: 700; font-size: .9375rem; color: #fff; margin-bottom: .25rem; }
.cookie-banner__text { font-size: .8125rem; color: hsl(0 0% 100% / .72); line-height: 1.5; }
.cookie-banner__text a { color: hsl(165 64% 75%); text-decoration: underline; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.btn-cookie {
  padding: .5rem 1.125rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .8125rem;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-cookie--accept { background: var(--purple); color: #fff; }
.btn-cookie--accept:hover { background: var(--purple-dk); }
.btn-cookie--reject { background: hsl(0 0% 100% / .1); color: hsl(0 0% 100% / .85); }
.btn-cookie--reject:hover { background: hsl(0 0% 100% / .2); }
.btn-cookie--settings { background: transparent; color: hsl(0 0% 100% / .85); border-color: hsl(0 0% 100% / .3); }
.btn-cookie--settings:hover { background: hsl(0 0% 100% / .12); }

/* ============================================================
   FOOTER
   ============================================================ */
/* Light, brand-tinted footer (unified across all pages) */
.footer { background: hsl(244 64% 87% / .18); color: var(--muted); border-top: 1px solid hsl(244 64% 87% / .6); padding: 3.5rem 0 2rem; }
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  margin-bottom: 1rem;
}
.footer-logo__name { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; color: var(--fg); }
.footer-logo__sub { font-size: .6875rem; font-weight: 600; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.footer-tagline { font-size: .875rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-contacts { display: flex; flex-direction: column; gap: .625rem; }
.footer-contact-item { display: flex; align-items: center; gap: .625rem; }
.footer-contact-item__icon { font-size: 1rem; }
.footer-contact-item__text { font-size: .875rem; color: var(--muted); text-decoration: none; transition: color .2s; }
a.footer-contact-item__text:hover { color: var(--purple-dk); }

.footer-nav__title { font-family: var(--f-display); font-weight: 700; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); margin-bottom: .875rem; }
.footer-nav__list { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav__link { font-size: .875rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-nav__link:hover { color: var(--purple-dk); }

.footer-cta__text { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.footer-cta-btns { display: flex; flex-direction: column; gap: .625rem; }
.btn-footer-primary { width: 100%; padding: .75rem 1rem; border-radius: var(--r-pill); background: var(--purple); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: .875rem; text-align: center; cursor: pointer; transition: background .2s; }
.btn-footer-primary:hover { background: var(--purple-dk); }
.btn-footer-outline { width: 100%; padding: .75rem 1rem; border-radius: var(--r-pill); border: 1px solid hsl(272 56% 64% / .4); color: var(--purple-dk); background: transparent; font-family: var(--f-display); font-weight: 700; font-size: .875rem; text-align: center; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.btn-footer-outline:hover { border-color: var(--purple); background: hsl(272 56% 64% / .08); }

.footer-bottom {
  border-top: 1px solid hsl(248 28% 23% / .1);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal { font-size: .8125rem; color: var(--muted); }
.footer-legal-links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-legal-link { font-size: .8125rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-legal-link:hover { color: var(--purple-dk); }
.footer-age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: hsl(272 56% 64% / .12);
  font-size: .7rem;
  font-weight: 700;
  color: var(--purple-dk);
}

@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin: auto;
  line-height: 1.8;
}
.legal-content h2 { font-size: 1.375rem; color: var(--purple-dk); margin: 2rem 0 .875rem; }
.legal-content h3 { font-size: 1.125rem; color: var(--fg); margin: 1.5rem 0 .625rem; }
.legal-content p { color: var(--fg-60); margin-bottom: .875rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; color: var(--fg-60); margin-bottom: 1rem; }
.legal-content ul li { margin-bottom: .375rem; }
.legal-content a { color: var(--purple); text-decoration: underline; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .9rem; }
.legal-content th, .legal-content td { border: 1px solid var(--border); padding: .75rem; text-align: left; }
.legal-content th { background: hsl(252 60% 96%); font-weight: 700; color: var(--fg); }

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}
.not-found__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(6rem, 20vw, 12rem);
  line-height: 1;
  color: hsl(272 56% 64% / .15);
  margin-bottom: .5rem;
}
.not-found__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.5rem); color: var(--fg); margin-bottom: 1rem; }
.not-found__text { font-size: 1.0625rem; color: var(--fg-60); max-width: 400px; margin: 0 auto 2rem; line-height: 1.65; }
.not-found__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   UTILITY BG COLORS
   ============================================================ */
.bg-lavender-15 { background: hsl(244 64% 87% / .15); }
.bg-peach-25    { background: hsl(28  100% 90% / .25); }
.bg-blue-20     { background: hsl(199 73%  86% / .20); }
.bg-yellow-25   { background: hsl(52  100% 84% / .25); }
.bg-mint-30     { background: hsl(165 64%  84% / .30); }
.bg-lavender-30 { background: hsl(244 64%  87% / .30); }
.bg-lavender-40 { background: hsl(244 64%  87% / .40); }
.bg-blue-35     { background: hsl(199 73%  86% / .35); }
.bg-mint-40     { background: hsl(165 64%  84% / .40); }
.bg-yellow-40   { background: hsl(52  100% 84% / .40); }
.bg-yellow-30   { background: hsl(52  100% 84% / .30); }
.bg-peach-45    { background: hsl(28  100% 90% / .45); }
.bg-mint-45     { background: hsl(165 64%  84% / .45); }
.bg-blue-40     { background: hsl(199 73%  86% / .40); }
.bg-dark        { background: var(--dark); color: #fff; }
.text-peach     { color: hsl(28 100% 65%); }
.text-blue      { color: hsl(199 73% 50%); }
.text-mint      { color: hsl(165 64% 45%); }

/* ============================================================
   LEGAL NOTE (спокойный блок юридических сведений)
   ============================================================ */
.legal-note {
  border: 1px solid hsl(248 28% 23% / .08);
  background: hsl(244 64% 87% / .12);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.6;
}
.legal-note__title { font-family: var(--f-display); font-weight: 700; color: var(--fg); font-size: .9375rem; margin-bottom: .35rem; }
.legal-note__line { margin: 0; }

/* ============================================================
   COOKIE PREFERENCES MODAL
   ============================================================ */
.footer-consent-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.footer-consent-btn:hover { text-decoration: underline; }

.consent-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: hsl(248 28% 23% / .5);
}
.consent-modal-overlay.open { display: flex; }
.consent-modal {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
  position: relative;
}
.consent-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: var(--r-pill);
  background: hsl(248 16% 46% / .1);
  color: var(--fg);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
}
.consent-modal__close:hover { background: hsl(248 16% 46% / .2); }
.consent-modal__title { font-family: var(--f-display); font-size: 1.35rem; color: var(--fg); margin: 0 2rem .5rem 0; }
.consent-modal__intro { color: var(--muted); font-size: .9rem; line-height: 1.55; margin-bottom: 1.25rem; }
.consent-category { padding: 1rem 0; border-top: 1px solid hsl(248 28% 23% / .1); }
.consent-category__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.consent-category__name { font-family: var(--f-display); font-weight: 700; color: var(--fg); font-size: .975rem; }
.consent-category__desc { color: var(--muted); font-size: .85rem; line-height: 1.5; margin: .4rem 0 0; }
.consent-modal__actions { padding-top: 1.25rem; }
.consent-modal__actions .btn-cookie--accept { width: 100%; padding: .7rem 1rem; }

/* Accessible toggle switch */
.consent-switch { position: relative; display: inline-flex; flex-shrink: 0; width: 44px; height: 26px; }
.consent-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.consent-switch input:disabled { cursor: not-allowed; }
.consent-switch__track {
  position: absolute; inset: 0; border-radius: var(--r-pill);
  background: hsl(248 16% 46% / .35); transition: background .2s;
}
.consent-switch__track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  box-shadow: var(--sh-sm); transition: transform .2s;
}
.consent-switch input:checked + .consent-switch__track { background: var(--purple); }
.consent-switch input:checked + .consent-switch__track::after { transform: translateX(18px); }
.consent-switch input:disabled:checked + .consent-switch__track { background: hsl(272 56% 64% / .5); }
.consent-switch input:focus-visible + .consent-switch__track { outline: 2px solid var(--purple-dk); outline-offset: 2px; }

/* ============================================================
   INTERACTIVE MAP (consent-gated)
   ============================================================ */
.map-wrap { margin-top: 2rem; }
.map-embed {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: hsl(244 64% 87% / .18);
}
.map-embed__frame { display: block; width: 100%; height: 100%; border: 0; }
.map-privacy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .85rem; text-align: center; padding: 1.5rem;
}
.map-privacy__icon { font-size: 2.25rem; }
.map-privacy__text { color: var(--muted); font-size: .95rem; max-width: 34ch; line-height: 1.5; margin: 0; }
.map-privacy__actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.map-under {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 1rem; margin-top: 1rem;
}
.map-under__addr { font-weight: 600; color: var(--fg); margin: 0; }
.map-under__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 640px) {
  .map-embed { height: 340px; }
  .map-under { flex-direction: column; align-items: flex-start; }
  .map-under__actions { width: 100%; }
  .map-under__actions .btn { flex: 1 1 auto; text-align: center; }
}

/* ============================================================
   LOGO MOTION (entrance + subtle hover; transform/opacity only)
   ============================================================ */
@keyframes logoIn {
  from { opacity: 0; transform: translateY(6px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.nav-logo,
.site-header .logo { animation: logoIn .55s var(--ease-out) both; }
.nav-logo .logo-icon,
.site-header .logo .logo-icon { transition: transform .25s var(--ease-out); will-change: transform; }
.nav-logo:hover .logo-icon,
.nav-logo:focus-visible .logo-icon,
.site-header .logo:hover .logo-icon,
.site-header .logo:focus-visible .logo-icon { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) {
  .nav-logo,
  .site-header .logo { animation: none; }
  .nav-logo .logo-icon,
  .site-header .logo .logo-icon { transition: none; }
  .nav-logo:hover .logo-icon,
  .nav-logo:focus-visible .logo-icon,
  .site-header .logo:hover .logo-icon,
  .site-header .logo:focus-visible .logo-icon { transform: none; }
}

/* Temporarily hidden feature blocks keep zero footprint */
[data-feature-state="disabled"][hidden] { display: none !important; }

/* ============================================================
   TEACHER PHOTO PLACEHOLDERS (initials until real photos land)
   ============================================================ */
.teacher-initials {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: .04em;
  color: var(--purple-dk);
  user-select: none;
}
/* Equal-height cards: body fills remaining space consistently */
.teacher-card { display: flex; flex-direction: column; }
.teacher-card .teacher-body { flex: 1 1 auto; }
.teacher-exp { font-weight: 600; color: var(--purple-dk); margin-top: .5rem; }

/* Round placeholder used in course "Ваш педагог" spotlight */
.teacher-ph-circle {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, hsl(244 64% 87% / .6), hsl(199 73% 86% / .6));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.teacher-ph-circle .teacher-initials { font-size: 2.6rem; }
.teacher-spotlight__role { color: var(--fg); font-weight: 600; line-height: 1.7; max-width: 600px; margin: 0; }
.teacher-spotlight__exp { color: var(--purple-dk); font-weight: 600; margin-top: .5rem; }

/* ============================================================
   СВЕДЕНИЯ ОБ ОРГАНИЗАЦИИ (svedeniya.html)
   ============================================================ */
.sv-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  background: hsl(244 64% 87% / .18);
  border: 1px solid hsl(244 64% 87% / .5);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}
.sv-nav__link {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--purple-dk);
  text-decoration: none;
  padding: .35rem .75rem;
  border-radius: var(--r-pill);
  background: hsl(0 0% 100% / .7);
  transition: background .2s, color .2s;
}
.sv-nav__link:hover,
.sv-nav__link:focus-visible { background: var(--purple); color: #fff; }

.sv-sections { display: flex; flex-direction: column; gap: 1.25rem; }
.sv-card {
  background: var(--white);
  border: 1px solid hsl(244 64% 87% / .5);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: 1.75rem;
  scroll-margin-top: 90px;
}
.sv-card__title { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: var(--fg); margin: 0 0 1rem; }
.sv-card p { color: var(--fg-60); line-height: 1.7; margin: 0 0 .75rem; }
.sv-card p:last-child { margin-bottom: 0; }
.sv-card a { color: var(--purple); text-decoration: underline; }
.sv-card a.btn { text-decoration: none; }
.sv-pending { color: var(--muted); font-style: italic; }

.sv-table { width: 100%; border-collapse: collapse; }
.sv-table th, .sv-table td { text-align: left; padding: .6rem 1rem .6rem 0; vertical-align: top; border-bottom: 1px solid hsl(248 28% 23% / .08); }
.sv-table th { width: 45%; color: var(--muted); font-weight: 600; }
.sv-table td { color: var(--fg); }
.sv-table a { color: var(--purple); text-decoration: none; }
.sv-table tr:last-child th, .sv-table tr:last-child td { border-bottom: none; }

.sv-ped { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: .75rem; }
.sv-ped__item { display: flex; flex-direction: column; gap: .15rem; padding: .75rem 1rem; background: hsl(244 64% 87% / .14); border-radius: var(--r-md); }
.sv-ped__name { font-family: var(--f-display); font-weight: 700; color: var(--fg); }
.sv-ped__role { font-size: .9rem; color: var(--muted); }
.sv-ped__exp { font-size: .85rem; color: var(--purple-dk); font-weight: 600; }
@media (max-width: 560px) { .sv-table th { width: auto; } }
