/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #F4EFE6;
  --bg-alt:    #EAE3D6;
  --dark:      #1C120A;
  --dark-2:    #2A1C10;
  --border:    #D4C9B0;
  --border-dk: rgba(255,255,255,0.08);
  --text:      #1C120A;
  --muted:     #6B5540;
  --faint:     #8A7060;
  --accent-1:  #8B1A2C;
  --accent-2:  #C27D2A;
  --white:     #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

html { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ========================================
   TYPOGRAPHY HELPERS
   ======================================== */
.label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--faint);
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.underline-accent {
  position: relative; display: inline-block;
}
.underline-accent::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600;
  transition: all 0.2s; cursor: pointer; border: none;
  text-decoration: none;
}
.btn-dark {
  background: var(--dark); color: var(--white);
}
.btn-dark:hover { background: var(--dark-2); transform: translateY(-1px); }

.btn-ghost {
  background: transparent; color: var(--muted);
  padding: 12px 16px;
}
.btn-ghost:hover { color: var(--text); }

/* ========================================
   NAV
   ======================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  background: rgba(244,239,230,0.93);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo-group { display: flex; flex-direction: column; gap: 2px; }
.nav-logo {
  font-size: 19px; font-weight: 800; letter-spacing: -0.03em;
  color: var(--dark);
}
.nav-logo span { color: var(--accent-1); font-weight: 700; }
.nav-logo-sub {
  font-size: 11px; font-weight: 500; color: var(--faint);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-link {
  font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 6px 12px; border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--bg-alt); }
.nav-link.active { color: var(--accent-1); font-weight: 600; }

.nav-contacts { display: flex; align-items: center; gap: 8px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 7px 14px; border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.nav-phone:hover { color: var(--dark); border-color: var(--dark); background: var(--bg-alt); }

/* ========================================
   HERO
   ======================================== */
