/* ====== Tower Rush — Основные стили сайта ====== */
:root {
  --bg-page: #F8F2E9;
  --menu-dark: #0B0D1C;
  --header-blue: #2493AF;
  --btn-orange: #C27427;
  --btn-orange-hover: #A65F1C;
  --text-dark: #1A1F2E;
  --text-muted: #5A6275;
  --border-soft: #E5DCC9;
  --accent-yellow: #F2C94C;
  --accent-blue-soft: #5BB8D1;
  --shadow-soft: 0 10px 30px rgba(11, 13, 28, 0.08);
  --shadow-card: 0 6px 18px rgba(11, 13, 28, 0.06);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--header-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--btn-orange); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====== Шапка сайта ====== */
.site-header {
  background: var(--header-blue);
  color: #fff;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 14px rgba(11, 13, 28, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.25));
}

.main-nav {
  background: var(--menu-dark);
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  flex-wrap: wrap;
}
.nav-links a {
  display: inline-block;
  padding: 14px 18px;
  color: #F8F2E9;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .2px;
  border-radius: 6px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(36, 147, 175, 0.25);
  color: #fff;
}

.btn-play-nav {
  background: var(--btn-orange);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 12px rgba(194, 116, 39, 0.4);
}
.btn-play-nav:hover { background: var(--btn-orange-hover) !important; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  padding: 10px;
}

/* ====== Hero ====== */
.hero {
  background: linear-gradient(180deg, #2493AF 0%, #1c7b94 100%);
  color: #fff;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.12), transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(242, 201, 76, 0.10), transparent 55%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--accent-yellow); }
.hero p {
  font-size: 18px;
  margin-bottom: 28px;
  opacity: .95;
  max-width: 560px;
}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image img {
  max-height: 380px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

/* ====== CTA-кнопка ====== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--btn-orange);
  color: #fff;
  padding: 16px 36px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 8px 20px rgba(194, 116, 39, 0.45);
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary:hover {
  background: var(--btn-orange-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(194, 116, 39, 0.55);
}
.btn-primary i { font-size: 18px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  padding: 15px 34px;
  border-radius: 10px;
  font-weight: 700;
  border: 2px solid rgba(255,255,255,.6);
  transition: all .2s ease;
}
.btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }

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

.hero-badges {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 14px;
}
.hero-badge i { color: var(--accent-yellow); }

/* ====== Секции ====== */
section.block {
  padding: 64px 0;
}
section.block.alt {
  background: #fff;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

h2.section-title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--menu-dark);
  margin-bottom: 14px;
  position: relative;
}
h2.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--btn-orange);
  border-radius: 2px;
  margin-top: 12px;
}
.section-lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 760px;
  margin-bottom: 30px;
}

h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--menu-dark);
  margin: 24px 0 12px;
}
h4 { font-size: 18px; font-weight: 700; margin: 18px 0 8px; }

p { margin-bottom: 14px; }
ul, ol { padding-left: 22px; margin-bottom: 16px; }
li { margin-bottom: 6px; }

