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

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/montserrat-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;
}

:root {
  --blue: #56698f;
  --blue-dark: #455472;
  --blue-deep: #222a39;
  --gold: #e6a522;
  --gold-dark: #cc8e15;
  --text: #333333;
  --muted: #6d7280;
  --light: #f5f5f5;
  --line: #e8e8e8;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(26, 37, 59, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

a {
  color: inherit;
}

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

.container {
  width: min(1130px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 64px 0;
}

.section-title {
  max-width: 1040px;
  margin: 0 auto 48px;
  color: #111;
  font-size: clamp(30px, 3.1vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.section-subtitle {
  margin: -32px 0 42px;
  color: #606675;
  font-size: 18px;
  text-align: center;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 42px;
}

.metric-pixel {
  position: absolute;
  left: -9999px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--white);
}

.topbar {
  display: grid;
  height: 85px;
  grid-template-columns: minmax(220px, 1.35fr) minmax(230px, 1fr) minmax(180px, 0.85fr) 42px minmax(190px, 0.95fr);
  align-items: center;
  gap: 18px;
}

.logo {
  display: block;
  max-width: 298px;
}

.logo img {
  width: 100%;
  max-height: 68px;
  object-fit: contain;
}

.header-contact {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  line-height: 1.2;
}

.header-contact span {
  margin-bottom: 4px;
  color: #333;
  font-size: 14px;
}

.header-contact a {
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.header-contact a:hover,
.header-contact a:focus-visible {
  color: var(--gold-dark);
}

.youtube-link {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  border: 2px solid #e83a35;
  color: #e83a35;
  background: var(--white);
  text-decoration: none;
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.youtube-link:hover,
.youtube-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 58, 53, 0.35);
}

.header-callback,
.footer-callback {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--blue);
  border-radius: 10px;
  color: var(--blue);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-callback:hover,
.header-callback:focus-visible,
.footer-callback:hover,
.footer-callback:focus-visible {
  color: var(--white);
  background: var(--blue);
}

.main-nav {
  height: 64px;
  border-top: 1px solid #f4f4f4;
  border-bottom: 1px solid #ededed;
  background: var(--white);
}

.nav-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 47px;
}

.main-nav a {
  position: relative;
  padding: 21px 0;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.mobile-bar {
  display: none;
}

/* Common buttons */
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border: 2px solid transparent;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.button-gold {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 4px 4px 12px rgba(164, 111, 8, 0.34);
}

.button-gold:hover,
.button-gold:focus-visible {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 12px 28px rgba(204, 142, 21, 0.3);
}

.button-light {
  color: var(--gold);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--white);
  background: transparent;
}

.button-outline {
  color: var(--blue);
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 4px 4px 12px rgba(69, 84, 114, 0.2);
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--white);
  background: var(--blue);
}

/* Hero */
.hero {
  position: relative;
  min-height: 593px;
  overflow: hidden;
  color: var(--white);
  background: url("assets/hero-desktop.jpg") center / cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(34, 42, 57, 0.98) 0%, rgba(52, 63, 86, 0.82) 48%, rgba(52, 63, 86, 0.14) 100%);
}

.hero-inner {
  position: relative;
  min-height: 593px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 70px 0 60px;
  animation: hero-in 700ms ease both;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 26px;
  font-size: clamp(36px, 3.15vw, 43px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.6px;
}

.hero p {
  max-width: 565px;
  margin-bottom: 35px;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: grid;
  width: min(447px, 100%);
  gap: 10px;
}

/* Economy */
.section-texture {
  position: relative;
  background: url("assets/texture.jpg") center / cover fixed;
}

.section-texture::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(246, 247, 250, 0.91);
}

.economy {
  min-height: 492px;
  padding: 70px 0 66px;
}

.economy-inner {
  position: relative;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 31px;
}

.video-preview {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.video-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 450ms ease, opacity 250ms ease;
}

.video-preview::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(18, 28, 43, 0.14);
  transition: background 220ms ease;
}

.video-preview:hover img,
.video-preview:focus-visible img {
  transform: scale(1.035);
}

.video-preview:hover::after,
.video-preview:focus-visible::after {
  background: rgba(18, 28, 43, 0.03);
}

.play-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  padding-left: 5px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(230, 165, 34, 0.91);
  font-size: 25px;
  transform: translate(-50%, -50%);
  box-shadow: 4px 4px 12px rgba(126, 85, 8, 0.32);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.video-preview:hover .play-button,
.video-preview:focus-visible .play-button {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 5px 7px 18px rgba(126, 85, 8, 0.4);
}