.hero-wrap {
  position: relative; overflow: hidden;
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  opacity: 1;
  filter: saturate(0.75) brightness(1.05);
  z-index: 0; pointer-events: none;
}
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(244,239,230,0.96) 0%,
    rgba(244,239,230,0.90) 28%,
    rgba(244,239,230,0.55) 50%,
    rgba(244,239,230,0.15) 68%,
    rgba(244,239,230,0.03) 100%
  );
}
.hero {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 108px 48px 60px 80px;
  max-width: 1280px; margin: 0 auto;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 99px;
  background: linear-gradient(135deg, #3A0A12 0%, #6B1520 100%);
  border: 1px solid rgba(180, 60, 80, 0.5);
  box-shadow: 0 0 0 1px rgba(180,60,80,0.12), 0 4px 20px rgba(139,26,44,0.28);
  font-size: 14px; font-weight: 600; color: #FFE0E4;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}
.hero-tag-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 4px #22c55e; }
  50% { box-shadow: 0 0 10px #22c55e, 0 0 20px rgba(34,197,94,0.4); }
}

.hero-headline {
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.04em; color: var(--dark);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px; line-height: 1.65;
  color: #2A1C10; max-width: 420px;
  margin-bottom: 36px; font-weight: 450;
}

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

/* Hero right card */
.hero-card {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194,125,42,0.6), transparent);
}
.hc-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #52525b; margin-bottom: 24px;
}
.hc-items { display: flex; flex-direction: column; gap: 14px; }
.hc-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.hc-item:hover { background: rgba(255,255,255,0.07); }
.hc-icon {
  width: 34px; height: 34px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: linear-gradient(135deg, rgba(139,26,44,0.3), rgba(194,125,42,0.3));
  border: 1px solid rgba(194,125,42,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #E8A84C;
}
.hc-title { font-size: 14px; font-weight: 600; color: #f4f4f5; margin-bottom: 3px; }
.hc-desc { font-size: 12px; color: #52525b; line-height: 1.5; }

.hero-badge {
  position: absolute; bottom: -16px; right: 24px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.hero-badge-icon {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.hero-badge-title { font-size: 13px; font-weight: 600; color: var(--dark); }
.hero-badge-sub { font-size: 11px; color: var(--faint); }

/* Stats bar */
.stats-bar {
  border-top: 1px solid var(--border);
  padding: 48px 48px;
  display: flex; gap: 64px;
  max-width: 1200px; margin: 0 auto;
}
.stat-val { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.stat-label { font-size: 13px; color: var(--faint); margin-top: 4px; }

/* ========================================
   SECTIONS — shared
   ======================================== */
.section {
  padding: 96px 48px;
  max-width: 1200px; margin: 0 auto;
}
.section-header { margin-bottom: 56px; }
.section-header h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800; letter-spacing: -0.03em;
  margin-top: 12px;
}
.section-header p {
  font-size: 16px; color: var(--muted); margin-top: 12px;
  max-width: 520px; line-height: 1.65;
}

/* ========================================
   HOW I WORK — 4 cards
   ======================================== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.how-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s;
}
.how-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.09); transform: translateY(-3px); }
.how-card-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--accent-1); margin-bottom: 16px;
}
.how-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em; }
.how-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ========================================
   WHAT STUDENT GETS
   ======================================== */
.gets-section { background: var(--dark); }
.gets-inner {
  padding: 96px 48px;
  max-width: 1200px; margin: 0 auto;
}
.gets-inner .label { color: #52525b; }
.gets-inner h2 {
  font-size: clamp(28px, 3vw, 42px); font-weight: 800;
  letter-spacing: -0.03em; color: #f4f4f5; margin-top: 12px; margin-bottom: 48px;
}
.gets-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.gets-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg); padding: 28px;
  transition: background 0.2s;
}
.gets-card:hover { background: rgba(255,255,255,0.07); }
.gets-card-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(139,26,44,0.35), rgba(194,125,42,0.35));
  border: 1px solid rgba(194,125,42,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: #E8A84C;
  margin-bottom: 20px;
}
.gets-card h3 { font-size: 16px; font-weight: 600; color: #f4f4f5; margin-bottom: 8px; }
.gets-card p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ========================================
   ABOUT
   ======================================== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-photo {
  aspect-ratio: 3/4; border-radius: var(--radius-xl);
  background: var(--bg-alt); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--faint); font-size: 14px;
}
.about-text .label { margin-bottom: 12px; }
.about-text h2 {
  font-size: clamp(28px, 3vw, 40px); font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.about-text p {
  font-size: 15px; color: var(--muted); line-height: 1.75;
  margin-bottom: 16px;
}
.about-facts {
  margin-top: 32px; display: flex; flex-direction: column; gap: 12px;
}
.about-fact {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--muted);
}
.about-fact-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-1); flex-shrink: 0; margin-top: 7px;
}

/* ========================================
   RESULTS (honest)
   ======================================== */
.results-section { background: var(--bg-alt); }
.results-inner {
  padding: 96px 48px; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.results-inner h2 {
  font-size: clamp(28px, 3vw, 40px); font-weight: 800;
  letter-spacing: -0.03em; margin-top: 12px; margin-bottom: 20px;
}
.results-inner p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.results-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px;
}
.results-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 24px; }
.timeline { display: flex; flex-direction: column; gap: 20px; }
.tl-item { display: flex; gap: 16px; }
.tl-dot-wrap { display: flex; flex-direction: column; align-items: center; gap: 0; }
.tl-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 4px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}
.tl-line { flex: 1; width: 1px; background: var(--border); margin-top: 4px; }
.tl-year { font-size: 12px; font-weight: 700; color: var(--accent-1); }
.tl-text { font-size: 14px; color: var(--muted); margin-top: 2px; line-height: 1.5; }

/* ========================================
   FAQ
   ======================================== */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; padding: 20px 24px;
  font-size: 15px; font-weight: 600; color: var(--dark);
  background: transparent; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background 0.15s;
}
.faq-q:hover { background: var(--bg); }
.faq-arrow {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0; transition: transform 0.2s;
  color: var(--muted);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  font-size: 14px; color: var(--muted); line-height: 1.7;
  padding: 0 24px; max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { padding: 4px 24px 20px; max-height: 300px; }

/* ========================================
   LESSON PREVIEW
   ======================================== */
.lp-section {
  padding: 96px 0 80px;
  background: var(--bg);
}
.lp-section-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 48px;
}

.lp-section-header {
  margin-bottom: 72px;
}
.lp-section-header h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800; letter-spacing: -0.03em;
  margin-top: 12px;
}
.lp-section-header p {
  font-size: 16px; color: var(--muted);
  margin-top: 14px; max-width: 560px; line-height: 1.7;
}

.lp-block {
  margin-bottom: 64px;
}
.lp-block--last {
  margin-bottom: 0;
}

