/* ============ NEСАХАР — темная тема (графит) ============ */
:root {
  --bg: linear-gradient(135deg, #2b2e3a 0%, #252834 100%);
  --bg-alt: linear-gradient(135deg, #323544 0%, #2b2e3a 100%);
  --bg-deep: linear-gradient(135deg, #252834 0%, #1e212b 100%);
  --card: rgba(58, 62, 80, 0.9);
  --card-light: #434759;
  --text: #f2f3f7;
  --text-dim: #b9bdcf;
  --pink: #ef3f95;
  --teal: #8fd6de;
  --grad: linear-gradient(100deg, #ef3f95, #8fd6de);
  --radius: 18px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
  --glow-pink: 0 8px 30px rgba(239, 63, 149, 0.35);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(143, 214, 222, 0.3);
}

/* Светлая тема */
body.light {
  --bg: linear-gradient(135deg, #f4f6fb 0%, #eef1f7 100%);
  --bg-alt: linear-gradient(135deg, #e8ecf5 0%, #f0f3f9 100%);
  --bg-deep: linear-gradient(135deg, #e1e6f1 0%, #eef1f7 100%);
  --card: linear-gradient(145deg, #ffffff 0%, #f8fafd 100%);
  --card-light: #f8fafd;
  --text: #1f2330;
  --text-dim: #5a6074;
  --shadow: 0 18px 44px rgba(31, 35, 48, 0.12);
  --shadow-soft: 0 10px 28px rgba(31, 35, 48, 0.08);
  --glow-pink: 0 8px 30px rgba(239, 63, 149, 0.22);
  --border-light: rgba(31, 35, 48, 0.08);
  --border-accent: rgba(143, 214, 222, 0.45);
}
body.light section {
  border-bottom: 1px solid var(--border-light);
}

/* ---- Шапка ---- */
body.light .header {
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(31, 35, 48, 0.08);
  box-shadow: 0 6px 24px rgba(31, 35, 48, 0.08);
}
body.light .header.scrolled {
  box-shadow: 0 10px 32px rgba(31, 35, 48, 0.14);
}
body.light .header__logo img {
  filter: brightness(1.25) contrast(1.1)
    drop-shadow(0 0 2px rgba(31, 35, 48, 0.2))
    drop-shadow(0 0 6px rgba(31, 35, 48, 0.15))
    drop-shadow(0 0 14px rgba(31, 35, 48, 0.1));
}
body.light .header__logo:hover img {
  filter: brightness(1.35) contrast(1.15)
    drop-shadow(0 0 3px rgba(31, 35, 48, 0.25))
    drop-shadow(0 0 8px rgba(31, 35, 48, 0.18))
    drop-shadow(0 0 18px rgba(31, 35, 48, 0.12));
}
body.light .header__link {
  color: var(--text-dim);
}
body.light .header__link:hover {
  color: var(--pink);
}
body.light .header__theme {
  background: rgba(31, 35, 48, 0.08);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
body.light .header__theme:hover {
  background: rgba(239, 63, 149, 0.12);
  color: var(--pink);
}

/* ---- Hero ---- */
body.light .hero__overlay {
  background: linear-gradient(
    115deg,
    rgba(244, 246, 251, 0.85) 0%,
    rgba(244, 246, 251, 0.62) 45%,
    rgba(244, 246, 251, 0.35) 100%
  );
}
body.light .hero__subtitle {
  color: var(--text-dim);
}
body.light .hero__badge,
body.light .hero__badge--pink,
body.light .hero__badge--teal {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--text);
}
body.light .hero__badge-highlight {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
body.light .hero__badge-icon {
  box-shadow: 0 6px 18px rgba(239, 63, 149, 0.25);
}
body.light .hero__slide-info {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 10px 16px;
}
body.light .hero__slide-name {
  text-shadow:
    0 2px 8px rgba(255, 255, 255, 0.9),
    0 1px 3px rgba(0, 0, 0, 0.25);
}
body.light .hero__slide-name {
  text-shadow: none;
}
body.light .hero__pack {
  color: #fff;
  background: rgba(239, 63, 149, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
}
body.light .hero__pack--big {
  background: rgba(143, 214, 222, 0.95);
  color: #1f2330;
}
body.light .hero__pack--small {
  background: rgba(239, 63, 149, 0.65);
}
body.light .hero__cta-big {
  box-shadow: 0 0 0 0 rgba(239, 63, 149, 0.35);
}
body.light .hero__cta-big.visible {
  animation: ctaPulseLight 1.6s ease-in-out infinite;
}
@keyframes ctaPulseLight {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 63, 149, 0.35);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(239, 63, 149, 0);
  }
}

/* ---- Карточки и блоки ---- */
body.light .product-card,
body.light .assort-card,
body.light .why-item,
body.light .about__fact,
body.light .review,
body.light .faq__item,
body.light .social__point,
body.light .assort-mini,
body.light .quiz-section__manager,
body.light .footer__soc {
  border-color: var(--border-light);
}
body.light .product-card:hover,
body.light .assort-card:hover {
  box-shadow: 0 24px 50px rgba(31, 35, 48, 0.14);
}
body.light .product-card__packs span {
  border-color: rgba(31, 35, 48, 0.15);
  color: #1d5a62;
  background: rgba(143, 214, 222, 0.12);
}
body.light .about__cat,
body.light .quiz__opt:hover {
  background: rgba(143, 214, 222, 0.12);
  border-color: rgba(143, 214, 222, 0.35);
  color: #1d5a62;
}
body.light .about__gallery img,
body.light .about__photos-row img,
body.light .about__cert-card,
body.light .social__photo,
body.light .why__photo img,
body.light .eco__photo img,
body.light .about__photo img {
  box-shadow: 0 10px 26px rgba(31, 35, 48, 0.12);
}

/* ---- Секции с жесткими градиентами ---- */
body.light .quiz-section,
body.light .price-form,
body.light .final-cta {
  background: var(--bg-alt);
}
body.light .cta-partners {
  background: linear-gradient(120deg, #f4eef2 0%, #eef1f7 55%, #e8f0f2 100%);
}

/* ---- Кнопки ---- */
body.light .btn--outline {
  border-color: #1d5a62;
  color: #1d5a62;
}
body.light .btn--outline:hover {
  background: #1d5a62;
  color: #fff;
}

/* ---- Заголовки ---- */
body.light .h3,
body.light .quiz__discount {
  color: #1d5a62;
}

/* ---- Формы ---- */
body.light .form input[type="text"],
body.light .form input[type="tel"],
body.light .form input[type="email"],
body.light .form textarea {
  background: var(--card-light);
  border-color: rgba(31, 35, 48, 0.14);
  color: var(--text);
}
body.light .form input::placeholder,
body.light .form textarea::placeholder {
  color: #8a90a3;
}
body.light .form input:focus,
body.light .form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(143, 214, 222, 0.25);
}
body.light .consent {
  color: var(--text-dim);
}
body.light .form-success {
  background: rgba(143, 214, 222, 0.12);
  border-color: rgba(143, 214, 222, 0.45);
}

/* ---- FAQ ---- */
body.light .faq__q:hover {
  color: var(--pink);
}

/* ---- География ---- */
body.light .geo__cities span {
  background: rgba(239, 63, 149, 0.08);
  border-color: rgba(239, 63, 149, 0.25);
  color: #8a1b55;
}
body.light .geo__cities span:hover {
  background: rgba(143, 214, 222, 0.12);
  border-color: rgba(143, 214, 222, 0.35);
  color: #1d5a62;
}

/* ---- Футер ---- */
body.light .footer {
  background: var(--bg-deep);
  border-top-color: rgba(31, 35, 48, 0.08);
}
body.light .footer__email {
  color: #1d5a62;
}
body.light .footer__phone:hover,
body.light .footer__email:hover {
  color: var(--pink);
}
body.light .footer__copy {
  color: rgba(31, 35, 48, 0.45);
  border-top-color: rgba(31, 35, 48, 0.08);
}
body.light .quiz-section__manager-phone:hover,
body.light .footer__sales-phone:hover {
  color: var(--pink);
}

/* ---- Модальные окна ---- */
body.light .modal__backdrop {
  background: rgba(20, 22, 30, 0.48);
  backdrop-filter: blur(8px);
}
body.light .modal__box {
  background: var(--card);
  border-color: rgba(31, 35, 48, 0.1);
}
body.light .quiz__progress {
  background: rgba(31, 35, 48, 0.1);
}
body.light .quiz__opt {
  border-color: var(--border-light);
}

/* ---- Лайтбокс ---- */
body.light .lightbox__backdrop {
  background: rgba(15, 17, 24, 0.82);
}
body.light .lightbox__close,
body.light .lightbox__arrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---- Мелкие детали ---- */
body.light .hero__slide img {
  filter: drop-shadow(0 16px 32px rgba(31, 35, 48, 0.18));
}
body.light .hero__slide.active img {
  filter: drop-shadow(0 20px 36px rgba(31, 35, 48, 0.22)) blur(0);
}
body.light .hero__badge:hover {
  box-shadow: 0 18px 42px rgba(31, 35, 48, 0.16);
}
body.light .social__photo {
  border: 1px solid rgba(31, 35, 48, 0.08);
}

/* ---- Акценты ---- */
body.light .hero__tagline {
  color: #1d5a62;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
  font-family: "Montserrat", sans-serif;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

img {
  max-width: 100%;
  display: block;
}

/* ---- Заголовки (по plans.md) ---- */
.h1 {
  display: block;
  font-size: clamp(45px, 7vw, 110px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  color: #ef3f95;
  text-shadow:
    0.035em 0.035em 0 #8fd6de,
    0.07em 0.07em 0 rgba(143, 214, 222, 0.55);
}
.hero__h1 {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.hero__brand {
  position: relative;
  display: inline-block;
}
.hero__tagline {
  display: block;
  margin-top: 0.1em;
  font-size: clamp(20px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  text-shadow: none;
  align-self: flex-end;
}
.hero__tm {
  position: absolute;
  top: -0.12em;
  right: -0.12em;
  width: 1.45em;
  height: 1.45em;
  font-size: 0.13em;
  text-shadow: none;
  transform: translate(50%, -50%);
}
.hero__tm svg {
  width: 100%;
  height: 100%;
  display: block;
}

.h2 {
  display: block;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #ef3f95;
  text-shadow:
    0.035em 0.035em 0 #8fd6de,
    0.07em 0.07em 0 rgba(143, 214, 222, 0.55);
  margin-bottom: 40px;
}

.h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 19px;
  color: var(--text-dim);
  margin: -18px 0 36px;
}

/* ---- Кнопки ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  padding: 14px 34px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  color: #fff;
  text-decoration: none;
}
.btn--accent {
  background: linear-gradient(100deg, #ef3f95, #d63aa0);
  box-shadow: var(--glow-pink);
}
.btn--accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(239, 63, 149, 0.5);
}
.btn--outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
  box-shadow: none;
}
.btn--outline:hover {
  background: var(--teal);
  color: var(--bg-deep);
  transform: translateY(-3px);
}
.btn--big {
  font-size: 18px;
  padding: 18px 48px;
}
.btn--small {
  font-size: 13px;
  padding: 9px 18px;
}
.btn--block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
  transform: none !important;
}

/* ---- Шапка ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(37, 40, 52, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s ease;
}
.header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.header__logo img {
  height: 44px;
  width: auto;
  filter: brightness(1.85) contrast(1.35) saturate(1.2)
    drop-shadow(0 0 3px rgba(0, 0, 0, 0.95))
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 20px rgba(255, 255, 255, 0.75))
    drop-shadow(0 0 40px rgba(255, 255, 255, 0.5));
  transition: filter 0.3s ease;
}
.header__logo:hover img {
  filter: brightness(2) contrast(1.45) saturate(1.3)
    drop-shadow(0 0 3px rgba(0, 0, 0, 0.95))
    drop-shadow(0 0 10px rgba(255, 255, 255, 1))
    drop-shadow(0 0 26px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 52px rgba(255, 255, 255, 0.6));
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__nav-logo,
.header__nav-contacts {
  display: none;
}
.email-with-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.email-with-copy .footer__email {
  display: inline-flex;
  margin-bottom: 0;
}
.email-copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-dim);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.email-copy:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  transform: scale(1.1);
}
body.light .email-copy {
  background: rgba(31, 35, 48, 0.06);
  border-color: rgba(31, 35, 48, 0.1);
  color: var(--text-dim);
}
body.light .email-copy:hover {
  color: #fff;
  border-color: transparent;
}
.copy-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--card);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
  z-index: 400;
  pointer-events: none;
}
.copy-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.header__link {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.header__link i {
  font-size: 14px;
  color: var(--pink);
}
.header__link:hover {
  color: var(--teal);
}
.header__cta {
  padding: 11px 26px;
  font-size: 14px;
}
.header__theme {
  background: none;
  border: none;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
  margin-left: 8px;
  transition:
    color 0.2s,
    transform 0.2s;
}
.header__theme:hover {
  color: var(--pink);
  transform: scale(1.15);
}
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 110;
  color: var(--text);
  font-size: 24px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero__video-wrap {
  position: absolute;
  inset: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    115deg,
    rgba(37, 40, 52, 0.95) 0%,
    rgba(43, 46, 58, 0.82) 55%,
    rgba(43, 46, 58, 0.55) 100%
  ); */

  background: linear-gradient(
    115deg,
    rgb(227 142 184 / 42%) 0%,
    rgb(0 0 0 / 71%) 55%,
    rgb(157 158 161 / 55%) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 40px;
}
.hero__subtitle {
  font-size: 21px;
  color: var(--text);
  margin: 28px 0 34px;
  max-width: 640px;
}
.hero__badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}
.hero__badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-radius: 24px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.hero__badge:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: var(--shadow);
}
.hero__badge-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 24px rgba(239, 63, 149, 0.35);
}
.hero__badge-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.hero__badge-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2px;
}
.hero__badge-highlight {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__badge-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: badgeShine 5s ease-in-out infinite;
}
.hero__badge:nth-of-type(1) .hero__badge-shine {
  animation-delay: 0s;
}
.hero__badge:nth-of-type(2) .hero__badge-shine {
  animation-delay: 2.5s;
}
@keyframes badgeShine {
  0% {
    transform: translateX(-120%);
  }
  40% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}
.hero__badge--pink,
.hero__badge--teal {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__img {
  position: relative;
  text-align: center;
  min-height: 460px;
}
.hero__slideshow {
  position: relative;
  width: 100%;
  height: 460px;
  opacity: 0.85;
}
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero__slide img {
  max-height: 72%;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
  opacity: 0.9;
}
.hero__slide.active {
  opacity: 1;
  transform: none;
}
.hero__slide.active img {
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.5)) blur(0);
}
.hero__slide--zoom {
  transform: scale(0.3) rotate(-18deg);
}
.hero__slide--right {
  transform: translateX(120%) rotate(12deg);
}
.hero__slide--rotate {
  transform: rotate(200deg) scale(0.25);
}
.hero__slide--flip {
  transform: perspective(700px) rotateY(95deg);
}
.hero__slide--blur {
  transform: scale(1.3);
}
.hero__slide--blur img {
  filter: blur(18px);
}
.hero__slide--swing {
  transform: translateY(-120%) rotate(35deg);
}
.hero__slide-info {
  position: absolute;
  top: 4%;
  left: 50%;
  z-index: 2;
  text-align: center;
  padding: 10px 16px;
  opacity: 0;
  transform: translateX(-50%) translateY(-20px);
  transition:
    opacity 0.5s ease 0.25s,
    transform 0.5s ease 0.25s;
}
.hero__slide.active .hero__slide-info {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.hero__slide-name {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  text-align: center;
  text-shadow:
    0 0 18px rgba(239, 63, 149, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.55);
}
.hero__slide-packs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero__pack {
  padding: 7px 14px;
  border-radius: 30px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: rgba(239, 63, 149, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.hero__pack--big {
  background: rgba(143, 214, 222, 0.85);
  color: #1a1d26;
  font-size: 15px;
  padding: 9px 17px;
}
.hero__pack--small {
  background: rgba(239, 63, 149, 0.55);
  font-size: 11px;
  padding: 5px 10px;
}

.hero__cta-big {
  position: absolute;
  inset: 0;
  margin: auto;
  width: max-content;
  height: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #fff;
  padding: 26px 48px;
  border: none;
  border-radius: 60px;
  background: linear-gradient(100deg, #ef3f95, #8fd6de);
  box-shadow: 0 0 0 0 rgba(239, 63, 149, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.4) rotate(-12deg);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  z-index: 2;
}
.hero__cta-big.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1) rotate(0deg);
  animation: ctaPulse 1.6s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 63, 149, 0.55);
  }
  50% {
    box-shadow: 0 0 0 22px rgba(239, 63, 149, 0);
  }
}

.hero__cta-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #fff;
  padding: 20px 36px;
  border: none;
  border-radius: 60px;
  background: linear-gradient(100deg, #ef3f95, #8fd6de);
  box-shadow: 0 10px 30px rgba(239, 63, 149, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  cursor: pointer;
}
.hero__cta-discount:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(239, 63, 149, 0.5);
}

/* ---- Продукты ---- */
.products {
  position: relative;
  background: var(--bg-alt);
  padding-top: 90px;
  overflow: hidden;
}
.products__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.products .container {
  position: relative;
  z-index: 1;
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.products__more {
  text-align: center;
  margin-top: 50px;
}
.products__more-text,
.products__also-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 18px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.products__also-title {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 24px;
}
.products > .container > .h2 {
  text-align: center;
  margin-bottom: 34px;
}
.product-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.product-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 46px 46px 0 0;
  border-color: transparent var(--pink) transparent transparent;
  filter: drop-shadow(-3px -3px 5px rgba(0, 0, 0, 0.3));
  z-index: 4;
  transform-origin: bottom right;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
  pointer-events: none;
}
.product-card:hover::after {
  transform: scale(1.15) rotate(-8deg);
  filter: drop-shadow(-5px -5px 10px rgba(0, 0, 0, 0.45));
}
body.light .product-card::after {
  border-color: transparent var(--teal) transparent transparent;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 26px 54px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(143, 214, 222, 0.25);
}
.product-card__img {
  height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 20px;
}
.product-card__img img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
}
.product-card__title {
  font-size: 22px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.product-card__text {
  font-size: 14.5px;
  color: var(--text-dim);
  margin-bottom: 18px;
  min-height: 66px;
}
.product-card__packs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-card__packs span {
  font-size: 13px;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 30px;
  border: 1px solid rgba(143, 214, 222, 0.4);
  color: var(--teal);
}
.product-card__specs {
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 24px;
  background: rgba(37, 40, 52, 0.95);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.55;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.product-card__specs b {
  color: var(--teal);
}
.product-card__specs p {
  margin-bottom: 8px;
}
.product-card__specs ul {
  margin: 8px 0 12px 18px;
}
.product-card__specs-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
}
.product-card__specs-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-right: 34px;
  color: var(--text);
}
.product-card.active .product-card__specs {
  opacity: 1;
  visibility: visible;
}
@media (min-width: 901px) {
  .product-card:hover .product-card__specs {
    opacity: 1;
    visibility: visible;
  }
  .product-card__specs-close {
    display: none;
  }
}
body.light .product-card__specs {
  background: rgba(245, 246, 250, 0.96);
  color: var(--text);
}
.product-card__order {
  margin-top: 16px;
}

/* ---- Преимущества продукта ---- */
.benefits {
  background: var(--bg);
}
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.benefits__card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.benefits__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}
.benefits__card--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.benefits__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}
.benefits__half {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.benefits__half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.benefits__half--bad img {
  object-position: center top;
}
.benefits__jar {
  position: absolute;
  right: 4%;
  bottom: 4%;
  width: 15%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
  z-index: 2;
}
.benefits__label {
  position: absolute;
  top: 12px;
  z-index: 3;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.benefits__label--left {
  left: 12px;
  background: rgba(255, 255, 255, 0.85);
  color: #1f2330;
}
.benefits__label--right {
  right: 12px;
  background: linear-gradient(100deg, #ef3f95, #d63aa0);
  color: #fff;
}
.benefits__badge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 30px;
  text-align: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.benefits__badge--bad {
  background: #c94a4a;
}
.benefits__badge--good {
  background: #4caf70;
}
.benefits__badge i {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.benefits__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  font-size: 30px;
  color: #fff;
  background: var(--grad);
  box-shadow: var(--glow-pink);
}
.benefits__title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 14px;
  line-height: 1.2;
}
.benefits__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dim);
}
body.light .benefits__card {
  border-color: var(--border-light);
}

/* ---- Сравнение сахара и сахарозаменителя ---- */
.comparison {
  background: var(--bg);
}
.comparison .h2 {
  text-align: center;
  margin-bottom: 12px;
}
.comparison .section-subtitle {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 46px;
}
.comparison__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 50px;
}
.comparison__card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.comparison__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  z-index: 3;
}
.comparison__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 33, 43, 0.72) 0%,
    rgba(30, 33, 43, 0.55) 40%,
    rgba(30, 33, 43, 0.68) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
}
.comparison__card--bad::before {
  background: linear-gradient(90deg, #c94a4a, #e06b6b);
}
.comparison__card--good::before {
  background: linear-gradient(90deg, #4caf70, #6bc98e);
}
.comparison__label {
  position: relative;
  z-index: 2;
  display: inline-block;
  align-self: flex-start;
  width: auto;
  max-width: max-content;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
  color: #fff;
}
.comparison__card--bad .comparison__label {
  background: linear-gradient(100deg, #c94a4a, #e06b6b);
}
.comparison__card--good .comparison__label {
  background: linear-gradient(100deg, #4caf70, #6bc98e);
  animation: comparisonPulseGreen 2s ease-in-out infinite;
}
@keyframes comparisonPulseGreen {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 112, 0.55);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(76, 175, 112, 0);
  }
}
.comparison__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.comparison__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.comparison__card--good .comparison__img img {
  object-fit: contain;
  padding: 30px;
}
.comparison__list {
  position: relative;
  z-index: 2;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  margin-bottom: auto;
}
.comparison__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}
.comparison__list i {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  color: #fff;
  margin-top: -2px;
}
.comparison__card--bad .comparison__list i {
  background: linear-gradient(135deg, #c94a4a, #e06b6b);
  box-shadow: 0 6px 16px rgba(201, 74, 74, 0.35);
}
.comparison__card--good .comparison__list i {
  background: linear-gradient(135deg, #4caf70, #6bc98e);
  box-shadow: 0 6px 16px rgba(76, 175, 112, 0.35);
}
.comparison__vs {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 34px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 40px rgba(239, 63, 149, 0.45);
  z-index: 4;
  margin: 0 -32px;
  flex-shrink: 0;
  animation: comparisonVsPulse 3s ease-in-out infinite;
}
@keyframes comparisonVsPulse {
  0% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 12px 40px rgba(239, 63, 149, 0.45);
  }
  16.66% {
    transform: scale(1.08) rotate(180deg);
    box-shadow: 0 16px 50px rgba(239, 63, 149, 0.65);
  }
  33.33% {
    transform: scale(1) rotate(360deg);
    box-shadow: 0 12px 40px rgba(239, 63, 149, 0.45);
  }
  100% {
    transform: scale(1) rotate(360deg);
    box-shadow: 0 12px 40px rgba(239, 63, 149, 0.45);
  }
}
.comparison__badges {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.comparison__cta {
  text-align: center;
  margin-top: 46px;
}
.comparison__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.comparison__badge-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  color: #fff;
  background: var(--grad);
  box-shadow: var(--glow-pink);
  transition: transform 0.5s ease;
}
.comparison__badges:hover
  .comparison__badge:nth-child(1)
  .comparison__badge-icon {
  transform: rotate(360deg);
}
.comparison__badges:hover
  .comparison__badge:nth-child(2)
  .comparison__badge-icon {
  transform: rotate(360deg);
  transition-delay: 0.1s;
}
.comparison__badges:hover
  .comparison__badge:nth-child(3)
  .comparison__badge-icon {
  transform: rotate(360deg);
  transition-delay: 0.2s;
}
.comparison__badges:hover
  .comparison__badge:nth-child(4)
  .comparison__badge-icon {
  transform: rotate(360deg);
  transition-delay: 0.3s;
}
.comparison__badges:hover
  .comparison__badge:nth-child(5)
  .comparison__badge-icon {
  transform: rotate(360deg);
  transition-delay: 0.4s;
}
.comparison__badges:hover
  .comparison__badge:nth-child(6)
  .comparison__badge-icon {
  transform: rotate(360deg);
  transition-delay: 0.5s;
}
.comparison__badge:hover .comparison__badge-icon {
  transform: rotate(360deg);
}
.comparison__badge span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

/* Светлая тема — сравнение */
body.light .comparison__card,
body.light .comparison__badge {
  border-color: var(--border-light);
}
body.light .comparison__card::after {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.68) 40%,
    rgba(255, 255, 255, 0.78) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
body.light .comparison__card--bad .comparison__label {
  background: linear-gradient(100deg, #c94a4a, #d65c5c);
}
body.light .comparison__card--good .comparison__label {
  background: linear-gradient(100deg, #3d9c60, #5bbf7f);
}
body.light .comparison__list li {
  color: var(--text);
}

/* ---- Квиз-секция ---- */
.quiz-section {
  background: linear-gradient(120deg, #35283a, #2b2e3a 60%, #253640);
}
.quiz-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.quiz-section__manager {
  background: var(--card);
  border: 1px solid rgba(143, 214, 222, 0.3);
  border-radius: var(--radius);
  padding: 26px 34px;
  box-shadow: var(--shadow);
  min-width: 280px;
}
.quiz-section__manager-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--pink);
  margin-bottom: 14px;
}
.quiz-section__manager-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quiz-section__manager-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quiz-section__manager-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
}
.quiz-section__manager-phone {
  color: var(--teal);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}
.quiz-section__manager-phone:hover {
  color: var(--pink);
}
.quiz-section__manager-email {
  margin-top: 16px;
  margin-bottom: 0;
}
.quiz-section__manager-email .footer__email {
  font-size: 14px;
}

/* ---- Ассортимент ---- */
.assortment__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}
.assort-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.assort-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}
.assort-card__img {
  height: 230px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 20px;
}
.assort-card__img img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
}
.assort-card__title {
  font-size: 24px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.assort-card__specs {
  font-size: 14px;
  color: var(--text-dim);
  flex-grow: 1;
}
.assort-card__specs b {
  color: var(--text);
}
.assort-card__specs p {
  margin-bottom: 8px;
}
.assort-card__specs ul {
  margin: 8px 0 12px 20px;
}
.assort-card__btn {
  align-self: flex-start;
  margin-top: 16px;
}
.assortment__also {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  align-items: stretch;
}
.assort-mini {
  flex: 0 1 calc((100% - 40px) / 3);
  min-width: 160px;
  max-width: 320px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
}
.assort-mini:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.assort-mini__img {
  height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 14px;
}
.assort-mini__img img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
}
.assort-mini--sticks {
  padding: 0;
  overflow: hidden;
  margin: 30px auto 0;
  width: calc((100% - 40px) / 3);
  max-width: 320px;
}
.assort-mini--sticks .assort-mini__img--bg {
  position: relative;
  height: 100%;
  min-height: 190px;
  background: center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
}
.assort-mini__img-hover {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.assort-mini--sticks:hover .assort-mini__img-hover {
  opacity: 1;
}
.assort-mini__title,
.assort-mini__badge {
  position: relative;
  z-index: 1;
}
.assort-mini__title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-shadow:
    -1px -1px 0 rgba(0, 0, 0, 0.8),
    1px -1px 0 rgba(0, 0, 0, 0.8),
    -1px 1px 0 rgba(0, 0, 0, 0.8),
    1px 1px 0 rgba(0, 0, 0, 0.8),
    0 2px 8px rgba(0, 0, 0, 0.55);
}
.assort-mini__badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
@media (max-width: 640px) {
  .assort-mini--sticks {
    width: calc((100% - 20px) / 2);
  }
}