.economy-copy h2 {
  margin-bottom: 25px;
  color: #111;
  font-size: clamp(29px, 2.55vw, 35px);
  line-height: 1.2;
}

.economy-copy h2 span {
  padding-inline: 3px;
  background: linear-gradient(transparent 59%, rgba(230, 165, 34, 0.9) 59%);
}

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

.benefit-list li {
  position: relative;
  padding-left: 31px;
  font-size: 16px;
  font-weight: 500;
}

.benefit-list li::before {
  position: absolute;
  top: -1px;
  left: 0;
  display: grid;
  width: auto;
  height: auto;
  content: "➜";
  color: var(--blue);
  background: transparent;
  font-size: 20px;
}

.benefit-list li:first-child {
  margin-bottom: 5px;
  padding-left: 0;
  font-weight: 400;
}

.benefit-list li:first-child::before {
  display: none;
}

/* Catalog */
.catalog {
  padding-top: 42px;
  padding-bottom: 78px;
  background: var(--white);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 25px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 18px 18px 22px;
  border: 1px solid #edf0f4;
  background: var(--white);
  box-shadow: 0 5px 22px rgba(45, 58, 84, 0.13);
}

.product-card:nth-child(5) {
  grid-column: 2;
}

.product-card:nth-child(6) {
  grid-column: 3;
}

.product-card > img {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 21px;
  object-fit: cover;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.product-card:hover > img {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(50, 63, 91, 0.18);
}

.product-card h3 {
  min-height: 92px;
  margin-bottom: 15px;
  color: #111;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

.product-card p {
  margin-bottom: 8px;
  color: #555b66;
  font-size: 15px;
  line-height: 1.5;
}

.product-card .card-label {
  margin-bottom: 7px;
  font-weight: 700;
}

.product-card .card-label::before {
  margin-right: 7px;
  content: "⚙";
  color: var(--blue);
}

.card-actions {
  display: grid;
  margin-top: auto;
  padding-top: 19px;
  gap: 9px;
}

.card-actions .button {
  min-height: 48px;
  padding-inline: 10px;
  font-size: 14px;
}

.card-actions .button-gold {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 4px 4px 12px rgba(69, 84, 114, 0.36);
}

.card-actions .button-gold:hover,
.card-actions .button-gold:focus-visible {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

/* Bundle */
.bundle {
  min-height: 0;
  padding: 52px 0;
  overflow: hidden;
  background: var(--white);
}

.bundle-inner {
  display: grid;
  min-height: 420px;
  grid-template-columns: 52% 48%;
  align-items: center;
  gap: 24px;
  padding: 34px 42px;
  overflow: hidden;
  border: 1px solid #dfe3ea;
  background: var(--white);
  box-shadow: 0 7px 26px rgba(45, 58, 84, 0.14);
}

.bundle-copy {
  padding: 0;
}

.bundle h2 {
  margin-bottom: 22px;
  color: #111;
  font-size: clamp(29px, 2.45vw, 33px);
  line-height: 1.18;
}

.bundle p {
  max-width: 550px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.bundle strong {
  display: block;
  margin-bottom: 27px;
  width: max-content;
  color: #111;
  background: linear-gradient(transparent 58%, rgba(230, 165, 34, 0.9) 58%);
  font-size: 16px;
}

.bundle img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.bundle .button-gold {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 4px 4px 12px rgba(69, 84, 114, 0.42);
}

/* About */
.about {
  padding-bottom: 16px;
}

.about .section-title {
  margin-bottom: 40px;
}

.about-main {
  margin-bottom: 45px;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.92fr);
  gap: 48px;
}

.about-copy {
  order: 1;
}

.about-main .video-preview {
  order: 2;
}

.about-copy p {
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.65;
}

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

.feature-grid > div {
  display: flex;
  min-height: 0;
  align-items: flex-start;
  gap: 11px;
}

.feature-grid span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--gold);
  font-size: 16px;
  font-weight: 700;
}

.feature-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.feature-grid strong {
  display: inline;
  margin-bottom: 0;
  font-size: 15px;
}

.about .play-button {
  color: var(--blue);
  background: var(--white);
  box-shadow: 4px 4px 14px rgba(31, 43, 66, 0.28);
}

/* Solution */
.solution {
  min-height: 0;
  padding: 62px 0;
  overflow: hidden;
  background: var(--white);
}

.solution-inner {
  display: grid;
  min-height: 478px;
  grid-template-columns: 48% 52%;
  align-items: center;
  padding: 36px 42px;
  overflow: hidden;
  border: 1px solid #dfe3ea;
  background: var(--white);
  box-shadow: 0 7px 26px rgba(45, 58, 84, 0.14);
}

.solution-copy {
  position: relative;
  z-index: 2;
}

.solution h2 {
  margin-bottom: 22px;
  color: #111;
  font-size: clamp(29px, 2.45vw, 33px);
  line-height: 1.18;
}

.solution p {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
}

.solution small {
  display: block;
  margin-bottom: 28px;
  width: max-content;
  color: var(--blue);
  background: linear-gradient(transparent 62%, rgba(169, 204, 233, 0.7) 62%);
  font-style: normal;
  font-weight: 600;
}

.solution img {
  width: 100%;
  max-width: 560px;
  margin-left: 0;
  filter: drop-shadow(0 20px 20px rgba(44, 55, 74, 0.15));
}

/* Delivery */
.delivery {
  position: relative;
  min-height: 585px;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-dark);
}