.lp-block-header {
  margin-bottom: 18px;
}
.lp-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.lp-block-desc {
  font-size: 15px; color: var(--muted); line-height: 1.65;
  max-width: 680px; margin: 0;
}

/* Горизонтальный скролл */
.lp-scroll-wrap {
  position: relative;
  border-radius: var(--radius-lg); overflow-x: auto; overflow-y: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 6px 32px rgba(28,18,10,0.08);
  cursor: grab; user-select: none;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.lp-scroll-wrap.dragging { cursor: grabbing; }
.lp-scroll-wrap::-webkit-scrollbar { height: 5px; }
.lp-scroll-wrap::-webkit-scrollbar-track { background: transparent; }
.lp-scroll-wrap::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

.lp-scroll-inner {
  display: flex; gap: 10px; padding: 14px;
  width: max-content;
}
.lp-scroll-inner img {
  height: 540px; width: auto; flex-shrink: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: block;
  transition: box-shadow 0.2s;
}

.lp-scroll-hint {
  position: absolute; right: 18px; bottom: 24px;
  font-size: 11px; font-weight: 600; color: var(--accent-2);
  background: rgba(244,239,230,0.92); backdrop-filter: blur(8px);
  padding: 4px 11px; border-radius: 99px;
  border: 1px solid rgba(194,125,42,0.25);
  pointer-events: none;
  transition: opacity 0.4s;
}

/* Responsive */
@media (max-width: 900px) {
  .lp-section { padding: 64px 0 56px; }
  .lp-section-inner { padding: 0 24px; }
  .lp-section-header { margin-bottom: 48px; }
  .lp-block { margin-bottom: 48px; }
  .lp-scroll-inner img { height: 400px; }
}
@media (max-width: 640px) {
  .lp-section { padding: 48px 0 40px; }
  .lp-section-inner { padding: 0 20px; }
  .lp-section-header { margin-bottom: 36px; }
  .lp-block { margin-bottom: 36px; }
  .lp-scroll-inner img { height: 300px; }
  .lp-scroll-wrap { border-radius: var(--radius-md); }
  .lp-scroll-hint { display: none; }
  .lp-block-desc { font-size: 14px; }
}

/* ========================================
   SCHOOL 5-9
   ======================================== */
.school-section {
  background: linear-gradient(135deg, #F0E8D8 0%, #EAE0CC 50%, #E2D6BE 100%);
  border-top: 1px solid #D4C9B0;
  border-bottom: 1px solid #D4C9B0;
}
.school-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 100px 48px;
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
.school-text .label { color: var(--accent-2); }
.school-text h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.03em; color: var(--dark);
  margin: 16px 0 20px;
}
.school-text p {
  font-size: 16px; line-height: 1.7; color: var(--muted);
  margin-bottom: 16px;
}
.school-cards {
  display: flex; flex-direction: column; gap: 16px;
}
.school-card {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(194,125,42,0.2);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex; gap: 18px; align-items: flex-start;
  backdrop-filter: blur(8px);
  transition: transform 0.2s, box-shadow 0.2s;
}
.school-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,26,44,0.10);
}
.school-card-icon {
  font-size: 26px; flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.school-card h3 {
  font-size: 16px; font-weight: 700; color: var(--dark);
  margin-bottom: 6px; letter-spacing: -0.01em;
}
.school-card p {
  font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--dark); }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 56px 48px;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px;
}
.footer-brand { }
.footer-logo { font-size: 16px; font-weight: 700; color: #f4f4f5; letter-spacing: -0.02em; }
.footer-logo span { color: var(--accent-2); }
.footer-tagline { font-size: 13px; color: #a1a1aa; margin-top: 6px; max-width: 280px; line-height: 1.5; }

.footer-contacts { display: flex; flex-direction: column; gap: 14px; }
.footer-contact { display: flex; align-items: center; gap: 10px; }
.footer-contact-label { font-size: 11px; color: #71717a; width: 72px; flex-shrink: 0; }
.footer-contact a, .footer-contact span {
  font-size: 14px; font-weight: 500; color: #e4e4e7;
  transition: color 0.15s;
}
.footer-contact a:hover { color: #f4f4f5; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 20px 48px; max-width: 1200px; margin: 0 auto;
  font-size: 12px; color: #71717a;
}

/* ========================================
   HAMBURGER / MOBILE NAV
   ======================================== */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px;
  background: none; border: none; cursor: pointer;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.nav-burger span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--dark);
  transition: transform 0.25s, opacity 0.2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0;
  z-index: 999;
  background: rgba(244,239,230,0.98); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 8px 0 16px;
  box-shadow: 0 8px 32px rgba(28,18,10,0.10);
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.mobile-nav.open {
  opacity: 1; transform: translateY(0);
  pointer-events: all;
}
.mobile-nav-link {
  padding: 14px 28px;
  font-size: 16px; font-weight: 500; color: var(--text);
  display: block;
  border-bottom: 1px solid rgba(212,201,176,0.4);
  transition: color 0.15s, background 0.15s;
}
.mobile-nav-link:hover { color: var(--accent-1); background: rgba(139,26,44,0.04); }
.mobile-nav-tg {
  display: block; margin: 12px 20px 0;
  padding: 13px 20px; border-radius: var(--radius-md);
  background: var(--dark); color: #fff;
  font-size: 15px; font-weight: 600; text-align: center;
  transition: background 0.2s;
}
.mobile-nav-tg:hover { background: var(--dark-2); }

/* ========================================
   RESPONSIVE
   ======================================== */

/* ── 900px: планшет ───────────────────────────────────── */
@media (max-width: 900px) {
  /* Nav */
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-logo-sub { display: none; }
  .nav-contacts { display: none; }
  .nav-burger { display: flex; }
  .mobile-nav { display: flex; }

  /* Hero */
  .hero { grid-template-columns: 1fr; padding: 80px 24px 48px; gap: 32px; min-height: auto; }
  .hero-sub { max-width: 100%; }
  .hero-right { max-width: 480px; }

  /* Stats */
  .stats-bar { padding: 24px 20px; gap: 24px; flex-wrap: wrap; }

  /* Sections */
  .section { padding: 64px 24px; }
  .section-header p { max-width: 100%; }

  /* How */
  .how-grid { grid-template-columns: 1fr 1fr; }

  /* School */
  .school-inner { grid-template-columns: 1fr; gap: 36px; padding: 64px 24px; }

  /* Gets */
  .gets-grid { grid-template-columns: repeat(2, 1fr); }
  .gets-inner { padding: 64px 24px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .results-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px; }

  /* Method */
  .method-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px; }

  /* Painting break */
  .painting-break-quote { font-size: 22px; padding: 0 24px; }

  /* Footer */
  .footer-inner { flex-direction: column; padding: 40px 24px; }
  .footer-bottom { padding: 20px 24px; }

  /* Lightbox nav arrows */
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* ── 640px: мобильный ─────────────────────────────────── */
@media (max-width: 640px) {
  /* Nav */
  .nav { height: 60px; }
  .mobile-nav { top: 60px; }
  .nav-logo { font-size: 15px; }

  /* Hero — на мобильном полностью укрываем картину */
  .hero-bg-overlay {
    background: rgba(244,239,230,0.97);
  }
  .hero { padding: 72px 20px 48px; min-height: auto; }
  .hero-headline { font-size: clamp(30px, 8vw, 42px); }
  .hero-right { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }

  /* Stats */
  .stats-bar { flex-direction: column; gap: 16px; align-items: flex-start; padding: 24px 20px; }
  .stat-val { font-size: 22px; }

  /* How */
  .how-grid { grid-template-columns: 1fr; }

  /* Sections */
  .section { padding: 48px 20px; }

  /* Painting break */
  .painting-break { min-height: 200px; }
  .painting-break-quote { font-size: 19px; padding: 0 20px; }
  .painting-break-credit { font-size: 10px; }

  /* Gets */
  .gets-grid { grid-template-columns: 1fr; }
  .gets-inner { padding: 48px 20px; }

  /* FAQ */
  .faq-grid { grid-template-columns: 1fr; gap: 0; }

  /* Lightbox */
  .lb-hint { display: none; }
  .lb-toolbar { padding: 6px 10px; gap: 4px; bottom: 16px; }
  .lb-btn { width: 30px; height: 30px; font-size: 16px; }
  .lb-zoom-label { font-size: 12px; min-width: 30px; }
  .lb-nav { width: 40px; height: 40px; font-size: 16px; }
  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
  .lb-img-wrap img { border-radius: 6px; }

  /* Footer */
  .footer-inner { padding: 36px 20px; }
  .footer-bottom { padding: 16px 20px; font-size: 11px; }
}

/* ========================================
   ANIMATIONS
   ======================================== */

/* --- Hero entrance --- */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-left > * {
  animation: heroSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-left > *:nth-child(1) { animation-delay: 0.05s; }
.hero-left > *:nth-child(2) { animation-delay: 0.18s; }
.hero-left > *:nth-child(3) { animation-delay: 0.30s; }
.hero-left > *:nth-child(4) { animation-delay: 0.42s; }

.hero-right {
  animation: heroSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

/* --- Gradient underline shimmer --- */
@keyframes shimmerGrad {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.underline-accent::after {
  background-size: 200% 100%;
  animation: shimmerGrad 4s linear infinite;
}

/* --- Scroll reveal --- */
[data-a] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-a].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-a="left"] { transform: translateX(-28px); }
[data-a="left"].visible { transform: translateX(0); }
[data-a="right"] { transform: translateX(28px); }
[data-a="right"].visible { transform: translateX(0); }

/* Stagger for grid children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-stagger].visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.00s; }
[data-stagger].visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.10s; }
[data-stagger].visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.20s; }
[data-stagger].visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.30s; }

/* --- Enhanced card hover --- */
.how-card { transition: box-shadow 0.25s ease, transform 0.25s ease; }
.gets-card { transition: background 0.2s, transform 0.25s ease; }
.gets-card:hover { transform: translateY(-3px); }
.hc-item { transition: background 0.2s, transform 0.2s; }
.hc-item:hover { transform: translateX(3px); }

/* --- Glowing accent on hover for buttons --- */
.btn-dark {
  position: relative; overflow: hidden;
}
.btn-dark::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(139,26,44,0.18), rgba(194,125,42,0.18));
  opacity: 0; transition: opacity 0.3s;
}
.btn-dark:hover::after { opacity: 1; }

/* --- Stats counter glow on reveal --- */
@keyframes statReveal {
  from { opacity: 0; transform: scale(0.85) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.stats-bar [data-count] { animation: statReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.stats-bar [data-count]:nth-child(1) { animation-delay: 0.55s; }
.stats-bar [data-count]:nth-child(2) { animation-delay: 0.65s; }
.stats-bar [data-count]:nth-child(3) { animation-delay: 0.75s; }
.stats-bar [data-count]:nth-child(4) { animation-delay: 0.85s; }

/* --- Section label subtle slide --- */
.section-header .label {
  transition: color 0.3s;
}

/* ========================================
   PAINTING BREAKS
   ======================================== */
.painting-break {
  height: 500px; position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.painting-break img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  transition: transform 10s ease;
  filter: contrast(1.05) saturate(0.9);
}
.painting-break:hover img { transform: scale(1.0); }
.painting-break-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(9,9,11,0.78) 0%, rgba(9,9,11,0.42) 60%, rgba(9,9,11,0.62) 100%);
}
.painting-break-content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
}
.painting-break-quote {
  font-size: clamp(22px, 2.8vw, 36px); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.25;
  color: #fff; max-width: 620px;
}
.painting-break-quote em {
  font-style: normal;
  background: linear-gradient(135deg, #F5C06A, #E8843C);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.painting-break-credit {
  display: inline-block;
  margin-top: 24px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  padding: 5px 12px; border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.12);
}

/* Empty state when image not yet loaded */
.painting-break.no-img {
  background: var(--dark-2);
  height: 120px;
}

/* ========================================
   METHODOLOGY SECTION
   ======================================== */
.method-section { background: var(--bg-alt); }
.method-inner {
  padding: 96px 48px; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.method-text h2 {
  font-size: clamp(28px, 3vw, 40px); font-weight: 800;
  letter-spacing: -0.03em; margin-top: 12px; margin-bottom: 20px;
}
.method-text p {
  font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 16px;
}
.method-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
}
.method-card-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
}
.method-card-header h3 { font-size: 15px; font-weight: 700; }
.method-card-header p { font-size: 12px; color: var(--faint); margin-top: 4px; }