/* ---- Формы ---- */
.price-form {
  background: linear-gradient(120deg, #33304a, #2b2e3a 60%, #2c3d44);
}
.form {
  max-width: 720px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form__field {
  margin-bottom: 18px;
}
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  resize: vertical;
}
.form input::placeholder,
.form textarea::placeholder {
  color: var(--text-dim);
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(143, 214, 222, 0.18);
}
.form input.invalid,
.form textarea.invalid {
  border-color: var(--pink);
}
.form__error {
  color: #ff7ec0;
  font-size: 13px;
  margin-top: 6px;
  min-height: 0;
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--text-dim);
  margin: 6px 0 4px;
  cursor: pointer;
}
.consent input {
  margin-top: 3px;
  accent-color: var(--pink);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.consent a {
  color: var(--teal);
}
.form__error--consent {
  margin: 4px 0 12px;
}
.form .btn {
  margin-top: 8px;
}
.form-success {
  background: rgba(143, 214, 222, 0.1);
  border: 1px solid rgba(143, 214, 222, 0.4);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  max-width: 720px;
}
.form-success__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
}
.form-status {
  font-size: 14px;
  margin-top: 10px;
}
.form-status--error {
  color: #ff4d4d;
  background: rgba(255, 77, 77, 0.12);
  border: 1px solid rgba(255, 77, 77, 0.35);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-weight: 600;
}
.form-status--success {
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-weight: 600;
}