/* ====== Карточки ====== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36, 147, 175, 0.12);
  color: var(--header-blue);
  font-size: 22px;
  margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ====== Двухколоночный текст ====== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.two-col img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.two-col.reverse > div:first-child { order: 2; }

/* ====== Info tile (декоративный блок вместо картинки) ====== */
.info-tile {
  background: linear-gradient(135deg, #ffffff 0%, #faf5ed 100%);
  border: 1px solid rgba(36, 147, 175, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 36px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.info-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--header) 100%);
}
.info-tile__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #d88a3a 100%);
  color: #fff;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 20px rgba(194, 116, 39, 0.28);
}
.info-tile__label {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.info-tile__value {
  font-size: 32px;
  font-weight: 800;
  color: var(--header);
  line-height: 1.1;
  margin-bottom: 12px;
  font-family: 'Montserrat', system-ui, sans-serif;
}
.info-tile__hint {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.info-tile--accent {
  background: linear-gradient(135deg, var(--header) 0%, #1a7d96 100%);
  border-color: transparent;
}
.info-tile--accent .info-tile__label,
.info-tile--accent .info-tile__hint { color: rgba(255,255,255,0.85); }
.info-tile--accent .info-tile__value { color: #fff; }
.info-tile--accent .info-tile__icon {
  background: linear-gradient(135deg, var(--accent) 0%, #d88a3a 100%);
}

/* ====== Таблица ====== */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 20px 0;
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}
.compare-table th {
  background: var(--menu-dark);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table tr:nth-child(even) td { background: #FBF7EF; }
.compare-table td strong { color: var(--menu-dark); }

/* ====== Промо-блок ====== */
.promo-banner {
  background: linear-gradient(135deg, var(--menu-dark) 0%, #1a2342 100%);
  color: #fff;
  border-radius: 18px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: center;
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.18), transparent 70%);
}
.promo-banner h2, .promo-banner h3 { color: #fff; margin-bottom: 12px; }
.promo-banner p { color: rgba(255,255,255,.85); margin-bottom: 18px; }
.promo-banner img { max-width: 100%; border-radius: 12px; }
.promo-code {
  display: inline-block;
  background: var(--accent-yellow);
  color: var(--menu-dark);
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  font-family: 'Courier New', monospace;
}

/* ====== Шаги ====== */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.step {
  background: #fff;
  padding: 26px 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  position: relative;
  box-shadow: var(--shadow-card);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 22px;
  width: 36px;
  height: 36px;
  background: var(--btn-orange);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(194, 116, 39, 0.35);
}
.step h4 { margin-top: 6px; color: var(--menu-dark); }
.step p { color: var(--text-muted); font-size: 15px; }

/* ====== FAQ-аккордеон ====== */
.faq-item {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 22px;
  font-weight: 700;
  color: var(--menu-dark);
  cursor: pointer;
  position: relative;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--btn-orange);
  font-weight: 400;
  transition: transform .2s ease;
}
details[open] .faq-q::after { content: '−'; }
.faq-a { padding: 4px 22px 20px; color: var(--text-muted); }

/* ====== Содержание ====== */
.toc {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-card);
}
.toc h3 { margin: 0 0 10px; font-size: 18px; }
.toc ol { padding-left: 22px; margin: 0; columns: 2; column-gap: 30px; }
.toc a { color: var(--menu-dark); font-weight: 600; font-size: 15px; }
.toc a:hover { color: var(--btn-orange); }

/* ====== Хлебные крошки ====== */
.breadcrumbs {
  padding: 14px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--btn-orange); }
.breadcrumbs .sep { margin: 0 8px; }

/* ====== Подвал ====== */
.site-footer {
  background: var(--menu-dark);
  color: #c9cbd9;
  padding: 50px 0 22px;
  margin-top: 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 16px; text-transform: uppercase; letter-spacing: 0.6px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c9cbd9; }
.site-footer a:hover { color: var(--accent-yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #8b91a8;
}
.age-warn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid #c9cbd9;
  border-radius: 50%;
  font-weight: 800;
  margin-right: 14px;
  vertical-align: middle;
}

/* ====== Боковая плавающая кнопка ====== */
.floating-cta {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  background: var(--btn-orange);
  color: #fff;
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.6px;
  box-shadow: 0 10px 24px rgba(194, 116, 39, 0.45);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pulse 2.4s ease-in-out infinite;
}
.floating-cta:hover { background: var(--btn-orange-hover); color: #fff; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* ====== Адаптивность ====== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-image { order: -1; }
  .hero h1 { font-size: 34px; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse > div:first-child { order: 0; }
  .promo-banner { grid-template-columns: 1fr; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 10px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 20px; width: 100%; }
  .nav-inner { flex-wrap: wrap; }
  .hero { padding: 40px 0 50px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
  section.block { padding: 44px 0; }
  h2.section-title { font-size: 24px; }
  .toc ol { columns: 1; }
  .compare-table { display: block; overflow-x: auto; }
  .floating-cta { padding: 12px 18px; font-size: 13px; bottom: 14px; right: 14px; }
  .logo img { height: 44px; }
  .promo-banner { padding: 22px; }
  .btn-primary { padding: 14px 26px; font-size: 15px; }
}

@media (max-width: 460px) {
  .hero h1 { font-size: 24px; }
  h2.section-title { font-size: 22px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
}

/* ====== Утилиты ====== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.highlight { background: rgba(242, 201, 76, 0.25); padding: 0 4px; border-radius: 3px; }
.divider { height: 1px; background: var(--border-soft); margin: 30px 0; }
