:root {
  --gold: #F5C400;
  --gold-soft: #FFE27A;
  --gold-deep: #D4A017;
  --dark: #1A1A1A;
  --soft: #F6F6F6;
  --muted: #555;
  --line: #ead9a8;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--dark);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(245, 196, 0, 0.16), transparent 60%),
    radial-gradient(900px 420px at -10% 20%, rgba(245, 196, 0, 0.08), transparent 55%),
    #fff;
  line-height: 1.5;
}

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

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

.hl {
  background: var(--gold);
  color: #111;
  font-weight: 800;
  padding: 0 .22em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.mark {
  background-image: linear-gradient(var(--gold-soft), var(--gold-soft));
  background-repeat: no-repeat;
  background-size: 100% 42%;
  background-position: 0 88%;
  padding: 0 1px;
}

.gold { color: var(--gold-deep); font-weight: 800; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  padding: 14px 22px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn--gold {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 8px 20px rgba(245, 196, 0, 0.35);
}
.btn--gold:hover { background: #e6b400; }
.btn--outline {
  background: #fff;
  color: var(--dark);
  border: 1px solid var(--gold);
}
.btn--wide { width: 100%; }

/* Header */
.site-header {
  padding: 16px 0 0;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border-radius: 20px;
  padding: 14px 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.logo img {
  width: 180px;
  height: auto;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-phone {
  text-align: right;
}

.header-phone a {
  display: block;
  font-weight: 700;
  font-size: 18px;
  color: var(--dark);
}

.header-phone span {
  display: block;
  color: #5a5a5a;
  font-size: 12px;
}

/* Hero */
.hero {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: stretch;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.25;
  font-weight: 700;
  color: #111;
}

.hero__lead {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.hero__cta {
  margin: 22px 0 14px;
}

.hero__note {
  margin: 0;
  letter-spacing: 2px;
  font-size: 12px;
  color: #8a8a8a;
  text-transform: uppercase;
}

.hero-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-card__body {
  padding: 16px 20px 22px;
}

.hero-card__body h3 {
  margin: 0 0 8px;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.hero-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.section--soft { background: var(--soft); }

.section h2 {
  margin: 0 0 12px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
  font-weight: 700;
}

.section__sub {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  max-width: 720px;
}

.section__head {
  text-align: center;
  margin-bottom: 36px;
}

.section__head .section__sub {
  margin-inline: auto;
}

.proof {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.proof-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.proof-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  color: #444;
  font-size: 16px;
  line-height: 1.55;
}

.proof-list__n {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gold);
  color: #111;
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.proof-list strong {
  display: block;
  color: var(--dark);
  margin-bottom: 2px;
}

.proof-result {
  margin: 0 0 20px;
  color: #444;
  font-size: 16px;
  line-height: 1.65;
}

.proof-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.proof-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

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

.benefit {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.benefit__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gold);
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
}

.benefit h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Quiz */
.ys-quiz {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  padding: 28px 28px 18px;
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}

.ys-quiz__accent {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #f5c400 0 20%, #ffe9a3 20% 100%);
  border-radius: 0 0 4px 4px;
}

.ys-quiz__title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1d4f7a;
  font-size: 18px;
  font-weight: 600;
  margin: 8px 0 22px;
}

.ys-quiz__icon {
  width: 22px;
  height: 22px;
  border: 2px solid #f5c400;
  color: #f5c400;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.ys-step { display: none; }
.ys-step.is-active { display: block; }

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

.ys-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.ys-card input { position: absolute; opacity: 0; pointer-events: none; }

.ys-card__img {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: linear-gradient(145deg, #fff8e1, #f2f2f2);
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color .15s, transform .15s;
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #c9a227;
}

.ys-card input:checked + .ys-card__img {
  outline-color: #f5c400;
  transform: translateY(-2px);
}

.ys-card__label {
  font-size: 13px;
  color: #222;
  line-height: 1.3;
}

.ys-hint {
  color: #7aa0c4;
  font-size: 12px;
  margin: 14px 0 0;
}

.ys-q {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px;
  color: #1a1a1a;
}

.ys-choices {
  display: grid;
  gap: 10px;
}

.ys-choice {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
}

.ys-choice:has(input:checked) {
  border-color: #f5c400;
  background: #fff8e1;
}

.ys-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
}

.ys-field input {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
}

.ys-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 8px;
  border-top: 1px solid #f0f0f0;
}

.ys-nav__step { color: #b0b0b0; font-size: 14px; }
.ys-nav__btns { display: flex; gap: 10px; }
.ys-quiz [hidden] { display: none !important; }

.ys-btn {
  border: 0 !important;
  cursor: pointer;
  border-radius: 8px !important;
  padding: 12px 22px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.ys-btn--ghost {
  background: #fff !important;
  border: 1px solid #eee !important;
  color: #888 !important;
  min-width: 48px;
}

.ys-btn--next {
  background: #f5a623 !important;
  color: #fff !important;
}

.ys-btn--next:hover { background: #e39412 !important; }

.ys-msg {
  margin-top: 12px;
  color: #1d7a3a;
  font-weight: 600;
}

.ys-msg.is-error { color: #c0392b; }

/* Cases */
.cases {
  display: grid;
  gap: 18px;
}

.case {
  display: grid;
  grid-template-columns: 64px 1.2fr 1fr;
  gap: 18px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.case__n {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--gold);
  display: grid;
  place-items: center;
  font-family: Unbounded, Manrope, sans-serif;
  font-weight: 700;
  font-size: 20px;
}

.case h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}

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

.case__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case__metrics li {
  font-size: 13px;
  color: #444;
}

.case__metrics strong {
  display: block;
  color: var(--dark);
  font-size: 15px;
}

/* Directions */
.dirs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dir {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.dir h3 {
  margin: 0 0 16px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 22px;
}

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

.dir li {
  position: relative;
  padding-left: 18px;
  color: #444;
}

.dir li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

.stat strong {
  display: block;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 28px;
  margin-bottom: 8px;
}

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

/* Footer */
.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 40px 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
}

.cta-band {
  padding: 56px 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(245, 196, 0, 0.12), transparent),
    var(--soft);
}

.cta-band h2 {
  margin: 0 0 12px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  max-width: 900px;
  margin-inline: auto;
}

.cta-band p {
  margin: 0 auto 22px;
  color: var(--muted);
  max-width: 640px;
}

/* Thanks */
.thanks {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 24px;
}

.thanks img {
  width: 180px;
  margin: 0 auto 28px;
}

.thanks h1 {
  margin: 0 0 16px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: clamp(24px, 4vw, 34px);
  max-width: 720px;
}

.thanks a.phone {
  display: inline-block;
  margin: 8px 0 28px;
  font-family: Unbounded, Manrope, sans-serif;
  font-size: 20px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .hero,
  .proof,
  .dirs { grid-template-columns: 1fr; }
  .benefits,
  .stats { grid-template-columns: 1fr 1fr; }
  .case { grid-template-columns: 54px 1fr; }
  .case__metrics { grid-column: 1 / -1; }
  .ys-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-header__bar {
    flex-direction: column;
    align-items: stretch;
  }
  .header-contacts {
    justify-content: space-between;
  }
  .header-phone { text-align: left; }
  .benefits,
  .stats,
  .ys-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .ys-quiz { padding: 22px 16px 14px; }
  .ys-quiz__accent { left: 16px; right: 16px; }
  .ys-nav { flex-wrap: wrap; gap: 10px; }
  .ys-nav__btns { width: 100%; justify-content: flex-end; }
}
