/* ==================================================
   ЭСПИ — clean production stylesheet v10.51
   ================================================== */

:root {
  --bg: #050505;
  --surface: #101010;
  --surface-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.10);
  --line-gold: rgba(217, 170, 79, 0.45);
  --gold: #d9aa4f;
  --gold-light: #f1d384;
  --text: #f7f4ee;
  --muted: rgba(255, 255, 255, 0.72);
  --muted-soft: rgba(255, 255, 255, 0.52);
  --orange: #ff7a26;
  --blue: #2ba8ff;
  --green: #38d667;
  --pink: #ff62b7;
  --gray: #cfcfcf;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --font: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 170, 79, 0.055), transparent 36%),
    linear-gradient(180deg, #050505 0%, #080808 44%, #050505 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(100% - 72px, 1760px); margin: 0 auto; }

/* Common UI */
.button, .cart-btn, .composition__btn {
  border: 0;
  cursor: pointer;
  user-select: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  min-width: 254px;
  padding: 0 34px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
}
.button--primary {
  color: #111;
  background: linear-gradient(135deg, #f1d384 0%, #c89135 100%);
  box-shadow: 0 18px 44px rgba(201, 154, 72, .18);
}
.button--primary:hover, .button--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(201, 154, 72, .28);
}
.button--ghost {
  color: var(--text);
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.025);
}
.button--ghost:hover, .button--ghost:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(217,170,79,.32);
  background: rgba(255,255,255,.045);
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 64px);
  line-height: .98;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.section-head > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  color: var(--gold-light);
  font-weight: 700;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.section-head > a:hover { transform: translateY(-1px); background: rgba(217,170,79,.08); border-color: rgba(241,211,132,.72); }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.section-kicker::before, .hero__eyebrow::before {
  content: "";
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, rgba(217,170,79,.95), rgba(217,170,79,0));
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-color: #050505;
  background-image:
    linear-gradient(90deg,
      rgba(5,5,5,.99) 0%, rgba(5,5,5,.985) 22%, rgba(5,5,5,.94) 36%,
      rgba(5,5,5,.78) 49%, rgba(5,5,5,.44) 61%, rgba(5,5,5,.16) 74%, rgba(5,5,5,.04) 100%),
    linear-gradient(180deg, rgba(5,5,5,.58) 0%, rgba(5,5,5,.20) 20%, rgba(5,5,5,.08) 58%, rgba(5,5,5,.66) 100%),
    url("../images/hero/hero-espi-final-cover-bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 70% 38%, rgba(211,164,84,.13), transparent 30%),
    radial-gradient(circle at 19% 22%, rgba(211,164,84,.045), transparent 24%);
}
.header, .hero__inner { position: relative; }
.header { z-index: 10; }
.header {
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(90deg, rgba(5,5,5,.80), rgba(5,5,5,.35), rgba(5,5,5,.70));
  backdrop-filter: blur(8px);
}
.header__inner {
  min-height: 112px;
  display: grid;
  grid-template-columns: 260px 1fr 190px;
  align-items: center;
  gap: 28px;
}
.logo {
  display: block;
  width: 220px;
  height: 82px;
  filter: drop-shadow(0 14px 28px rgba(201,154,72,.24));
}
.logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 3.1vw, 58px); }
.nav a { color: rgba(255,255,255,.86); font-size: 17px; font-weight: 700; transition: color .2s ease; }
.nav a:hover { color: var(--gold-light); }
.actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.actions button {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #fff;
  border: 0;
  background: transparent;
}
.actions .cart span {
  position: absolute;
  top: -10px;
  right: -12px;
  min-width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #111;
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}
.hero__inner {
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(44px, 6vw, 104px);
  min-height: calc(100vh - 154px);
  padding: 34px 0 44px;
}
.hero__content { position: relative; z-index: 6; max-width: 680px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
  color: var(--gold-light);
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 12px 0 18px;
  max-width: 720px;
  font-size: clamp(48px, 4.7vw, 76px);
  line-height: .96;
  letter-spacing: -.035em;
  font-weight: 900;
  text-shadow: 0 18px 42px rgba(0,0,0,.42);
}
.hero__title-line { display: block; white-space: nowrap; }
.hero__title-line--intro {
  color: #f7f4ee;
  text-shadow: 0 16px 34px rgba(0,0,0,.38);
}
.hero__title-line:not(.hero__title-line--intro), .hero__title-line--accent {
  background: linear-gradient(92deg, #ffe7a5 0%, #e7bd59 42%, #c18b2f 78%, #8e5a18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__title::after {
  content: "";
  display: block;
  width: 52px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, rgba(218,174,82,.86), rgba(218,174,82,.36) 62%, rgba(218,174,82,0));
}
.hero__text {
  max-width: 610px;
  margin: 0 0 26px;
  color: rgba(255,255,255,.88);
  font-size: clamp(18px, 1.2vw, 21px);
  line-height: 1.52;
  text-shadow: 0 12px 30px rgba(0,0,0,.30);
}
.hero__buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.hero__mini-features { display: flex; flex-wrap: wrap; gap: 12px 24px; color: rgba(255,255,255,.58); font-size: 15px; }
.hero__mini-features span:not(:last-child)::after { content: "•"; margin-left: 24px; color: rgba(217,170,79,.80); }

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding: 56px 0 42px;
}
.benefits article {
  min-height: 168px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.014));
}
.benefits svg { color: var(--gold-light); margin-bottom: 18px; }
.benefits h3 { margin: 0 0 8px; font-size: 18px; }
.benefits p { margin: 0; color: var(--muted-soft); line-height: 1.45; }

