/* ===================================================================
   LION — колпаки на колёса оптом. Стили лендинга.
=================================================================== */

:root{
  --red: #E4032E;
  --red-dark: #B4021F;
  --red-light: #ff3357;
  --black: #0b0b0c;
  --dark: #17181b;
  --dark-2: #202126;
  --ink: #1a1a1c;
  --gray-700: #4b4b52;
  --gray-500: #77787f;
  --gray-300: #c9c9cf;
  --gray-200: #e4e4e8;
  --gray-100: #f1f1f4;
  --gray-50: #f8f8fa;
  --white: #ffffff;

  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(11,11,12,.08);
  --shadow-lg: 0 24px 60px rgba(11,11,12,.16);

  --ff: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }
input, textarea{ font-family: inherit; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section{ padding: 88px 0; }
.section--tight{ padding: 56px 0; }
@media (max-width: 720px){
  .section{ padding: 56px 0; }
  .section--tight{ padding: 36px 0; }
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 2px;
  background: var(--red);
  display: inline-block;
}

.section-head{
  max-width: 680px;
  margin: 0 0 44px;
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

h2.section-title{
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-sub{
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--gray-700);
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active{ transform: scale(.97); }
.btn-primary{
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(228,3,46,.28);
}
.btn-primary:hover{ background: var(--red-dark); box-shadow: 0 14px 30px rgba(228,3,46,.36); }
.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: var(--white);
}
.btn-ghost:hover{ border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline{
  background: transparent;
  border-color: var(--gray-200);
  color: var(--ink);
}
.btn-outline:hover{ border-color: var(--ink); }
.btn-block{ width: 100%; }
.btn-lg{ padding: 18px 34px; font-size: 16px; }
.btn svg{ width: 18px; height: 18px; flex: none; }

/* ---------- Top bar (cross-sell) ---------- */
.topbar{
  background: var(--black);
  color: rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 9px 24px;
  font-size: 13px;
  text-align: center;
}
.topbar__row strong{ font-weight: 800; color: #fff; }
.topbar__row a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--red-light);
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.topbar__row a svg{ width: 13px; height: 13px; }
@media (max-width: 720px){
  .topbar__row{ font-size: 12.5px; padding: 8px 20px; }
}

/* ---------- October promo bar ---------- */
.promo-bar{
  background: linear-gradient(90deg, #6b0116, var(--red), #6b0116);
  background-size: 220% 100%;
  animation: promo-shimmer 6s ease-in-out infinite;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.promo-bar__row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 24px;
}
.promo-bar__badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--red-dark);
  font-size: 15px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
  flex: none;
  animation: promo-pulse 1.8s ease-in-out infinite;
}
.promo-bar__text{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-size: 13.5px;
  text-align: center;
}
.promo-bar__text b{ color: #fff; font-weight: 800; }
@keyframes promo-shimmer{
  0%, 100%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
}
@keyframes promo-pulse{
  0%, 100%{ transform: scale(1); }
  50%{ transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce){
  .promo-bar{ animation: none; }
  .promo-bar__badge{ animation: none; }
}
.promo-bar__cta{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 100px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .15s ease;
}
.promo-bar__cta:hover{ background: var(--red-dark); }
@media (max-width: 720px){
  .promo-bar__row{ padding: 10px 20px; gap: 10px; }
  .promo-bar__text{ font-size: 12.5px; }
}

/* ---------- Header ---------- */
.header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,11,12,.88);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}
.brand{ display: flex; align-items: center; gap: 10px; flex: none; }
.brand img{ height: 40px; width: auto; }
.nav{
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: center;
}
.nav a{
  color: rgba(255,255,255,.78);
  font-size: 14.5px;
  font-weight: 600;
  transition: color .15s ease;
}
.nav a:hover{ color: #fff; }
.nav button.open-fab-link{
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: rgba(255,255,255,.78);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color .15s ease;
}
.nav button.open-fab-link:hover{ color: #fff; }
.header__actions{ display: flex; align-items: center; gap: 18px; flex: none; }
.header__phone{
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: right;
}
.header__phone small{ font-weight: 500; color: rgba(255,255,255,.55); font-size: 11.5px; }
.burger{
  display: none;
  width: 40px; height: 40px;
  border: none; background: transparent;
  position: relative;
  flex: none;
}
.burger span, .burger span::before, .burger span::after{
  content: "";
  position: absolute;
  left: 9px; right: 9px;
  height: 2px;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}
.burger span{ top: 19px; }
.burger span::before{ top: -7px; }
.burger span::after{ top: 7px; }

@media (max-width: 980px){
  .nav{ display: none; }
  .header__phone{ display: none; }
  .burger{ display: block; }
}

/* Mobile menu panel */
.mobile-nav{
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--black);
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  padding: 30px 24px;
}
.mobile-nav.is-open{ opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav a{
  display: block;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav .header__phone{ display: block; margin-top: 20px; color: #fff; font-size: 18px; }
.mobile-nav button.open-fab-link{
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 0;
  margin: 0;
  font: inherit;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background: radial-gradient(1100px 620px at 82% -10%, rgba(228,3,46,.30), transparent 60%), linear-gradient(180deg, var(--black), var(--dark) 70%);
  color: #fff;
  overflow: hidden;
  padding: 64px 0 90px;
}
.hero__grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.hero__badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.hero__badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.hero__badge b{ color: #fff; }
.hero h1{
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero h1 em{ color: var(--red-light); font-style: normal; }
.hero__lead{
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.72);
  max-width: 560px;
}
.hero__cta{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero__trust{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, auto);
  justify-content: space-between;
  column-gap: 20px;
  row-gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero__trust-item b{
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.hero__trust-item span{
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.hero__visual{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero__glow{
  position: absolute;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228,3,46,.55), rgba(228,3,46,0) 70%);
  filter: blur(4px);
}
.hero__carousel{
  position: relative;
  display: block;
  width: min(430px, 86%);
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.hero__img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.55));
  animation: spin-slow 22s linear infinite;
}
.hero__carousel:hover .hero__img{ animation-play-state: paused; }
@keyframes spin-slow{ from{ transform: rotate(0deg);} to{ transform: rotate(360deg);} }
.hero__img-card{
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.hero__img-card svg{ width: 18px; height: 18px; color: var(--red-light); flex: none; }
.hero__img-card--tl{ top: 6%; left: -6%; }
.hero__img-card--br{ bottom: 4%; right: -8%; }

@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__visual{ order: -1; margin-bottom: 8px; }
  .hero__carousel{ width: min(300px, 70%); }
  .hero__img{ animation: none; }
  .hero__img-card{ display: none; }
  .hero__trust{ grid-template-columns: repeat(4, minmax(0, 1fr)); justify-content: normal; }
  .hero__trust-item b{ white-space: normal; }
}
@media (max-width: 560px){
  .hero__trust{ grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
}

/* ---------- Logos / social proof strip ---------- */
.strip{
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 26px 0;
}
.strip__row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
  color: var(--gray-700);
}
.strip__row b{ color: var(--ink); }
.strip__row span{ display: flex; align-items: center; gap: 8px; }
.strip__row svg{ width: 18px; height: 18px; color: var(--red); flex: none; }

/* ---------- Advantages (wholesale) ---------- */
.adv-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.adv-card{
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.adv-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.adv-card__icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--black);
  color: var(--red-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.adv-card__icon svg{ width: 26px; height: 26px; }
.adv-card h3{ font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.adv-card p{ font-size: 14.5px; line-height: 1.55; color: var(--gray-700); }

@media (max-width: 900px){
  .adv-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .adv-grid{ grid-template-columns: 1fr; }
}

/* ---------- Reliability & packaging ---------- */
.reliability{ background: var(--gray-50); }
.reliability-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 28px;
  align-items: center;
}
.reliability-media{
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--gray-100);
  box-shadow: var(--shadow);
}
.reliability-media img,
.reliability-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.check-list{ display: grid; gap: 18px; }
.check-list li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray-700);
}
.check-list svg{ width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 2px; }

.ship-options{
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.ship-option{
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ship-option__icon{
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--black);
  color: var(--red-light);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.ship-option__icon svg{ width: 22px; height: 22px; }
.ship-option h3{ font-size: 15.5px; font-weight: 700; }
.ship-option p{ margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--gray-700); }

@media (max-width: 900px){
  .reliability-grid{ grid-template-columns: 1fr 1fr; }
  .reliability-points{ grid-column: 1 / -1; margin-top: 8px; }
}
@media (max-width: 620px){
  .reliability-grid{ grid-template-columns: 1fr; }
  .reliability-media{ max-width: 340px; margin: 0 auto; }
  .ship-options{ grid-template-columns: 1fr; }
}

/* ---------- Private label (СТМ) ---------- */
.stm{ background: var(--white); }
.stm__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.stm__content .btn{ margin-top: 28px; }
.stm__media{
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.stm__media img{ width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px){
  .stm__grid{ grid-template-columns: 1fr; gap: 28px; }
  .stm__media{ order: -1; }
}

/* ---------- Catalog ---------- */
.catalog{ background: var(--white); }
.catalog-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.p-card{
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.p-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.p-card__img{
  aspect-ratio: 1 / 1;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
}
.p-card__img img{ width: 100%; height: 100%; object-fit: contain; }
.p-card__body{ padding: 16px 18px 20px; background: var(--gray-50); }
.p-card__body h3{ font-size: 15.5px; font-weight: 700; }
.p-card__body span{ display:block; margin-top: 4px; font-size: 13px; color: var(--gray-500); }
.p-card__price{ margin-top: 8px !important; font-size: 16px !important; font-weight: 800; color: var(--ink) !important; }
.p-card__price small{ display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--gray-500); }
.p-card__ribbon{
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.p-card__cta{
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
}
.p-card__cta svg{ width: 14px; height: 14px; transition: transform .15s ease; }
.p-card:hover .p-card__cta svg{ transform: translateX(3px); }

.catalog-hidden{
  grid-column: 1 / -1;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 4px;
}
.catalog-hidden__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  filter: blur(7px);
  opacity: .55;
  transform: scale(1.03);
  pointer-events: none;
  user-select: none;
}
.catalog-hidden__grid .p-card:hover{ transform: none; box-shadow: none; }
.catalog-hidden__overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,.95) 52%);
}
.catalog-hidden__overlay svg{ width: 34px; height: 34px; color: var(--red); }
.catalog-hidden__overlay p{ max-width: 460px; font-size: 14.5px; line-height: 1.55; color: var(--gray-700); }
.catalog-hidden__overlay strong{ display: block; font-size: 18px; margin-bottom: 6px; color: var(--ink); }

@media (max-width: 980px){
  .catalog-grid{ grid-template-columns: repeat(3, 1fr); }
  .catalog-hidden__grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px){
  .catalog-grid{ grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .catalog-hidden__grid{ grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .catalog-hidden__overlay p{ font-size: 13.5px; }
}

/* ---------- Steps ---------- */
.steps{ background: var(--gray-50); }
.steps-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step{
  position: relative;
  padding: 30px 24px 26px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.step__num{
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step h3{ font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p{ font-size: 14px; line-height: 1.5; color: var(--gray-700); }
.step::after{
  content: "";
  position: absolute;
  top: 46px; right: -22px;
  width: 22px; height: 2px;
  background: var(--gray-300);
}
.step:last-child::after{ display: none; }

@media (max-width: 980px){
  .steps-grid{ grid-template-columns: repeat(2, 1fr); }
  .step::after{ display: none; }
}
@media (max-width: 560px){ .steps-grid{ grid-template-columns: 1fr; } }

/* ---------- Lead form ---------- */
.lead{
  padding: 88px 0;
  background: linear-gradient(180deg, var(--black), var(--dark-2));
  color: #fff;
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px){ .lead{ padding: 56px 0; } }
.lead::before{
  content:"";
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(228,3,46,.35), transparent 65%);
  top: -220px; left: -160px;
}
.lead__grid{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.lead__info h2{ font-size: clamp(26px,3.2vw,36px); font-weight: 800; line-height: 1.2; }
.lead__info p{ margin-top: 16px; font-size: 16px; color: rgba(255,255,255,.68); line-height: 1.6; max-width: 460px; }
.lead__points{ margin-top: 28px; display: grid; gap: 14px; }
.lead__points li{ display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: rgba(255,255,255,.85); }
.lead__points svg{ width: 20px; height: 20px; color: var(--red-light); flex: none; margin-top: 1px; }
.lead__contacts:hover{ color: #fff; }
.lead__divider{
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 22px;
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.lead__divider::before, .lead__divider::after{
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.12);
}

.form-card{
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.form-card h3{ font-size: 20px; font-weight: 800; }
.form-card .hint{ margin-top: 6px; font-size: 13.5px; color: var(--gray-500); }
.field{ margin-top: 18px; }
.field label{ display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--gray-700); }
.field input, .field textarea{
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus{ outline: none; border-color: var(--red); }
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent{ display: flex; gap: 10px; margin-top: 18px; align-items: flex-start; padding: 6px; margin-left: -6px; margin-right: -6px; border-radius: var(--radius-sm); transition: background-color .2s ease; }
.consent input{ margin-top: 3px; }
.consent label{ font-size: 12.5px; color: var(--gray-500); line-height: 1.5; }
.consent a{ color: var(--red); font-weight: 600; }
.consent.is-invalid{ background-color: #fef2f2; }
.consent.is-invalid input{ outline: 2px solid #dc2626; outline-offset: 2px; border-radius: 3px; }
.consent.is-invalid label{ color: #991b1b; }
.consent.shake{ animation: consent-shake .4s ease; }
@keyframes consent-shake{
  0%, 100%{ transform: translateX(0); }
  20%{ transform: translateX(-6px); }
  40%{ transform: translateX(5px); }
  60%{ transform: translateX(-4px); }
  80%{ transform: translateX(3px); }
}
.form-card .btn{ margin-top: 20px; }
.field--hp{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
}
.form-card .btn:disabled{ opacity: .7; cursor: default; }
.form-note{
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--gray-500);
  text-align: center;
}
.form-error{
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 13px;
  text-align: center;
  line-height: 1.5;
}
.form-error a{ color: #991b1b; font-weight: 700; text-decoration: underline; }
.open-fab-link{
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 700;
  color: var(--red);
  text-decoration: underline;
  cursor: pointer;
}
.form-error.is-visible{ display: block; }
.form-success{
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form-success.is-visible{ display: block; }
.form-success svg{ width: 56px; height: 56px; color: #17a35c; margin: 0 auto 16px; }
.form-success h3{ font-size: 19px; }
.form-success p{ margin-top: 10px; font-size: 14.5px; color: var(--gray-500); }

@media (max-width: 980px){
  .lead__grid{ grid-template-columns: 1fr; gap: 36px; }
  .field-row{ grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list{ display: grid; gap: 12px; max-width: 780px; margin: 0 auto; }
.faq-item{ border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15.5px;
  background: var(--gray-50);
}
.faq-q svg{ width: 18px; height: 18px; flex: none; transition: transform .2s ease; color: var(--gray-500); }
.faq-item.is-open .faq-q svg{ transform: rotate(45deg); }
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-a p{ padding: 4px 22px 20px; font-size: 14.5px; line-height: 1.6; color: var(--gray-700); }

/* ---------- Footer ---------- */
.footer{ background: var(--black); color: rgba(255,255,255,.6); padding: 52px 0 26px; }
.footer__grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand{ display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer__brand img{ height: 34px; }
.footer p{ font-size: 13.5px; line-height: 1.6; max-width: 280px; }
.footer h4{ color: #fff; font-size: 13.5px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer ul{ display: grid; gap: 10px; }
.footer a{ font-size: 14px; transition: color .15s ease; }
.footer a:hover{ color: #fff; }
.footer__bottom{
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
}
.footer__disclaimer{
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.38);
}

@media (max-width: 900px){
  .footer__grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer__grid{ grid-template-columns: 1fr; }
}

/* ---------- Agent card (Виктор) ---------- */
.agent-card{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.agent-card__photo{
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  border: 2px solid rgba(255,255,255,.14);
  flex: none;
}
.agent-card__info{ flex: 1; min-width: 140px; }
.agent-card__info b{ display: block; font-size: 15.5px; color: inherit; }
.agent-card__info span{ display: block; margin-top: 2px; font-size: 13px; opacity: .62; }
.agent-card__phone{ display: block; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--red-light); text-decoration: none; user-select: all; }
.agent-card__phone:hover{ text-decoration: underline; }
.agent-card__actions{ display: flex; gap: 8px; flex: none; }
.agent-card__btn{
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  overflow: hidden;
  transition: transform .15s ease, background-color .15s ease;
}
.agent-card__btn svg{ width: 18px; height: 18px; }
.agent-card__btn img{ width: 100%; height: 100%; object-fit: cover; }
.agent-card__btn:hover{ transform: translateY(-2px); }
.agent-card__btn--wa:hover{ background: #25D366; border-color: #25D366; }
.agent-card__btn--tg:hover{ background: #29A9EB; border-color: #29A9EB; }
.agent-card__btn--max:hover{ border-color: transparent; }
.agent-card__btn--call:hover{ background: var(--red); border-color: var(--red); }

/* light variant (used on white backgrounds) */
.agent-card--light .agent-card__btn{ background: var(--gray-100); border-color: var(--gray-200); color: var(--ink); }

/* ---------- Floating agent widget ---------- */
.fab{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
}
.fab__row{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: none;
  background: transparent;
}
.fab__label{
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  position: relative;
  animation: fab-bounce 3.5s ease-in-out infinite;
}
.fab__label b{ color: var(--red); }
.fab__label::after{
  content: "";
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  background: #fff;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
}
@keyframes fab-bounce{
  0%, 78%, 100%{ transform: translateY(0); }
  82%{ transform: translateY(-4px); }
  86%{ transform: translateY(0); }
  90%{ transform: translateY(-2px); }
}
.fab__bubble{
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: visible;
  position: relative;
  flex: none;
  box-shadow: 0 14px 30px rgba(0,0,0,.32);
  transition: transform .15s ease;
}
.fab__row:hover .fab__bubble{ transform: scale(1.06); }
.fab__bubble img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 50%; border: 3px solid #fff; display: block; }
.fab__badge{
  position: absolute;
  bottom: -2px; right: -2px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid #fff;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 10px rgba(228,3,46,.5);
}
.fab__badge svg{ width: 13px; height: 13px; }
.fab__panel{
  position: absolute;
  right: 0;
  bottom: 78px;
  width: 300px;
  background: var(--black);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  opacity: 0;
  transform: translateY(12px) scale(.97);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.fab__panel.is-open{ opacity: 1; transform: none; pointer-events: auto; }
.fab__panel--anchored{ position: fixed; right: auto; bottom: auto; z-index: 96; }
.fab__panel-head{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fab__panel-head span{ font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.5); }
.fab__close{
  width: 26px; height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.fab .agent-card{ align-items: flex-start; }
.fab .agent-card__actions{ width: 100%; margin-top: 14px; justify-content: space-between; }

@media (max-width: 720px){
  .fab{ right: 14px; bottom: 86px; }
  .fab__bubble{ width: 52px; height: 52px; }
  .fab__badge{ width: 22px; height: 22px; }
  .fab__badge svg{ width: 11px; height: 11px; }
  .fab__label{ font-size: 11.5px; padding: 8px 12px; max-width: 108px; }
  .fab__panel{ width: calc(100vw - 28px); right: -8px; }
}

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-bar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 10px 14px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-bar a{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
}
.mobile-bar a svg{ width: 17px; height: 17px; }
.mobile-bar .call{ background: rgba(255,255,255,.1); color: #fff; }
.mobile-bar .lead-btn{ background: var(--red); color: #fff; }
@media (max-width: 720px){
  .mobile-bar{ display: flex; }
  body{ padding-bottom: 70px; }
}

/* ---------- reveal on scroll ---------- */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible{ opacity: 1; transform: none; }

/* ---------- misc ---------- */
.text-center{ text-align: center; }
.mt-0{ margin-top:0 !important; }
