/* ============================================================
   WardenCore — стили по макету Figma
   Палитра: тёмный #1b1b20, карточки #2c2c35, акцент #72e9ff,
   слейт #5a6980, светлые секции #f5f7fa / #f9f9fb
   Шрифты: Inter (текст), JetBrains Mono (акценты/цифры)
   ============================================================ */

:root {
  --bg-dark: #1b1b20;
  --bg-dark-2: #1c1c25;
  --card-dark: #2c2c35;
  --line-dark: #2e2e36;
  --slate: #5a6980;
  --slate-soft: #b3bcc9;
  --accent: #72e9ff;
  --accent-soft: #b4ecf6;
  --text-light: #f1f1f3;
  --text-grey: #909097;
  --text-dark: #1b1b20;
  --text-mid: #555559;
  --bg-light: #f5f7fa;
  --bg-light-2: #f9f9fb;
  --line-light: #dddde6;
  --font-sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;
  --radius-card: 20px;
  --radius-btn: 6px;
  --container: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

/* ---------- Типографика ---------- */

.h1 {
  font-size: clamp(38px, 5.5vw, 80px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(30px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.mono-label {
  font-family: var(--font-mono);
  font-size: clamp(17px, 1.7vw, 24px);
  color: var(--accent);
  letter-spacing: -0.02em;
}

.mono-label--slate { color: var(--slate); }
.mono-label--dark { color: var(--text-mid); }

.sec-head { display: grid; gap: 13px; margin-bottom: 56px; }

.breadcrumb {
  font-size: 15px;
  letter-spacing: 0.19em;
  color: #ffffff;
  opacity: 0.85;
}
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 20px;
  padding: 5px 20px;
  border-radius: var(--radius-btn);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn--accent { background: var(--accent); color: var(--bg-dark); }
.btn--accent:hover { box-shadow: 0 6px 24px rgba(114, 233, 255, 0.35); }

.btn--gradient {
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  color: var(--bg-dark);
}
.btn--gradient:hover { box-shadow: 0 6px 24px rgba(114, 233, 255, 0.35); }

.btn--dim {
  background: linear-gradient(90deg, #333345, #4c4c6c);
  color: #c9c9d1;
}
.btn--dim:hover { color: #ffffff; }

.btn--slate {
  background: var(--slate);
  color: var(--text-light);
  font-family: var(--font-sans);
  padding: 10px 20px;
}
.btn--slate:hover { background: #6b7c96; }

.btn--outline {
  border: 1px solid currentColor;
  color: var(--text-grey);
}

.btn--big {
  font-size: 17px;
  padding: 14px 40px;
}

/* ---------- Шапка ---------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: 14px;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  border-radius: 15px;
  padding: 8px 20px 8px 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header--light .header-bar {
  background: rgba(249, 249, 251, 0.8);
  border: 1px solid rgba(27, 27, 32, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
}

.header--dark .header-bar {
  background: rgba(27, 27, 32, 0.8);
  border: 1px solid rgba(178, 197, 239, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  color: var(--text-light);
}

.header-logo img { height: 38px; width: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 44px;
  margin-left: 28px;
  font-size: 14px;
}

.header-nav a { position: relative; opacity: 0.9; }
.header-nav a:hover { opacity: 1; color: var(--accent); }
.header--light .header-nav a:hover { color: var(--slate); }

.header-nav a.active::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 4px;
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.header-cta { margin-left: auto; }

.nav-burger {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: currentColor;
  display: block;
}

/* ---------- Зубчатый разделитель («рваный край») ---------- */

.tear {
  height: 24px;
  background-image:
    linear-gradient(-45deg, transparent 24px, var(--tear-color, var(--bg-dark)) 0),
    linear-gradient(45deg, transparent 24px, var(--tear-color, var(--bg-dark)) 0);
  background-repeat: repeat-x;
  background-size: 48px 48px;
}
.tear--flip { transform: scaleY(-1); }

/* ---------- Секции ---------- */

.section { padding: 96px 0; position: relative; }
.section--dark { background: linear-gradient(160deg, var(--bg-dark), var(--bg-dark-2) 55%, var(--bg-dark)); }
.section--light { background: var(--bg-light-2); color: var(--text-dark); }

/* декоративные точки на тёмном */
.dots-bg { position: relative; overflow: hidden; }
.dots-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(114, 233, 255, 0.10) 1.5px, transparent 1.5px);
  background-size: 190px 170px;
  pointer-events: none;
}
.dots-bg > * { position: relative; }

/* декоративные линии-дорожки */
.circuit::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='700' fill='none'%3E%3Cpath d='M40 60 h480 a20 20 0 0 1 20 20 v90 a20 20 0 0 0 20 20 h340' stroke='%232a2a33' stroke-width='1'/%3E%3Cpath d='M1380 140 h-300 a20 20 0 0 0 -20 20 v120 a20 20 0 0 1 -20 20 h-260' stroke='%232a2a33' stroke-width='1'/%3E%3Cpath d='M100 640 h420 a20 20 0 0 0 20 -20 v-140' stroke='%232a2a33' stroke-width='1'/%3E%3Ccircle cx='560' cy='190' r='3.5' fill='%235a6980' opacity='.5'/%3E%3Ccircle cx='1080' cy='300' r='3.5' fill='%235a6980' opacity='.5'/%3E%3Ccircle cx='540' cy='480' r='3.5' fill='%235a6980' opacity='.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center top;
}
.circuit > .container { position: relative; z-index: 1; }

/* светлые линии для светлых секций */
.circuit--light::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='700' fill='none'%3E%3Cpath d='M40 60 h480 a20 20 0 0 1 20 20 v90 a20 20 0 0 0 20 20 h340' stroke='%23dddde6' stroke-width='1'/%3E%3Cpath d='M1380 140 h-300 a20 20 0 0 0 -20 20 v120 a20 20 0 0 1 -20 20 h-260' stroke='%23dddde6' stroke-width='1'/%3E%3Cpath d='M100 640 h420 a20 20 0 0 0 20 -20 v-140' stroke='%23dddde6' stroke-width='1'/%3E%3Ccircle cx='560' cy='190' r='3.5' fill='%235a6980' opacity='.35'/%3E%3Ccircle cx='1080' cy='300' r='3.5' fill='%235a6980' opacity='.35'/%3E%3Ccircle cx='540' cy='480' r='3.5' fill='%235a6980' opacity='.35'/%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 190px 0 110px;
  overflow: hidden;
}

.hero--dark { background: var(--bg-dark); }
.hero--light { background: var(--bg-light); color: var(--text-dark); box-shadow: inset 0 -30px 58px rgba(8, 0, 42, 0.06); }

.hero-inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 32px;
  max-width: 1070px;
  margin: 0 auto;
}

.hero-sub {
  max-width: 520px;
  font-size: 16px;
  letter-spacing: 0.03em;
  line-height: 1.55;
}
.hero--light .hero-sub { color: var(--text-mid); }
.hero--dark .hero-sub { color: var(--accent); }

.hero-chips { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 12px; }
.hero-chips .btn { pointer-events: none; }

/* ---------- Карточка-опросник в hero главной ---------- */

.hero-widget {
  position: relative;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.lead-card {
  background: #f4f4f6;
  border: 1px solid rgba(27, 27, 32, 0.1);
  border-radius: 15px;
  padding: 36px 58px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
  display: grid;
  gap: 23px;
  text-align: left;
}

.lead-option {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--slate);
}
.lead-option:hover { color: var(--text-dark); }

.lead-dot {
  width: 18px;
  height: 18px;
  border: 1px solid var(--slate-soft);
  border-radius: 50%;
  position: relative;
  flex: none;
}
.lead-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--slate);
  transform: scale(0);
  transition: transform 0.15s ease;
}
.lead-option:hover .lead-dot::after { transform: scale(1); }