/* Catalog */
.catalog { padding: 76px 0 80px; }
.product-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 626px;
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(217,170,79,.06), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 22px 46px rgba(0,0,0,.22);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(217,170,79,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 28px 64px rgba(0,0,0,.34), 0 0 42px rgba(217,170,79,.055);
}
.card-img {
  width: 100%;
  height: clamp(248px, 18.6vw, 304px);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 55%, rgba(217,170,79,.08), transparent 58%), rgba(255,255,255,.018);
}
.card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.98) contrast(1.03) brightness(.96);
  transition: transform .35s ease, filter .35s ease;
}
.card:hover .card-img img { transform: scale(1.025); filter: saturate(1) contrast(1.05) brightness(1); }
.card h3 {
  min-height: 52px;
  margin: 0 0 10px;
  font-size: clamp(22px, 1.72vw, 28px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.card p {
  min-height: 50px;
  margin: 0 0 16px;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.4;
}
.card small { display: block; color: var(--muted-soft); font-size: 13px; }
.card b { display: block; margin-top: auto; margin-bottom: 14px; color: #fff; font-size: 26px; line-height: 1; }
.card-orange h3 { color: var(--orange); }
.card-blue h3 { color: var(--blue); }
.card-green h3 { color: var(--green); }
.card-pink h3 { color: var(--pink); }
.card-gray h3 { color: var(--gray); }
.card-gold h3 { color: var(--gold-light); }
.composition { position: relative; margin: 18px 0 16px; }
.composition__btn {
  width: 100%;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(217,170,79,.48);
  color: var(--gold-light);
  background: rgba(217,170,79,.045);
  font-size: 15px;
  font-weight: 800;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.composition__btn:hover, .composition__btn:focus-visible, .composition.is-open .composition__btn {
  transform: translateY(-1px);
  border-color: rgba(242,209,132,.88);
  color: #fff;
  background: rgba(217,170,79,.14);
  box-shadow: 0 10px 24px rgba(217,170,79,.08);
}
.composition__popup {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 14px);
  z-index: 20;
  padding: 18px;
  border: 1px solid rgba(217,170,79,.34);
  border-radius: 16px;
  color: var(--text);
  background: radial-gradient(circle at 50% 0%, rgba(217,170,79,.14), transparent 42%), rgba(9,9,10,.97);
  box-shadow: 0 22px 54px rgba(0,0,0,.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.composition__popup strong { display: block; margin-bottom: 8px; color: var(--gold-light); }
.composition__popup p { min-height: 0; margin: 0; font-size: 13px; line-height: 1.52; }
.composition:hover .composition__popup, .composition.is-open .composition__popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cart-btn {
  width: 100%;
  height: 54px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg,#f0d27c,#c8953f);
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(201,154,72,.14);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.cart-btn:hover, .cart-btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04) saturate(1.04);
  box-shadow: 0 18px 38px rgba(201,154,72,.22);
}

/* Delivery */
.delivery {
  padding: 88px 0 72px;
}
.delivery__head p {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.45;
}
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.delivery-card {
  min-height: 330px;
  padding: 40px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 28px;
  background: radial-gradient(circle at 16% 0%, rgba(217,170,79,.14), transparent 36%), linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: var(--shadow);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.delivery-card:hover { transform: translateY(-5px); border-color: rgba(217,170,79,.30); box-shadow: 0 34px 80px rgba(0,0,0,.36); }
.delivery-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.delivery-card__icon, .delivery-card__badge {
  display: grid;
  place-items: center;
  border: 1px solid rgba(217,170,79,.25);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(217,170,79,.08);
}
.delivery-card__icon { width: 76px; height: 76px; }
.delivery-card__badge { width: 58px; height: 58px; font-weight: 900; }
.delivery-card h3 { margin: 0 0 20px; color: var(--gold-light); font-size: clamp(24px, 1.8vw, 32px); }
.delivery-card p { margin: 0 0 34px; color: var(--muted); font-size: 18px; line-height: 1.5; }
.delivery-card strong { display: inline-block; padding-top: 18px; min-width: 220px; border-top: 1px solid rgba(217,170,79,.38); font-size: 19px; }
.delivery-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 32px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
}
.step { display: flex; align-items: center; gap: 20px; min-height: 132px; padding: 28px 36px; border-right: 1px solid rgba(255,255,255,.08); }
.step:last-child { border-right: 0; }
.step span { color: var(--gold); font-size: 30px; font-weight: 900; }
.step p { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.25; }

/* About */
.brand-about {
  position: relative;
  min-height: 760px;
  padding: 84px 88px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 34px;
  background-color: #070707;
  background-image:
    linear-gradient(90deg, rgba(5,5,5,.99) 0%, rgba(5,5,5,.96) 32%, rgba(5,5,5,.64) 49%, rgba(5,5,5,.18) 72%, rgba(5,5,5,.08) 100%),
    linear-gradient(180deg, rgba(5,5,5,.28), rgba(5,5,5,.28)),
    url("../images/about/about-background-premium.webp");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.brand-about__content { position: relative; z-index: 2; max-width: 780px; }
.brand-about h2 { margin: 0 0 30px; font-size: clamp(52px, 5.2vw, 92px); line-height: .96; letter-spacing: -.055em; }
.brand-about p { max-width: 760px; margin: 0 0 22px; color: rgba(255,255,255,.78); font-size: 22px; line-height: 1.55; }
.brand-about__lead { color: rgba(255,255,255,.92) !important; font-weight: 700; }
.brand-about__features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 44px 0; max-width: 900px; }
.brand-about__chip {
  min-height: 138px;
  padding: 24px;
  border: 1px solid rgba(217,170,79,.22);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.brand-about__chip:hover { transform: translateY(-3px); border-color: rgba(217,170,79,.38); background: rgba(255,255,255,.055); }
.brand-about__chip strong { display: block; margin-bottom: 12px; color: var(--gold-light); font-size: 18px; }
.brand-about__chip span { color: rgba(255,255,255,.65); }
.brand-about__actions { display: flex; align-items: center; gap: 24px; }
.brand-about__note { color: rgba(255,255,255,.55); font-size: 16px; }

/* Footer */
.footer { padding: 34px 0; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.48); }
.footer__inner { display: grid; grid-template-columns: 1fr auto auto auto; gap: 34px; align-items: center; color: rgba(255,255,255,.58); }
.socials { display: flex; gap: 12px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.socials a:hover { color: var(--gold-light); border-color: rgba(217,170,79,.34); transform: translateY(-1px); }
.socials span { font-size: 12px; font-weight: 900; }

/* Adaptive */
@media (max-width: 1280px) {
  .header__inner { grid-template-columns: 210px 1fr 160px; }
  .logo { width: 180px; height: 70px; }
  .nav { gap: 24px; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .delivery-card { padding: 32px; }
  .brand-about { padding: 64px; }
}
@media (max-width: 1180px) {
  .product-grid, .delivery-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 980px) {
  .container { width: min(100% - 36px, 1760px); }
  .header__inner { min-height: 86px; grid-template-columns: 1fr auto; }
  .logo { width: 166px; height: 62px; }
  .nav { display: none; }
  .hero {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.86) 38%, rgba(5,5,5,.62) 70%, rgba(5,5,5,.92) 100%),
      url("../images/hero/hero-espi-final-cover-bg.webp");
    background-position: center center, 70% bottom;
  }
  .hero::before { display: none; }
  .hero__inner { grid-template-columns: 1fr; min-height: auto; padding: 34px 0 300px; }
  .hero__title { font-size: clamp(38px, 10vw, 58px); max-width: 100%; }
  .hero__title-line { white-space: normal; }
  .button { width: 100%; min-width: 0; }
  .hero__buttons { flex-direction: column; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .brand-about {
    min-height: auto;
    padding: 42px 24px 360px;
    background-image:
      linear-gradient(180deg, rgba(5,5,5,.98) 0%, rgba(5,5,5,.86) 54%, rgba(5,5,5,.30) 100%),
      url("../images/about/about-background-premium.webp");
    background-position: center bottom;
  }
  .brand-about__features { grid-template-columns: 1fr; }
  .brand-about__actions { flex-direction: column; align-items: flex-start; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 720px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .product-grid, .delivery-grid, .benefits { grid-template-columns: 1fr; }
  .catalog { padding-top: 54px; }
  .card { min-height: auto; padding: 20px; }
  .card-img { height: 280px; }
  .delivery-steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .step:last-child { border-bottom: 0; }
  .delivery-card { min-height: auto; padding: 28px; }
}


/* Contacts block v10.53 */
.contacts {
  margin-top: 72px;
  margin-bottom: 72px;
  padding: clamp(34px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: clamp(32px, 4vw, 56px);
  align-items: stretch;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 86% 18%, rgba(217,170,79,.13), transparent 32%),
    radial-gradient(circle at 12% 8%, rgba(217,170,79,.06), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,.046), rgba(255,255,255,.014));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 28px 70px rgba(0,0,0,.32);
  overflow: hidden;
}

.contacts h2 {
  margin: 0 0 24px;
  font-size: clamp(42px, 4vw, 72px);
  line-height: .95;
  letter-spacing: -.045em;
  font-weight: 500;
}

.contacts__lead {
  max-width: 760px;
  margin: 0 0 38px;
  color: rgba(255,255,255,.80);
  font-size: clamp(18px, 1.25vw, 21px);
  line-height: 1.56;
}

.contacts__info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contacts__item {
  min-height: 132px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
  border: 1px solid rgba(217,170,79,.16);
  background: rgba(255,255,255,.025);
  color: inherit;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.contacts__item:hover {
  transform: translateY(-3px);
  border-color: rgba(217,170,79,.36);
  background: rgba(217,170,79,.055);
  box-shadow: 0 18px 38px rgba(0,0,0,.20);
}

.contacts__item span {
  display: block;
  margin-bottom: 14px;
  color: rgba(255,255,255,.54);
  font-size: 14px;
  font-weight: 700;
}

.contacts__item strong {
  color: var(--gold-light);
  font-size: 18px;
  line-height: 1.36;
}

.contacts__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contacts__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(217,170,79,.24);
  color: var(--gold-light);
  background: rgba(217,170,79,.035);
  font-weight: 800;
  font-size: 13px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.contacts__socials a:hover {
  transform: translateY(-1px);
  border-color: rgba(241,211,132,.55);
  background: rgba(217,170,79,.10);
}

.contacts__form {
  padding: clamp(24px, 2.2vw, 32px);
  border-radius: 26px;
  border: 1px solid rgba(217,170,79,.20);
  background:
    radial-gradient(circle at 50% 0%, rgba(217,170,79,.12), transparent 42%),
    rgba(8,8,9,.72);
  box-shadow: 0 22px 54px rgba(0,0,0,.28);
}

.contacts__form h3 {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.contacts__form label {
  display: block;
  margin-bottom: 16px;
}

.contacts__form label span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.64);
  font-size: 14px;
  font-weight: 700;
}

.contacts__form input,
.contacts__form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: #fff;
  padding: 15px 16px;
  font: inherit;
  outline: none;
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.contacts__form textarea {
  min-height: 118px;
  resize: vertical;
}

.contacts__form input::placeholder,
.contacts__form textarea::placeholder {
  color: rgba(255,255,255,.35);
}

.contacts__form input:focus,
.contacts__form textarea:focus {
  border-color: rgba(217,170,79,.46);
  background: rgba(255,255,255,.065);
  box-shadow: 0 0 0 4px rgba(217,170,79,.055);
}

.contacts__form button {
  width: 100%;
  height: 58px;
  margin-top: 8px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg,#f0d27c,#c8953f);
  color: #111;
  font-weight: 900;
  font-size: 17px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.contacts__form button:hover,
.contacts__form button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 18px 38px rgba(201,154,72,.22);
}

@media (max-width: 1180px) {
  .contacts {
    grid-template-columns: 1fr;
  }

  .contacts__info {
    grid-template-columns: 1fr;
  }

  .contacts__item {
    min-height: 110px;
  }
}

@media (max-width: 720px) {
  .contacts {
    margin-top: 48px;
    margin-bottom: 48px;
    padding: 28px 22px;
    border-radius: 24px;
  }

  .contacts__lead {
    margin-bottom: 28px;
  }

  .contacts__socials {
    gap: 8px;
  }
}

/* Cart / basic shop logic v10.55 */
body.cart-open { overflow: hidden; }

.actions .cart {
  cursor: pointer;
  transition: color .22s ease, transform .22s ease;
}
.actions .cart:hover,
.actions .cart:focus-visible {
  color: var(--gold-light);
  transform: translateY(-1px);
}
.actions .cart span.is-pulse {
  animation: cartPulse .34s ease;
}
@keyframes cartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}
.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: min(100%, 470px);
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--text);
  background:
    radial-gradient(circle at 70% 0%, rgba(217,170,79,.18), transparent 34%),
    linear-gradient(180deg, rgba(18,18,18,.98), rgba(7,7,8,.985));
  border-left: 1px solid rgba(217,170,79,.20);
  box-shadow: -28px 0 80px rgba(0,0,0,.45);
  transform: translateX(104%);
  transition: transform .32s ease;
  overflow: hidden;
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__head {
  min-height: 118px;
  padding: 28px 28px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cart-drawer__head span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.cart-drawer__head h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -.04em;
}
.cart-drawer__close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.035);
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}
.cart-drawer__close:hover,
.cart-drawer__close:focus-visible {
  transform: rotate(6deg);
  border-color: rgba(217,170,79,.40);
  color: var(--gold-light);
  background: rgba(217,170,79,.07);
}

.cart-drawer__body {
  min-height: 0;
  padding: 22px 24px;
  overflow: auto;
}
.cart-empty {
  display: none;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.035);
}
.cart-empty.is-visible { display: block; }
.cart-empty strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}
.cart-empty p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.66);
  line-height: 1.5;
}
.cart-empty__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(217,170,79,.42);
  color: var(--gold-light);
  font-weight: 800;
}

