/* China Hub — стили сайта */
:root {
  --red: #c8102e;
  --red-dark: #a10c24;
  --red-soft: #fbe9ec;
  --navy: #1d2134;
  --ink: #2a2e40;
  --muted: #676b7c;
  --cream: #fbf6f0;
  --cream-2: #f4eadf;
  --line: #ece2d7;
  --gold: #c39a3c;
  --white: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(29, 33, 52, .05), 0 8px 24px rgba(29, 33, 52, .07);
  --shadow-lg: 0 2px 6px rgba(29, 33, 52, .06), 0 18px 48px rgba(29, 33, 52, .12);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", "Inter", system-ui, sans-serif;
  --font-cn: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
.ic { width: 1.15em; height: 1.15em; flex: none; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.center { text-align: center; margin-top: 32px; }
.muted { color: var(--muted); }

.section { padding: 88px 0; }
.section-tight { padding: 48px 0; }
.section-cream { background: var(--cream); }
.section + .section:not(.section-cream):not(.section-tight) { padding-top: 40px; }

.kicker {
  display: inline-block; font: 700 .75rem/1 var(--font-head); letter-spacing: .22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.kicker-gold { color: #e9c77a; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 640px; margin-top: 18px; }
.prose { color: var(--ink); }
.prose p { margin-bottom: .8em; }

/* Печать с иероглифом (как в презентации) */
.seal {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 10px;
  background: var(--red); color: #fff; font: 700 1.35rem/1 var(--font-cn); flex: none;
  box-shadow: 0 6px 16px rgba(200, 16, 46, .25);
}
.seal-lg { width: 84px; height: 84px; font-size: 2.3rem; border-radius: 16px; }
.cn-accent { font-family: var(--font-cn); color: var(--gold); font-weight: 600; font-size: .8em; margin-left: .25em; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(200, 16, 46, .4); outline-offset: 3px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(200, 16, 46, .28); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--cream); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

/* Шапка */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 84px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 800 1.2rem/1 var(--font-head); color: var(--navy); letter-spacing: .02em; }
.brand-tag { font-size: .72rem; color: var(--red); margin-top: 4px; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a {
  padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink); white-space: nowrap;
  transition: background .2s, color .2s;
}
.main-nav > a:hover { background: var(--cream); color: var(--red); }
.main-nav > a.is-active { color: var(--red); background: var(--red-soft); }
.nav-contacts { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; color: var(--navy); align-items: center; justify-content: center; }
.nav-toggle .ic { width: 24px; height: 24px; }
.nav-toggle .ic-close { display: none; }
.nav-open .nav-toggle .ic-menu { display: none; }
.nav-open .nav-toggle .ic-close { display: block; }

/* Главный экран */
.hero { padding: 56px 0 24px; background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--red); display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; color: var(--navy); text-decoration: none; }
.hero-phone .ic { color: var(--red); }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.hero-seal { position: absolute; top: -18px; right: -12px; }
.hero-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: 24px; opacity: .45; z-index: -1;
}

/* Цифры */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; box-shadow: var(--shadow); }
.stat strong { display: block; font: 800 2.2rem/1 var(--font-head); color: var(--red); margin-bottom: 10px; }
.stat span { color: var(--muted); }
.stat-red { background: var(--red); border-color: var(--red); }
.stat-red strong, .stat-red span { color: #fff; }

/* Заголовки секций */
.section-title { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; position: relative; }
.section-title .kicker { flex-basis: 100%; margin-bottom: -6px; }
.section-title h2 { flex: 1; min-width: 0; }
.section-title .seal { order: 3; }
.subhead { margin: 44px 0 18px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .12em; color: var(--red); }

/* Карточки разделов */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  display: flex; flex-direction: column; text-decoration: none; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.card-media img, .card-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; flex: 1; }
.card-title { font: 700 1.1rem/1.25 var(--font-head); color: var(--navy); }
.card-text { color: var(--muted); font-size: .95rem; flex: 1; }
.card-more { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; font-size: .92rem; margin-top: 6px; }

