@font-face {
  font-family: Manrope;
  src: url("assets/manrope-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/manrope-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/manrope-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color: #1c1c1c;
  background: #fff;
  font-family: Manrope, Arial, sans-serif;
  --red: #ad3035;
  --apricot: #ffc675;
  --gutter: 4.8cqw;
}

* { box-sizing: border-box; }
body { margin: 0; }

.page {
  container-type: inline-size;
  max-width: 1500px;
  margin: 0 auto;
  width: calc(100% - clamp(18px, 2.5vw, 40px));
}

.site-header {
  min-height: 7.05cqw;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.site-header img {
  display: block;
  width: 14.6cqw;
  height: auto;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 48.1cqw;
  border-radius: clamp(22px, 2.6cqw, 38px);
  overflow: clip;
  background:
    radial-gradient(ellipse at 92% 96%, #e9e2df 0%, transparent 61%),
    linear-gradient(115deg, #fff 9%, #fbf9f8 52%, #f2eeed);
  isolation: isolate;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 58%;
  padding: 2.4cqw 0 2.4cqw var(--gutter);
}

h1, h2, h3 { margin: 0; }

h1 {
  max-width: calc(100% - 2.3cqw);
  font-size: 4.1cqw;
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.hero-accent, .conditions h2 span { color: var(--red); }

.lead-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .98fr);
  column-gap: 1.35cqw;
  margin-top: 3cqw;
}

.phone-field,
.lead-form button {
  width: 100%;
  min-width: 0;
  min-height: max(44px, 6.2cqw);
  padding: .55em 1.2em;
  border: 1px solid transparent;
  border-radius: 1.15cqw;
  color: inherit;
  font: inherit;
  font-size: max(13px, 1.82cqw);
}

.phone-field {
  display: flex;
  align-items: center;
  gap: .16em;
  border-color: #dad2cf;
  background: #fffdfc;
  box-shadow: inset 0 1px 2px #4223170a;
}

.phone-prefix {
  flex: none;
}

.phone-field input {
  flex: 1;
  align-self: stretch;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: inherit;
  font: inherit;
  appearance: none;
}

.phone-field input::placeholder { color: #666; opacity: 1; }
.phone-field:has(input[aria-invalid="true"]) { border-color: var(--red); }

.phone-field:focus-within {
  border-color: transparent;
  outline: 2px solid #89191e;
  outline-offset: -2px;
  box-shadow: none;
}

.lead-form button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  border-color: #ac6e241c;
  background: linear-gradient(105deg, var(--apricot), #ffda9f);
  box-shadow: inset 0 1px #ffffff80, 0 4px 12px #ac6e2424;
  font-weight: 700;
  transition: box-shadow .18s ease, border-color .18s ease;
}

.lead-form button::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -15% 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 37%, #ffffff86 50%, transparent 64%);
  transform: translateX(-115%);
}

.lead-form button:not(:disabled):hover {
  border-color: #ac6e2452;
  box-shadow: inset 0 1px #ffffff99, 0 6px 16px #ac6e2436;
}

@media (prefers-reduced-motion: no-preference) {
  .lead-form button:enabled::after { animation: button-shine 6s ease-in-out .65s infinite; }
}

@media (prefers-reduced-motion: reduce) {
  .lead-form button { transition: none; }
}

@keyframes button-shine {
  0%, 7% { transform: translateX(-115%); }
  25%, 100% { transform: translateX(115%); }
}
.lead-form button:disabled { cursor: default; }

.lead-form button:focus-visible {
  outline: 2px solid #89191e;
  outline-offset: 3px;
}

.form-message {
  grid-column: 1 / -1;
  min-block-size: 1.35em;
  margin: clamp(4px, .6cqw, 9px) 0 0;
  font-size: max(13px, 1.3cqw);
  font-weight: 700;
  line-height: 1.35;
}

.form-message[data-error] { color: var(--red); }
.form-legal:empty { display: none; }
.form-legal { grid-column: 1 / -1; }

.promo-badge {
  margin: 0;
  padding: .85em 1.4em;
  border-radius: 1em;
  background: #f5f5f5;
  font-size: clamp(12px, 1.25cqw, 19px);
  font-weight: 600;
  line-height: 1.25;
}

.promo-badge strong,
.promo-note strong { color: var(--red); }
.promo-badge time,
.promo-note time { white-space: nowrap; }

.promo-note:not([hidden]) {
  display: flex;
  align-items: center;
  gap: .85em;
  margin-top: clamp(6px, .65cqw, 10px);
  font-size: clamp(13px, 1.2cqw, 18px);
  line-height: 1.45;
}

.promo-note p { margin: 0; }

.promo-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.65em;
  height: 2.65em;
  border-radius: 50%;
  background: #f5f2f1;
  color: var(--red);
}

.promo-icon svg { width: 1.3em; height: 1.3em; }

.hero-portrait {
  position: absolute;
  inset: 0 0 0 auto;
  width: 44.5%;
  mask-image: linear-gradient(to right, transparent, #000 3%);
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-contour {
  position: absolute;
  inset: 0 0 0 auto;
  width: 44.5%;
  height: 100%;
  pointer-events: none;
}

.conditions {
  padding: 2.55cqw 2.25cqw 2.8cqw 4.1cqw;
  background:
    radial-gradient(ellipse at 32% 84%, #eee9e788, transparent 48%),
    radial-gradient(ellipse at 71% 72%, #ffe5c660, transparent 43%);
}
.conditions h2 {
  margin: 0 0 2.8cqw .7cqw;
  font-size: 4.95cqw;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.035em;
}

.conditions-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.45cqw;
  padding: 0;
  margin: 0;
  list-style: none;
}

.conditions-list li {
  position: relative;
  isolation: isolate;
  min-height: 17.9cqw;
  padding: 1.5cqw 3.6cqw 2cqw;
  border-radius: clamp(20px, 2.3cqw, 34px);
  border: 1px solid #d3c9c49c;
  background:
    radial-gradient(ellipse at 11% 0%, #fffffff5, transparent 66%),
    linear-gradient(149deg, #ffffffb0 0%, #ffffff33 45%, #f1eae684 100%);
  box-shadow: inset 0 1px 1px #fff, inset 0 -2px 4px #80685815, 0 8px 20px #39271512;
}

.conditions-list li::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px;
  border: 1px solid #e4aa6199;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 16% 0%, #fff8e9f5, transparent 64%),
    linear-gradient(146deg, #fff0d7d9, #ffcf8aeb);
  box-shadow: inset 0 1px 2px #fff, inset 0 -2px 5px #b871231a, 0 7px 22px #b5762621;
  pointer-events: none;
  opacity: 0;
}

.conditions-list li:nth-child(2)::before { opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  .conditions-list:has(> li:hover) > li:nth-child(2):not(:hover)::before { opacity: 0; }
  .conditions-list li:hover::before { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .conditions-list li,
  .conditions-list li::before {
    transition: translate .28s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
  }

  .conditions-list li:hover { translate: 0 -2px; }
}

@media (prefers-reduced-transparency: reduce) {
  .conditions { background: #fff; }
  .conditions-list li { background: #f7f5f4; }
  .conditions-list li::before { background: #ffe0b0; }
}

.condition-number {
  display: block;
  margin-bottom: 1.25cqw;
  color: var(--red);
  font-size: 4.6cqw;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.04em;
}

.conditions-list h3 {
  font-size: 2.9cqw;
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -.035em;
}

.condition-content {
  position: relative;
  min-width: 0;
  border-top: 1px solid #54403945;
  padding-top: 1.25cqw;
}

.condition-content::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: clamp(20px, 2.9cqw, 42px);
  height: 1px;
  background: var(--red);
}

.condition-content p {
  margin: .55em 0 0;
  color: #514031;
  font-size: clamp(14px, 1.38cqw, 20px);
  line-height: 1.4;
}

.condition-content strong {
  color: #2f2219;
  font-weight: 700;
}

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

@media (max-width: 720px) {
  :root { --gutter: 6.4cqw; }
  .site-header { min-height: 22cqw; }
  .site-header img { width: min(36cqw, 176px); }
  .promo-badge { padding: .8em .65em; font-size: clamp(10.5px, 3.2cqw, 12px); white-space: nowrap; }
  .hero { display: block; background: #fff; }
  .hero-content { width: auto; padding: 2cqw 5.4cqw 5.2cqw; }
  h1 {
    max-width: none;
    padding-inline: 1.2cqw;
    font-size: clamp(23px, 7.3cqw, 44px);
    line-height: 1.12;
    letter-spacing: -.025em;
  }

  .lead-form {
    grid-template-columns: 1fr;
    margin-top: 6.7cqw;
  }

  .phone-field,
  .lead-form button {
    min-height: max(44px, 14.45cqw);
    border-radius: 3cqw;
    font-size: max(15px, 4.9cqw);
  }

  .phone-field {
    margin-bottom: 4cqw;
    font-size: max(16px, 4.9cqw);
  }

  .form-message { font-size: 13px; }

  .promo-note:not([hidden]) { margin-inline: 1.2cqw; }

  .hero-portrait {
    position: static;
    display: block;
    width: 100%;
    mask-image: none;
    border-radius: 20px 20px 0 0;
    overflow: clip;
  }

  .hero-portrait img { height: auto; }
  .hero-contour { display: none; }
  .conditions { padding: 4.6cqw 4.9cqw 9.4cqw; }
  .conditions h2 { margin: 0 0 6.3cqw 2cqw; font-size: 10cqw; }
  .conditions-list { grid-template-columns: 1fr; gap: 4.1cqw; }
  .conditions-list li {
    display: grid;
    grid-template-columns: 18cqw minmax(0, 1fr);
    align-items: start;
    gap: 3cqw;
    min-height: 26.5cqw;
    padding: 5.8cqw 6.9cqw;
    border-radius: clamp(19px, 5.2cqw, 26px);
  }

  .condition-number { margin: 0; font-size: 10.5cqw; }
  .condition-content { margin-top: 1.1cqw; padding-top: 3.7cqw; }
  .conditions-list h3 { font-size: 6cqw; }
  .condition-content p { font-size: clamp(14px, 4.15cqw, 18px); }
}