.cart-items {
  display: grid;
  gap: 14px;
}
.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
}
.cart-item__image {
  width: 78px;
  height: 86px;
  border-radius: 16px;
  object-fit: cover;
  background: rgba(255,255,255,.04);
}
.cart-item__content {
  min-width: 0;
  display: grid;
  gap: 10px;
}
.cart-item__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.cart-item__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.24;
  font-weight: 900;
}
.cart-item__price {
  white-space: nowrap;
  color: var(--gold-light);
  font-size: 15px;
  font-weight: 900;
}
.cart-item__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(217,170,79,.20);
  background: rgba(217,170,79,.035);
  overflow: hidden;
}
.cart-qty button {
  width: 38px;
  height: 38px;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  transition: background .22s ease, color .22s ease;
}
.cart-qty button:hover,
.cart-qty button:focus-visible {
  color: #111;
  background: var(--gold-light);
}
.cart-qty span {
  min-width: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}
.cart-remove {
  border: 0;
  color: rgba(255,255,255,.52);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: color .22s ease;
}
.cart-remove:hover,
.cart-remove:focus-visible { color: var(--gold-light); }

.cart-drawer__footer {
  padding: 22px 28px 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.cart-summary {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.cart-summary span {
  color: rgba(255,255,255,.60);
  font-weight: 800;
}
.cart-summary strong {
  color: #fff;
  font-size: 30px;
  line-height: 1;
}
.cart-checkout {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 14px;
  color: #111;
  background: linear-gradient(135deg,#f0d27c,#c8953f);
  box-shadow: 0 16px 34px rgba(201,154,72,.18);
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .25s ease, filter .25s ease, box-shadow .25s ease;
}
.cart-checkout:hover,
.cart-checkout:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 20px 44px rgba(201,154,72,.28);
}
.cart-checkout:disabled {
  cursor: default;
  transform: none;
  opacity: .52;
  filter: grayscale(.3);
  box-shadow: none;
}
.cart-drawer__footer p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.50);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.cart-btn.is-added {
  background: linear-gradient(135deg, #fff1b8, #d5a548);
  color: #101010;
}

@media (max-width: 560px) {
  .cart-drawer {
    width: 100%;
  }
  .cart-drawer__head {
    min-height: 104px;
    padding: 24px 20px 18px;
  }
  .cart-drawer__body {
    padding: 18px 16px;
  }
  .cart-drawer__footer {
    padding: 18px 20px 22px;
  }
  .cart-item {
    grid-template-columns: 68px 1fr;
  }
  .cart-item__image {
    width: 68px;
    height: 76px;
  }
  .cart-summary strong {
    font-size: 26px;
  }
}

/* ==================================================
   ESPI v10.56 — checkout modal + YooKassa payment flow
   ================================================== */

body.checkout-open { overflow: hidden; }

.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(0,0,0,.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
  backdrop-filter: blur(8px);
}

.checkout-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 80;
  width: min(100% - 48px, 1120px);
  max-height: min(88vh, 860px);
  transform: translate(-50%, -46%) scale(.985);
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  border: 1px solid rgba(217,170,79,.22);
  background:
    radial-gradient(circle at 88% 6%, rgba(217,170,79,.15), transparent 36%),
    linear-gradient(145deg, rgba(24,22,19,.98), rgba(8,8,9,.98));
  box-shadow: 0 34px 110px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
  transition: opacity .28s ease, transform .28s ease;
}

.checkout-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.checkout-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.checkout-modal__head span {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.checkout-modal__head h2 {
  margin: 8px 0 0;
  font-size: clamp(34px, 3.2vw, 54px);
  line-height: .95;
  letter-spacing: -.04em;
}

.checkout-modal__close {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.checkout-modal__close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.checkout-modal__close:hover { transform: rotate(90deg); border-color: rgba(217,170,79,.42); background: rgba(217,170,79,.08); }

.checkout-modal__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 30px 34px 34px;
  overflow: auto;
}

.checkout-form { min-width: 0; }
.checkout-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.checkout-form label { display: block; margin-bottom: 16px; }
.checkout-form label span { display: block; margin-bottom: 8px; color: rgba(255,255,255,.62); font-size: 14px; }

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: #fff;
  padding: 15px 16px;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.checkout-form textarea { min-height: 104px; resize: vertical; }
.checkout-form input:focus,
.checkout-form textarea:focus { border-color: rgba(217,170,79,.48); background: rgba(255,255,255,.065); box-shadow: 0 0 0 4px rgba(217,170,79,.06); }

.checkout-pay {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg,#f0d27c,#c8953f);
  color: #111;
  font-weight: 900;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(201,154,72,.18);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.checkout-pay:hover,
.checkout-pay:focus-visible { transform: translateY(-2px); filter: brightness(1.03); box-shadow: 0 22px 44px rgba(201,154,72,.26); }
.checkout-pay:disabled { opacity: .6; cursor: wait; transform: none; }
.checkout-note { margin: 12px 0 0; color: rgba(255,255,255,.54); font-size: 13px; line-height: 1.45; }
.checkout-status { margin-top: 14px; color: #f0d27c; font-size: 14px; line-height: 1.45; }
.checkout-status.is-error { color: #ffb3a4; }
.checkout-status.is-success { color: #dff7c2; }

.checkout-order {
  align-self: start;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(217,170,79,.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(217,170,79,.12), transparent 42%),
    rgba(255,255,255,.035);
}

.checkout-order__kicker { display: block; margin-bottom: 16px; color: rgba(255,255,255,.54); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; }
.checkout-order__items { display: grid; gap: 12px; max-height: 300px; overflow: auto; padding-right: 4px; }
.checkout-line { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; }
.checkout-line img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: rgba(255,255,255,.05); }
.checkout-line strong { display: block; font-size: 14px; line-height: 1.25; }
.checkout-line span { display: block; margin-top: 4px; color: rgba(255,255,255,.54); font-size: 13px; }

.checkout-order__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.09);
}

.checkout-order__total span { color: rgba(255,255,255,.58); }
.checkout-order__total strong { color: #fff; font-size: 28px; }
.checkout-provider { margin-top: 20px; padding: 16px; border-radius: 16px; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.07); }
.checkout-provider strong { display: block; color: var(--gold-light); margin-bottom: 6px; }
.checkout-provider span { color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.45; }

.cart-checkout { color: #111 !important; }

@media (max-width: 900px) {
  .checkout-modal { width: min(100% - 28px, 680px); max-height: 90vh; }
  .checkout-modal__body { grid-template-columns: 1fr; padding: 24px; }
  .checkout-modal__head { padding: 24px; }
  .checkout-order { order: -1; }
}

@media (max-width: 560px) {
  .checkout-form__grid { grid-template-columns: 1fr; gap: 0; }
  .checkout-modal { border-radius: 22px; }
  .checkout-modal__head h2 { font-size: 34px; }
}

/* ==================================================
   ESPI v10.57 — responsive QA polish
   Breakpoints checked and tuned for 1920, 1440, laptop, tablet and mobile.
   ================================================== */

.hero__inner {
  min-height: calc(100vh - 112px);
}

@media (min-width: 1441px) {
  .catalog .product-grid {
    gap: 32px;
  }

  .card-img {
    height: clamp(270px, 17.5vw, 324px);
  }
}

@media (max-width: 1366px) and (min-width: 1181px) {
  .container {
    width: min(100% - 56px, 1760px);
  }

  .header__inner {
    grid-template-columns: 190px 1fr 150px;
    gap: 20px;
  }

  .logo {
    width: 168px;
    height: 64px;
  }

  .nav {
    gap: clamp(16px, 2vw, 28px);
  }

  .nav a {
    font-size: 15px;
  }

  .hero__title {
    font-size: clamp(46px, 5.4vw, 70px);
  }
}

@media (max-width: 1180px) {
  .header__inner {
    grid-template-columns: 1fr auto;
    min-height: 92px;
  }

  .nav {
    display: none;
  }

  .actions {
    gap: 18px;
  }

  .hero__inner {
    min-height: calc(100vh - 92px);
  }

  .delivery-card {
    min-height: 300px;
  }

  .brand-about {
    min-height: 680px;
  }
}

@media (max-width: 980px) {
  .hero__inner {
    min-height: auto;
    padding: 36px 0 270px;
  }

  .hero__eyebrow {
    margin-bottom: 20px;
  }

  .hero__text {
    max-width: 620px;
  }

  .catalog .section-head,
  .section-head {
    margin-bottom: 28px;
  }

  .card {
    min-height: 604px;
  }

  .card-img {
    height: 260px;
  }

  .delivery {
    padding: 68px 0 58px;
  }

  .delivery__head p {
    margin-top: 18px;
  }
}

@media (max-width: 820px) {
  .product-grid {
    gap: 22px;
  }

  .card {
    min-height: 584px;
    padding: 20px;
  }

  .card h3 {
    font-size: 22px;
  }

  .card p {
    font-size: 14px;
  }

  .composition__btn,
  .cart-btn {
    height: 50px;
  }

  .brand-about {
    padding: 42px 24px 320px;
    border-radius: 28px;
  }

  .brand-about h2 {
    font-size: clamp(42px, 8vw, 62px);
  }

  .brand-about p {
    font-size: 18px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, 1760px);
  }

  .header__inner {
    min-height: 82px;
  }

  .logo {
    width: 150px;
    height: 56px;
  }

  .actions {
    gap: 14px;
  }

  .actions button {
    width: 32px;
    height: 32px;
  }

  .hero {
    min-height: auto;
    background-position: center center, 68% bottom;
  }

  .hero__inner {
    padding: 30px 0 245px;
  }

  .hero__eyebrow,
  .section-kicker {
    gap: 14px;
    letter-spacing: .16em;
  }

  .hero__eyebrow::before,
  .section-kicker::before {
    width: 42px;
  }

  .hero__title {
    font-size: clamp(36px, 10.6vw, 48px);
    line-height: 1;
  }

  .hero__text {
    font-size: 16px;
  }

  .hero__mini-features span::after {
    display: none;
  }

  .benefits {
    padding: 42px 0 28px;
  }

  .catalog {
    padding: 54px 0 56px;
  }

  .card-img {
    height: 254px;
  }

  .delivery {
    padding: 56px 0 48px;
  }

  .delivery-grid {
    gap: 18px;
    margin-top: 28px;
  }

  .delivery-card__top {
    margin-bottom: 24px;
  }

  .delivery-card__icon {
    width: 62px;
    height: 62px;
  }

  .delivery-card__badge {
    width: 48px;
    height: 48px;
  }

  .delivery-card p {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .delivery-card strong {
    min-width: 0;
    font-size: 17px;
  }

  .step {
    min-height: 104px;
    padding: 22px 24px;
  }

  .brand-about {
    padding: 34px 20px 290px;
    border-radius: 24px;
    background-position: 58% bottom;
  }

  .brand-about__features {
    margin: 30px 0;
    gap: 14px;
  }

  .brand-about__chip {
    min-height: auto;
    padding: 20px;
  }

  .contacts {
    margin-top: 48px;
    margin-bottom: 48px;
  }

  .footer {
    padding: 28px 0;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 24px, 1760px);
  }

  .logo {
    width: 138px;
    height: 52px;
  }

  .actions {
    gap: 10px;
  }

  .actions button:not(.cart) {
    display: none;
  }

  .actions .cart {
    width: 36px;
    height: 36px;
  }

  .hero__inner {
    padding: 28px 0 220px;
  }

  .hero__title {
    font-size: clamp(34px, 11vw, 42px);
  }

  .button {
    min-height: 56px;
    font-size: 16px;
  }

  .benefits article {
    min-height: auto;
  }

  .card {
    padding: 18px;
  }

  .card-img {
    height: 232px;
  }

  .card h3 {
    min-height: 0;
    font-size: 21px;
  }

  .card p {
    min-height: 0;
  }

  .composition__popup {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: auto;
    top: 112px;
    z-index: 120;
  }

  .delivery-card {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .brand-about h2,
  .contacts h2 {
    font-size: 38px;
  }

  .brand-about p,
  .contacts__lead {
    font-size: 16px;
  }

  .contacts {
    padding: 24px 18px;
  }

  .contacts__item {
    padding: 20px;
  }

  .contacts__form h3 {
    font-size: 24px;
  }

  .cart-item__top {
    flex-direction: column;
    gap: 6px;
  }

  .cart-item__price {
    white-space: normal;
  }

  .checkout-modal {
    width: min(100% - 18px, 680px);
    max-height: 92vh;
  }

  .checkout-modal__head {
    padding: 20px 18px 16px;
  }

  .checkout-modal__body {
    padding: 18px;
    gap: 18px;
  }

  .checkout-order {
    padding: 18px;
  }

  .checkout-modal__head h2 {
    font-size: 30px;
  }

  .checkout-form input,
  .checkout-form textarea,
  .contacts__form input,
  .contacts__form textarea {
    padding: 14px 14px;
  }
}

/* ==================================================
   ESPI v10.58 — mobile hero polish after real device preview
   Цель: чище первый экран на 390px, без визуальной перегрузки и наложений.
   ================================================== */

@media (max-width: 720px) {
  .hero {
    background-image:
      linear-gradient(180deg,
        rgba(5,5,5,.98) 0%,
        rgba(5,5,5,.93) 35%,
        rgba(5,5,5,.78) 60%,
        rgba(5,5,5,.96) 100%),
      linear-gradient(90deg,
        rgba(5,5,5,.98) 0%,
        rgba(5,5,5,.88) 52%,
        rgba(5,5,5,.56) 100%),
      url("../images/hero/hero-espi-final-cover-bg.webp") !important;
    background-size: cover, cover, auto 100% !important;
    background-position: center center, center center, 72% bottom !important;
  }

  .hero__inner {
    min-height: calc(100svh - 82px) !important;
    padding: 26px 0 130px !important;
    align-items: start !important;
  }

  .hero__content {
    max-width: 100% !important;
  }

  .hero__eyebrow {
    max-width: 330px !important;
    margin-bottom: 18px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    letter-spacing: .19em !important;
  }

  .hero__title {
    max-width: 355px !important;
    margin: 8px 0 18px !important;
    font-size: clamp(32px, 9.6vw, 42px) !important;
    line-height: 1.04 !important;
    letter-spacing: -.04em !important;
  }

  .hero__title::after {
    margin-top: 12px !important;
  }

  .hero__text {
    max-width: 350px !important;
    margin-bottom: 22px !important;
    font-size: 15px !important;
    line-height: 1.52 !important;
  }

  .hero__buttons {
    max-width: 100% !important;
    gap: 12px !important;
    margin-bottom: 0 !important;
  }

  .hero__mini-features {
    display: none !important;
  }
}

@media (max-width: 430px) {
  .hero {
    background-size: cover, cover, auto 92% !important;
    background-position: center center, center center, 73% bottom !important;
  }

  .hero__inner {
    padding: 24px 0 112px !important;
  }

  .hero__eyebrow {
    max-width: 305px !important;
    font-size: 11px !important;
    letter-spacing: .18em !important;
  }

  .hero__title {
    max-width: 332px !important;
    font-size: clamp(31px, 9.9vw, 39px) !important;
  }

  .hero__text {
    max-width: 330px !important;
    font-size: 14px !important;
  }

  .button {
    min-height: 54px !important;
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: 30px !important;
  }

  .hero__text {
    font-size: 13.5px !important;
  }
}

/* ==================================================
   ESPI v10.59 — mobile hero compact after preview
   Убрано лишнее пустое поле снизу первого экрана на 390px.
   ================================================== */

@media (max-width: 720px) {
  .hero {
    min-height: auto !important;
  }

  .hero__inner {
    min-height: auto !important;
    padding: 22px 0 74px !important;
  }

  .hero__eyebrow {
    margin-bottom: 16px !important;
  }

  .hero__title {
    margin: 6px 0 16px !important;
  }

  .hero__text {
    margin-bottom: 20px !important;
  }

  .hero__buttons {
    gap: 10px !important;
  }
}

@media (max-width: 430px) {
  .hero {
    background-size: cover, cover, auto 86% !important;
    background-position: center center, center center, 76% bottom !important;
  }

  .hero__inner {
    padding: 20px 0 66px !important;
  }

  .hero__title {
    max-width: 328px !important;
    font-size: clamp(30px, 9.55vw, 37px) !important;
    line-height: 1.035 !important;
  }

  .hero__text {
    max-width: 324px !important;
    margin-bottom: 18px !important;
  }

  .hero .button {
    min-height: 52px !important;
  }
}

@media (max-width: 380px) {
  .hero__inner {
    padding-bottom: 58px !important;
  }

  .hero__title {
    font-size: 29px !important;
  }
}


/* ==================================================
   ESPI v10.60 — tighter mobile section spacing
   Мобильная страница стала плотнее: меньше вертикальные отступы
   между преимуществами, каталогом, доставкой, о компании, контактами и футером.
   ================================================== */

@media (max-width: 720px) {
  .benefits {
    padding: 26px 0 18px !important;
    gap: 14px !important;
  }

  .benefits article {
    min-height: 124px !important;
    padding: 20px !important;
  }

  .catalog {
    padding: 34px 0 38px !important;
  }

  .section-head,
  .catalog .section-head,
  .delivery__head {
    margin-bottom: 22px !important;
  }

  .product-grid {
    gap: 18px !important;
  }

  .card {
    padding: 18px !important;
  }

  .delivery {
    padding: 38px 0 34px !important;
  }

  .delivery-grid {
    margin-top: 22px !important;
    gap: 16px !important;
  }

  .delivery-card {
    min-height: auto !important;
    padding: 22px 20px !important;
  }

  .delivery-card__top {
    margin-bottom: 18px !important;
  }

  .delivery-card h3 {
    margin-bottom: 14px !important;
  }

  .delivery-card p {
    margin-bottom: 18px !important;
  }

  .delivery-steps {
    margin-top: 20px !important;
  }

  .step {
    min-height: 86px !important;
    padding: 18px 22px !important;
  }

  .brand-about {
    margin-top: 34px !important;
    margin-bottom: 34px !important;
    padding-top: 30px !important;
    padding-bottom: 250px !important;
  }

  .brand-about h2 {
    margin-bottom: 18px !important;
  }

  .brand-about p {
    margin-bottom: 16px !important;
  }

  .brand-about__features {
    margin: 22px 0 !important;
    gap: 12px !important;
  }

  .brand-about__chip {
    padding: 18px !important;
  }

  .contacts {
    margin-top: 34px !important;
    margin-bottom: 34px !important;
  }

  .contacts__lead {
    margin-bottom: 24px !important;
  }

  .contacts__info {
    gap: 14px !important;
  }

  .contacts__item {
    min-height: 104px !important;
  }

  .contacts__form {
    margin-top: 16px !important;
  }

  .footer {
    padding: 22px 0 !important;
  }
}

@media (max-width: 430px) {
  .benefits {
    padding: 22px 0 14px !important;
  }

  .catalog {
    padding: 30px 0 34px !important;
  }

  .delivery {
    padding: 34px 0 30px !important;
  }

  .brand-about {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
    padding-bottom: 226px !important;
  }

  .contacts {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }
}


/* ==================================================
   ESPI v10.61 — premium micro animations
   Ненавязчивые hover-эффекты, плавный scroll и мягкое появление блоков.
   ================================================== */

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.button,
.cart-btn,
.contacts__form button,
.checkout-pay,
.cart-checkout,
.composition__btn,
.contacts__socials a,
.socials a,
.actions button {
  will-change: transform;
}

.button,
.cart-btn,
.contacts__form button,
.checkout-pay,
.cart-checkout {
  position: relative;
  overflow: hidden;
}

.button::after,
.cart-btn::after,
.contacts__form button::after,
.checkout-pay::after,
.cart-checkout::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.22) 42%, transparent 72%);
  transform: translateX(-130%);
  transition: transform .62s ease;
}

.button:hover::after,
.cart-btn:hover::after,
.contacts__form button:hover::after,
.checkout-pay:hover::after,
.cart-checkout:hover::after {
  transform: translateX(130%);
}

.button:hover,
.cart-btn:hover,
.contacts__form button:hover,
.checkout-pay:hover,
.cart-checkout:hover {
  transform: translateY(-2px);
}

.button:active,
.cart-btn:active,
.contacts__form button:active,
.checkout-pay:active,
.cart-checkout:active,
.actions button:active {
  transform: translateY(0) scale(.985);
}

.card,
.benefits article,
.delivery-card,
.brand-about__chip,
.contacts__item,
.step {
  will-change: transform, opacity;
}

.card:hover,
.benefits article:hover,
.delivery-card:hover,
.brand-about__chip:hover,
.contacts__item:hover {
  transform: translateY(-4px);
}

.card:hover .card-img img {
  transform: scale(1.018);
}

.actions button:hover,
.socials a:hover,
.contacts__socials a:hover {
  transform: translateY(-2px);
}

.actions button:hover {
  border-color: rgba(217,170,79,.36);
  background: rgba(217,170,79,.08);
}

.composition__btn:hover,
.composition__btn:focus-visible {
  letter-spacing: .01em;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .72s cubic-bezier(.22, .61, .36, 1),
    transform .72s cubic-bezier(.22, .61, .36, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll[data-reveal-delay="1"] {
  transition-delay: .06s;
}

.reveal-on-scroll[data-reveal-delay="2"] {
  transition-delay: .12s;
}

.reveal-on-scroll[data-reveal-delay="3"] {
  transition-delay: .18s;
}

.reveal-on-scroll[data-reveal-delay="4"] {
  transition-delay: .24s;
}

.reveal-on-scroll[data-reveal-delay="5"] {
  transition-delay: .30s;
}

@media (max-width: 720px) {
  .reveal-on-scroll {
    transform: translateY(12px);
    transition-duration: .54s;
  }

  .reveal-on-scroll[data-reveal-delay] {
    transition-delay: 0s;
  }

  .card:hover,
  .benefits article:hover,
  .delivery-card:hover,
  .brand-about__chip:hover,
  .contacts__item:hover {
    transform: none;
  }
}


/* ==================================================
   ESPI v10.62 — footer restored after contact block
   Подвал всегда видимый, без задержки reveal-анимации.
   ================================================== */

.footer,
.footer__inner {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.footer__inner.reveal-on-scroll {
  opacity: 1 !important;
  transform: none !important;
}

.contacts {
  margin-bottom: 42px !important;
}

.footer {
  position: relative !important;
  z-index: 3 !important;
  margin-top: 0 !important;
}

@media (max-width: 720px) {
  .contacts {
    margin-bottom: 26px !important;
  }

  .footer {
    padding: 24px 0 26px !important;
  }
}


/* ==================================================
   ESPI v10.63 — header cart only
   На главном экране убраны иконки поиска и личного кабинета.
   ================================================== */

.header__inner {
  grid-template-columns: 240px 1fr 78px !important;
}

.actions {
  justify-content: flex-end !important;
  gap: 0 !important;
}

.actions .cart {
  width: 46px !important;
  height: 46px !important;
}

@media (max-width: 1180px) {
  .header__inner {
    grid-template-columns: 1fr auto !important;
  }
}

@media (max-width: 720px) {
  .actions .cart {
    width: 38px !important;
    height: 38px !important;
  }
}


/* ==================================================
   ESPI v10.64 — company requisites and FAQ blocks
   Реквизиты компании и часто задаваемые вопросы после контактов.
   ================================================== */

.company-info,
.faq {
  position: relative;
  margin-top: 52px;
  margin-bottom: 52px;
}

.company-info {
  padding: clamp(34px, 4vw, 58px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 14%, rgba(217,170,79,.12), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.043), rgba(255,255,255,.012));
  box-shadow: 0 24px 62px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.04);
}

.company-info__head {
  max-width: 880px;
  margin-bottom: 34px;
}

.company-info h2,
.faq h2 {
  margin: 16px 0 20px;
  font-size: clamp(42px, 4.2vw, 76px);
  line-height: .98;
  letter-spacing: -.045em;
}

.company-info__head p,
.faq__head p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.55;
}

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

.company-info__card {
  min-height: 118px;
  padding: 22px;
  border: 1px solid rgba(217,170,79,.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217,170,79,.07), transparent 42%),
    rgba(255,255,255,.024);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.company-info__card:hover {
  transform: translateY(-3px);
  border-color: rgba(217,170,79,.32);
  background:
    radial-gradient(circle at 100% 0%, rgba(217,170,79,.10), transparent 42%),
    rgba(255,255,255,.035);
}

.company-info__card--wide {
  grid-column: span 2;
}

.company-info__card span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255,255,255,.52);
  font-size: 14px;
  font-weight: 700;
}

