:root {
  --navy: #0b1c36;
  --navy-2: #122544;
  --red: #e11d2e;
  --red-hover: #c41625;
  --text: #121826;
  --muted: #5b6573;
  --bg: #fff;
  --bg-alt: #f4f6f9;
  --line: #e6e9ee;
  --white: #fff;
  --shadow: 0 12px 40px rgba(11, 28, 54, 0.12);
  --radius: 16px;
  --header-h: 64px;
  --sticky-h: 72px;
  --container: 1120px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
  background: var(--navy);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  padding-bottom: var(--sticky-h);
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  z-index: 100;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--navy);
  color: #fff;
  overflow: visible;
  box-shadow: 0 -8px 0 var(--navy);
}

.header.is-scrolled {
  box-shadow: 0 -8px 0 var(--navy), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 44px;
  margin-right: auto;
}

.logo picture,
.logo img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.logo img {
  object-fit: contain;
}

.logo__name {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 15px;
}

.btn.header__cta {
  display: inline-flex;
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 10px;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: auto;
  width: min(86vw, 320px);
  background: var(--navy-2);
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 80;
  pointer-events: none;
  visibility: hidden;
}

.nav.is-open {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 0 10px;
  border-radius: 10px;
  touch-action: manipulation;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.nav-backdrop {
  display: none;
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(7, 14, 26, 0.45);
  z-index: 70;
}

.nav-backdrop.is-open {
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

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

.btn--red {
  background: var(--red);
  color: #fff;
}

.btn--red:hover {
  background: var(--red-hover);
}

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

.btn--navy:hover {
  background: #071325;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--full {
  width: 100%;
}

/* Hero */
.hero {
  padding: 0 0 40px;
  background: linear-gradient(#fff, #ffffff);
}

.hero__stage {
  position: relative;
  height: min(78vw, 560px);
  min-height: 280px;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.hero__video {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  pointer-events: none;
  background: #000;
}

.hero__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  pointer-events: none;
}

.hero__copy {
  position: absolute;
  inset: 8% 0 28% 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-block: 20px;
  line-height: 1.55;
}

.hero .eyebrow {
  color: #ff8a94;
}

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 8vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero__lead {
  margin: 0 auto;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.hero__cta {
  position: relative;
  z-index: 2;
  margin-top: -3.25rem;
}

.cta-widget {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  gap: 12px;
}

.cta-bubble {
  position: absolute;
  left: 16px;
  top: -14px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 8px;
}

.cta-bubble::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: -6px;
  border: 6px solid transparent;
  border-top-color: var(--red);
  border-bottom: 0;
}

.cta-widget p {
  margin: 10px 0 0;
  font-weight: 600;
  color: var(--navy);
}

/* Sections */
.section {
  padding: 56px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__head {
  margin-bottom: 28px;
}

.section h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 5vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section__head p,
.lead {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.about {
  display: grid;
  gap: 24px;
}

.about h3 {
  margin: 20px 0 8px;
  font-size: 20px;
}

.prose p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.7;
}

.prose p:last-child {
  margin-bottom: 0;
}

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

.popular article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.popular article:last-child {
  border-bottom: 0;
}

.popular__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
}

.popular__icon svg {
  width: 20px;
  height: 20px;
}

.popular h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.popular p {
  margin: 0;
  color: var(--muted);
}

.how-layout {
  display: grid;
  gap: 24px;
}

.how-layout .btn {
  margin-top: 20px;
}

.howto {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: how;
}

.howto li {
  position: relative;
  padding: 14px 16px 14px 56px;
  background: var(--bg-alt);
  border-radius: 14px;
  font-weight: 600;
}

.howto li::before {
  counter-increment: how;
  content: counter(how);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.offer {
  display: flex;
  flex-direction: column;
}

.offer .include {
  margin-bottom: auto;
}

.offer .btn {
  margin: 16px 18px 0;
  width: calc(100% - 36px);
}

.offer__label {
  margin: 14px 18px 6px !important;
  font-weight: 700;
  color: var(--text) !important;
  font-size: 14px;
}

.include {
  list-style: none;
  margin: 0 18px 4px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.include li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15px;
}

.include li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' d='M3 8.2 6.2 11.5 13 4.5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.about__media {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #0b1c36;
}

.about__media picture,
.why__media picture {
  display: block;
  width: 100%;
}

.about__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  object-fit: cover;
  object-position: center 45%;
  background: #0b1c36;
}

.why {
  display: grid;
  gap: 24px;
}

.why__media {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #0b1c36;
}

.why__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  background: #0b1c36;
}

/* Cards */
.cards {
  display: grid;
  gap: 14px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 18px;
  overflow: hidden;
}

.card__media {
  position: relative;
  margin: 0 0 14px;
  background: #0b1c36;
}

.card__media img {
  width: 100%;
  aspect-ratio: 800 / 520;
  object-fit: cover;
  background: #0b1c36;
}

.card__img--upper {
  object-position: center 32%;
}

.photo-dim {
  position: relative;
}

.photo-dim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 28, 54, 0.38);
  pointer-events: none;
}

