:root {
  --red: #b70712;
  --red-2: #d1121f;
  --black: #09090b;
  --dark: #181a1f;
  --graphite: #555d66;
  --gray: #eef0f2;
  --gray-2: #f7f8f9;
  --line: rgba(24, 26, 31, 0.12);
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.16);
  --font: "Roboto", "Arial", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}
body.menu-open,
body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 86% 10%, rgba(183, 7, 18, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.035) 0 1px, transparent 1px 100%);
  background-size: auto, 44px 44px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.90);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 34px rgba(0,0,0,.08); }
.header-grid {
  min-height: 76px;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  gap: 30px;
  align-items: center;
}
.brand img { width: 232px; height: auto; }
.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 900;
  color: #30343a;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.nav a { position: relative; padding: 30px 0; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .22s ease;
}
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.phone { font-size: 16px; font-weight: 900; white-space: nowrap; }
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--black);
  border-radius: 12px;
  padding: 10px;
}
.burger span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 16px 30px rgba(183, 7, 18, .26);
}
.btn-red:hover { background: var(--red-2); box-shadow: 0 20px 36px rgba(183, 7, 18, .34); }
.btn-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .08);
}
.btn-outline:hover { background: #fff; color: var(--black); }
.btn-dark { background: var(--black); color: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-full { width: 100%; }

.section { padding: 94px 0; }
.section-light { background: #fff; }
.section-dark {
  position: relative;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(9,9,11,.98) 0%, rgba(24,26,31,.96) 59%, rgba(88,0,7,.96) 100%),
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.18), transparent 34%);
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 50%, rgba(255,255,255,.04) 50% 50.8%, transparent 50.8% 100%),
    radial-gradient(circle at 78% 18%, rgba(183,7,18,.32), transparent 26%);
  background-size: 190px 190px, auto;
  pointer-events: none;
}

.hero { padding: 88px 0 74px; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}
.eyebrow, .label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.eyebrow { color: #ffbcc2; }
.eyebrow span {
  width: 36px;
  height: 2px;
  background: var(--red-2);
  display: inline-block;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: .98;
  letter-spacing: -0.05em;
  font-weight: 900;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.0vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 900;
}
h3 { margin-bottom: 12px; font-size: 21px; line-height: 1.18; font-weight: 900; }
p { color: #555d66; line-height: 1.65; }
.section-dark p, .final-cta p { color: rgba(255,255,255,.78); }
.lead { max-width: 700px; margin-bottom: 28px; font-size: 20px; color: rgba(255,255,255,.84); }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
}
.hero-tags span {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  color: #fff;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.trust-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 740px;
}
.trust-line div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
}
.trust-line strong { display: block; margin-bottom: 6px; font-size: 26px; line-height: 1; color: #fff; }
.trust-line span { color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.4; display: block; }

.hero-panel { display: grid; gap: 20px; }
.hero-collage {
  position: relative;
  min-height: 350px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 22% 8%, rgba(255,255,255,.16), transparent 34%),
    rgba(255,255,255,.07);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  overflow: hidden;
}
.hero-collage::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -40px;
  width: 230px;
  height: 520px;
  background: rgba(183,7,18,.55);
  transform: rotate(23deg);
}
.hero-photo {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 60px rgba(0,0,0,.25);
}
.hero-photo img { width: 100%; height: 100%; object-fit: contain; }
.hero-photo-main { height: 250px; padding: 12px; }
.hero-photo-small {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  width: 48%;
  height: 150px;
  padding: 10px;
}
.quick-form, .modal-form, .big-form {
  padding: 26px;
  border-radius: 28px;
  background: #fff;
  color: var(--dark);
  box-shadow: var(--shadow);
}
.quick-form h2, .modal-form h2 { margin-bottom: 8px; font-size: 28px; }
.quick-form p, .modal-form p { margin-bottom: 20px; font-size: 15px; color: #555d66; }

label { display: block; margin-bottom: 15px; }
label span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
  color: #343a40;
  text-transform: uppercase;
  letter-spacing: .04em;
}
input, select, textarea {
  width: 100%;
  border: 1px solid #d9dde2;
  border-radius: 14px;
  background: #fff;
  padding: 14px 15px;
  color: var(--dark);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(183, 7, 18, .1);
}
textarea { resize: vertical; }
.file-field {
  position: relative;
  padding: 16px;
  border: 1px dashed #c7ccd2;
  border-radius: 18px;
  background: var(--gray-2);
}
.file-field input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-field em { font-style: normal; color: #6a727b; font-size: 14px; }
.file-field.large { padding: 22px; }
.quick-form small {
  display: block;
  margin-top: 12px;
  color: #7a828a;
  font-size: 12px;
  line-height: 1.45;
}

.section-head { max-width: 820px; margin-bottom: 42px; }
.section-head.compact { max-width: 900px; }
.section-head p { font-size: 18px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,.10); border-color: rgba(183, 7, 18, .24); }
.product-image {
  height: 220px;
  padding: 14px;
  background: linear-gradient(135deg, #f8f9fa, #fff);
  border-bottom: 1px solid var(--line);
}
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-body { padding: 24px; }
.product-body p { margin-bottom: 0; font-size: 15px; }

.split-section { background: var(--gray-2); }
.split-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 54px;
  align-items: center;
}
.media-panel {
  min-height: 560px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #1f2329;
}
.real-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    linear-gradient(135deg, #101114, #292d33),
    #1f2329;
}
.real-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0,0,0,.45));
}
.check-list { display: grid; gap: 16px; }
.check-list div {
  position: relative;
  padding: 22px 24px 22px 58px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0,0,0,.06);
}
.check-list div::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 26px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(183,7,18,.1);
}
.check-list strong { display: block; margin-bottom: 5px; font-size: 18px; }
.check-list span { color: #5e6670; line-height: 1.55; }

.forms-section { background: #fff; }
.forms-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
}
.form-visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0,0,0,.07);
}
.form-visual.wide { grid-row: span 2; }
.form-visual img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #f8f9fa;
  border-bottom: 1px solid var(--line);
}
.form-visual.wide img { height: 560px; }
.form-visual div { padding: 26px; }
.form-visual p { margin-bottom: 0; }