.company-info__card strong {
  display: block;
  color: #f3d889;
  font-size: 18px;
  line-height: 1.35;
}

.faq {
  padding: clamp(30px, 4vw, 54px) 0 62px;
}

.faq__head {
  max-width: 880px;
  margin-bottom: 30px;
}

.faq__list {
  display: grid;
  gap: 14px;
}

.faq__item {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.043), rgba(255,255,255,.014));
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.faq__item:hover {
  transform: translateY(-2px);
  border-color: rgba(217,170,79,.26);
  background:
    linear-gradient(180deg, rgba(217,170,79,.052), rgba(255,255,255,.014));
}

.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 24px 64px 24px 26px;
  color: #fff;
  font-size: clamp(18px, 1.25vw, 22px);
  font-weight: 850;
  line-height: 1.25;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 26px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217,170,79,.28);
  border-radius: 50%;
  color: #f3d889;
  transform: translateY(-50%);
  transition: transform .25s ease, background .25s ease;
}

.faq__item[open] summary::after {
  content: "−";
  background: rgba(217,170,79,.10);
}

.faq__item p {
  max-width: 940px;
  margin: -4px 64px 24px 26px;
  color: rgba(255,255,255,.70);
  font-size: 17px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .company-info__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .company-info,
  .faq {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .company-info {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .company-info__head,
  .faq__head {
    margin-bottom: 22px;
  }

  .company-info h2,
  .faq h2 {
    margin: 12px 0 16px;
    font-size: 38px;
  }

  .company-info__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .company-info__card,
  .company-info__card--wide {
    grid-column: auto;
  }

  .company-info__card {
    min-height: 96px;
    padding: 18px;
  }

  .faq {
    padding: 24px 0 34px;
  }

  .faq__list {
    gap: 12px;
  }

  .faq__item summary {
    padding: 20px 56px 20px 20px;
    font-size: 18px;
  }

  .faq__item summary::after {
    right: 18px;
    width: 30px;
    height: 30px;
  }

  .faq__item p {
    margin: -2px 20px 20px;
    font-size: 15px;
  }
}

@media (max-width: 430px) {
  .company-info h2,
  .faq h2 {
    font-size: 34px;
  }

  .company-info__head p,
  .faq__head p {
    font-size: 15px;
  }
}


/* ==================================================
   ESPI v10.65 — final company requisites
   Вставлены реальные реквизиты ИП.
   ================================================== */

.company-info__grid--ip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.company-info__grid--ip .company-info__card--wide:first-child {
  grid-column: span 2;
}

@media (max-width: 1180px) {
  .company-info__grid--ip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .company-info__grid--ip {
    grid-template-columns: 1fr;
  }

  .company-info__grid--ip .company-info__card,
  .company-info__grid--ip .company-info__card--wide,
  .company-info__grid--ip .company-info__card--wide:first-child {
    grid-column: auto;
  }
}


/* ==================================================
   ESPI v10.66 — product certificates modal
   Кнопка сертификации для каждого продукта и премиальное всплывающее окно.
   ================================================== */

.certificate {
  margin: -4px 0 16px;
}

.certificate__btn {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.035);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, color .25s ease, background .25s ease, box-shadow .25s ease;
}

.certificate__btn:hover,
.certificate__btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(217,170,79,.48);
  color: #f3d889;
  background: rgba(217,170,79,.075);
  box-shadow: 0 10px 24px rgba(217,170,79,.08);
}