.method-rows { display: flex; flex-direction: column; }
.method-row {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.method-row:last-child { border-bottom: none; }
.method-row:hover { background: var(--bg); }
.method-row-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm); flex-shrink: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.1), rgba(37,99,235,0.1));
  border: 1px solid rgba(124,58,237,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--accent-1);
}
.method-row-title { font-size: 14px; font-weight: 600; }
.method-row-desc { font-size: 12px; color: var(--faint); margin-top: 2px; line-height: 1.4; }

@media (max-width: 900px) {
  .method-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px; }
}

/* ========================================
   LIGHTBOX / ZOOM VIEWER
   ======================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,6,3,0.96);
  backdrop-filter: blur(8px);
}

/* Stage — full viewport, handles pan/zoom interactions */
.lb-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

/* Image wrapper — receives transform */
.lb-img-wrap {
  transform-origin: center center;
  will-change: transform;
  display: flex; align-items: center; justify-content: center;
}
.lb-img-wrap img {
  display: block;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.05);
  user-select: none; pointer-events: none;
}
/* Мобильный: CSS сам вписывает в экран, зум работает поверх */
@media (max-width: 768px) {
  .lb-img-wrap img {
    max-width: 100vw;
    max-height: calc(100vh - 130px); /* оставляем место под тулбар и кнопку закрыть */
    width: auto; height: auto;
    object-fit: contain;
  }
}