.delivery-map,
.delivery-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.delivery-map img {
  object-fit: cover;
}

.delivery-shade {
  position: absolute;
  inset: 0;
  background: rgba(69, 84, 114, 0.52);
}

.delivery-content {
  position: relative;
  display: flex;
  min-height: 585px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.delivery h2 {
  margin-bottom: 22px;
  font-size: clamp(43px, 4.2vw, 56px);
  line-height: 1.08;
}

.delivery p {
  max-width: 720px;
  margin-bottom: 29px;
  font-size: 19px;
  line-height: 1.6;
}

/* Clients */
.clients {
  min-height: 324px;
  padding-top: 53px;
  padding-bottom: 48px;
}

.clients .section-title {
  margin-bottom: 38px;
}

.client-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 28px;
}

.client-strip img {
  width: 100%;
  height: 55px;
  object-fit: contain;
  opacity: 0.78;
}

/* Contacts */
.contacts {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #f5f5f5;
}

.contacts-pattern {
  position: absolute;
  inset: 0;
  background: url("assets/contact-bg.png") center / cover no-repeat;
  opacity: 0.11;
}

.contacts-inner {
  position: relative;
  display: grid;
  min-height: 640px;
  grid-template-columns: 43% 57%;
  align-items: center;
  gap: 46px;
  padding-block: 65px;
}