.about__media.photo-dim::after {
  background: rgba(11, 28, 54, 0.18);
}

.card h3 {
  margin: 0 0 8px;
  padding: 0 18px;
  font-size: 18px;
}

.card p {
  margin: 0;
  padding: 0 18px;
  color: var(--muted);
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.why-list li {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 18px 18px 56px;
  position: relative;
  border: 1px solid var(--line);
}

.why-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 20px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M3 8.2 6.2 11.5 13 4.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.why-list strong {
  display: block;
  margin-bottom: 4px;
}

.why-list span {
  color: var(--muted);
  font-size: 15px;
}

.steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 0 0 18px;
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  z-index: 1;
}

.step__media {
  margin: 0 0 14px;
  background: #d8dee8;
}

.step__media img {
  width: 100%;
  aspect-ratio: 800 / 520;
  object-fit: cover;
}

.step h3 {
  margin: 0 0 6px;
  padding: 0 16px;
  font-size: 18px;
}

.step p {
  margin: 0;
  padding: 0 16px;
  color: var(--muted);
}

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 16px;
  margin-bottom: 10px;
}

.faq summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

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

.faq p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* Contacts */
.contacts {
  display: grid;
  gap: 16px;
  align-items: start;
}

.contact-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy);
}

.contact-box {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  top: 16px;
  background: rgba(11, 28, 54, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 20px 22px 22px;
  border-radius: 16px;
}

.contact-box a {
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
}

.contact-box p {
  margin: 8px 0 0;
  color: #c5d4e8;
}

.hours {
  display: grid;
  gap: 10px;
}

.hours div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.contacts__media {
  margin: 0;
  overflow: hidden;
  background: #e6e9ee;
}

.contacts__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  background: #e6e9ee;
}

.hours strong {
  display: block;
}

/* Footer */
.footer {
  background: var(--navy);
  color: #c5d0de;
  padding: 36px 0 96px;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer__grid {
  display: grid;
  gap: 24px;
}

.footer h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 16px;
}

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

.footer__copy {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 30;
  padding: 10px 16px calc(11px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 14, 26, 0.55);
}

.modal__sheet {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(90dvh, 760px);
  background: #fff;
  border-radius: 20px;
  padding: 16px 16px calc(20px + env(safe-area-inset-bottom));
  overflow: auto;
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.modal__head h2 {
  margin: 0;
  font-size: 22px;
}

.modal__close {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--bg-alt);
  border-radius: 12px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

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

.form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}

.form__optional {
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  background: #fff;
}

.form textarea {
  min-height: 96px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--muted);
}

.form label.check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.check input,
.form label.check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  appearance: auto;
}

.form label.check span {
  flex: 1;
  line-height: 1.35;
}

.form__status {
  min-height: 20px;
  font-weight: 600;
  margin: 0;
}

.form__status.is-error {
  color: var(--red);
}

.form__status.is-ok {
  color: #0f7b3d;
}

.legal {
  padding: 40px 0 80px;
}

.page-legal {
  padding-bottom: 0;
}

.legal h1 {
  margin-top: 0;
}

.legal h2 {
  margin: 2em 0 0.75em;
  font-size: 1.25rem;
}

.legal ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.legal li {
  margin-bottom: 0.4em;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.5em;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  width: 38%;
  background: var(--bg-alt);
  font-weight: 700;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .sticky-cta {
    display: none;
  }

  .btn.header__cta {
    display: inline-flex;
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .about {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .popular {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 0;
  }

  .how-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .hero__stage {
    height: min(56vw, 560px);
    min-height: 420px;
  }

  .hero__cta {
    margin-top: -2.25rem;
  }

  .steps,
  .why-list {
    grid-template-columns: 1fr 1fr;
  }

  .contacts {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer {
    padding-bottom: 36px;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .cta-widget {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 12px 12px 12px 20px;
  }

  .cta-widget .btn {
    min-width: 180px;
  }
}

@media (min-width: 1100px) {
  :root {
    --header-h: 72px;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    width: auto;
    transform: none;
    background: transparent;
    padding: 0;
    margin-right: auto;
    z-index: auto;
    pointer-events: auto;
    visibility: visible;
  }

  .nav-backdrop {
    display: none !important;
  }

  .nav ul {
    display: flex;
    gap: 2px;
  }

  .nav a {
    min-height: 40px;
    font-size: 14px;
    font-weight: 600;
  }

  .logo {
    margin-right: 28px;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

  .nav,
  .btn {
    transition: none;
  }
}