.data-section { background: var(--gray-2); }
.data-grid {
  display: grid;
  grid-template-columns: 1.05fr repeat(3, 1fr);
  gap: 20px;
}
.data-card {
  padding: 30px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
}
.data-card.accent {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(183, 7, 18, .98), rgba(107, 0, 8, .98)),
    var(--red);
  box-shadow: 0 24px 58px rgba(183,7,18,.24);
}
.data-card.accent p { color: rgba(255,255,255,.86); }
.data-card ul { margin: 0; padding-left: 18px; color: #59616b; line-height: 1.75; }
.data-card li::marker { color: var(--red); }
.data-card.accent h3 { font-size: 28px; }

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.timeline-item {
  position: relative;
  padding: 26px;
  border-radius: 24px;
  background: var(--gray-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.timeline-item::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -50px;
  width: 120px;
  height: 160px;
  background: rgba(183,7,18,.06);
  transform: rotate(22deg);
}
.step-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
}
.step-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.timeline-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}
.timeline-item h3, .timeline-item p, .timeline-item > span { position: relative; z-index: 1; }
.timeline-item p { margin-bottom: 0; font-size: 15px; }

.form-section {
  background:
    linear-gradient(90deg, #f4f5f6 0 50%, #fff 50% 100%);
}
.form-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 54px;
  align-items: start;
}
.form-copy { position: sticky; top: 100px; }
.contact-box {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 24px;
  border-radius: 22px;
  background: var(--black);
}
.contact-box a { color: #fff; font-weight: 900; font-size: 22px; }
.big-form { border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(0,0,0,.1); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0 20px;
}
.agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); }
.agree span { margin: 0; color: #606873; font-size: 13px; font-weight: 700; text-transform: none; letter-spacing: 0; }

.faq-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 58px;
}
.faq-list { display: grid; gap: 14px; }
details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}
summary {
  padding: 22px 24px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
details p { margin: 0; padding: 0 24px 24px; }

.final-cta {
  padding: 68px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(183,7,18,.98), rgba(9,9,11,.96)),
    var(--red);
}
.final-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}
.final-grid h2 { margin-bottom: 8px; }
.final-grid p { margin-bottom: 0; }

.site-footer {
  padding: 46px 0;
  background: #0b0c0f;
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.site-footer p { max-width: 420px; margin: 16px 0 0; color: rgba(255,255,255,.62); }
.site-footer strong { display: block; margin-bottom: 14px; color: rgba(255,255,255,.95); }
.site-footer a { display: block; margin: 8px 0; color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(8px);
}
.modal-window {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f0f2f4;
  color: #111;
  font-size: 30px;
  line-height: 1;
}
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  max-width: 370px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #111;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1140px) {
  .header-grid { grid-template-columns: 210px 1fr auto; gap: 18px; }
  .nav { gap: 16px; font-size: 12px; }
  .header-actions .phone { display: none; }
  .hero-grid, .split-grid, .form-grid, .faq-grid { grid-template-columns: 1fr; }
  .form-copy { position: static; }
  .product-grid, .data-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .form-section { background: #f4f5f6; }
}

@media (max-width: 860px) {
  .forms-grid { grid-template-columns: 1fr; }
  .form-visual.wide { grid-row: auto; }
  .form-visual.wide img, .form-visual img { height: 360px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-grid { grid-template-columns: 1fr auto; min-height: 68px; }
  .brand img { width: 190px; }
  .burger { display: block; }
  .nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 78px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0,0,0,.18);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px; border-bottom: 1px solid rgba(0,0,0,.06); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .header-actions { display: none; }
  .hero { padding: 58px 0 44px; }
  .hero-grid { gap: 32px; }
  h1 { font-size: 42px; }
  h2 { font-size: 31px; }
  .lead { font-size: 17px; }
  .section { padding: 64px 0; }
  .trust-line, .product-grid, .data-grid, .timeline, .footer-grid, .form-row, .final-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-collage { min-height: 300px; }
  .hero-photo-main { height: 210px; }
  .hero-photo-small { width: 52%; height: 120px; }
  .media-panel { min-height: 420px; height: 420px; }
  .data-card.accent h3 { font-size: 24px; }
  .final-grid { text-align: left; }
  .btn-white { width: 100%; }
  .form-visual.wide img, .form-visual img { height: 260px; }
  .toast { left: 14px; right: 14px; bottom: 14px; max-width: none; }
}
