/* ====================== TOKENS ====================== */
:root {
  --cream: #f4ede2;
  --cream-2: #efe6d8;
  --sand: #ece1d0;
  --sand-2: #e3d5c0;
  --brown: #3f2c20;
  --brown-mid: #8a6a4f;
  --tan: #c7ab8c;
  --line: #d9c9b3;
  --white: #fbf8f2;

  --shadow: 0 10px 30px rgba(63, 44, 32, 0.08);
  --shadow-sm: 0 4px 14px rgba(63, 44, 32, 0.06);
  --radius: 18px;
  --radius-sm: 12px;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1120px;
}

/* ====================== RESET ====================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans);
  color: var(--brown);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }

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

/* ====================== TYPOGRAPHY ====================== */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--brown); }
.display { font-weight: 600; letter-spacing: 0.5px; }
h2.display { font-size: clamp(2.2rem, 5vw, 3.6rem); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: 14px;
}

.lead { font-size: 1.08rem; color: #5a4536; max-width: 60ch; }
.muted { color: var(--brown-mid); font-size: 0.95rem; }

/* ====================== BUTTONS ====================== */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border-radius: 100px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--brown); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #4e3829; }
.btn-ghost { background: transparent; color: var(--brown); border-color: var(--tan); }
.btn-ghost:hover { background: var(--sand); transform: translateY(-2px); }
.btn-lg { padding: 16px 38px; font-size: 1.05rem; }

/* ====================== HEADER / NAV ====================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 237, 226, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { height: 56px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--brown); transition: color .2s; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(63,44,32,.12); display: inline-block; }
.nav-links a:hover { color: var(--brown-mid); }
.nav-cta {
  border: 1.5px solid var(--tan); border-radius: 100px;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--sand); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: var(--brown);
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====================== HERO ====================== */
.hero {
  background:
    radial-gradient(120% 90% at 50% 0%, var(--white) 0%, var(--cream) 55%, var(--cream-2) 100%);
  text-align: center;
  padding: 90px 0 100px;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(420px, 80%); margin-bottom: 28px; }
.hero-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  color: var(--brown);
  max-width: 22ch;
  margin-bottom: 22px;
  line-height: 1.3;
}
.hero-text { font-size: 1.12rem; color: #5a4536; max-width: 46ch; margin-bottom: 34px; }
.hero-text strong { color: var(--brown); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ====================== SECTIONS ====================== */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.section-head .lead { margin: 0 auto; }

/* ====================== PHILOSOPHY ====================== */
.philosophy { background: var(--cream-2); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 18px;
  text-align: center;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease;
}
.feature-grid li:hover { transform: translateY(-4px); }
.feat-ico { display: block; font-size: 1.9rem; margin-bottom: 10px; }
img.feat-ico { display: block; width: 64px; height: 64px; object-fit: contain; margin: 0 auto 12px; }
.sticker { display: inline-block; vertical-align: middle; object-fit: contain; }

/* ====================== TEACHER COMMON ====================== */
.teacher-head { text-align: center; max-width: 780px; margin: 0 auto 50px; }
.teacher-head h2 { margin-bottom: 14px; }
.teacher-sub { font-size: 1.2rem; font-weight: 500; color: var(--brown); margin-bottom: 6px; }
.teacher-dates { color: var(--brown-mid); font-weight: 500; letter-spacing: .02em; }
.teacher-intro { margin-top: 18px; color: #5a4536; }

.block-title {
  font-size: 1.6rem; text-align: center; margin: 0 0 28px;
}

.notice {
  background: var(--sand);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brown-mid);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  max-width: 860px;
  margin: 0 auto 56px;
  color: #4a3528;
  font-size: 1.02rem;
}

/* ====================== VALENTINA WEEKS ====================== */
.teacher--valentina { background: var(--cream); }
.weeks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
.week-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  box-shadow: var(--shadow-sm);
}
.week-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--tan);
  line-height: 1;
  margin-bottom: 8px;
}
.week-card h4 { font-size: 1.3rem; margin-bottom: 16px; }
.week-card ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: #4a3528;
}
.week-card ul li::before {
  content: "→";
  position: absolute; left: 0;
  color: var(--brown-mid);
}
.week-note {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 0.93rem; color: var(--brown-mid);
}

