:root {
  --ink: #102f4b;
  --ink-deep: #082845;
  --paper: #f8f6f1;
  --white: #ffffff;
  --green: #4f9f00;
  --green-dark: #3d8200;
  --copper: #d47732;
  --muted: #536577;
  --line: #e6dfd6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1180px; }

.site-header {
  height: 80px;
  border-bottom: 1px solid rgba(16, 47, 75, .09);
  background: rgba(255, 255, 255, .98);
}
.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  display: block;
  width: 104px;
  height: auto;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}
.header-phone:hover { color: var(--ink); text-decoration: none; }
.phone-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e0e5;
  border-radius: 50%;
}
.phone-icon svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.hero {
  position: relative;
  overflow: hidden;
  background: #f8f4f2;
}
.hero-row { min-height: 570px; }
.hero-copy { z-index: 2; padding-top: 28px; padding-bottom: 34px; }
.hero h1 {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 45px;
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 750;
}
.offer-line { display: block; white-space: nowrap; }
.hero h1 strong { color: var(--green); font-weight: inherit; white-space: nowrap; }
.hero-lead {
  max-width: 580px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 24px;
  line-height: 1.2em;
}




.hero-cta {
  position: relative;
  overflow: hidden;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(90deg, var(--green) 0%, #5eac00 100%);
  box-shadow: 0 12px 28px rgba(82, 159, 0, .23);
  font-size: 17px;
  font-weight: 700;
  white-space: normal;
}
.hero-cta::after {
  content: "";
  position: absolute;
  top: -45%;
  left: -38%;
  width: 18%;
  height: 190%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  transform: skewX(-22deg);
  animation: cta-shine 6s ease-in-out infinite;
}
.hero-cta:hover { color: #fff; background: linear-gradient(90deg, var(--green-dark), var(--green)); }

@media (min-width: 992px) {
  .hero-cta {
    width: 100%;
    max-width: 520px;
    min-height: 72px;
    padding: 18px 34px;
    font-size: 18px;
  }
}



.hero-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.hero-note svg {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-visual { align-self: stretch; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-visual img {
  display: block;
  width: 720px;
  max-width: none;
  height: 100%;
  max-height: 570px;
  object-fit: cover;
  object-position: 51% center;
  mix-blend-mode: multiply;
  transform: scale(1.15);
  transform-origin: center 55%;
}

@keyframes cta-shine {
  0%, 3% { left: -38%; opacity: 0; }
  5% { opacity: 1; }
  15% { left: 122%; opacity: 0; }
  100% { left: 122%; opacity: 0; }
}

.benefits { padding: 38px 0 28px; background: #fff; }
.benefits-grid { margin-right: -10px; margin-left: -10px; }
.benefits-grid > [class*="col-"] { display: flex; padding: 10px; }
.benefit-card {
  width: 100%;
  min-height: 194px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 47, 75, .035);
}
.benefit-card--lead {
  justify-content: center;
  color: #ffc184;
  border-color: transparent;
  background: linear-gradient(145deg, #0c3557, #062642);
  box-shadow: 0 14px 30px rgba(8, 40, 69, .18);
}
.benefit-card:not(.benefit-card--lead) {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 18px;
  row-gap: 14px;
}
.benefit-icon {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  object-fit: cover;
  object-position: center;
}
.benefit-card h2 {
  max-width: 285px;
  margin: 0;
  font-size: 23px;
  line-height: 1.28;
  font-weight: 700;
}
.benefit-content {
  display: contents;
  min-width: 0;
}
.benefit-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
}
.benefit-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: #1c2731;
  font-size: 14px;
  line-height: 1.45;
}

.quiz-section { padding: 28px 0 58px; background: #fff; }
.quiz-shell {
  min-height: 460px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #dce3e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(16, 47, 75, .07);
}
.matomba_iframe {
  width: 100%;
  min-height: 420px;
}
.matomba_iframe > iframe,
.quiz-shell iframe {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  min-height: 420px !important;
  border: 0 !important;
}

.site-footer { padding: 38px 0 18px; color: #fff; background: linear-gradient(120deg, #082846, #0b3a61); }
.footer-main { row-gap: 26px; }
.footer-item { display: flex; flex-direction: column; gap: 5px; font-size: 14px; line-height: 1.5; }
.footer-item strong { margin-bottom: 3px; color: #e9a05e; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.footer-item a, .privacy-open { align-self: flex-start; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.privacy-open { padding: 0; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.footer-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(229, 149, 76, .78); color: rgba(255,255,255,.64); font-size: 12px; text-align: center; }

.privacy-modal { position: fixed; z-index: 1050; inset: 0; display: none; padding: 20px; }
.privacy-modal.is-open { display: flex; align-items: center; justify-content: center; }
.privacy-backdrop { position: absolute; inset: 0; background: rgba(4, 22, 37, .72); backdrop-filter: blur(3px); }
.privacy-dialog { position: relative; width: min(860px, 100%); max-height: calc(100vh - 40px); overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.privacy-head { min-height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid #e5e8eb; }
.privacy-head h2 { margin: 0; color: var(--ink); font-size: 24px; line-height: 1.2; }
.privacy-close { width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--ink); background: #f0f3f5; font-size: 28px; line-height: 1; cursor: pointer; }
.privacy-body { max-height: calc(100vh - 152px); overflow-y: auto; padding: 24px; color: #344555; font-size: 14px; line-height: 1.62; }
.privacy-body h3 { margin: 28px 0 10px; color: var(--ink); font-size: 18px; }
.privacy-body p { margin: 0 0 12px; }
body.modal-open { overflow: hidden; }

.quiz-fallback-modal {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: none;
  padding: 28px;
}
.quiz-fallback-modal.is-open { display: flex; align-items: center; justify-content: center; }
.quiz-fallback-backdrop { position: absolute; inset: 0; background: rgba(4, 22, 37, .72); }
.quiz-fallback-dialog {
  position: relative;
  z-index: 1;
  width: min(1150px, 100%);
  height: min(650px, calc(100vh - 56px));
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}
.quiz-fallback-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .14);
}
.quiz-fallback-frame { display: block; width: 100%; height: 100%; border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-cta::after { animation: none; }
}

@media (max-width: 991.98px) {
  .hero-row { min-height: auto; padding-top: 42px; }
  .hero-copy { text-align: center; }
  .hero h1, .hero-lead { margin-left: auto; margin-right: auto; }
  .hero h1 { font-size: 43px; }
  .offer-line { display: inline; white-space: normal; }
  .offer-line + .offer-line::before { content: " "; }
  .hero-note { justify-content: center; }
  .hero-visual { height: 440px; }
  .hero-visual img {
    width: 720px;
    max-width: none;
    height: 100%;
    max-height: 440px;
    object-fit: cover;
    object-position: 52% center;
    transform: scale(1.1);
  }
  .benefit-card { min-height: 190px; }
}

@media (max-width: 767.98px) {
  .benefit-card {
    align-items: center;
    text-align: center;
  }
  .benefits-grid > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 6px;
  }
  .benefits-grid > [class*="col-"]:first-child {
    flex-basis: 100%;
    max-width: 100%;
  }
  .benefits-grid > [class*="col-"]:last-child { margin-left: 25%; }
  .benefit-card:not(.benefit-card--lead) {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    justify-items: center;
    row-gap: 10px;
    min-height: 190px;
    padding: 16px 13px;
  }
  .benefit-card:not(.benefit-card--lead) .benefit-icon {
    width: 46px;
    height: 46px;
  }
  .benefit-card:not(.benefit-card--lead) p {
    grid-column: 1;
    margin-top: 0;
    font-size: 13px;
    line-height: 1.38;
  }
  .benefit-card:not(.benefit-card--lead) h3 {
    grid-column: 1;
    font-size: 15px;
    line-height: 1.25;
  }
  .footer-main { text-align: center; }
  .footer-item { align-items: center; }
  .footer-item a,
  .privacy-open {
    align-self: center;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .site-header, .header-inner { height: 70px; }
  .brand-logo { width: 86px; }
  .header-phone { font-size: 14px; gap: 7px; }
  .phone-icon { width: 31px; height: 31px; }
  .hero-row { padding-top: 20px; }
  .hero-copy { padding-bottom: 16px; }
  .hero h1 {
    font-size: clamp(23px, 7.2vw, 29px);
    line-height: 1.12;
    letter-spacing: -.04em;
  }
  .offer-line { display: block; white-space: nowrap; }
  .offer-line + .offer-line::before { content: none; }
  .hero-lead { font-size: 17px; }
  .hero-cta { width: 100%; font-size: 16px; line-height: 1.2em; }
  .hero-note { align-items: flex-start; text-align: left; }
  .hero-visual { height: 340px; margin: 0 -15px; overflow: hidden; }
  .hero-visual img { width: 560px; max-height: 340px; transform: scale(1.05); }
  .benefits { padding-top: 24px; }
  .benefit-card--lead { min-height: 180px; padding: 22px; }
  .benefit-card:not(.benefit-card--lead) {
    grid-template-columns: 1fr;
    min-height: 184px;
    padding: 14px 11px;
  }
  .benefit-card:not(.benefit-card--lead) .benefit-icon {
    width: 43px;
    height: 43px;
  }
  .benefit-card:not(.benefit-card--lead) p {
    margin-top: 0;
    font-size: clamp(12px, 3.45vw, 14px);
    line-height: 1.35;
  }
  .benefit-card h2 { font-size: 21px; }
  .quiz-section { padding-bottom: 34px; }
  .quiz-shell { min-height: 540px; padding: 10px; }
  .matomba_iframe,
  .matomba_iframe > iframe,
  .quiz-shell iframe { min-height: 520px !important; }
  .privacy-modal { padding: 10px; }
  .privacy-dialog { max-height: calc(100vh - 20px); border-radius: 10px; }
  .privacy-head { padding: 15px 18px; }
  .privacy-head h2 { font-size: 20px; }
  .privacy-body { max-height: calc(100vh - 92px); padding: 18px; }
  .quiz-fallback-modal { padding: 10px; }
  .quiz-fallback-dialog { height: calc(100vh - 20px); border-radius: 10px; }
}



