:root {
  /* Фон и поверхности */
  --bg: #0b050e;
  --bg-card: #150d1b;
  --bg-surf: #23162b;
  --bg-surf2: #34223f;

  /* Акценты */
  --accent: #ff551f;
  --accent2: #ff7343;

  /* Вспомогательные */
  --accent-red: #ff334b;
  --neon: #ffa500;
  --success: #2ec167;

  /* Текст */
  --text: #ffffff;
  --text2: #9d8fa9;

  /* Декор */
  --border: rgba(255, 85, 31, 0.15);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 85, 31, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(255, 51, 75, 0.08), transparent 70%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 5, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; }

.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all .2s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: var(--bg-surf);
}

.lang-switcher { display: inline-flex; align-items: center; gap: 6px; padding: 4px; background: var(--bg-surf); border-radius: var(--radius-sm); }
.lang-switcher a {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  border-radius: 6px;
  transition: all .2s ease;
}
.lang-switcher a.active { color: var(--text); background: var(--accent); }
.lang-switcher a:hover:not(.active) { color: var(--text); }

.header-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-red));
  color: var(--text);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .3px;
  box-shadow: 0 4px 16px rgba(255, 85, 31, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.header-cta:hover { color: var(--text); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255, 85, 31, 0.5); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ===== HERO ===== */
.hero {
  padding: 56px 0 40px;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 17px;
  color: var(--text2);
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
}
.hero-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 5, 14, 0.4) 100%);
  pointer-events: none;
}
.hero-img-wrap img { width: 100%; height: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease;
  text-align: center;
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-red) 100%);
  color: var(--text);
  box-shadow: 0 6px 24px rgba(255, 85, 31, 0.4);
}
.btn-primary:hover { color: var(--text); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 85, 31, 0.55); }
.btn-secondary {
  background: var(--bg-surf);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-surf2); color: var(--text); }

/* ===== SECTIONS ===== */
.section { padding: 48px 0; }
.section-narrow { max-width: 960px; margin: 0 auto; padding: 0 20px; }

h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  margin: 36px 0 14px;
  color: var(--text);
}
h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  line-height: 1.3;
  margin: 28px 0 12px;
  color: var(--text);
}
h2:first-child, h3:first-child { margin-top: 0; }

p { margin-bottom: 14px; color: var(--text); }
.section p { color: rgba(255, 255, 255, 0.88); }

ul, ol { padding-left: 22px; margin-bottom: 18px; }
ul li, ol li { margin-bottom: 8px; color: rgba(255, 255, 255, 0.88); }
ul li::marker { color: var(--accent); }
ol li::marker { color: var(--accent); font-weight: 700; }

strong { color: var(--text); font-weight: 700; }
em { color: var(--accent2); font-style: normal; font-weight: 600; }

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255, 85, 31, 0.35); }
.card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 85, 31, 0.18), rgba(255, 51, 75, 0.12));
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 20px;
}
.card h3 { font-size: 18px; margin: 0 0 8px; }
.card p { font-size: 14px; color: var(--text2); margin: 0; }

/* ===== TABLE ===== */
.payment-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 22px 0;
  border: 1px solid var(--border);
}
.payment-table th,
.payment-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.payment-table th {
  background: var(--bg-surf);
  color: var(--text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 12px;
}
.payment-table tr:last-child td { border-bottom: none; }
.payment-table tr:hover td { background: rgba(255, 85, 31, 0.04); }
.table-wrap { overflow-x: auto; }

/* ===== FAQ ===== */
.faq {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin: 36px 0;
}
.faq h2 { margin-top: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  font-size: 22px;
  color: var(--accent);
  transition: transform .25s ease;
  flex-shrink: 0;
}
details[open] .faq-q::after { content: "−"; }
.faq-a { padding-top: 12px; color: var(--text2); font-size: 15px; }

/* ===== CTA BLOCK ===== */
.cta-block {
  background: linear-gradient(135deg, var(--bg-surf), var(--bg-card));
  border: 1px solid rgba(255, 85, 31, 0.35);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 85, 31, 0.28), transparent 65%);
  pointer-events: none;
}
.cta-block h2 { position: relative; margin-top: 0; }
.cta-block p { position: relative; max-width: 640px; margin: 0 auto 22px; color: var(--text2); }
.cta-block .btn { position: relative; }

/* ===== INFO/HIGHLIGHT BOX ===== */
.info-box {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  margin: 22px 0;
}
.info-box p:last-child { margin-bottom: 0; }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
.stat-label { font-size: 13px; color: var(--text2); text-transform: uppercase; letter-spacing: .5px; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--text2);
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li::marker { content: none; }
.breadcrumbs li + li::before { content: "/"; color: var(--text2); opacity: .5; }
.breadcrumbs a { color: var(--text2); }
.breadcrumbs a:hover { color: var(--accent); }

/* ===== INLINE IMG ===== */
.inline-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 24px 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 50px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-col h4 {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text2); font-size: 14px; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-about p { color: var(--text2); font-size: 14px; margin-top: 12px; }
.footer-about .logo-img { height: 36px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { color: var(--text2); font-size: 12px; margin: 0; }
.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-surf);
  border: 1px solid var(--accent-red);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-red);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: 36px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-block { padding: 28px 20px; }
  .faq { padding: 22px; }
}

@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 12px;
    gap: 4px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 14px; width: 100%; }
  .header-cta { padding: 8px 14px; font-size: 13px; }
  .lang-switcher a { padding: 4px 8px; font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 32px 0; }
  h1 { font-size: 28px !important; }
  .cta-block { padding: 24px 18px; }
}

@media (max-width: 420px) {
  .header-cta { display: none; }
  .header-inner { gap: 10px; }
  .logo-img { height: 34px; }
}