.certificate-overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(0,0,0,.66);
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(10px);
  transition: opacity .28s ease, visibility .28s ease;
}

.certificate-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.certificate-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 131;
  width: min(100% - 40px, 760px);
  max-height: min(82vh, 720px);
  overflow: auto;
  padding: 34px;
  border: 1px solid rgba(217,170,79,.26);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 0%, rgba(217,170,79,.16), transparent 38%),
    linear-gradient(180deg, rgba(18,18,18,.98), rgba(7,7,8,.98));
  box-shadow: 0 34px 90px rgba(0,0,0,.62);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -46%) scale(.985);
  transition: opacity .28s ease, visibility .28s ease, transform .28s ease;
}

.certificate-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.certificate-modal__close {
  position: absolute;
  right: 22px;
  top: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  background: rgba(255,255,255,.04);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, color .25s ease, background .25s ease;
}

.certificate-modal__close:hover,
.certificate-modal__close:focus-visible {
  transform: rotate(90deg);
  border-color: rgba(217,170,79,.44);
  color: #f3d889;
  background: rgba(217,170,79,.08);
}

.certificate-modal__kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.certificate-modal__kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(217,170,79,.9), transparent);
}

.certificate-modal h2 {
  margin: 0 52px 16px 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.045em;
}

.certificate-modal p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 17px;
  line-height: 1.5;
}