/* Заглушка фото */
.ph {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: radial-gradient(circle at 30% 20%, #e23a52 0%, var(--red) 45%, #8e0a20 100%);
  color: rgba(255, 255, 255, .92); font: 700 clamp(2.4rem, 6vw, 3.6rem)/1 var(--font-cn); letter-spacing: .05em;
}
.ph span { text-shadow: 0 4px 18px rgba(0, 0, 0, .2); }

/* Тизер основателя */
.founder-teaser { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.founder-teaser-photo img, .founder-teaser-photo .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.founder-teaser-copy h2 { margin-bottom: 6px; }
.founder-teaser-name { font-weight: 600; color: var(--red); margin-bottom: 18px; }
.founder-teaser-copy .btn { margin-top: 28px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; max-width: 520px; }
.mini-stats div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.mini-stats strong { display: block; font: 800 1.35rem/1.1 var(--font-head); color: var(--red); }
.mini-stats span { font-size: .85rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 4px; }

/* Тизер городов */
.city-teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.city-teaser { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; text-decoration: none; box-shadow: var(--shadow); }
.city-teaser img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.city-teaser:hover img { transform: scale(1.06); }
.city-teaser::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15, 17, 30, .78)); }
.city-teaser-label { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; display: flex; flex-direction: column; }
.city-teaser-label strong { font: 800 1.3rem/1.2 var(--font-head); }
.city-teaser-label small { opacity: .85; font-size: .88rem; }

/* CTA */
.cta {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--red) 0%, #a40b25 100%); color: #fff; border-radius: 28px; padding: 56px;
  box-shadow: 0 24px 60px rgba(200, 16, 46, .28);
}
.cta h2 { color: #fff; }
.cta-text { margin-top: 14px; opacity: .92; font-size: 1.05rem; }
.cta-seal { position: absolute; right: -10px; bottom: -40px; font: 700 11rem/1 var(--font-cn); color: rgba(255, 255, 255, .07); pointer-events: none; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; position: relative; }
.cta-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; opacity: .95; }
.cta-link:hover { text-decoration: underline; }

/* Шапка внутренних страниц */
.page-head { padding: 64px 0 40px; background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); position: relative; }
.page-head::before, .page-head::after {
  content: ""; position: absolute; width: 34px; height: 34px; border: 3px solid var(--red); opacity: .55;
}
.page-head::before { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.page-head::after { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.page-head-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }

/* Основатель */
.founder-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.founder-role { font-weight: 600; color: var(--red); margin-top: 10px; }
.founder-hero-photo { position: relative; }
.founder-hero-photo img, .founder-hero-photo .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.founder-hero-photo .seal { position: absolute; top: -16px; left: -16px; }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.timeline li {
  display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow);
}
.timeline-years { font: 800 1rem/1 var(--font-head); color: var(--red); }
.timeline strong { display: block; color: var(--navy); font-size: 1.02rem; }
.timeline li span:not(.timeline-years) { color: var(--muted); font-size: .92rem; }
.timeline li.is-highlight { background: var(--red); border-color: var(--red); }
.timeline li.is-highlight * { color: #fff !important; }

.diplomas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 980px; }
.diploma { margin: 0; }
.diploma a { display: block; background: #fff; padding: 14px; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.diploma img { width: 100%; border-radius: 6px; }
.diploma figcaption { margin-top: 12px; font-weight: 500; color: var(--navy); font-size: .95rem; }

.awards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.awards li { display: flex; gap: 16px; align-items: baseline; background: var(--cream); border-radius: 14px; padding: 18px 20px; border-left: 4px solid var(--red); }
.awards-year { font: 800 .95rem/1.2 var(--font-head); color: var(--red); white-space: nowrap; min-width: 84px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--red); color: #fff; margin-top: 1px; }
.checklist-cards li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); }
.checklist-x .ic { background: rgba(255, 255, 255, .15); }

