/* ==========================================================================
   YAKIMOV 26 — оптовая база ИП Якимова
   Палитра: тёмно-синий из логотипа, молочный фон, сырный жёлтый как акцент.
   ========================================================================== */

:root {
  --navy: #0e294b;
  --navy-2: #143962;
  --blue: #1b4f8a;
  --sky: #2d74c4;
  --amber: #f2a93b;
  --amber-2: #ffc45e;
  --ink: #14253d;
  --muted: #5a6a80;
  --line: rgba(14, 41, 75, 0.1);
  --bg: #f4f7fb;
  --cream: #fff8ea;
  --white: #ffffff;

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Unbounded", "Manrope", system-ui, sans-serif;

  --radius: 24px;
  --radius-sm: 14px;
  --shadow-card: 0 1px 2px rgba(14, 41, 75, 0.04), 0 14px 34px -20px rgba(14, 41, 75, 0.28);
  --shadow-lift: 0 2px 4px rgba(14, 41, 75, 0.05), 0 26px 48px -24px rgba(14, 41, 75, 0.38);
  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
fieldset {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

fieldset {
  border: 0;
  min-width: 0;
}

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(45, 116, 196, 0.5);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Кнопки
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.btn:focus-visible {
  border-radius: var(--radius-sm);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 24px -14px rgba(14, 41, 75, 0.75);
}

.btn--primary:hover {
  background: var(--navy-2);
  box-shadow: 0 16px 28px -14px rgba(14, 41, 75, 0.8);
}

.btn--ghost {
  background: var(--white);
  color: var(--navy);
  border-color: rgba(14, 41, 75, 0.16);
}

.btn--ghost:hover {
  border-color: var(--navy);
}

.btn--amber {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 12px 24px -14px rgba(242, 169, 59, 0.9);
}

.btn--amber:hover {
  background: var(--amber-2);
}

.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
  border-radius: 12px;
}

.btn--block {
  width: 100%;
}

.btn__arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: -8px;
  border-radius: 9px;
  background: var(--amber);
  color: var(--navy);
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn__arrow svg,
.btn__icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn__icon {
  color: var(--sky);
}

/* --------------------------------------------------------------------------
   Заставка
   -------------------------------------------------------------------------- */

.milk-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--white);
  animation: intro-up 1s cubic-bezier(0.7, 0, 0.2, 1) 0.8s forwards;
}

.milk-intro__brand img {
  width: min(300px, 62vw);
  animation: intro-logo 0.6s var(--ease) both;
}

.milk-intro__drips {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: 120px;
  fill: var(--white);
}

@keyframes intro-up {
  to {
    transform: translateY(calc(-100% - 130px));
    visibility: hidden;
  }
}

@keyframes intro-logo {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}

/* --------------------------------------------------------------------------
   Шапка
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 247, 251, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(14, 41, 75, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark img {
  width: auto;
  height: 46px;
  mix-blend-mode: multiply;
}

.brand__text {
  display: grid;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--navy);
  white-space: nowrap;
}

.brand__name em {
  font-style: normal;
  color: var(--amber);
}

.brand__tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.main-nav a:hover {
  background: rgba(14, 41, 75, 0.06);
  color: var(--navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-phone {
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--sky);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid rgba(14, 41, 75, 0.16);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Первый экран
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 44px 0 72px;
  background:
    radial-gradient(620px 420px at 88% 8%, rgba(255, 196, 94, 0.28), transparent 70%),
    radial-gradient(700px 520px at 6% 0%, rgba(45, 116, 196, 0.14), transparent 70%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.overline::before {
  content: "";
  flex: none;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--amber);
}

.overline--light {
  color: var(--amber-2);
}

.hero__title {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.9vw, 3.05rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.hl {
  background: linear-gradient(transparent 64%, rgba(242, 169, 59, 0.5) 64%, rgba(242, 169, 59, 0.5) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero__lead {
  margin-top: 22px;
  max-width: 34em;
  font-size: 18px;
  color: var(--muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.fact {
  padding-right: 20px;
}

.fact + .fact {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.fact dt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  line-height: 1.1;
  color: var(--navy);
  white-space: nowrap;
}

.fact dd {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 540px);
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 6% -5% -6% 8%;
  border-radius: 44px;
  background: linear-gradient(150deg, var(--amber-2), var(--amber));
  transform: rotate(4deg);
  opacity: 0.9;
}

.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  background: #e9f1fa;
  box-shadow: var(--shadow-lift);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 36px -20px rgba(14, 41, 75, 0.55);
  line-height: 1.25;
  animation: bob 6s ease-in-out infinite;
}

.hero-badge strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

.hero-badge small {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.hero-badge--top {
  top: 26px;
  left: -34px;
}

.hero-badge--bottom {
  right: -18px;
  bottom: 34px;
  animation-delay: -3s;
}

.hero-badge__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--white);
}

.hero-badge__icon img {
  width: auto;
  height: 32px;
}

.hero-badge__icon--pin {
  background: var(--navy);
  color: var(--amber-2);
}

.hero-badge__icon--pin svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drop {
  position: absolute;
  z-index: 1;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: var(--white);
  box-shadow: inset -3px -4px 8px rgba(45, 116, 196, 0.22), 0 8px 16px -8px rgba(14, 41, 75, 0.4);
  animation: bob 5s ease-in-out infinite;
}

.drop--1 {
  top: -14px;
  right: 16%;
  width: 22px;
  height: 28px;
}

.drop--2 {
  bottom: -20px;
  left: 14%;
  width: 28px;
  height: 36px;
  animation-delay: -1.5s;
}

.drop--3 {
  top: 46%;
  left: -26px;
  width: 16px;
  height: 21px;
  animation-delay: -3s;
}

@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}

/* Появление первого экрана после заставки */
.js .hero__text > *,
.js .hero__visual {
  animation: rise 0.8s var(--ease) both;
  animation-delay: 1.25s;
}

