/* Form drawn over the hero in the owner's 2026-10-03 reference. */
.hero-title { padding-top: 40px; }
.hero h1 span:last-child { margin-top: 0; }
.hero-title .script { margin-top: -20px; }

.hero-line {
  top: 39px;
  width: 90%;
  max-width: 1440px;
  grid-template-columns: minmax(0, 1fr) 515px minmax(0, 1fr);
  gap: 80px;
  margin-top: -18px;
}

.hero-lead-form {
  position: relative;
  width: 515px;
  display: grid;
  grid-template-columns: 180px 148px 147px;
  align-items: end;
  gap: 20px;
  color: #fff;
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
}

.hero-lead-field,
.hero-lead-action {
  display: block;
  min-width: 0;
}

.hero-lead-heading {
  display: flex;
  align-items: center;
  height: 26px;
  gap: 12px;
  white-space: nowrap;
}

.hero-lead-number {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}

.hero-lead-caption {
  font-size: 10px;
  letter-spacing: .19em;
}

.hero-lead-rule {
  flex: 1;
  height: 1px;
  min-width: 12px;
  background: currentColor;
  opacity: .66;
}

.hero-lead-field input {
  display: block;
  width: 100%;
  height: 39px;
  padding: 0 0 3px;
  color: #fff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.92);
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  font: 12px/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  caret-color: #fff;
}

.hero-lead-field input::placeholder {
  color: rgba(255,255,255,.94);
  opacity: 1;
}

.hero-lead-field input:focus-visible {
  border-bottom-width: 2px;
  box-shadow: 0 3px 0 rgba(255,255,255,.18);
}

.hero-lead-action .hero-lead-heading {
  justify-content: flex-start;
  gap: 0;
  padding: 0;
}

.hero-lead-action .hero-lead-rule {
  flex: 0 0 51px;
  min-width: 0;
  margin-top: 13px;
  align-self: flex-start;
}

.hero-lead-action .hero-lead-number {
  position: relative;
  border: 0;
  border-radius: 0;
  align-items: flex-start;
  padding-top: 8px;
}

.hero-lead-action .hero-lead-number::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 14px;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: 13px 13px 0 0;
}

.hero-lead-action button {
  width: 147px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 11px;
  letter-spacing: .14em;
  line-height: 1;
  transition: background .35s, color .35s, transform .35s;
}

.hero-lead-action button:hover,
.hero-lead-action button:focus-visible {
  background: #fff;
  color: #1c5279;
  transform: translateY(-2px);
}

.hero-lead-action button svg { flex: 0 0 24px; }

.hero-lead-status {
  position: absolute;
  top: calc(100% + 11px);
  left: 0;
  right: 0;
  padding: 8px 10px;
  margin: 0;
  background: rgba(16,40,62,.84);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.hero-lead-status a { text-decoration: underline; }

/* Match the two-line hero footer copy to the side label typography. */
.hero-footer > p {
  font: clamp(17px, 2.3vw, 31px)/1.05 var(--serif);
  text-transform: uppercase;
}

/* Keep the hero CTA on the same centre axis as “Симеиз”. */
@media (min-width: 701px) {
  .hero-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
  }
  .hero-footer > .oval-cta { justify-self: center; }
  .hero-footer > div { justify-self: end; }
}

@media(max-width: 1240px) {
  .hero-line {
    width: min(88%, 930px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px 20px;
  }
  .hero-line > span:first-child { grid-column: 1; grid-row: 1; text-align: left; }
  .hero-line > span:last-child { grid-column: 2; grid-row: 1; text-align: right; }
  .hero-lead-form { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

@media(max-width: 700px) {
  .hero-footer > p { font-size: clamp(16px, 5vw, 21px); }
  .hero { min-height: 930px; }
  .hero-title { padding-top: 135px; }
  .hero h1 span:last-child { margin-top: 10px; }
  .hero-title .script { margin-top: -3px; }
  .hero-line { width: 100%; padding: 0 22px; margin-top: 20px; gap: 18px 12px; }
  .hero-line > span { font-size: clamp(16px, 5vw, 21px); }
  .hero-lead-form {
    width: 100%;
    max-width: 515px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 17px 16px;
  }
  .hero-lead-heading { gap: 8px; }
  .hero-lead-caption { font-size: 9px; letter-spacing: .13em; }
  .hero-lead-action {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  .hero-lead-action .hero-lead-heading { width: 44px; padding: 0; }
  .hero-lead-action .hero-lead-rule { display: none; }
  .hero-lead-action button { width: 147px; }
  .hero-lead-status { top: calc(100% + 8px); }
}

@media(max-width: 370px) {
  .hero { min-height: 940px; }
  .hero-lead-form { column-gap: 10px; }
  .hero-lead-field input { font-size: 11px; }
}

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