.contact-photo {
  height: 520px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.contact-copy h2 {
  margin-bottom: 11px;
  color: #111;
  font-size: clamp(36px, 3.5vw, 43px);
  line-height: 1.1;
}

.contact-lead {
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.contact-copy > p:not(.contact-lead) {
  margin-bottom: 8px;
  font-size: 16px;
}

.contact-phone {
  display: inline-block;
  margin-bottom: 21px;
  color: #111;
  font-size: clamp(27px, 2.7vw, 34px);
  font-weight: 700;
  text-decoration: none;
}

.contact-phone::before {
  margin-right: 13px;
  content: "☎";
  color: var(--blue);
  font-size: 0.85em;
}

.lead-form,
.modal-form {
  display: grid;
  gap: 13px;
}

.lead-form {
  max-width: 500px;
  margin-top: 17px;
  padding: 24px 27px 20px;
  background: var(--white);
  box-shadow: 0 6px 24px rgba(45, 58, 84, 0.16);
}

.lead-form label,
.modal-form label {
  display: grid;
  gap: 6px;
}

.lead-form label span,
.modal-form label span {
  font-size: 12px;
  opacity: 0.8;
}

.lead-form input,
.modal-form input {
  width: 100%;
  min-height: 48px;
  padding: 10px 15px;
  border: 2px solid var(--blue);
  border-radius: 18px;
  outline: 0;
  color: var(--text);
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lead-form input:focus,
.modal-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(230, 165, 34, 0.13);
}

.lead-form small,
.modal-form small {
  color: #777;
  font-size: 11px;
  line-height: 1.35;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.form-status.is-error {
  color: #b32727;
}

.form-status.is-success {
  color: #28733c;
}

/* Footer */
.site-footer {
  padding: 48px 0 24px;
  background: var(--white);
}

.footer-inner {
  display: grid;
  min-height: 175px;
  grid-template-columns: minmax(210px, 1.2fr) 1fr 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  width: 280px;
}

.footer-inner > div {
  display: grid;
  gap: 5px;
  font-size: 13px;
}

.footer-inner > div a {
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.footer-youtube {
  color: #e83a35;
  font-weight: 700;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #777;
  font-size: 12px;
}

.policy-button {
  padding: 0;
  color: var(--blue);
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
}

/* Modals */
.modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  padding: 28px;
  overflow-y: auto;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 22, 33, 0.78);
  backdrop-filter: blur(3px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(492px, 100%);
  max-height: calc(100vh - 56px);
  padding: 42px;
  overflow-y: auto;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  transform: translateY(18px) scale(0.98);
  transition: transform 220ms ease;
}

.modal.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-dialog-wide {
  width: min(900px, 100%);
}

.modal-dialog-quiz {
  width: min(940px, 100%);
  min-height: 530px;
}

.modal-dialog-video {
  width: min(980px, 100%);
  padding: 0;
  overflow: visible;
  background: #000;
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #555;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: var(--gold-dark);
}

.modal-close-light {
  top: -42px;
  right: 0;
  color: var(--white);
}

.modal-dialog h2 {
  margin: 0 0 13px;
  font-size: 29px;
  line-height: 1.2;
  text-align: center;
}

.modal-intro {
  margin-bottom: 25px;
  color: #646a78;
  text-align: center;
}

.video-frame {
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.details-layout {
  display: grid;
  grid-template-columns: 38% 62%;
  gap: 28px;
}

.details-layout > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.details-layout h2 {
  margin-bottom: 18px;
  text-align: left;
}

.details-layout p {
  margin-bottom: 15px;
}

.details-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 13px;
}

.details-table td {
  padding: 9px 10px;
  border: 1px solid #ddd;
  vertical-align: top;
}

.details-table td:last-child {
  width: 35%;
  font-weight: 700;
}

.details-actions {
  margin-top: 22px;
}

.policy h2 {
  text-align: left;
}

.policy p {
  line-height: 1.7;
}

/* Quiz */
.quiz-shell {
  display: grid;
  min-height: 440px;
  grid-template-rows: auto 1fr auto;
}

.quiz-head {
  padding-right: 35px;
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 27px;
}

.quiz-progress strong {
  color: var(--blue);
  font-size: 18px;
}

.quiz-progress-bar {
  height: 8px;
  flex: 1;
  overflow: hidden;
  border-radius: 10px;
  background: #e7e9ee;
}

.quiz-progress-bar span {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transition: width 300ms ease;
}

.quiz-step {
  animation: quiz-in 280ms ease both;
}

.quiz-step h2 {
  max-width: 730px;
  margin-inline: 0;
  font-size: 31px;
  text-align: left;
}

.quiz-step > p {
  margin-bottom: 20px;
  color: var(--muted);
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quiz-option {
  position: relative;
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 2px solid #e0e3e9;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.quiz-option:hover {
  border-color: #aab4c8;
  transform: translateY(-1px);
}

.quiz-option:has(input:checked) {
  border-color: var(--gold);
  background: #fff8e8;
}

.quiz-option input {
  width: 19px;
  height: 19px;
  accent-color: var(--gold);
}

.quiz-options.has-error {
  animation: quiz-error 360ms ease;
}

.quiz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 28px;
}

.quiz-discount {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.quiz-nav {
  display: flex;
  gap: 10px;
}

.quiz-nav .button {
  min-width: 130px;
}

.quiz-final-form {
  display: grid;
  max-width: 570px;
  gap: 13px;
}

.quiz-final-form input {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 2px solid var(--blue);
  border-radius: 18px;
  outline: 0;
}

.quiz-final-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(230, 165, 34, 0.13);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-in {
  from { opacity: 0; transform: translateX(-26px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes quiz-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes quiz-error {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* Tablet */
@media (max-width: 1050px) {
  .container {
    width: min(930px, calc(100% - 36px));
  }

  .topbar {
    grid-template-columns: minmax(200px, 1.2fr) 1fr 1fr minmax(170px, 0.85fr);
    gap: 13px;
  }

  .youtube-link {
    display: none;
  }

  .header-contact span {
    font-size: 12px;
  }

  .header-contact a {
    font-size: 14px;
  }

  .nav-inner {
    gap: 34px;
  }

  .catalog-grid {
    gap: 55px 25px;
  }

  .product-card h3 {
    min-height: 120px;
    font-size: 20px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(210px, 1.2fr) 1fr 1fr;
  }

  .footer-youtube,
  .footer-callback {
    display: none;
  }
}

/* Mobile */
@media (max-width: 767px) {
  html {
    scroll-padding-top: 67px;
  }

  .container {
    width: min(100% - 30px, 620px);
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    margin-bottom: 34px;
    font-size: 28px;
  }

  .section-subtitle {
    margin-top: -21px;
    margin-bottom: 32px;
    font-size: 15px;
  }

  .topbar {
    display: none;
  }

  .mobile-bar {
    display: grid;
    height: 67px;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 11px;
  }

  .mobile-logo {
    display: block;
    width: 134px;
  }

  .mobile-phone {
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  }

  .menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 5px;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--blue-dark);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .main-nav {
    position: absolute;
    top: 67px;
    right: 0;
    left: 0;
    height: auto;
    border: 0;
    box-shadow: 0 16px 35px rgba(31, 43, 66, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding-block: 8px 14px;
  }

  .main-nav a {
    padding: 14px 7px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: 647px;
    background-image: url("assets/hero-mobile.jpg");
    background-position: center;
  }

  .hero-shade {
    background: linear-gradient(rgba(34, 42, 57, 0.78), rgba(52, 63, 86, 0.48));
  }

  .hero-inner {
    display: block;
    min-height: 647px;
  }

  .hero-copy {
    display: flex;
    min-height: 647px;
    align-items: stretch;
    flex-direction: column;
    justify-content: center;
    padding: 48px 0;
    text-align: center;
  }

  .hero h1 {
    margin-bottom: 22px;
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.16;
    letter-spacing: -0.3px;
  }

  .hero p {
    margin-bottom: 28px;
    font-size: 16px;
  }

  .hero-actions {
    width: 100%;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .economy {
    min-height: 643px;
    padding: 49px 0;
  }

  .section-texture {
    background-attachment: scroll;
  }

  .economy-inner {
    gap: 31px;
  }

  .economy-copy h2 {
    font-size: 27px;
  }

  .benefit-list li {
    padding-left: 32px;
    font-size: 15px;
  }

  .catalog {
    padding-bottom: 68px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-card:nth-child(5),
  .product-card:nth-child(6) {
    grid-column: auto;
  }

  .product-card {
    max-width: 500px;
    margin-inline: auto;
  }

  .product-card h3 {
    min-height: 0;
    font-size: 20px;
  }

  .product-card p {
    font-size: 15px;
  }

  .card-actions .button {
    min-height: 52px;
    font-size: 15px;
  }

  .bundle {
    min-height: 0;
    padding: 42px 0;
  }

  .bundle-inner {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 0;
    padding: 32px 22px 26px;
  }

  .bundle-copy {
    padding: 0;
    text-align: center;
  }

  .bundle h2 {
    font-size: 28px;
  }

  .bundle p {
    font-size: 17px;
  }

  .bundle img {
    width: min(100%, 500px);
    margin-top: 26px;
  }

  .about-main {
    gap: 30px;
  }

  .about-copy p {
    font-size: 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-grid > div {
    min-height: 0;
  }

  .solution {
    min-height: 0;
    padding: 42px 0;
  }

  .solution-inner {
    display: flex;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    padding: 32px 22px 25px;
  }

  .solution-copy {
    text-align: center;
  }

  .solution h2 {
    font-size: 28px;
  }

  .solution p {
    font-size: 17px;
  }

  .solution img {
    width: 100%;
    margin: 28px 0 0;
  }

  .delivery {
    min-height: 500px;
  }

  .delivery-content {
    min-height: 500px;
    align-items: center;
    text-align: center;
  }

  .delivery h2 {
    font-size: 44px;
  }

  .delivery p {
    font-size: 16px;
  }

  .client-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .client-strip img:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 50%;
  }

  .contacts-inner {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 50px;
  }

  .contact-photo {
    display: none;
  }

  .contact-copy {
    text-align: center;
  }

  .contact-copy h2 {
    font-size: 36px;
  }

  .lead-form {
    margin-inline: auto;
    padding: 22px 18px 18px;
  }

  .lead-form label {
    text-align: left;
  }

  .footer-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
    text-align: center;
  }

  .footer-logo {
    width: 230px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 28px;
  }

  .modal {
    padding: 15px;
  }

  .modal-dialog {
    max-height: calc(100vh - 30px);
    padding: 38px 22px 28px;
  }

  .modal-dialog h2 {
    font-size: 25px;
  }

  .details-layout {
    grid-template-columns: 1fr;
  }

  .details-layout > img {
    max-width: 330px;
    margin-inline: auto;
  }

  .details-layout h2 {
    text-align: center;
  }

  .quiz-options {
    grid-template-columns: 1fr;
  }

  .quiz-step h2 {
    font-size: 25px;
  }

  .quiz-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .quiz-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .quiz-nav .button {
    min-width: 0;
    padding-inline: 10px;
  }
}

@media (max-width: 420px) {
  .mobile-logo {
    width: 110px;
  }

  .mobile-phone {
    font-size: 11px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .button {
    font-size: 15px;
  }

  .delivery h2 {
    font-size: 38px;
  }

  .contact-phone {
    font-size: 29px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