.js .hero__text > :nth-child(2) {
  animation-delay: 1.33s;
}

.js .hero__text > :nth-child(3) {
  animation-delay: 1.41s;
}

.js .hero__text > :nth-child(4) {
  animation-delay: 1.49s;
}

.js .hero__text > :nth-child(5) {
  animation-delay: 1.57s;
}

.js .hero__visual {
  animation-delay: 1.35s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

/* --------------------------------------------------------------------------
   Лента марок
   -------------------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.marquee__track {
  display: flex;
  width: max-content;
  padding: 18px 0;
}

.marquee__track.is-running {
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  white-space: nowrap;
}

.marquee__track span::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-inline: 26px;
  border-radius: 50%;
  background: var(--amber);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Общие блоки
   -------------------------------------------------------------------------- */

.section {
  padding: 96px 0;
}

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

.section-head {
  max-width: 700px;
  margin-bottom: 44px;
}

.section-title {
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.9vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.section-title--light {
  color: var(--white);
}

.section-desc {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
}

.card-title {
  margin-top: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--navy);
}

.card-title--light {
  margin-top: 0;
  color: var(--white);
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Что возим
   -------------------------------------------------------------------------- */

.goods-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
}

.good {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.7s var(--ease);
}

.good:hover {
  box-shadow: var(--shadow-lift);
}

.js .good.reveal.is-visible:hover {
  transform: translateY(-4px);
}

.good__photo {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eaf1f9;
}

.good__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.good:hover .good__photo img {
  transform: scale(1.045);
}

.good__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}

.good__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--navy);
}

.good__text {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
}

.tags li {
  padding: 5px 10px;
  border-radius: 8px;
  background: #edf2f9;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.good--wide {
  grid-column: span 12;
  flex-direction: row;
  min-height: 360px;
}

.good--wide .good__photo {
  flex: 0 0 50%;
  aspect-ratio: auto;
}

.good--wide .good__body {
  justify-content: center;
  padding: 40px 44px;
}

.good--wide .good__title {
  font-size: 1.45rem;
}

.good--wide .good__text {
  font-size: 16.5px;
}

.good--wide .tags {
  margin-top: 0;
}

.ask-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 22px;
  padding: 20px 24px;
  border: 1.5px dashed rgba(14, 41, 75, 0.2);
  border-radius: var(--radius);
  font-size: 16px;
  color: var(--muted);
}

.ask-bar strong {
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Дистрибьютор
   -------------------------------------------------------------------------- */

.band {
  position: relative;
  padding: 150px 0 96px;
  background:
    radial-gradient(560px 380px at 90% 100%, rgba(242, 169, 59, 0.16), transparent 70%),
    linear-gradient(160deg, #0b2140, var(--navy) 45%, #163f6d);
  color: var(--white);
}

.band__drips {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 90px;
  fill: var(--bg);
}

.band__head {
  max-width: 760px;
}

.band__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.band-card {
  padding: 30px 30px 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.band-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
}

.band-card h3::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin-top: 14px;
  border-radius: 4px;
  background: var(--amber);
}

.band-card p {
  margin-top: 16px;
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.8);
}