.hero-tile {
  width: 65px;
  height: 65px;
  border-radius: 15px;
  background: var(--slate);
  color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.23);
}
.hero-tile img { width: 34px; height: auto; }
.hero-tile svg { width: 30px; height: 30px; }

/* ---------- Главная: три направления ---------- */

.trio-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
}
.trio-head .h2 { max-width: 660px; }
.trio-head p { max-width: 400px; font-size: 16px; letter-spacing: -0.02em; }

.trio-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px 56px;
  align-items: center;
  justify-items: center;
}
.service-card--center { grid-column: 2; }

.emblem {
  position: relative;
  width: 340px;
  height: 340px;
  max-width: 80vw;
  border: 1px solid #b4b4b4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 4px 11px rgba(18, 0, 82, 0.14);
}
.emblem::before, .emblem::after,
.emblem .emblem-dot::before, .emblem .emblem-dot::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background: var(--slate);
  border-radius: 50%;
}
.emblem::before { top: -8px; left: calc(50% - 7px); }
.emblem::after { bottom: -8px; left: calc(50% - 7px); }
.emblem .emblem-dot::before { left: -8px; top: calc(50% - 7px); }
.emblem .emblem-dot::after { right: -8px; top: calc(50% - 7px); }

.emblem-core {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  background: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
}
.emblem-core img { width: 78px; filter: brightness(0) invert(1); opacity: 0.95; }