/* ====================== INFO CARDS ====================== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}
.info-card {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.info-card h4 { font-size: 1.3rem; margin-bottom: 16px; }
.info-card p { color: #4a3528; margin-bottom: 12px; }

.check-list li {
  position: relative; padding-left: 26px; margin-bottom: 9px; color: #4a3528;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--brown-mid); font-weight: 700;
}
.theme-list li { padding: 6px 0; color: #4a3528; border-bottom: 1px solid rgba(217,201,179,.5); }
.theme-list li:last-child { border-bottom: none; }

/* ====================== PRICE BANNER ====================== */
.price-banner {
  display: flex; align-items: center; justify-content: center; gap: 28px;
  flex-wrap: wrap;
  background: var(--brown);
  color: var(--white);
  border-radius: var(--radius);
  padding: 38px 44px;
  text-align: center;
}
.price-amount { font-family: var(--serif); font-size: 4rem; font-weight: 700; line-height: 1; }
.price-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.price-tag {
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 100px; padding: 6px 18px;
  font-size: 0.85rem; letter-spacing: .15em; text-transform: uppercase;
}
.price-note { color: var(--tan); font-size: 0.95rem; }

/* ====================== DESPOINA GROUPS ====================== */
.teacher--despoina { background: var(--cream-2); }
.group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.group-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
}
.group-label {
  display: inline-block;
  font-size: 0.72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brown-mid);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 4px 14px; margin-bottom: 14px;
}
.group-card h3 { font-size: 1.7rem; margin-bottom: 6px; }
.group-tag { font-weight: 500; color: var(--brown-mid); margin-bottom: 14px; }
.group-desc { color: #4a3528; margin-bottom: 16px; }
.schedule { margin: 16px 0; }
.schedule li { padding: 5px 0; color: #4a3528; font-weight: 500; }
.group-price {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 700;
  color: var(--brown); margin: 8px 0 18px;
}
.group-price span, .lesson-price span { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; color: var(--brown-mid); }
.will-work { font-weight: 600; margin-bottom: 10px; }
.arrow-list li {
  position: relative; padding-left: 24px; margin-bottom: 8px; color: #4a3528;
}
.arrow-list li::before { content: "→"; position: absolute; left: 0; color: var(--brown-mid); }

.lesson-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 30px;
}
.lesson-card {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}
.lesson-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.lesson-tag { color: var(--brown-mid); margin-bottom: 12px; }
.lesson-price {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--brown); margin-bottom: 12px;
}
.footnote {
  text-align: center; color: var(--brown-mid);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 24px; max-width: 800px; margin: 0 auto;
}

/* ====================== RUSSIAN ====================== */
.russian { background: var(--cream); }
.russian-card {
  text-align: center;
  background: linear-gradient(160deg, var(--sand) 0%, var(--sand-2) 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 60px 40px;
  max-width: 820px; margin: 0 auto;
  box-shadow: var(--shadow);
}
.russian-card h2 { margin-bottom: 18px; }
.russian-card .lead { margin: 0 auto 32px; }

/* ====================== FOOTER ====================== */
.site-footer { background: var(--brown); color: var(--cream); padding: 64px 0 40px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.footer-logo {
  width: 220px; height: auto;
  background: var(--cream);
  padding: 18px 26px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.footer-quote { font-family: var(--serif); font-style: italic; font-size: 1.35rem; max-width: 24ch; color: var(--cream); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-weight: 500; color: var(--tan); transition: color .2s; }
.footer-links a:hover { color: var(--cream); }
.footer-copy { font-size: 0.85rem; color: rgba(244,237,226,.6); margin-top: 8px; }

/* ====================== REVEAL ANIMATION ====================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .info-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links a { padding: 14px 24px; width: 100%; }
  .nav-cta { margin: 8px 24px; text-align: center; }
  .nav-toggle { display: flex; }

  .weeks-grid, .group-grid, .lesson-grid { grid-template-columns: 1fr; }
  .price-banner { flex-direction: column; gap: 16px; padding: 34px 24px; }
  .price-meta { align-items: center; }
}
@media (max-width: 460px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 60px 0 70px; }
}
