:root {
  --ink: #191821;
  --brand: #5148a4;
  --brand-2: #8c82ed;
  --text: #626073;
  --muted: #777688;
  --line: #e8e7f0;
  --tint: #f6f5ff;
  --hero-bg: #fafaff;
  --soft: #f7f7fb;
  --container: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 16px/1.5 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: calc(var(--container) + 32px); margin: 0 auto; padding: 0 16px; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }

/* top bar */
.topbar { background: var(--tint); color: var(--brand); font-size: 11px; line-height: 16px; }
.topbar .container { display: flex; align-items: center; gap: 8px; min-height: 40px; padding-top: 10px; padding-bottom: 10px; }
.topbar .dot { width: 7px; height: 7px; }

/* header */
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 40px; height: 93px; }
.logo img { width: 106px; height: auto; }
.nav { display: flex; gap: 40px; margin-left: 30px; font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--brand); }
.nav a:hover, .header__phone:hover { color: var(--brand-2); }
.header__hours { margin-left: auto; font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--brand); white-space: nowrap; }
.header__phone { font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--brand); white-space: nowrap; }

/* intro (hero + assortment): tinted background ends in the middle of the card */
.intro { background: linear-gradient(var(--hero-bg) calc(100% - 54px), #fff 0); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 512px; align-items: start; gap: 24px; padding: 88px 0 0; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--brand); }
h1 { margin: 12px 0 0; font-size: 66px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; max-width: 640px; }
.hero__sub { margin: 20px 0 0; font-size: 43px; line-height: 1.2; font-weight: 600; color: var(--brand); max-width: 540px; }
.hero__lead { margin: 24px 0 0; font-size: 18px; line-height: 28px; color: var(--text); max-width: 630px; }
.hero__img { margin-top: -62px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.assortment { margin-top: 44px; padding: 20px 24px 22px; }
.label { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--brand-2); }
.label--dark { margin-bottom: 10px; color: var(--brand); font-size: 13px; }
.assortment p { margin: 0; font-size: 15px; line-height: 24px; color: var(--ink); }

/* request */
.request { padding-top: 56px; }
h2 { margin: 0; font-size: 30px; line-height: 1.25; font-weight: 800; }
.request__lead { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.request__card { margin-top: 28px; padding: 28px; border-radius: 28px; }
.form { display: grid; grid-template-columns: 300px 300px auto; justify-content: start; align-items: end; gap: 20px; }
.field label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; }
.field input {
  width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px;
  font: 400 15px/1 "Manrope", sans-serif; color: var(--ink); background: #fff; outline: none;
}
.field input::placeholder { color: #aaa9b7; }
.field input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(140,130,237,.18); }
.field input.is-invalid { border-color: #d95b6b; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 54px; min-width: 255px; padding: 0 28px;
  border: 0; border-radius: 10px; background: var(--brand-2); color: #fff; cursor: pointer;
  font: 600 15px/1 "Manrope", sans-serif; transition: background .15s, transform .15s;
}
.btn:hover { background: #7a6fe3; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: default; }
.btn--soft { height: 52px; background: var(--tint); border: 1px solid var(--line); color: var(--brand); border-radius: 12px; min-width: 265px; justify-content: flex-start; padding: 0 18px; }
.btn--soft:hover { background: #ecebff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__msg { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--brand); }
.form__msg:empty { display: none; }
.form__msg.is-error { color: #d95b6b; }

.direct { margin-top: 30px; }
.direct__title { font-size: 14px; font-weight: 600; color: var(--text); }
.direct__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 16px; }
.direct__phone { display: flex; flex-direction: column; margin-left: 8px; }
.direct__phone a { font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: .02em; color: var(--brand); }
.direct__phone span { font-size: 12px; color: var(--muted); }

.important { margin-top: 40px; padding: 24px; border-radius: 20px; background: var(--soft); }
.important p { margin: 0; font-size: 15px; line-height: 24px; color: #666576; }

/* footer */
.footer { margin-top: 48px; border-top: 1px solid var(--line); }
.footer__in { display: flex; align-items: center; gap: 56px; padding-top: 38px; padding-bottom: 38px; }
.footer__logo { font-size: 22px; font-weight: 800; letter-spacing: .02em; color: var(--brand-2); white-space: nowrap; }
.footer p { margin: 0; font-size: 13px; line-height: 20px; color: var(--muted); }
.footer a { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--brand); white-space: nowrap; }

/* responsive */
@media (max-width: 1100px) {
  .header__hours { display: none; }
  .header__phone { margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr) 400px; }
  h1 { font-size: 48px; }
  .hero__sub { font-size: 32px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .header__in { height: 80px; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero__img { order: -1; max-width: 420px; margin: 0 auto; }
  .form { grid-template-columns: 1fr 1fr; }
  .form .btn { grid-column: 1 / -1; }
  .footer__in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer a { margin-left: 0; }
}
@media (max-width: 560px) {
  .topbar { font-size: 10.5px; }
  .logo img { width: 84px; }
  h1 { font-size: 36px; }
  .hero__sub { font-size: 26px; }
  .hero__lead { font-size: 16px; line-height: 25px; }
  h2 { font-size: 24px; }
  .request__card { padding: 20px 16px; border-radius: 22px; }
  .form { grid-template-columns: 1fr; }
  .btn--soft { min-width: 0; width: 100%; }
  .direct__phone { margin-left: 0; }
}