.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 999px; background: var(--red-soft); color: var(--red-dark); font-weight: 600; font-size: .95rem; }
.chips-sm { margin: 0; }
.chips-sm li { padding: 6px 14px; font-size: .9rem; background: #fff; border: 1px solid var(--line); color: var(--navy); }

/* Уроки */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature-num { display: inline-block; font: 800 .85rem/1 var(--font-head); color: var(--red); background: var(--red-soft); padding: 6px 10px; border-radius: 8px; margin-bottom: 14px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px 26px; box-shadow: var(--shadow);
}
.price-card h3 { font-size: 1.2rem; }
.price-sub { color: var(--muted); margin-top: 4px; }
.price-value { font: 800 2.3rem/1.1 var(--font-head); color: var(--navy); margin: 22px 0 4px; }
.price-value small { font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: 4px; }
.price-alt { color: var(--muted); margin-bottom: 24px; flex: 1; }
.price-badge { position: absolute; top: -12px; left: 26px; background: var(--gold); color: #fff; font-weight: 600; font-size: .8rem; padding: 5px 12px; border-radius: 999px; }
.price-card.is-featured { background: var(--red); border-color: var(--red); box-shadow: 0 20px 50px rgba(200, 16, 46, .3); }
.price-card.is-featured h3, .price-card.is-featured .price-value { color: #fff; }
.price-card.is-featured .price-sub, .price-card.is-featured .price-alt, .price-card.is-featured .price-value small { color: rgba(255, 255, 255, .85); }
.footnote { color: var(--muted); font-size: .9rem; margin-top: 18px; }
.payment { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.payment-title { font-weight: 600; color: var(--navy); }

/* Сопровождение */
.tariffs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.tariff { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.tariff-head { padding: 30px 30px 26px; background: var(--cream); border-bottom: 1px solid var(--line); }
.tariff-label { font: 700 .78rem/1 var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.tariff-price { font: 800 2.4rem/1.1 var(--font-head); color: var(--navy); margin: 12px 0 8px; }
.tariff-sub { color: var(--muted); }
.tariff .checklist { padding: 26px 30px; flex: 1; }
.tariff .btn { margin: 0 30px 30px; width: auto; }
.tariff.is-featured { border: 2px solid var(--red); box-shadow: 0 20px 50px rgba(200, 16, 46, .18); }
.tariff.is-featured .tariff-head { background: var(--red); border-color: var(--red); }
.tariff.is-featured .tariff-head * { color: #fff; }
.note { margin-top: 24px; background: var(--red-soft); border-radius: 14px; padding: 18px 22px; color: var(--ink); }
.note strong { color: var(--red-dark); }
.note-soft { background: var(--cream); margin-top: 36px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); position: relative; }
.step-num { font: 800 1.8rem/1 var(--font-head); color: var(--red); }
.steps strong { color: var(--navy); font-family: var(--font-head); font-size: 1.05rem; }
.steps li span:last-child { color: var(--muted); font-size: .93rem; }

.levels { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.levels li { display: grid; grid-template-columns: 150px 220px 1fr; gap: 20px; align-items: center; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.level-dur { display: inline-block; justify-self: start; background: var(--red); color: #fff; font-weight: 600; font-size: .85rem; padding: 6px 12px; border-radius: 999px; }
.levels strong { color: var(--navy); font-family: var(--font-head); }

.costs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cost { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.cost-label { font: 700 .75rem/1 var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.cost strong { font: 800 2rem/1.1 var(--font-head); color: var(--navy); margin-top: 14px; }
.cost-sub { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.cost p { color: var(--ink); font-size: .95rem; }
.cost-red { background: var(--red); border-color: var(--red); }
.cost-red * { color: #fff !important; }
.expenses { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.expense { background: #fff; border-radius: 14px; padding: 16px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.expense-title { font: 700 .7rem/1.2 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.expense strong { font: 800 1.25rem/1.2 var(--font-head); color: var(--navy); }
.expense span:last-child { font-size: .83rem; color: var(--muted); line-height: 1.4; }

/* Галереи */
.gallery a { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--cream-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery-cap { position: absolute; left: 10px; bottom: 10px; background: rgba(200, 16, 46, .92); color: #fff; font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 8px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid a { aspect-ratio: 4 / 3; }
.gallery-masonry { columns: 3 280px; column-gap: 14px; }
.gallery-masonry a { margin-bottom: 14px; break-inside: avoid; }
.gallery-masonry img { height: auto; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--red); transition: transform .25s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq .prose { padding: 0 22px 20px; color: var(--muted); }

/* Города и университеты */
.cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; align-items: start; grid-auto-flow: dense; }
.city { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s, border-color .25s; }
.city:hover { box-shadow: var(--shadow-lg); }
.city-head { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.city-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); }
.city-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.city-head:hover .city-media img { transform: scale(1.05); }
.city-cn { position: absolute; top: 12px; right: 12px; background: var(--red); color: #fff; font: 700 1rem/1 var(--font-cn); padding: 8px 10px; border-radius: 10px; }
.city-info { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.city-name { font: 800 1.3rem/1.2 var(--font-head); color: var(--navy); }
.city-desc { color: var(--muted); font-size: .92rem; }
.city-count { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--red); font-weight: 600; font-size: .93rem; }
.city-count > span:first-child { flex: 1; }
.city-toggle-text { color: var(--muted); font-weight: 500; font-size: .85rem; }
.city-toggle-text::after { content: attr(data-closed); }
.city.is-open .city-toggle-text::after { content: attr(data-open); }
.city-count .ic { width: 22px; height: 22px; transition: transform .25s; }
.city.is-open .city-count .ic { transform: rotate(180deg); }
.city-unis { background: var(--cream); border-top: 1px solid var(--line); padding: 14px 16px 16px; }
.city-unis[hidden] { display: none; }
.city-unis-title { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 4px 4px 10px; }
.city.is-open { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(260px, 340px) 1fr; border-color: var(--red); box-shadow: 0 16px 40px rgba(200, 16, 46, .14); }
.city.is-open .city-unis { border-top: 0; border-left: 1px solid var(--line); padding: 24px 26px; animation: drop .3s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.uni-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.uni-list li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.uni-thumb { flex: none; width: 64px; height: 46px; border-radius: 8px; overflow: hidden; display: block; }
.uni-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
a.uni-thumb:hover img { transform: scale(1.08); }
.uni-thumb-empty { display: grid; place-items: center; background: var(--red-soft); color: var(--red); font: 700 1.1rem/1 var(--font-cn); }
.uni-name { font-weight: 600; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.uni-name small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }

/* Лагерь */
.camp-hero {
  position: relative; color: #fff; padding: 120px 0 90px; background: #2a0d12 var(--camp-bg, none) center 35% / cover no-repeat; overflow: hidden;
}
.camp-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 8, 14, .92) 0%, rgba(36, 8, 14, .7) 45%, rgba(36, 8, 14, .25) 100%); }
.camp-hero-inner { position: relative; max-width: 1200px; }
.camp-cn { display: block; font: 700 clamp(3.6rem, 9vw, 6rem)/1 var(--font-cn); color: #e2b55c; margin-bottom: 8px; }
.camp-hero h1 { color: #fff; }
.camp-sub { font-size: 1.15rem; max-width: 560px; margin-top: 14px; opacity: .92; }
.camp-facts { list-style: none; padding: 0; margin: 30px 0 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.camp-facts li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); border-radius: 14px; padding: 12px 18px; display: flex; flex-direction: column; }
.camp-facts span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.camp-facts strong { font: 800 1.2rem/1.3 var(--font-head); }
.camp-intro { font-size: 1.15rem; text-align: center; color: var(--ink); }
.camp-blocks { display: grid; gap: 28px; }
.camp-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.camp-block:nth-child(even) .camp-block-media { order: 2; }
.camp-block-media img, .camp-block-media .ph { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); border: 4px solid #fff; outline: 1px solid var(--gold); }
.camp-block-copy h2 { margin-bottom: 14px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.camp-block-copy h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--red); margin-top: 14px; border-radius: 2px; }
.camp-price { display: grid; grid-template-columns: .8fr 1.2fr .8fr; gap: 18px; align-items: stretch; }
.camp-price-main { background: var(--red); color: #fff; border-radius: 20px; padding: 30px; display: flex; flex-direction: column; justify-content: center; gap: 8px; box-shadow: 0 20px 50px rgba(200, 16, 46, .28); }
.camp-price-main strong { font: 800 3rem/1 var(--font-head); }
.camp-price-main span { opacity: .9; margin-bottom: 18px; }
.camp-price-main .btn { align-self: flex-start; }
.camp-price-list { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.camp-price-list h3 { margin-bottom: 18px; color: var(--red); }
.camp-price-dark { background: #2a0d12; border-color: #2a0d12; color: #fff; }
.camp-price-dark h3 { color: #e2b55c; }

/* Подвал */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 64px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 16px; padding: 12px 18px; margin-bottom: 18px; }
.footer-logo img { width: 150px; height: auto; }
.footer-brand p { font-size: .92rem; max-width: 380px; }
.footer-h { color: #fff; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links, .footer-contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a, .footer-contacts a, .footer-contacts span { color: rgba(255, 255, 255, .82); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.footer-links a:hover, .footer-contacts a:hover { color: #fff; }
.footer-contacts .ic { color: #ff6b7f; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding: 22px 24px; font-size: .85rem; }
.footer-bottom a { color: rgba(255, 255, 255, .7); text-decoration: none; }

/* Кнопка WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .ic { width: 30px; height: 30px; }

/* Лайтбокс */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12, 13, 22, .92); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 10px; object-fit: contain; }
.lightbox figcaption { color: #fff; margin-top: 12px; text-align: center; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; cursor: pointer; font-size: 2rem; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 14px; right: 14px; }
.lb-close .ic { width: 24px; height: 24px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .main-nav > a { padding: 8px 9px; font-size: .9rem; }
  .brand-tag { display: none; }
}
@media (max-width: 1060px) {
  :root { --header-h: 68px; }
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px 20px 32px; margin: 0; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a { padding: 14px 12px; font-size: 1.1rem; border-radius: 12px; border-bottom: 1px solid var(--line); }
  .nav-contacts { display: grid; gap: 12px; margin-top: 18px; }
  .nav-contacts a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 600; }
  .nav-contacts .ic { color: var(--red); }
  .brand-tag { display: block; }
  .header-actions { margin-left: auto; }
  .nav-open { overflow: hidden; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .expenses { grid-template-columns: repeat(3, 1fr); }
  .camp-price { grid-template-columns: 1fr 1fr; }
  .camp-price-main { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 36px 0; }
  .hero { padding-top: 32px; }
  .hero-grid, .founder-teaser, .founder-hero, .two-col, .camp-block, .cta { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { order: -1; }
  .hero-media::before { display: none; }
  .hero-seal { top: auto; bottom: -18px; right: 14px; }
  .founder-hero-photo { max-width: 420px; }
  .founder-teaser-photo { max-width: 380px; }
  .camp-block:nth-child(even) .camp-block-media { order: 0; }
  .stats, .costs { grid-template-columns: 1fr; }
  .city-teasers { grid-template-columns: repeat(2, 1fr); }
  .tariffs { grid-template-columns: 1fr; }
  .levels li { grid-template-columns: 1fr; gap: 6px; }
  .city.is-open { grid-template-columns: 1fr; }
  .city.is-open .city-unis { border-left: 0; border-top: 1px solid var(--line); padding: 16px; }
  .uni-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta { padding: 36px 28px; }
  .page-head-inner .seal-lg { width: 60px; height: 60px; font-size: 1.6rem; }
  .diplomas { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  body { font-size: 15.5px; }
  .brand img { width: 64px; }
  .brand-name { font-size: 1.05rem; }
  .brand-tag { font-size: .66rem; }
  .header-cta span { display: none; }
  .header-cta { padding: 10px 12px; }
  .cards, .features, .city-teasers, .steps, .camp-price { grid-template-columns: 1fr; }
  .expenses { grid-template-columns: 1fr 1fr; }
  .mini-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mini-stats div { padding: 12px; }
  .mini-stats strong { font-size: 1.1rem; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .awards { grid-template-columns: 1fr; }
  .awards li { flex-direction: column; gap: 4px; }
  .page-head { padding: 44px 0 28px; }
  .page-head-inner .seal-lg { display: none; }
  .hero-actions .btn { width: 100%; }
  .tariff-head, .tariff .checklist { padding-left: 22px; padding-right: 22px; }
  .tariff .btn { margin: 0 22px 22px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery-masonry { columns: 2; column-gap: 8px; }
  .gallery-masonry a { margin-bottom: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .camp-hero { padding: 72px 0 56px; }
  .camp-hero::before { background: linear-gradient(180deg, rgba(36, 8, 14, .55) 0%, rgba(36, 8, 14, .88) 70%); }
  .lightbox { padding: 56px 8px; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
