:root {
  --navy: #00061c;
  --navy-2: #0b1230;
  --ink: #111318;
  --muted: #5c6378;
  --line: #e6e8ef;
  --paper: #f6f7fb;
  --white: #ffffff;
  --yellow: #fed427;
  --yellow-2: #ffe56a;
  --radius: 18px;
  --max: 1160px;
  --header: 72px;
  --shadow: 0 18px 50px rgba(0, 6, 28, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 8px;
  z-index: 1000;
  background: var(--yellow);
  padding: 8px 12px;
  border-radius: 8px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(0, 6, 28, 0.94);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img,
.logo svg {
  width: 40px;
  height: 40px;
  border-radius: 0;
}

.logo strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.logo small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9cddb;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--yellow);
}

.nav-extra {
  display: none;
}

.section ul {
  margin: 12px 0 0;
  padding-left: 1.15em;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.header-phone {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger span::before {
  top: -7px;
}

.burger span::after {
  top: 7px;
}

.hero {
  min-height: calc(100vh - var(--header));
  min-height: 640px;
  position: relative;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 6, 28, 0.78) 0%, rgba(0, 6, 28, 0.28) 58%, rgba(0, 6, 28, 0.2) 100%),
    linear-gradient(180deg, rgba(0, 6, 28, 0.15), rgba(0, 6, 28, 0.55));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 72px;
  display: grid;
  gap: 28px;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--yellow);
}

.caret {
  display: inline-block;
  width: 4px;
  height: 0.82em;
  margin-left: 4px;
  background: var(--yellow);
  vertical-align: -4px;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -42px;
  position: relative;
  z-index: 2;
}

.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}

.stat b {
  display: block;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 88px 0;
}

.section h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 32px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  display: block;
}

.card img,
.card .thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  background: var(--paper);
}

.card h3 {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.panel {
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
}

.step {
  display: grid;
  gap: 8px;
}

.icon {
  width: 48px;
  height: 48px;
  color: #d6ad12;
}

.step b {
  font-size: 16px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

.bg-paper {
  background: var(--paper);
}

.bg-navy {
  background: var(--navy);
  color: var(--white);
}

.cta {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
}

details[open] summary::after {
  content: "–";
}

details p {
  padding: 12px 36px 4px 0;
  color: var(--muted);
}

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 48px;
}

.crumbs {
  color: #9aa1b5;
  font-size: 13px;
  margin-bottom: 16px;
}

.crumbs a:hover {
  color: var(--yellow);
}

.form {
  display: grid;
  gap: 12px;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--white);
}

.form label.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
}

.form .ok {
  color: #157347;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.timeline b {
  color: #b49210;
}

.contacts {
  display: grid;
  gap: 10px;
  font-size: 18px;
}

.site-footer {
  background: var(--navy);
  color: #d7dbe8;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}

.site-footer h3,
.site-footer .logo strong {
  color: var(--white);
}

.site-footer a:hover {
  color: var(--yellow);
}

.site-footer ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.copy {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: #8b91a6;
}

@media (max-width: 980px) {
  .cards,
  .steps,
  .more-grid,
  .faq,
  .cta,
  .split,
  .footer-grid,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .nav,
  .header-phone {
    display: none;
  }

  .nav-extra {
    display: block;
    margin-top: 8px;
    color: var(--yellow);
  }

  .burger {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .nav-toggle:checked ~ .nav {
    display: flex;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 14px;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }
}

@media (max-width: 680px) {
  .cards,
  .steps,
  .more-grid,
  .faq,
  .cta,
  .split,
  .footer-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 560px;
  }

  .copy {
    flex-direction: column;
  }

  .section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .caret,
  .btn {
    animation: none;
    transition: none;
  }
}