.band__note {
  margin-top: 28px;
  max-width: 760px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.66);
}

/* --------------------------------------------------------------------------
   Как работаем
   -------------------------------------------------------------------------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.work-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--cream);
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px rgba(242, 169, 59, 0.55);
}

.work-card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-card h3 {
  margin-top: 20px;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
}

.work-card p {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Куда возим
   -------------------------------------------------------------------------- */

.geo {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}

.geo__hint {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 3px solid var(--amber);
  font-size: 16px;
  color: var(--ink);
}

.geo__cities {
  padding: 30px;
  border: 1px solid rgba(14, 41, 75, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cities li {
  padding: 8px 14px;
  border-radius: 999px;
  background: #edf2f9;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.cities .cities__hub {
  background: var(--navy);
  color: var(--white);
}

.cities .cities__far {
  background: var(--cream);
  box-shadow: inset 0 0 0 1.5px rgba(242, 169, 59, 0.7);
}

.cities .cities__more {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(14, 41, 75, 0.22);
  color: var(--muted);
}

.cities__legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}

.cities__legend span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: inset 0 0 0 1.5px rgba(242, 169, 59, 0.9);
}

/* --------------------------------------------------------------------------
   Как начать
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid rgba(14, 41, 75, 0.12);
  counter-increment: step;
}

.step::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--bg);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  color: rgba(14, 41, 75, 0.16);
}

.step h3 {
  margin-top: 14px;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
}

.step p {
  margin-top: 8px;
  padding-right: 12px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Реквизиты и заявка
   -------------------------------------------------------------------------- */

.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
  align-items: start;
}

