/* Лендинги GiontVPS. Цвета, шрифт и кнопки — по бренд-буку (версия 1.1, октябрь 2026). */
:root {
  --orange: #ff660a;
  --orange-text: #cc3402;
  --dark: #121212;
  --dark-2: #1b1b1b;
  --dark-3: #262525;
  --grey-bg: #f3f3f3;
  --white: #ffffff;
  --text: #121212;
  --text-muted: #6f6d6d;
  --on-dark-muted: rgba(255, 255, 255, 0.72);
  --border: #e4e4e4;
  --border-dark: #2c2c2c;
  --radius-card: 20px;
  --container: min(1120px, calc(100% - 32px));
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: var(--container); margin: 0 auto; }
.num { font-variant-numeric: tabular-nums; }
.accent { color: var(--orange-text); }
.on-dark .accent { color: var(--orange); }

/* Кнопки — всегда капсулы. Оранжевая — одна на экран. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  font: 600 16px/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: #ec5a00; }
.btn--outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn--outline:hover { background: var(--text); color: var(--white); }
.on-dark .btn--outline,
.header .btn--outline { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.on-dark .btn--outline:hover,
.header .btn--outline:hover { background: var(--white); color: var(--dark); }
.btn--small { min-height: 40px; padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.cta-note { margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.on-dark .cta-note { color: var(--on-dark-muted); }

/* Шапка */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-dark);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.header__logo img { height: 26px; width: auto; }

/* Тёмные блоки и водяной знак-молния */
.on-dark { background: var(--dark); color: var(--white); position: relative; overflow: hidden; }
.watermark {
  position: absolute;
  top: -60px;
  right: -90px;
  width: 520px;
  height: auto;
  color: var(--dark-2);
  pointer-events: none;
}
.watermark path { fill: currentColor; }

/* Первый экран */
.hero { padding: 56px 0 64px; }
.hero__inner { position: relative; z-index: 1; max-width: 760px; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 700; letter-spacing: -0.01em; }
.hero__sub { margin-top: 16px; font-size: clamp(17px, 2.2vw, 20px); color: var(--on-dark-muted); max-width: 640px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; }
.facts li { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.facts svg { flex: none; color: var(--orange); }
.hero__cta { margin-top: 32px; }

/* Секции */
.section { padding: 64px 0; scroll-margin-top: 64px; }
.section--grey { background: var(--grey-bg); }
.section__title { font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; max-width: 760px; }
.section__lead { margin-top: 12px; color: var(--text-muted); max-width: 680px; font-size: 17px; }
.on-dark .section__lead { color: var(--on-dark-muted); }
.section__cta { margin-top: 32px; }

/* Проблема → решение */
.pas { display: grid; gap: 16px; margin-top: 28px; }
.pas__item { background: var(--white); border-radius: var(--radius-card); padding: 22px 24px; }
.section--grey .pas__item { background: var(--white); }
.pas__label { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: none; }
.pas__item--solution .pas__label { color: var(--orange-text); }
.pas__text { margin-top: 6px; font-size: 17px; }
@media (min-width: 860px) { .pas { grid-template-columns: repeat(3, 1fr); } }

/* Карточки устройства / списки */
.cards { display: grid; gap: 16px; margin-top: 28px; }
.card { background: var(--grey-bg); border-radius: var(--radius-card); padding: 22px 24px; }
.section--grey .card { background: var(--white); }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { margin-top: 8px; color: var(--text-muted); }
@media (min-width: 860px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--2 { grid-template-columns: repeat(2, 1fr); } }

/* 3 шага */
.steps { display: grid; gap: 16px; margin-top: 28px; counter-reset: step; }
.step { position: relative; background: var(--white); border-radius: var(--radius-card); padding: 24px 24px 24px 76px; }
.section:not(.section--grey) .step { background: var(--grey-bg); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font: 700 17px/36px var(--font);
  text-align: center;
}
.step h3 { font-size: 18px; font-weight: 700; }
.step p { margin-top: 6px; color: var(--text-muted); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps__help { margin-top: 20px; color: var(--text-muted); }
.steps__help a { color: var(--orange-text); font-weight: 600; }

/* Раскрывающиеся блоки: инструкция по региону и вопросы */
.disclosure { margin-top: 20px; background: var(--white); border-radius: var(--radius-card); border: 1px solid var(--border); }
.section:not(.section--grey) .disclosure { background: var(--grey-bg); border-color: transparent; }
.disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 600; color: var(--orange-text); }
.disclosure[open] summary::after { content: "−"; }
.disclosure__body { padding: 0 22px 20px; color: var(--text-muted); }
.disclosure__body ol { list-style: decimal; padding-left: 20px; display: grid; gap: 6px; }
.disclosure__body p + p, .disclosure__body p + ol, .disclosure__body ol + p { margin-top: 10px; }
.placeholder { padding: 10px 14px; border-radius: 12px; background: #fff4ec; color: var(--orange-text); font-weight: 600; }

/* Что входит */
.features { display: grid; gap: 12px; margin-top: 28px; }
.features li { display: flex; gap: 12px; align-items: flex-start; background: var(--grey-bg); border-radius: 16px; padding: 16px 18px; font-size: 17px; }
.section--grey .features li { background: var(--white); }
.features svg { flex: none; margin-top: 2px; color: var(--orange); }
@media (min-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); } }