.certificate-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.certificate-file {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}

.certificate-file__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--gold-light);
  background: rgba(217,170,79,.09);
}

.certificate-file__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.certificate-file strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 17px;
}

.certificate-file span {
  color: rgba(255,255,255,.55);
  font-size: 14px;
}

.certificate-file a,
.certificate-file button {
  min-width: 152px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(217,170,79,.34);
  color: #f3d889;
  background: rgba(217,170,79,.055);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.certificate-file button {
  opacity: .68;
  cursor: not-allowed;
}

.certificate-modal__note {
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 14px !important;
  color: rgba(255,255,255,.50) !important;
}

body.certificate-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .certificate {
    margin: -2px 0 14px;
  }

  .certificate__btn {
    height: 42px;
  }

  .certificate-modal {
    width: min(100% - 24px, 760px);
    max-height: 86vh;
    padding: 26px 20px;
    border-radius: 22px;
  }

  .certificate-modal__close {
    right: 16px;
    top: 16px;
    width: 38px;
    height: 38px;
  }

  .certificate-file {
    grid-template-columns: 40px 1fr;
  }

  .certificate-file a,
  .certificate-file button {
    grid-column: 1 / -1;
    width: 100%;
  }
}


/* ==================================================
   ESPI v10.67 — legal pages for YooKassa moderation
   Отдельные страницы: реквизиты, политика конфиденциальности, пользовательское соглашение.
   ================================================== */