.req {
  padding: 32px;
  border: 1px solid rgba(14, 41, 75, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.req__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.req__list > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.45;
}

.req__list dt {
  color: var(--muted);
}

.req__list dd {
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.req__list a {
  color: var(--blue);
}

.req__list a:hover {
  text-decoration: underline;
}

.lead {
  padding: 32px;
  border-radius: var(--radius);
  background:
    radial-gradient(380px 260px at 100% 0%, rgba(242, 169, 59, 0.2), transparent 70%),
    linear-gradient(160deg, #0b2140, var(--navy) 50%, #163f6d);
  color: var(--white);
  box-shadow: var(--shadow-lift);
}

.lead__desc {
  margin-top: 10px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.76);
}

.lead__form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 7px;
}

.field > span,
.choices legend {
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 16px;
  transition: border-color 0.2s, background-color 0.2s;
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.field input:focus {
  outline: none;
  border-color: var(--amber-2);
  background: rgba(255, 255, 255, 0.12);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choices legend {
  margin-bottom: 9px;
}

.choices label {
  position: relative;
  cursor: pointer;
}

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

.choices label span {
  display: block;
  padding: 9px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.86);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.choices input:checked + span {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--navy);
}

.choices input:focus-visible + span {
  outline: 3px solid rgba(255, 196, 94, 0.6);
  outline-offset: 2px;
}

.lead__note {
  font-size: 14.5px;
  line-height: 1.5;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.lead__note a {
  font-weight: 800;
  color: var(--white);
  white-space: nowrap;
}

.lead__note.is-done {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 34px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

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

.site-footer__logo {
  width: 168px;
}

.site-footer__copy {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.site-footer__links {
  display: grid;
  gap: 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-align: right;
}

.site-footer__links a:hover {
  color: var(--sky);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.site-footer__legal a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.mobile-bar {
  display: none;
}

/* Пункт «Войти в ЛК» в меню нужен только там, где кнопка в шапке уже не помещается. */
.main-nav .main-nav__lk {
  display: none;
}

.btn:disabled {
  opacity: 0.65;
  cursor: progress;
}

/* --------------------------------------------------------------------------
   Розница
   -------------------------------------------------------------------------- */

.retail {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: inset 0 0 0 1.5px rgba(242, 169, 59, 0.55);
}

.retail > div {
  flex: 1;
}

.retail__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--amber);
  color: var(--navy);
}

.retail__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.retail h3 {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
}

.retail p {
  margin-top: 4px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Форма: согласие и поле-ловушка для роботов
   -------------------------------------------------------------------------- */

.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--amber);
  cursor: pointer;
}

.consent a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lead__note.is-error {
  background: rgba(255, 120, 90, 0.18);
}

/* --------------------------------------------------------------------------
   Планшет
   -------------------------------------------------------------------------- */

@media (max-width: 1240px) {
  .burger {
    display: block;
  }

  .header-inner {
    justify-content: space-between;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 10px 24px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(14, 41, 75, 0.55);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 12px;
    font-size: 17px;
  }
}

@media (max-width: 880px) {
  .header-lk {
    display: none;
  }

  .main-nav .main-nav__lk {
    display: block;
    margin-top: 8px;
    border: 1.5px solid rgba(14, 41, 75, 0.16);
    background: var(--white);
    text-align: center;
  }
}

@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    justify-self: center;
    width: min(100% - 40px, 520px);
  }

  .good {
    grid-column: span 6;
  }

  .good--wide {
    grid-column: span 12;
    min-height: 320px;
  }

  .good--wide .good__body {
    padding: 30px 32px;
  }

  .work-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    row-gap: 36px;
  }

  .geo,
  .contacts {
    grid-template-columns: 1fr;
  }

  .geo {
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   Телефон
   -------------------------------------------------------------------------- */

@media (max-width: 720px) {
  body {
    padding-bottom: 78px;
    font-size: 16px;
  }

  .container {
    width: min(1200px, 100% - 32px);
  }

  .header-inner {
    min-height: 64px;
  }

  .header-phone,
  .header-actions .btn {
    display: none;
  }

  .main-nav {
    padding-inline: 16px;
  }

  .brand__mark img {
    height: 40px;
  }

  .hero {
    padding: 24px 0 56px;
  }

  .hero__lead,
  .section-desc {
    font-size: 16.5px;
  }

  .hero__cta .btn {
    flex: 1 1 100%;
  }

  .facts {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 30px;
    padding-top: 0;
    border-top: 0;
  }

  .fact,
  .fact + .fact {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .fact dd {
    margin-top: 0;
  }

  .hero__visual {
    width: min(100% - 28px, 440px);
  }

  .hero-photo {
    border-radius: 30px;
  }

  .hero__visual::before {
    border-radius: 32px;
  }

  .hero-badge {
    padding: 9px 12px 9px 9px;
    border-radius: 14px;
  }

  .hero-badge--top {
    top: 14px;
    left: -14px;
  }

  .hero-badge--bottom {
    right: -14px;
    bottom: 18px;
  }

  .hero-badge__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .hero-badge__icon img {
    height: 26px;
  }

  .hero-badge strong {
    font-size: 12.5px;
  }

  .hero-badge small {
    font-size: 11.5px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .goods-grid {
    gap: 16px;
  }

  .good,
  .good--wide {
    grid-column: span 12;
    flex-direction: column;
    min-height: 0;
  }

  .good--wide .good__photo {
    flex: none;
    aspect-ratio: 4 / 3;
  }

  .good--wide .good__body,
  .good__body {
    padding: 22px 20px 24px;
  }

  .good--wide .good__title {
    font-size: 1.25rem;
  }

  .good--wide .tags {
    padding-top: 16px;
  }

  .ask-bar {
    padding: 18px 20px;
  }

  .ask-bar .btn {
    width: 100%;
  }

  .band {
    padding: 104px 0 64px;
  }

  .band__drips {
    height: 56px;
  }

  .band__cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 30px;
  }

  .band-card {
    padding: 24px 22px 26px;
  }

  .work-grid,
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps {
    row-gap: 30px;
  }

  .geo__cities,
  .req,
  .lead {
    padding: 22px 20px;
  }

  .req__head {
    align-items: center;
  }

  .req__list > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .req__list dt {
    font-size: 13.5px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .retail {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 36px;
    padding: 22px 20px;
  }

  .retail .btn {
    width: 100%;
  }

  .site-footer__legal {
    flex-direction: column;
    gap: 10px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__links {
    text-align: left;
  }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(244, 247, 251, 0.94);
    border-top: 1px solid var(--line);
  }

  .mobile-bar .btn {
    min-height: 50px;
    padding: 0 12px;
  }
}

/* --------------------------------------------------------------------------
   Без анимации, если человек её отключил в системе
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .milk-intro {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