/* Цены */
.trial {
  display: grid;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 2px solid var(--orange);
}
.section:not(.section--grey) .trial { background: var(--grey-bg); }
.trial__price { font-size: clamp(30px, 4vw, 40px); font-weight: 700; }
.trial__text { margin-top: 6px; color: var(--text-muted); }
@media (min-width: 860px) { .trial { grid-template-columns: 1fr auto; } }

.tariffs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.tariff { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--radius-card); background: var(--white); border: 1px solid var(--border); }
.section:not(.section--grey) .tariff { background: var(--grey-bg); border-color: transparent; }
.tariff__term { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.tariff__price { font-size: 24px; font-weight: 700; }
.tariff__per { font-size: 13px; color: var(--text-muted); }
.tariff__badge { align-self: flex-start; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: var(--dark); color: var(--white); font-size: 12px; font-weight: 700; }
.tariff .btn { margin-top: auto; }
.tariff__spacer { flex: 1; min-height: 10px; }
@media (min-width: 860px) { .tariffs { grid-template-columns: repeat(4, 1fr); } }

.terms { margin-top: 28px; scroll-margin-top: 80px; }
.terms h3 { font-size: 20px; font-weight: 700; }
.terms ul { display: grid; gap: 10px; margin-top: 14px; }
.terms li { position: relative; padding-left: 22px; }
.terms li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* Поддержка (тёмный блок) */
.support .section__title { position: relative; z-index: 1; }
.support__grid { position: relative; z-index: 1; display: grid; gap: 14px; margin-top: 28px; }
.support__item { padding: 20px 22px; border-radius: var(--radius-card); background: var(--dark-2); border: 1px solid var(--border-dark); }
.support__item b { display: block; font-size: 20px; font-weight: 700; }
.support__item span { display: block; margin-top: 6px; color: var(--on-dark-muted); }
.support__links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (min-width: 860px) { .support__grid { grid-template-columns: repeat(4, 1fr); } }

/* Вопросы */
.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq .disclosure { margin-top: 0; }

/* Последний экран */
.go { text-align: center; }
.go .section__title { margin: 0 auto; }
.go .section__lead { margin-left: auto; margin-right: auto; }

/* Подвал */
.footer { background: var(--dark); color: var(--on-dark-muted); padding: 40px 0 48px; font-size: 14px; border-top: 1px solid var(--border-dark); }
.footer__inner { display: grid; gap: 20px; }
.footer__logo img { height: 22px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { color: var(--orange); }
@media (min-width: 860px) { .footer__inner { grid-template-columns: auto 1fr; align-items: start; } .footer__links { justify-content: flex-end; } }

/* Страницы документов */
.doc { padding: 48px 0 64px; }
.doc__body { max-width: 820px; }
.doc__body h1 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 20px; }
.doc__body h2, .doc__body h3 { margin: 28px 0 10px; font-size: 20px; }
.doc__body p, .doc__body li { margin: 8px 0; color: #3a3939; }
.doc__body ul, .doc__body ol { list-style: disc; padding-left: 22px; }

@media (max-width: 559px) {
  .hero { padding: 40px 0 48px; }
  .section { padding: 48px 0; }
  .hero__cta .btn, .section__cta .btn, .trial .btn { width: 100%; }
  .step { padding: 22px 20px 22px 68px; }
  .step::before { left: 18px; }
  .tariffs { grid-template-columns: 1fr 1fr; }
  .tariff { padding: 16px; }
  .tariff__price { font-size: 21px; }
  .watermark { width: 340px; right: -110px; top: -30px; }
}