/* ---- Почему выгодно ---- */
.why {
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/101.webp") center/cover no-repeat;
  filter: blur(8px) brightness(0.5);
  transform: translateY(var(--parallax-y, 0)) scale(1.1);
  z-index: 0;
}
.why .container {
  position: relative;
  z-index: 1;
}
body.light .why::before {
  filter: blur(8px) brightness(0.8);
}
.why__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: center;
}
.why-item {
  display: flex;
  gap: 22px;
  background: rgba(37, 40, 52, 0.78);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}
body.light .why-item {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.45);
}
.why-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
  background: rgba(37, 40, 52, 0.88);
}
body.light .why-item:hover {
  background: rgba(255, 255, 255, 0.92);
}
.why-item__num {
  font-family: "Montserrat", sans-serif;
  font-size: 34px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
}
.why-item__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.why-item p {
  font-size: 14.5px;
  color: var(--text-dim);
}
.why-item p + p {
  margin-top: 8px;
}
.why__photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.why__photo {
  align-self: center;
}

/* ---- CTA блоки ---- */
.cta-partners {
  background: linear-gradient(120deg, #3a2c42, #2b2e3a 55%, #274049);
  position: relative;
  overflow: hidden;
}
.cta-partners__inner,
.catalog-cta__inner,
.final-cta__inner {
  text-align: center;
}
.cta-partners .btn,
.catalog-cta .btn {
  margin-top: 10px;
}
.catalog-cta {
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
}
.catalog-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/photo-peanuts-wide.webp") center/cover no-repeat;
  filter: blur(12px) brightness(0.45);
  transform: translateY(var(--parallax-y, 0)) scale(1.04);
  z-index: 0;
}
.catalog-cta .container {
  position: relative;
  z-index: 1;
}
body.light .catalog-cta::before {
  filter: blur(12px) brightness(0.75);
}
.final-cta {
  background: linear-gradient(120deg, #33304a, #2b2e3a 60%, #2c3d44);
}
.final-cta .form,
.final-cta .form-success,
.price-form .form,
.price-form .form-success {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* ---- О компании ---- */
.about {
  position: relative;
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/photo-production.webp") center/cover no-repeat;
  filter: blur(10px) brightness(0.45);
  transform: translateY(var(--parallax-y, 0)) scale(1.08);
  z-index: 0;
}
.about .container {
  position: relative;
  z-index: 1;
}
body.light .about::before {
  filter: blur(10px) brightness(0.32) saturate(0.85);
}
body.light .about__lead,
body.light .about__cats-title,
body.light .about__cert p,
body.light .about__cert .h3 {
  color: #f2f3f7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
body.light .about__cat {
  color: #f2f3f7;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}
body.light .about__cat:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}
body.light .about__cat--action {
  background: linear-gradient(100deg, #ef3f95, #d63aa0);
  border-color: transparent;
}
.about__lead {
  font-size: 19px;
  color: var(--text);
  max-width: 900px;
  margin-bottom: 40px;
}
.about__gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 44px;
}
.about__gallery img {
  border-radius: 12px;
  height: 190px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
}
.about__gallery img:hover {
  transform: scale(1.04);
}
.about__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}
.about__fact {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid rgba(239, 63, 149, 0.3);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-height: 340px;
}
.about__fact-num {
  font-family: "Montserrat", sans-serif;
  font-size: 60px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.about__fact-num--text {
  font-size: 24px;
  line-height: 1.3;
}

.about__fact--bg {
  position: relative;
  overflow: hidden;
  background: none;
  border-color: rgba(255, 255, 255, 0.25);
}
.about__fact--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(37, 40, 52, 0.55);
  z-index: 1;
}
.about__fact--bg > span {
  position: relative;
  z-index: 2;
}
.about__fact--bg > span:not(.about__fact-num) {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Background images with subtle blur via ::after */
.about__fact--natural::after,
.about__fact--peanuts::after,
.about__fact--production::after {
  content: "";
  position: absolute;
  inset: -8px;
  background: center/cover no-repeat;
  transform: scale(1.05);
  z-index: 0;
}
.about__fact--natural::after {
  background-image: url("../img/photo-natural.webp");
}
.about__fact--peanuts::after {
  background-image: url("../img/photo-peanuts.webp");
}
.about__fact--production::after {
  background-image: url("../img/photo-production.webp");
}

/* Products gallery card keeps dark overlay like other fact cards */
.about__fact--products {
  border-color: rgba(255, 255, 255, 0.25);
}
.about__fact--products > span:not(.about__fact-num) {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Animated gallery grid background for products fact */
.about__fact-bg-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 4px;
  z-index: 0;
}
.about__fact-bg-cell {
  position: relative;
  overflow: hidden;
}
.about__fact-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.6s ease;
}
.about__fact-bg-img--next {
  opacity: 0;
}

.about__cats-block {
  margin-bottom: 44px;
}
.about__cats-title {
  font-size: 18px;
  margin-bottom: 22px;
  max-width: 900px;
}
.about__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.about__cat {
  padding: 12px 26px;
  border-radius: 40px;
  background: rgba(143, 214, 222, 0.1);
  border: 1px solid rgba(143, 214, 222, 0.4);
  color: var(--teal);
  font-weight: 600;
}
.about__cat--action {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 22px rgba(239, 63, 149, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.about__cat--action:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(239, 63, 149, 0.45);
}
body.light .about__cat--action {
  color: #fff;
}
.about__photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}
.about__cert {
  margin-top: 80px;
}
.about__cert p {
  max-width: 900px;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.about__cert-imgs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}
.about__cert-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.about__cert-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.about__photos-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 18px;
  margin-top: 44px;
}
.about__photos-row img {
  border-radius: 12px;
  height: 260px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.reliable {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.reliable__gallery-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: hidden;
  z-index: 0;
}
.reliable__gallery {
  display: flex;
  gap: 0;
  height: 100%;
  flex-shrink: 0;
  width: -webkit-max-content;
  width: max-content;
  opacity: 0.35;
  will-change: transform;
}
.reliable__gallery--animate {
  animation: reliableGallery 50s linear infinite;
}
.reliable__gallery img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  flex: 0 0 auto;
  -webkit-user-drag: none;
  pointer-events: none;
}
.reliable__gallery img:hover {
  transform: none;
}
body.light .reliable__gallery {
  opacity: 0.55;
  filter: brightness(1.15) saturate(1.1);
}
.reliable .container {
  position: relative;
  z-index: 1;
}
@keyframes reliableGallery {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.reliable__content {
  padding: 44px 54px;
  text-align: center;
  background: rgba(37, 40, 52, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  max-width: 980px;
  margin: 0 auto;
}
.reliable__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}
.reliable__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(239, 63, 149, 0.35);
}
.reliable__header .h3 {
  margin-bottom: 0;
}
.reliable__content .about__cats-title {
  color: var(--text);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
body.light .reliable__content {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(31, 35, 48, 0.1);
}
body.light .reliable__content .about__cats-title {
  color: var(--text);
  text-shadow: none;
}
body.light .reliable__content .about__cat {
  color: #1d5a62;
  background: rgba(143, 214, 222, 0.14);
  border-color: rgba(143, 214, 222, 0.4);
}
body.light .reliable__content .about__cat:hover {
  background: rgba(143, 214, 222, 0.22);
  border-color: rgba(143, 214, 222, 0.55);
}
@media (max-width: 640px) {
  .reliable__content {
    padding: 34px 24px;
  }
}

/* ---- Соцактивность ---- */
.social {
  background: var(--bg-alt);
}
.social__points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 46px;
}
.social__point {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  font-size: 14.5px;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.social__point:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.social__point-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(239, 63, 149, 0.35);
  flex-shrink: 0;
}
.social__gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.social__photo {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
}
.social__photo img {
  height: 170px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.social__photo:hover img {
  transform: scale(1.08);
}
.eco {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 80px;
}
.eco__text p {
  color: var(--text-dim);
  margin-bottom: 16px;
}
.eco__photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.eco__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
  padding: 44px 34px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}
.eco__card i {
  font-size: 64px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eco__card p {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
}

.faq__list {
  max-width: 900px;
}
.faq__item {
  background: var(--card);
  border-radius: 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 17px;
  text-align: left;
  padding: 20px 26px;
  cursor: pointer;
  transition: color 0.2s;
}
.faq__q:hover {
  color: var(--teal);
}
.faq__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  transition: transform 0.3s ease;
}
.faq__icon i {
  font-size: 16px;
}
.faq__item.open .faq__icon {
  transform: rotate(180deg);
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq__a p {
  padding: 0 26px 22px;
  color: var(--text-dim);
  font-size: 15px;
}

/* ---- Отзывы ---- */
.reviews {
  background: var(--bg-alt);
}
.reviews__marquee {
  display: flex;
  overflow: hidden;
  padding: 16px 0;
}
.reviews__grid--animate {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: reviewsMarquee 30s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.reviews__grid--animate .review {
  width: min(360px, 80vw);
  height: 460px;
  flex-shrink: 0;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  padding: 10px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.reviews__grid--animate .review:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.reviews__grid--animate .review img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  display: block;
  background: #fff;
}
body.light .reviews__grid--animate .review {
  border-color: var(--border-light);
}
.reviews__marquee:hover .reviews__grid--animate {
  animation-play-state: paused;
}
@keyframes reviewsMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ---- География ---- */
.geo {
  position: relative;
}
.geo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../logo.svg") center / 100% auto no-repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.geo .container {
  position: relative;
  z-index: 1;
}
.geo__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.geo__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.geo__cities span {
  font-size: 13.5px;
  padding: 7px 15px;
  border-radius: 30px;
  background: rgba(239, 63, 149, 0.1);
  border: 1px solid rgba(239, 63, 149, 0.3);
  color: #ffb9dc;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease;
}
.geo__cities span:hover {
  background: rgba(143, 214, 222, 0.14);
  border-color: rgba(143, 214, 222, 0.4);
  color: var(--teal);
}
.geo__cities span.is-active {
  background: linear-gradient(120deg, #ef3f95, #8fd6de);
  border-color: transparent;
  color: #fff;
}
.geo__more {
  background: rgba(143, 214, 222, 0.12);
  border-color: rgba(143, 214, 222, 0.4);
  color: var(--teal);
  font-weight: 700;
}
body.light .geo__cities span.is-active {
  color: #1f2330;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
}

/* ---- Футер ---- */
.footer {
  background: var(--bg-deep);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer__logo {
  height: 100px;
  width: auto;
  margin-bottom: 22px;
}
.footer__requisites {
  font-size: 13.5px;
  color: var(--text-dim);
}
.footer__phone {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 10px;
}
.footer__phone:hover {
  color: var(--teal);
}
.footer__phone i {
  font-size: 18px;
  margin-right: 10px;
  color: var(--pink);
}
.footer__email {
  display: block;
  color: var(--teal);
  text-decoration: none;
  margin-bottom: 22px;
}
.footer__email i {
  font-size: 16px;
  margin-right: 10px;
  color: var(--pink);
}
.footer__sales {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  margin-bottom: 20px;
}
.footer__sales-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--pink);
  margin-bottom: 10px;
}
.footer__sales-phone {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer__sales-phone:hover {
  color: var(--teal);
}
.footer__sales-phone i {
  font-size: 14px;
  margin-right: 8px;
  color: var(--pink);
}
.footer__sales-name {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-dim);
}
.footer__sales .email-with-copy {
  margin-top: 12px;
  margin-bottom: 0;
}
.footer__sales .email-with-copy .footer__email {
  font-size: 14px;
}
.footer__social {
  display: flex;
  gap: 12px;
}
.footer__soc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.footer__soc i {
  font-size: 22px;
}
.footer__soc:hover {
  background: var(--grad);
  color: #fff;
  transform: translateY(-3px);
}
.footer__form-title {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.footer__form-sub {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer__copy {
  font-size: 12px;
  color: rgba(185, 189, 207, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
}

/* ---- Попапы ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open {
  display: flex;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 30, 0.78);
  backdrop-filter: blur(6px);
}
.modal__box {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.3s ease;
}
.modal__box--quiz {
  max-width: 620px;
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 22px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: color 0.2s;
}
.modal__close:hover {
  color: var(--pink);
}
.modal__body {
  padding: 40px 36px 36px;
}
.modal__heading {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--pink);
  margin-bottom: 10px;
}
.modal__sub {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 24px;
}

/* ---- Квиз ---- */
.quiz__top {
  padding: 26px 36px 0;
}
.quiz__progress {
  height: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 12px;
}
.quiz__progress-bar {
  height: 100%;
  width: 0;
  background: var(--grad);
  border-radius: 8px;
  transition: width 0.4s ease;
}
.quiz__discount {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: var(--teal);
}
.quiz__body {
  padding: 22px 36px 36px;
}
.quiz__q-title {
  font-family: "Montserrat", sans-serif;
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 8px;
}
.quiz__hint {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.quiz__opts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz__opt {
  text-align: left;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}
.quiz__opt:hover {
  border-color: var(--teal);
  background: var(--card-light);
  transform: translateX(4px);
}
.quiz__calc {
  text-align: center;
  padding: 40px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
}
.quiz__spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto 22px;
  border: 5px solid rgba(143, 214, 222, 0.2);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.quiz__final-discount {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.quiz__final-discount b {
  color: var(--pink);
  font-size: 24px;
}

/* ---- Лайтбокс ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open {
  display: flex;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 24, 0.92);
}
.lightbox__img {
  position: relative;
  max-width: 88vw;
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 2;
}
.lightbox__close,
.lightbox__arrow {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text);
  cursor: pointer;
  border-radius: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox__close {
  top: 22px;
  right: 26px;
  font-size: 34px;
  width: 50px;
  height: 50px;
  line-height: 1;
}
.lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  width: 58px;
  height: 58px;
  line-height: 1;
}
.lightbox__arrow--prev {
  left: 20px;
}
.lightbox__arrow--next {
  right: 20px;
}
.lightbox__close:hover,
.lightbox__arrow:hover {
  background: var(--pink);
}

/* ---- Reveal / параллакс ---- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* поочерёдное появление в hero */
.hero__content > .reveal:nth-child(1) {
  transition-delay: 0.1s;
}
.hero__content > .reveal:nth-child(2) {
  transition-delay: 0.25s;
}
.hero__content .hero__badge.reveal:nth-of-type(1) {
  transition-delay: 0.4s;
}
.hero__content .hero__badge.reveal:nth-of-type(2) {
  transition-delay: 0.55s;
}
.hero__img.reveal {
  transition-delay: 0.7s;
}

/* поочерёдное появление карточек продуктов */
.products__grid > .reveal:nth-child(1) {
  transition-delay: 0.05s;
}
.products__grid > .reveal:nth-child(2) {
  transition-delay: 0.12s;
}
.products__grid > .reveal:nth-child(3) {
  transition-delay: 0.19s;
}
.products__grid > .reveal:nth-child(4) {
  transition-delay: 0.26s;
}
.products__grid > .reveal:nth-child(5) {
  transition-delay: 0.33s;
}
.products__grid > .reveal:nth-child(6) {
  transition-delay: 0.4s;
}

/* поочерёдное появление блоков преимуществ */
.benefits__grid > .reveal:nth-child(1) {
  transition-delay: 0.1s;
}
.benefits__grid > .reveal:nth-child(2) {
  transition-delay: 0.2s;
}

body.no-scroll {
  overflow: hidden;
}

/* ============ АДАПТИВ ============ */
@media (max-width: 1200px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .social__points {
    grid-template-columns: repeat(2, 1fr);
  }
  .social__gallery {
    grid-template-columns: repeat(4, 1fr);
  }
  .about__gallery {
    grid-template-columns: repeat(4, 1fr);
  }
  .assortment__also {
    justify-content: center;
  }
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  section {
    padding: 70px 0;
  }
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 85vw);
    height: 100vh;
    background: var(--bg-deep);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 70px 40px 40px;
    gap: 22px;
    transition: right 0.35s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  }
  .header__nav.open {
    right: 0;
  }
  .header__nav-logo {
    display: block;
    margin-top: 40px;
    align-self: center;
  }
  .header__nav-logo img {
    height: 44px;
    width: auto;
    filter: brightness(1.85) contrast(1.35) saturate(1.2)
      drop-shadow(0 0 3px rgba(0, 0, 0, 0.95))
      drop-shadow(0 0 8px rgba(255, 255, 255, 0.95))
      drop-shadow(0 0 20px rgba(255, 255, 255, 0.75));
  }
  .header__nav-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
    padding-top: 20px;
    width: 100%;
  }
  .header__nav-phone,
  .header__nav-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
  }
  .header__nav-phone i,
  .header__nav-email i {
    color: var(--pink);
    font-size: 14px;
  }
  .header__nav-phone:hover,
  .header__nav-email:hover {
    color: var(--teal);
  }
  .burger {
    display: block;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content {
    text-align: left;
  }
  .hero__badge-body {
    text-align: left;
  }
  .hero__subtitle,
  .hero__badges {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__img img {
    max-height: 300px;
  }
  .why__inner,
  .eco,
  .geo__inner {
    grid-template-columns: 1fr;
  }
  .why__photo {
    display: none;
  }
  .eco__card {
    padding: 34px 24px;
    gap: 18px;
  }
  .eco__card i {
    font-size: 52px;
  }
  .eco__card p {
    font-size: 16px;
  }
  .quiz-section__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .quiz-section__manager {
    text-align: left;
    width: 100%;
    max-width: 420px;
  }
  .benefits__grid {
    grid-template-columns: 1fr;
  }
  .benefits__visual {
    gap: 8px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about__photos-row {
    grid-template-columns: 1fr;
  }
  .about__facts {
    grid-template-columns: 1fr 1fr;
  }
  .comparison__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .comparison__vs {
    order: 1;
    width: 110px;
    height: 110px;
    font-size: 34px;
    margin: -22px auto;
    position: relative;
    z-index: 4;
  }
  .comparison__card--bad {
    order: 0;
  }
  .comparison__card--good {
    order: 2;
  }
  .comparison__badges {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .products__grid,
  .reviews__grid,
  .social__points {
    grid-template-columns: 1fr;
  }
  .social__points .social__point:last-child {
    display: none;
  }
  .social__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__facts {
    grid-template-columns: 1fr;
  }
  .assortment__also .assort-mini {
    flex: 0 1 calc((100% - 20px) / 2);
  }
  .assort-mini--sticks {
    width: calc((100% - 20px) / 2);
  }
  .benefits__card {
    padding: 18px;
  }
  .benefits__label {
    font-size: 11px;
    padding: 6px 10px;
  }
  .benefits__badge {
    font-size: 11px;
    padding: 8px 12px;
  }
  .benefits__jar {
    width: 22%;
  }
  .footer__logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .quiz-section__manager {
    padding: 22px 24px;
    min-width: auto;
  }
  .quiz-section__manager-title {
    font-size: 16px;
  }
  .quiz-section__manager-name {
    font-size: 15px;
  }
  .quiz-section__manager-phone {
    font-size: 14px;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .about__cert-imgs {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__cert-card:last-child {
    display: none;
  }
  .comparison__card {
    padding: 20px;
    min-height: 460px;
  }
  .comparison__card--good .comparison__img img {
    padding: 16px;
  }
  .comparison__list li {
    font-size: 14px;
    gap: 12px;
  }
  .comparison__badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .comparison__badge {
    padding: 18px 12px;
  }
  .comparison__badge-icon {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  .comparison__badge span {
    font-size: 12.5px;
  }
  .modal__body {
    padding: 34px 22px 28px;
  }
  .quiz__top {
    padding: 24px 22px 0;
  }
  .quiz__body {
    padding: 18px 22px 28px;
  }
  .lightbox__arrow {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }
  .lightbox__arrow--prev {
    left: 8px;
  }
  .lightbox__arrow--next {
    right: 8px;
  }
  .hero__badge {
    padding: 16px 18px;
    gap: 14px;
  }
  .hero__badge-icon {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
  .hero__badge-highlight {
    font-size: 34px;
  }
  .hero__cta-big {
    font-size: 16px;
    padding: 16px 24px;
    gap: 8px;
  }
  .hero__cta-discount {
    font-size: 16px;
    padding: 16px 24px;
    gap: 8px;
  }
}

/* ============ Cookie banner ============ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  padding: 18px 24px;
  background: rgba(37, 40, 52, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.cookie-banner__content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-banner__content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
}
.cookie-banner__content a {
  color: var(--teal);
  text-decoration: underline;
}
.cookie-banner__content a:hover {
  color: var(--pink);
}
.cookie-banner__btn {
  flex-shrink: 0;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(100deg, #ef3f95, #d63aa0);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.cookie-banner__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(239, 63, 149, 0.4);
}
body.light .cookie-banner {
  background: rgba(255, 255, 255, 0.94);
  border-top-color: rgba(31, 35, 48, 0.08);
}
body.light .cookie-banner__content p {
  color: var(--text-dim);
}
@media (max-width: 640px) {
  .cookie-banner {
    padding: 16px;
  }
  .cookie-banner__content {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .cookie-banner__btn {
    width: 100%;
  }
}

/* ---- Мобильная производительность: отключаем дорогой backdrop-filter ---- */
@media (pointer: coarse) {
  .header,
  .hero__badge,
  .comparison__card::after,
  body.light .comparison__card::after,
  .why-item,
  .reliable__content,
  .modal__backdrop,
  body.light .modal__backdrop,
  .cookie-banner {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .header {
    background: rgba(37, 40, 52, 0.95);
  }
  body.light .header {
    background: rgba(255, 255, 255, 0.95);
  }
  .why-item {
    background: rgba(37, 40, 52, 0.85);
  }
  body.light .why-item {
    background: rgba(255, 255, 255, 0.92);
  }
}

@media (pointer: coarse) and (max-width: 768px) {
  .why::before {
    filter: blur(4px) brightness(0.5);
  }
  body.light .why::before {
    filter: blur(4px) brightness(0.8);
  }
  .why__inner {
    grid-template-columns: 1fr;
  }
  .why__photo {
    position: static;
    align-self: auto;
    max-width: 420px;
    margin: 0 auto;
  }
  .why__photo img {
    max-height: none;
  }
}