/* Prev / Next navigation */
.lb-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  color: #fff; font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s, transform 0.18s;
}
.lb-nav:hover { background: rgba(255,255,255,0.15); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* Toolbar — zoom controls, bottom center */
.lb-toolbar {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 10;
  display: flex; align-items: center; gap: 6px;
  background: rgba(28,18,10,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border-radius: 99px; padding: 8px 16px;
}
.lb-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-size: 18px; font-weight: 600;
  cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.lb-btn:hover { background: rgba(255,255,255,0.16); }
.lb-zoom-label {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7);
  min-width: 36px; text-align: center; font-variant-numeric: tabular-nums;
}
.lb-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.12); margin: 0 4px; }

/* Caption */
.lb-caption {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
  z-index: 10;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

/* Close */
.lb-close {
  position: fixed; top: 20px; right: 24px; z-index: 10;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  color: #fff; font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s;
}
.lb-close:hover { background: rgba(255,255,255,0.18); }

/* Hint */
.lb-hint {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
  z-index: 10;
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.4);
  background: rgba(28,18,10,0.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 7px 18px; border-radius: 99px;
  pointer-events: none; white-space: nowrap;
  transition: opacity 0.5s;
}

/* Gallery images — click to open */
.lp-scroll-inner img { cursor: zoom-in; }
.lp-scroll-inner img:hover { box-shadow: 0 0 0 2px var(--accent-2), 0 6px 24px rgba(139,26,44,0.12); }

/* ─── Contact Form ──────────────────────────────────────────────────── */
.cf-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 96px 0;
}
.cf-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.cf-header {
  text-align: center;
  margin-bottom: 48px;
}
.cf-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin: 12px 0 14px;
}
.cf-header p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto;
}
.cf-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cf-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.01em;
}
.cf-input {
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg-alt);
  font-size: 15px;
  color: var(--dark);
  font-family: 'Inter', sans-serif;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  appearance: none;
}
.cf-input:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(139,26,44,0.1);
}
.cf-input.cf-input--error {
  border-color: #dc2626;
}
.cf-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.cf-error {
  font-size: 12px;
  color: #dc2626;
  min-height: 16px;
  line-height: 1.4;
}
.cf-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.cf-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-1);
  cursor: pointer;
  flex-shrink: 0;
}
.cf-consent span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
.cf-consent a {
  color: var(--accent-1);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cf-btn {
  height: 52px;
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.12s;
}
.cf-btn:hover { opacity: 0.88; }
.cf-btn:active { transform: scale(0.98); }
.cf-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.cf-honeypot { display: none; }
.cf-success {
  text-align: center;
  padding: 24px 0 8px;
}
.cf-success-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(45,125,70,0.1);
  border: 1.5px solid rgba(45,125,70,0.25);
  color: #2D7D46;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.cf-success-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.cf-success-sub {
  font-size: 14px;
  color: var(--muted);
}
.nav-link--cta {
  background: var(--accent-1);
  color: #fff !important;
  padding: 6px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.nav-link--cta:after { display: none !important; }

@media (max-width: 640px) {
  .cf-form { padding: 24px 20px 20px; }
  .cf-row { grid-template-columns: 1fr; }
  .cf-section { padding: 64px 0; }
}