.footer__inner a {
  color: rgba(255,255,255,.58);
  text-decoration: none;
  transition: color .2s ease;
}

.footer__inner a:hover,
.footer__inner a:focus-visible {
  color: var(--gold-light);
}

.form-consent {
  display: grid !important;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0 0 18px !important;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.45;
}

.form-consent input {
  width: 18px !important;
  height: 18px !important;
  margin: 2px 0 0 !important;
  accent-color: #d9aa4f;
}

.form-consent a {
  color: var(--gold-light);
  text-decoration: none;
}

.form-consent a:hover {
  text-decoration: underline;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 70% 0%, rgba(217,170,79,.08), transparent 32%),
    #060606;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(5,5,5,.82);
  backdrop-filter: blur(18px);
}

.legal-header__inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 28px;
  align-items: center;
}

.legal-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
}

.legal-nav a,
.legal-back {
  color: rgba(255,255,255,.70);
  text-decoration: none;
  font-weight: 800;
  transition: color .2s ease;
}

.legal-nav a:hover,
.legal-back:hover {
  color: var(--gold-light);
}

.legal-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border: 1px solid rgba(217,170,79,.28);
  border-radius: 999px;
  color: var(--gold-light);
}

.legal-main {
  padding: 72px 0 86px;
}

.legal-hero {
  max-width: 980px;
  margin-bottom: 32px;
}