.service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(27, 27, 32, 0.1);
  border-radius: var(--radius-card);
  padding: 56px 20px 24px;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16); }

.service-card h3 { font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: 0.03em; max-width: 260px; }
.service-card .card-for {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--slate);
  letter-spacing: 0.03em;
  margin: 12px 0;
}
.service-card p { font-size: 16px; letter-spacing: 0.02em; color: var(--text-dark); }

.card-arrow {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--slate);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.service-card:hover .card-arrow { background: var(--accent); color: var(--bg-dark); }
.card-arrow svg { width: 14px; height: 14px; }

/* ---------- Главная: почему мы ---------- */

.why-head { text-align: center; display: grid; justify-items: center; gap: 48px; margin-bottom: 90px; }

.info-pill {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: rgba(44, 44, 53, 0.6);
  border: 1px solid rgba(178, 197, 239, 0.08);
  border-radius: 6px;
  padding: 18px 40px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  text-align: left;
}
.info-pill .mono-label { font-size: 20px; }
.info-pill p { font-family: var(--font-mono); font-size: 15px; color: var(--text-grey); max-width: 580px; }

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 84px 160px;
}

.feature h3 { font-family: var(--font-mono); font-size: 24px; font-weight: 400; color: var(--text-light); margin-bottom: 12px; }
.feature p { font-family: var(--font-mono); font-size: 19px; line-height: 1.45; color: var(--text-grey); }

/* ---------- Статистика ---------- */

.stats-title { text-align: center; margin: 120px 0 64px; }

.stats-bar {
  position: relative;
  background: var(--card-dark);
  border: 1px solid rgba(178, 197, 239, 0.1);
  border-radius: 15px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  padding: 26px 44px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.stats-bar::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 12%;
  right: 12%;
  height: 12px;
  background-image: radial-gradient(circle, var(--accent) 5px, transparent 6px);
  background-size: 25% 12px;
  background-repeat: repeat-x;
}

.stat { text-align: center; flex: 1 1 180px; }
.stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: #ffffff;
}
.stat span { font-family: var(--font-mono); font-size: 18px; color: var(--text-grey); }

.stats-bar--light { background: #ffffff; border-color: rgba(27, 27, 32, 0.08); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12); }
.stats-bar--light .stat b { color: var(--slate); }
.stats-bar--light .stat span { color: var(--text-dark); }

/* ---------- CTA-секция ---------- */

.cta-section {
  background: var(--bg-light);
  color: var(--text-dark);
  text-align: center;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.cta-inner { display: grid; justify-items: center; gap: 28px; max-width: 720px; margin: 0 auto; }
.cta-inner p { font-size: clamp(17px, 2vw, 24px); }

.cta-form { width: 100%; max-width: 623px; display: grid; gap: 18px; justify-items: center; }
.cta-form input {
  width: 100%;
  font: 20px var(--font-sans);
  color: var(--text-dark);
  background: var(--bg-light-2);
  border: 1px solid rgba(27, 27, 32, 0.15);
  border-radius: 6px;
  padding: 17px 24px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}
.cta-form input:focus { outline: 2px solid var(--accent); }

.cta-note { font-size: 18px; }
.cta-note a { font-weight: 600; }
.cta-note a:hover { color: var(--slate); }

/* ---------- Футер ---------- */

.site-footer {
  background: var(--bg-dark);
  padding: 40px 0 28px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, auto);
  gap: 48px 90px;
  align-items: start;
  padding: 28px 0 56px;
}

.footer-brand img { height: 42px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; color: var(--text-grey); max-width: 320px; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-grey);
  letter-spacing: 0.08em;
  margin-bottom: 26px;
}
.footer-col li { margin-bottom: 18px; font-size: 15px; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--slate);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-grey);
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Кейсы ---------- */

