:root {
  --wine: #6e1e27;
  --wine-dark: #55151d;
  --olive: #273225;
  --leaf: #67733e;
  --cream: #fff9ed;
  --cream-deep: #f4ead7;
  --ink: #262626;
  --muted: #6d685f;
  --line: rgba(110, 30, 39, .25);
  --white: #fffef9;
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(110, 30, 39, .15);
}
img { max-width: 100%; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  padding-left: max(28px, env(safe-area-inset-left));
  padding-right: max(28px, env(safe-area-inset-right));
}
.accent { color: var(--wine); }
.section-kicker {
  margin: 0 0 10px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}
.section-title {
  margin: 0 0 44px;
  color: var(--olive);
  font-size: clamp(30px, 5vw, 54px);
  font-style: italic;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}
.section-title span { color: var(--wine); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 15px 34px;
  border: 0;
  border-radius: 18px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn--primary { color: #fff; background: var(--wine); box-shadow: 0 12px 24px rgba(110, 30, 39, .18); }
.btn--primary:hover { background: var(--wine-dark); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--block { width: 100%; margin-top: 10px; }
.btn:disabled { cursor: wait; opacity: .65; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img { display: block; width: 160px; height: auto; }
.site-header__nav { display: flex; align-items: center; gap: 28px; }
.site-header__nav a { color: var(--olive); font-size: 13px; font-weight: 700; text-decoration: none; }
.site-header__nav a:hover { color: var(--wine); }
.site-header__nav .header-cta { padding: 10px 22px; border-radius: 12px; color: #fff; background: var(--wine); }

.hero { position: relative; min-height: 760px; padding: 122px 0 78px; overflow: hidden; }
.hero::before,
.hero::after {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(110, 30, 39, .09);
  border-radius: 50%;
  content: "";
}
.hero::before { top: -95px; left: 31%; }
.hero::after { right: -80px; bottom: 20px; }
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; }
.hero__text { position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero__title {
  margin: 0 0 24px;
  color: var(--olive);
  font-size: clamp(46px, 6.2vw, 78px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .99;
  text-transform: uppercase;
}
.hero__lead { max-width: 590px; margin: 0 0 26px; font-size: 17px; }
.hero__meta { display: flex; gap: 40px; margin-bottom: 30px; }
.hero__meta-item { display: flex; flex-direction: column; }
.hero__meta-num { color: var(--wine); font-size: 24px; font-weight: 800; }
.hero__meta-label { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.14;
  padding: 36px;
  border-radius: 110px 24px 110px 24px;
  color: var(--wine);
  background: var(--cream-deep);
  isolation: isolate;
  transform: rotate(1.5deg);
}
.hero__art::before { position: absolute; inset: 34px; border: 2px solid var(--wine); border-radius: 82px 18px 82px 18px; content: ""; opacity: .65; pointer-events: none; }
.hero__bike-photo {
  position: relative;
  z-index: 2;
  display: block;
  width: 108%;
  max-width: none;
  height: auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 20px 28px rgba(39, 50, 37, .14));
  transform: translateY(6px);
}
.hero__stamp {
  position: absolute;
  z-index: 3;
  top: -24px;
  right: -20px;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  color: var(--cream);
  background: var(--wine);
  font-size: 14px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
}
.botanical { position: absolute; z-index: 3; color: var(--leaf); font-family: Georgia, serif; font-size: 74px; }
.botanical--one { bottom: -38px; left: -24px; transform: rotate(-22deg); }

.steps { padding: 92px 0 104px; background: var(--white); }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; min-height: 260px; padding: 32px; border: 1.5px solid var(--wine); border-radius: 70px 18px 70px 18px; background: var(--cream); }
.step:nth-child(2) { border-radius: 18px 70px 18px 70px; transform: translateY(22px); }
.step__num { margin-bottom: 42px; color: var(--wine); font-family: Georgia, serif; font-size: 56px; font-style: italic; line-height: 1; }
.step__title { margin: 0 0 8px; color: var(--olive); font-size: 20px; font-weight: 800; text-transform: uppercase; }
.step__text { margin: 0; color: var(--muted); }

.form-section { padding: 100px 0; color: var(--cream); background: var(--wine); }
.form-section__inner { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 70px; }
.form-section__intro .section-kicker { color: var(--cream-deep); text-align: left; }
.form-section__intro h2 { margin: 0 0 22px; font-size: clamp(36px, 5vw, 58px); font-style: italic; line-height: 1.03; text-transform: uppercase; }
.form-section__intro h2 span { color: #efc5ae; }
.form-section__intro p:not(.section-kicker) { max-width: 420px; color: rgba(255, 249, 237, .8); }
.form-section__bike { display: inline-block; margin-top: 36px; padding: 17px 24px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 13px; font-style: italic; font-weight: 800; line-height: 1.1; text-align: center; text-transform: uppercase; transform: rotate(-8deg); }
.form-card { padding: 44px; border-radius: 28px 90px 28px 28px; color: var(--ink); background: var(--cream); box-shadow: 0 24px 70px rgba(52, 12, 17, .28); }
.form-card__title { margin: 0 0 5px; color: var(--olive); font-size: 30px; font-style: italic; font-weight: 800; text-align: center; text-transform: uppercase; }
.form-card__subtitle { margin: 0 0 28px; color: var(--muted); font-size: 13px; text-align: center; }
.field { margin-bottom: 17px; }
.field label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.field__opt { color: var(--muted); font-weight: 400; }
.field input,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--wine);
  border-radius: 14px;
  outline: none;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 16px; /* >=16px чтобы iOS не зумил при фокусе */
  transition: box-shadow .15s ease, background .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%236e1e27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field input::placeholder { color: #aaa092; }
.field input:focus, .field select:focus { background: #fff; box-shadow: 0 0 0 4px rgba(110, 30, 39, .11); }
.field input.is-invalid, .field select.is-invalid { border-color: #b52b36; box-shadow: 0 0 0 3px rgba(181, 43, 54, .11); }
.file-upload__input { position: absolute; width: 1px !important; height: 1px; padding: 0 !important; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.file-upload {
  display: flex !important;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  margin: 0 !important;
  padding: 13px 16px;
  border: 1.5px dashed var(--wine);
  border-radius: 14px;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease;
}
.file-upload:hover, .file-upload:focus-within { background: #fff; box-shadow: 0 0 0 4px rgba(110, 30, 39, .08); }
.file-upload__icon { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--wine); font-size: 25px; font-weight: 400; }
.file-upload__text { display: flex; flex-direction: column; }
.file-upload__text strong { color: var(--wine); font-size: 14px; }
.file-upload__text small { margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 500; }
.file-upload__name { display: block; margin-top: 6px; overflow: hidden; color: var(--olive); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field__error { display: block; min-height: 1px; margin-top: 4px; color: #b52b36; font-size: 12px; }
.field--captcha { margin: 14px 0 0; }
.field--captcha .cf-turnstile { min-height: 65px; }
.field__error--form { margin-top: 10px; font-size: 13px; text-align: center; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 5px 0; cursor: pointer; font-size: 13px; }
.consent input { flex: none; width: 17px; height: 17px; margin-top: 3px; accent-color: var(--wine); }
.consent a { color: var(--wine); }
.form-success { padding: 30px 0; text-align: center; }
.form-success__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; color: #fff; background: var(--wine); font-size: 34px; }
.form-success h3 { margin: 0 0 8px; color: var(--olive); font-size: 25px; }
.form-success p { margin: 0; color: var(--muted); }

.rules { padding: 100px 0; }
.rules__box { max-width: 900px; margin: 0 auto; padding: 42px 48px; border: 1.5px solid var(--wine); border-radius: 24px 80px 24px 80px; background: var(--white); }
.rules__box p { margin: 0 0 17px; }
.rules__box ul { margin: 0 0 18px; padding-left: 22px; }
.rules__box li { margin-bottom: 9px; }
.rules__box li::marker { color: var(--wine); }
.rules__note { padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.site-footer { padding: 42px 0; color: var(--cream); background: var(--olive); text-align: center; }
.brand--footer { margin-bottom: 12px; }
.brand--footer img { width: 150px; }
.site-footer p { margin: 0; font-size: 12px; opacity: .65; }

@media (max-width: 900px) {
  .site-header__nav > a:not(.header-cta) { display: none; }
  .hero { min-height: auto; }
  .hero__inner, .form-section__inner { grid-template-columns: 1fr; }
  .hero__text { text-align: center; }
  .hero__lead { margin-right: auto; margin-left: auto; }
  .hero__meta { justify-content: center; }
  .hero__art { width: min(560px, 92%); margin: 10px auto 0; }
  .steps__grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .step, .step:nth-child(2) { min-height: 0; transform: none; }
  .step__num { margin-bottom: 20px; }
  .form-section__intro { text-align: center; }
  .form-section__intro .section-kicker { text-align: center; }
  .form-section__intro p:not(.section-kicker) { margin-right: auto; margin-left: auto; }
  .form-card { max-width: 650px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }
  .btn { min-height: 54px; padding: 14px 26px; }
  .site-header__inner { min-height: 64px; }
  .brand img { width: 124px; }
  .site-header__nav .header-cta { padding: 10px 16px; font-size: 12px; }
  .hero { padding-top: 92px; padding-bottom: 56px; }
  .hero__eyebrow { margin-bottom: 16px; }
  .hero__title { margin-bottom: 18px; font-size: clamp(34px, 11.5vw, 52px); }
  .hero__lead { font-size: 15px; margin-bottom: 22px; }
  .hero__meta { gap: 26px; margin-bottom: 26px; }
  .hero__meta-num { font-size: 20px; }
  .hero__cta { width: 100%; }
  .hero__art { width: min(430px, 94%); padding: 24px 20px; border-radius: 80px 18px 80px 18px; }
  .hero__art::before { inset: 24px; border-radius: 60px 14px 60px 14px; }
  .hero__stamp { top: -14px; right: -6px; width: 84px; height: 84px; font-size: 11px; }
  .botanical--one { font-size: 58px; bottom: -28px; left: -10px; }
  .steps, .rules { padding: 64px 0; }
  .steps__grid { gap: 18px; }
  .section-title { margin-bottom: 30px; }
  .step { min-height: 0; padding: 26px; border-radius: 44px 16px 44px 16px; }
  .step__num { margin-bottom: 16px; font-size: 48px; }
  .form-section { padding: 64px 0; }
  .form-section__inner { gap: 38px; }
  .form-card { padding: 30px 18px; border-radius: 22px 48px 22px 22px; }
  .form-card__title { font-size: 26px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .rules__box { padding: 28px 20px; border-radius: 20px 48px 20px 48px; }
}

@media (max-width: 380px) {
  .hero__meta { flex-direction: column; gap: 14px; }
  .hero__stamp { width: 74px; height: 74px; font-size: 10px; }
  .file-upload { gap: 11px; padding: 12px 13px; }
  .file-upload__icon { width: 38px; height: 38px; font-size: 22px; }
  .form-card { padding: 26px 15px; }
}

/* Альбомная ориентация телефона — не тратим высоту на огромный отступ */
@media (max-width: 900px) and (orientation: landscape) {
  .hero { padding-top: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