.legal-hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(44px, 6vw, 86px);
  line-height: .94;
  letter-spacing: -.055em;
}

.legal-hero p {
  max-width: 850px;
  margin: 0 0 18px;
  color: rgba(255,255,255,.78);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.5;
}

.legal-hero small {
  color: rgba(255,255,255,.48);
}

.legal-card,
.legal-req-card {
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 14% 0%, rgba(217,170,79,.10), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.014));
  box-shadow: 0 22px 54px rgba(0,0,0,.22);
}

.legal-card {
  max-width: 1040px;
  margin-top: 18px;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 24px;
}

.legal-card h2 {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.1;
}

.legal-card p,
.legal-card li {
  color: rgba(255,255,255,.74);
  font-size: 17px;
  line-height: 1.62;
}

.legal-card p {
  margin: 0 0 12px;
}

.legal-card ul {
  margin: 0;
  padding-left: 22px;
}

.legal-card a {
  color: var(--gold-light);
  text-decoration: none;
}

.legal-card a:hover {
  text-decoration: underline;
}

.legal-note {
  border-color: rgba(217,170,79,.26);
}

.legal-requisites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 34px 0 26px;
}

.legal-req-card {
  min-height: 150px;
  padding: 28px;
  border-radius: 22px;
}

.legal-req-card--wide {
  grid-column: span 2;
}

.legal-req-card span {
  display: block;
  margin-bottom: 14px;
  color: rgba(255,255,255,.48);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.legal-req-card strong {
  color: var(--gold-light);
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.25;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

@media (max-width: 980px) {
  .legal-header__inner {
    grid-template-columns: 1fr auto;
  }

  .legal-nav {
    display: none;
  }

  .legal-requisites-grid {
    grid-template-columns: 1fr;
  }

  .legal-req-card--wide {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .legal-header__inner {
    min-height: 78px;
  }

  .legal-back {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .legal-main {
    padding: 42px 0 54px;
  }

  .legal-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .legal-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .legal-card p,
  .legal-card li {
    font-size: 15px;
  }

  .legal-req-card {
    min-height: auto;
    padding: 22px 18px;
  }

  .footer__inner {
    gap: 16px !important;
  }
}


/* ==================================================
   ESPI v10.68 — final legal documents from provided DOCX
   Полные тексты политики и соглашения, домен эспи.com.
   ================================================== */

.legal-card__text p + p {
  margin-top: 10px;
}

.legal-card__text ul + p,
.legal-card__text p + ul {
  margin-top: 12px;
}

.legal-card__text li + li {
  margin-top: 8px;
}

.legal-requisites-grid--compact {
  margin-top: 20px;
}

.legal-requisites-grid--compact .legal-req-card {
  min-height: 116px;
}

.footer__inner a {
  color: rgba(255,255,255,.58);
  text-decoration: none;
  transition: color .2s ease;
}

.footer__inner a:hover,
.footer__inner a:focus-visible {
  color: var(--gold-light);
}


/* ==================================================
   ESPI v10.69 — requisites page clean
   Убран внутренний технический блок «Для ЮKassa» со страницы реквизитов.
   ================================================== */

.legal-page--requisites .legal-requisites-grid {
  margin-bottom: 0;
}

.legal-page--requisites .legal-main {
  padding-bottom: 74px;
}

@media (max-width: 720px) {
  .legal-page--requisites .legal-main {
    padding-bottom: 46px;
  }
}


/* ==================================================
   ESPI v10.71 — public polish and form mail status
   Убраны технические подсказки, формы отправляются на рабочую почту через send-request.php.
   ================================================== */

.form-status {
  min-height: 22px;
  margin-top: 14px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  line-height: 1.45;
}

.form-status.is-success {
  color: #f2d184;
}

.form-status.is-error {
  color: #ffb3a7;
}

.contacts__form button:disabled,
.checkout-pay:disabled {
  cursor: wait;
  opacity: .72;
  filter: grayscale(.12);
}

.certificate-modal__note {
  display: none !important;
}

.certificate-list {
  margin-bottom: 0 !important;
}