.filter-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.filter-bar .btn[aria-pressed="false"] { background: #e8f0f3; color: var(--slate); }
.filter-bar .btn[aria-pressed="true"] { background: var(--accent); color: var(--bg-dark); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}

.case-card {
  background: #ffffff;
  border: 1px solid rgba(27, 27, 32, 0.08);
  border-radius: 15px;
  padding: 30px 28px 24px;
  box-shadow: 0 14px 25px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 20px 36px rgba(0, 0, 0, 0.16); }

.case-cat { font-family: var(--font-mono); font-size: 15px; color: var(--text-dark); }
.case-client { font-family: var(--font-mono); font-size: 13px; color: var(--slate); margin: 6px 0 18px; }
.case-title { font-family: var(--font-mono); font-size: 20px; color: var(--text-dark); margin-bottom: 14px; }
.case-body { font-size: 15px; color: #5b5b63; flex: 1; }

.case-metric {
  border-top: 1px solid rgba(27, 27, 32, 0.15);
  margin-top: 22px;
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.case-metric b { font-family: var(--font-mono); font-size: 24px; font-weight: 500; color: var(--slate); white-space: nowrap; }
.case-metric span { font-family: var(--font-mono); font-size: 13px; color: var(--text-grey); }

/* Подробный кейс */

.case-detail-pill {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  background: var(--card-dark);
  border-radius: 6px;
  padding: 20px 40px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 56px;
}
.case-detail-pill .mono-label { font-size: 20px; }
.case-detail-pill p { font-family: var(--font-mono); font-size: clamp(16px, 2vw, 24px); color: var(--text-grey); }

.case-columns {
  background: #232329;
  border: 1px solid rgba(178, 197, 239, 0.08);
  border-radius: 16px;
  padding: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.case-col h3 { font-family: var(--font-mono); font-size: 16px; font-weight: 400; color: var(--accent); margin-bottom: 24px; }
.case-col:first-child h3 { color: #ffffff; }
.case-col p { font-size: 16px; color: var(--text-light); }
.case-col + .case-col { border-left: 1px solid rgba(178, 197, 239, 0.14); padding-left: 56px; }

.testimonial {
  background: #1f1f26;
  border-radius: 4px;
  border: 1px solid rgba(178, 197, 239, 0.08);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.34);
  padding: 22px 32px;
  margin: 40px auto 0;
  max-width: 1056px;
}
.testimonial p { font-size: 16px; color: #ffffff; }
.testimonial footer { font-family: var(--font-mono); font-size: 12px; color: var(--text-grey); margin-top: 10px; }

/* ---------- О нас ---------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(430px, 1fr));
  gap: 63px;
}

.value-card {
  background: var(--bg-light-2);
  border: 1px solid rgba(27, 27, 32, 0.08);
  border-radius: 15px;
  padding: 15px 15px 28px;
  box-shadow: 0 14px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background: var(--slate);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.value-icon svg { width: 22px; height: 22px; }

.value-card h3 { font-family: var(--font-mono); font-size: 20px; font-weight: 500; color: var(--text-dark); margin-bottom: 12px; }
.value-card p { font-family: var(--font-mono); font-size: 15px; color: var(--text-grey); max-width: 520px; }

/* ---------- Контакты ---------- */

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 80px;
  align-items: start;
}

.channel { display: flex; align-items: center; gap: 30px; margin-bottom: 44px; }

.channel-icon {
  width: 105px;
  height: 105px;
  flex: none;
  border-radius: 6px;
  background: var(--bg-light-2);
  border: 1px solid rgba(27, 27, 32, 0.1);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.13);
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
}
.channel-icon svg { width: 50px; height: 50px; }

.channel h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.02em; }
.channel a, .channel span { font-size: 20px; letter-spacing: -0.02em; color: var(--text-dark); }
.channel a:hover { color: var(--slate); }
.channel > div { display: grid; gap: 10px; }

.requisites {
  background: #ffffff;
  border: 1px solid rgba(27, 27, 32, 0.1);
  border-radius: 15px;
  box-shadow: 0 14px 25px rgba(0, 0, 0, 0.12);
  padding: 21px;
  max-width: 480px;
}
.requisites h3 { font-size: 24px; font-weight: 400; margin-bottom: 20px; }
.requisites dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; font-family: var(--font-mono); font-size: 12px; }
.requisites dt { color: var(--text-mid); }
.requisites dd a { text-decoration: underline; }

.contact-form {
  background: #ffffff;
  border: 1px solid rgba(27, 27, 32, 0.1);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  padding: 40px;
  display: grid;
  gap: 26px;
}

.form-field { display: grid; gap: 8px; }
.form-field label { font-size: 20px; letter-spacing: -0.02em; }
.form-field input, .form-field textarea {
  font: 15px var(--font-mono);
  color: var(--text-dark);
  background: var(--bg-light-2);
  border: 1px solid rgba(27, 27, 32, 0.15);
  border-radius: 6px;
  padding: 10px 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  width: 100%;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--slate); }
.form-field textarea { min-height: 140px; }

.contact-form .btn { justify-self: stretch; padding: 10px; font-size: 18px; }
.form-consent { font-size: 11px; color: var(--text-mid); }

/* ---------- Тарифы ---------- */

.dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: center;
  gap: 48px;
  margin-top: 72px;
}

.dir-card {
  position: relative;
  background: var(--card-dark);
  border: 1px solid var(--slate);
  border-radius: 20px;
  padding: 64px 20px 32px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.dir-card:hover { transform: translateY(-4px); border-color: var(--accent); }

.dir-card .card-arrow { background: var(--accent); color: var(--bg-dark); top: 12px; right: 12px; }

.dir-card h3 { font-size: 24px; font-weight: 600; letter-spacing: 0.03em; color: var(--text-light); }
.dir-card .card-for { font-family: var(--font-mono); font-size: 16px; color: var(--accent); letter-spacing: 0.03em; margin: 10px 0 26px; }

.dir-card ul { display: grid; gap: 10px; margin-bottom: 56px; }
.dir-card li { font-family: var(--font-mono); font-size: 16px; letter-spacing: 0.03em; color: var(--text-light); }
.dir-card li::before { content: "· "; color: var(--accent); }

.dir-price { font-family: var(--font-mono); font-size: 24px; color: var(--accent); letter-spacing: 0.03em; }

/* Сравнение услуг */

.compare-wrap { max-width: 1160px; margin: 72px auto 0; overflow-x: auto; }

.compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
.compare th, .compare td { padding: 26px 20px; text-align: center; vertical-align: top; }
.compare thead th {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #ffffff;
  border-bottom: 1px solid var(--text-mid);
}
.compare tbody tr + tr td, .compare tbody tr + tr th { border-top: 1px solid rgba(85, 85, 89, 0.5); }
.compare tbody th {
  text-align: left;
  font-weight: 400;
  max-width: 340px;
}
.compare tbody th b { display: block; font-size: 20px; font-weight: 400; letter-spacing: -0.02em; color: #ffffff; margin-bottom: 8px; }
.compare tbody th span { font-size: 12px; color: var(--text-grey); }
.compare td { width: 150px; }

.mark {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.mark--yes { background: #1e3239; color: var(--accent); }
.mark--no { background: #2b2c30; color: #b4b4b4; }
.mark svg { width: 14px; height: 14px; }

/* Что вы получите */

.result-pills { display: grid; gap: 31px; max-width: 468px; }

.result-pill {
  border: 1px solid var(--slate);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}
.result-pill span {
  display: block;
  background: var(--card-dark);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: clamp(17px, 1.8vw, 24px);
  letter-spacing: -0.02em;
  color: var(--text-light);
}

.result-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.result-layout .sec-head { margin-bottom: 40px; }

/* Тарифные карточки */

.tabs { display: inline-flex; flex-wrap: wrap; gap: 24px; background: #ffffff; border-radius: 16px; padding: 10px; }
.tabs .btn[aria-selected="false"] { background: #e8f0f3; color: var(--slate); }
.tabs .btn[aria-selected="true"] { background: var(--accent); color: var(--bg-dark); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: center;
  gap: 28px;
  margin-top: 48px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card-dark);
  border: 1px solid var(--slate);
  border-radius: 20px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}
.price-card--popular { border-color: var(--accent); }

.popular-badge {
  position: absolute;
  top: -15px;
  left: 29px;
  background: var(--accent);
  color: var(--bg-dark);
  font-family: var(--font-mono);
  font-size: 15px;
  border-radius: 6px;
  padding: 5px 20px;
}

.price-top {
  background: linear-gradient(150deg, var(--card-dark), #373743 50%, var(--card-dark));
  border-radius: 20px 20px 0 0;
  border-bottom: 1px solid rgba(27, 27, 32, 0.6);
  padding: 29px 29px 26px;
}
.price-card--popular .price-top {
  background: linear-gradient(150deg, var(--card-dark), #264045 55%, var(--card-dark));
}

.price-audience { font-size: 13px; color: var(--text-grey); letter-spacing: 0.02em; }
.price-name { font-family: var(--font-mono); font-size: 24px; color: #ffffff; margin: 10px 0 22px; }
.price-value { font-size: clamp(30px, 3vw, 38px); font-weight: 500; letter-spacing: -0.02em; color: #ffffff; }
.price-period { font-size: 13px; color: var(--text-grey); }
.price-desc { font-size: 13px; color: var(--text-light); margin-top: 20px; }
.price-top .btn { width: 100%; margin-top: 22px; }

.price-list { padding: 30px 29px 36px; display: grid; gap: 28px; }
.price-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 13px; color: #ffffff; }
.price-list .mark { width: 17px; height: 17px; flex: none; background: none; color: var(--accent); }
.price-list .mark svg { width: 13px; height: 13px; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 920px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--text-mid); }
.faq-item:first-child { border-top: 1px solid var(--text-mid); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 4px;
  font-family: var(--font-mono);
  font-size: clamp(17px, 2vw, 24px);
  letter-spacing: -0.02em;
  color: var(--text-light);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

.faq-chevron { flex: none; transition: transform 0.2s ease; color: #ffffff; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-item p {
  max-width: 640px;
  padding: 0 4px 30px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-grey);
}

/* ---------- Hero-фон с щитом (тарифы) ---------- */

.hero-shield::before {
  content: "";
  position: absolute;
  inset: auto;
  top: -100px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: url("../img/shield-glow.png") center / contain no-repeat;
  mix-blend-mode: screen;
  opacity: 0.3;
  pointer-events: none;
}

/* ---------- Адаптив ---------- */

@media (max-width: 1080px) {
  .features { gap: 56px 64px; }
  .trio-grid { grid-template-columns: 1fr; }
  .trio-grid .emblem { order: -1; }
  .service-card--center { grid-column: auto; }
  .contacts-layout { grid-template-columns: 1fr; }
  .result-layout { grid-template-columns: 1fr; }
  .case-columns { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .case-col + .case-col { border-left: none; padding-left: 0; border-top: 1px solid rgba(178, 197, 239, 0.14); padding-top: 32px; }
  .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .header-nav, .header-cta { display: none; }
  .nav-burger { display: flex; }

  .header-nav.open {
    display: grid;
    position: absolute;
    top: calc(100% + 8px);
    left: 24px;
    right: 24px;
    background: var(--bg-dark);
    border: 1px solid rgba(178, 197, 239, 0.12);
    border-radius: 15px;
    padding: 24px;
    gap: 20px;
    margin: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    color: var(--text-light);
  }

  .hero { padding-top: 150px; }
  .trio-head { flex-direction: column; align-items: flex-start; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .lead-card { padding: 28px 32px; }
  .hero-widget { gap: 24px; }
  .stats-title { margin: 80px 0 48px; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .emblem { width: 280px; height: 280px; }
  .contact-form { padding: 24px; }
  .channel { gap: 18px; }
  .channel-icon { width: 72px; height: 72px; }
  .channel-icon svg { width: 34px; height: 34px; }
  .cases-grid { grid-template-columns: 1fr; }
}
