/* ============================================================
   Aine — style.css (v4)
   Компонентные стили блоков. Базовое (reset, container, btn,
   eyebrow, типошкала, классы секций) — в tokens.css.
   Брейкпоинты: 640 (md), 960 (lg).
   ============================================================ */

/* ============================================================
   Глобальные scroll-эффекты
   ============================================================ */

/* Section reveal — fade-up при появлении в viewport */
.fx-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms cubic-bezier(.45,0,.2,1), transform 700ms cubic-bezier(.45,0,.2,1);
}
.fx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll-progress — 2px полоса поверх sticky-header */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: var(--p, 0%);
  height: 2px;
  background: var(--pink-accent);
  z-index: 200;
  pointer-events: none;
  will-change: width;
  transition: width 80ms linear;
}

/* Scroll-to-top кнопка */
.scroll-top {
  position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom));
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  border: 0; cursor: pointer;
  font-size: 20px; line-height: 1;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .15s ease;
  z-index: 50;
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  font-family: var(--font);
}
.scroll-top:hover { background: var(--pink-accent); }
.scroll-top.is-visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
@media (max-width: 639px) {
  .scroll-top { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
}

/* Scroll-spy: активный пункт навигации */
.nav-desktop a.is-active { color: var(--pink-accent); }
.nav-desktop a.is-active::after { right: 0; }
.nav-mobile a.is-active { color: var(--pink-accent); }

@media (prefers-reduced-motion: reduce) {
  .fx-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .scroll-progress { transition: none; }
  .scroll-top { transition: opacity .15s, visibility .15s; }
}


/* ============================================================
   Блок 01 — Хедер (sticky, лого по центру, split-навигация)
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding-top: env(safe-area-inset-top);
  background: rgba(255,255,255,.9);
  background: color-mix(in srgb, var(--white) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(27,27,31,.05);
  background: rgba(255,255,255,.95);
  background: color-mix(in srgb, var(--white) 95%, transparent);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  position: relative;
}

/* Лого */
.brand {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}
.brand:hover { text-decoration: none; color: var(--pink-accent); }

/* Split-навигация */
.nav-desktop {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
}
.nav-desktop--left  { justify-content: flex-start; }
.nav-desktop--right { justify-content: flex-end; }

.nav-desktop a,
.nav-mobile a {
  color: var(--ink);
  font-weight: 500;
  font-size: var(--fs-14);
  letter-spacing: .01em;
  position: relative;
}
.nav-desktop a { padding: 8px 0; }
.nav-desktop a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--pink-accent);
  transition: right .25s ease;
}
.nav-desktop a:hover { color: var(--pink-accent); text-decoration: none; }
.nav-desktop a:hover::after { right: 0; }

/* Burger */
.nav__toggle {
  display: none;
  position: absolute; left: 0;
  width: 44px; height: 44px;
  background: transparent; border: 0; padding: 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block; height: 2px; background: var(--ink);
  border-radius: 2px; margin: 4px 0;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Мобильное меню */
.nav-mobile { display: none; }

@media (max-width: 959px) {
  .nav-desktop { display: none; }
  .nav__toggle { display: block; }
  .site-header__inner { justify-content: center; }

  .nav-mobile {
    display: block;
    position: absolute;
    top: calc(72px + env(safe-area-inset-top)); left: 0; right: 0;
  }
  .nav-mobile ul {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(27,27,31,.08);
    padding: 8px 24px 16px;
  }
  .nav-mobile.is-open ul { display: flex; }
  .nav-mobile li { border-bottom: 1px solid var(--line); }
  .nav-mobile li:last-child { border-bottom: 0; }
  .nav-mobile a { display: block; padding: 16px 0; font-size: var(--fs-17); }
}

/* ============================================================
   Блок 02 — Hero (фон через .section--white в HTML)
   ============================================================ */
.hero { overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding-block: var(--section-pad);
}
.hero__title {
  margin: 0 0 24px;
  font-size: var(--fs-h1);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 500;
}
/* акцент — курсив Lora + рисованное «мазком» подчёркивание (фуксия — декоративный stroke) */
.hero__title .accent {
  font-style: italic;
  font-weight: inherit;
  color: inherit;
  text-decoration: none;
  padding: 0 .06em .14em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3,9 C35,3.5 70,11.5 105,7 C140,2.5 172,10.5 197,5.5' fill='none' stroke='%23EC008C' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% .42em;
}
.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0;
}

/* регалии — капсулы фуксии (фирменный цвет в hero) */
.hero__seals {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.hero__seal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  background: var(--pink);
  border-radius: var(--pill);
  padding: 12px 24px 12px 12px;
  box-shadow: 0 8px 20px rgba(27,27,31,.10);
}
.hero__seal-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  color: #fff;
  display: grid; place-items: center;
}
.hero__seal-icon svg { width: 24px; height: 24px; display: block; }
.hero__seal-text {
  font-size: var(--fs-17);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

/* визуал бритвы — крупный план головки, отзеркалено */
.hero__visual { display: flex; justify-content: center; align-items: center; }
.hero__visual img {
  max-height: 640px; width: auto;
  transform-origin: center center;
  filter: var(--shadow-visual);
  animation: hero-breathe 6s ease-in-out infinite;
}
@keyframes hero-breathe {
  0%, 100% { transform: scaleX(-1) scale(1);     filter: var(--shadow-visual); }
  50%      { transform: scaleX(-1) scale(1.025); filter: var(--shadow-visual-peak); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__visual img { animation: none; transform: scaleX(-1); }
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    min-height: calc(100vh - 72px);
  }
  .hero__visual { order: 2; }
}

/* ============================================================
   Блок 03 — Бренд-стейтмент (фон через .section--cream-deep)
   ============================================================ */
.statement { text-align: center; }
.statement__inner { max-width: 720px; }
.statement__text {
  font-family: var(--font-display);
  font-size: var(--fs-statement);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.statement__text em {
  font-style: italic;
  color: var(--pink-accent);
}

/* ============================================================
   Блок 04 — 4 масла (фон через .section--white)
   ============================================================ */
.oils { overflow: hidden; }

.oils__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.oils__cassette { text-align: center; }
.oils__cassette img {
  width: min(440px, 82%);
  height: auto;
  filter: var(--shadow-visual);
}

.oils__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.oils__card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.oils__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* монохром-иконки масел: единый pink-tint кружок + линейный SVG */
.oils__icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pink-tint);
  color: var(--ink);
}
.oils__icon svg { width: 32px; height: 32px; }

.oils__card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-20);
  margin: 0 0 8px;
  color: var(--ink);
}
.oils__card p { margin: 0; color: var(--ink-soft); font-size: var(--fs-14); line-height: 1.5; }

@media (min-width: 640px) { .oils__cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .oils__layout { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  /* кассета: правый край у границы с карточками, левая часть уходит за край экрана */
  .oils__cassette { position: relative; min-height: 400px; }
  .oils__cassette img {
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    width: min(720px, 50vw);
    max-width: none;
  }
}

/* ============================================================
   Блок 05 — Состав (фон через .section--cream)
   ============================================================ */
.comp__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }

.comp__text h2 { margin: 0 0 16px; }
.comp__text .lead { color: var(--ink-soft); font-size: var(--fs-lead); line-height: 1.55; margin: 0 0 24px; }
.comp__hero {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, var(--mint-tint), var(--mint));
  border-radius: var(--radius); padding: 20px 24px;
}
.comp__hero svg { width: 32px; height: 32px; color: var(--mint-ink); flex-shrink: 0; }
.comp__hero p { margin: 0; color: var(--mint-ink); font-size: var(--fs-14); font-weight: 600; line-height: 1.4; }
.comp__hero b { font-weight: 800; }

.comp__guard { margin-top: 32px; display: grid; gap: 16px; padding: 0; list-style: none; }
.comp__guard li { display: flex; align-items: center; gap: 12px; font-size: var(--fs-17); color: var(--ink); font-weight: 500; }
.comp__guard .tick {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--pink-tint); color: var(--pink-accent);
  display: grid; place-items: center;
}
.comp__guard .tick svg { width: 18px; height: 18px; }

/* аккордеон компонентов — монохром */
.ing { border-bottom: 1px solid rgba(27,27,31,.1); }
.ing:first-child { border-top: 1px solid rgba(27,27,31,.1); }
.ing > summary { display: flex; align-items: center; gap: 16px; padding: 16px 2px; cursor: pointer; list-style: none; }
.ing > summary::-webkit-details-marker { display: none; }
.ing__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: var(--pink-tint);
  color: var(--ink);
}
.ing__icon svg { width: 24px; height: 24px; }
.ing__name { flex: 1; font-family: var(--font-display); font-weight: 500; font-size: var(--fs-17); }
.ing__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--mint-tint); color: var(--mint-ink);
  padding: 6px 12px; border-radius: var(--pill);
  font-size: var(--fs-12); font-weight: 700; white-space: nowrap; flex-shrink: 0;
}
.ing__badge svg { width: 14px; height: 14px; }
.ing__chev { width: 16px; height: 16px; color: var(--ink-faint); transition: transform .2s ease; flex-shrink: 0; }
.ing[open] .ing__chev { transform: rotate(180deg); }
.ing__body { padding: 0 2px 16px 64px; }
.ing[open] .ing__body { animation: detailsOpen .3s cubic-bezier(.45,0,.2,1); }
.comp__full[open] .comp__full-grid,
.comp__full[open] .comp__scale { animation: detailsOpen .3s cubic-bezier(.45,0,.2,1); }
@keyframes detailsOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ing[open] .ing__body,
  .comp__full[open] .comp__full-grid,
  .comp__full[open] .comp__scale { animation: none; }
}
.ing__inci { font-style: italic; color: var(--ink-faint); font-size: var(--fs-12); margin: 0 0 8px; }
.ing__fn { color: var(--ink-soft); font-size: var(--fs-14); margin: 0; }

/* полный состав */
.comp__full { margin-top: 32px; border-top: 1px solid rgba(27,27,31,.12); padding-top: 24px; }
.comp__full > summary { cursor: pointer; font-weight: 700; color: var(--pink-accent); font-size: var(--fs-14); list-style: none; }
.comp__full > summary::-webkit-details-marker { display: none; }
.comp__full > summary::after { content: " ▾"; color: var(--ink-faint); }
.comp__full[open] > summary::after { content: " ▴"; }
.comp__full-grid { display: grid; grid-template-columns: 1fr; gap: 0 32px; margin-top: 16px; }
.comp__full-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 2px; border-bottom: 1px solid rgba(27,27,31,.09); }
.comp__full-name { font-size: var(--fs-14); color: var(--ink); font-weight: 600; }
.comp__full-name i { color: var(--ink-soft); font-size: var(--fs-12); display: block; font-style: normal; font-weight: 400; margin-top: 2px; line-height: 1.4; }
.dot {
  padding: 6px 12px; border-radius: var(--pill);
  color: #fff; font-weight: 800; font-size: var(--fs-12);
  white-space: nowrap; flex-shrink: 0;
}
.dot.s1 { background: #46a846; }
.dot.s2 { background: #7cb342; }
.dot.s3 { background: #c0ca33; color: #4a4a00; }
.comp__scale { margin: 8px 0 24px; }
.comp__scale-bar { height: 8px; border-radius: var(--pill); background: linear-gradient(90deg,#46a846,#7cb342,#c0ca33,#f2c200,#f08c00,#e03b3b); }
.comp__scale-labels { display: flex; justify-content: space-between; font-size: var(--fs-12); color: var(--ink-soft); margin-top: 8px; }
.comp__scale-labels b { color: #2f7d4a; font-weight: 700; }
.comp__scale-labels b.hi { color: #c0392b; }

@media (min-width: 640px) { .comp__full-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .comp__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .comp__list { order: 1; }
  .comp__text { order: 2; }
}

/* ============================================================
   Блок 06 — Анатомия (фон через .section--white)
   ============================================================ */
.anat-slider { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }

.anat-viewport {
  position: relative; height: 480px; overflow: hidden;
  background: var(--cream); border-radius: var(--radius-lg);
  transition: height .6s cubic-bezier(.45,0,.2,1);
}
.anat-img {
  position: absolute; left: 50%; top: 50%;
  height: 440px; width: auto;
  transform-origin: 50% 50%;
  transition: transform 1.05s cubic-bezier(.45,0,.2,1), opacity .5s ease;
}
.anat-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; background: var(--cream);
  opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.anat-viewport.is-0 .anat-img { transform: translate(-50%,-50%) scale(2.2) translateY(30%); }
.anat-viewport.is-1 .anat-img { transform: translate(-50%,-50%) scale(1); }
.anat-viewport.is-2 .anat-img { transform: translate(-50%,-50%) scale(1); opacity: 0; }
.anat-viewport.is-2 .anat-video { opacity: 1; }

.anat-tabs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.anat-tab {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--white); cursor: pointer; text-align: left;
  font-family: var(--font); font-weight: 600; font-size: var(--fs-17); color: var(--ink);
  transition: border-color .2s, background .2s, color .2s;
}
.anat-tab:hover { border-color: var(--pink-accent); }
.anat-tab.active {
  border-color: var(--pink-accent);
  background: var(--pink-accent);
  color: var(--white);
}
.anat-tab__num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--line); color: var(--ink-soft);
  display: grid; place-items: center; font-size: var(--fs-12); font-weight: 800; flex-shrink: 0;
  transition: background .2s, color .2s;
}
.anat-tab.active .anat-tab__num { background: var(--white); color: var(--pink-accent); }

.anat-slide { display: none; }
.anat-slide.active { display: block; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.anat-slide h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-24); margin: 0 0 16px; }
.anat-feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.anat-feats li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-17); color: var(--ink-soft); line-height: 1.5; }
.anat-feats svg { width: 20px; height: 20px; color: var(--pink-accent); flex-shrink: 0; margin-top: 2px; }
.anat-feats b { color: var(--ink); font-weight: 600; }

@media (min-width: 960px) { .anat-slider { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* ============================================================
   Блок 07 — СМИ о нас (фон через .section--ink — тёмная гала-врезка)
   ============================================================ */
.press { text-align: center; position: relative; color: var(--white); }
.press__label { margin: 0 0 48px; color: var(--pink-soft); }

.press__carousel {
  max-width: 800px; margin: 0 auto;
  min-height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
}
.press__editor-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pink-accent); color: var(--white);
  padding: 8px 16px; border-radius: var(--pill);
  font-size: var(--fs-12); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  transition: opacity .3s ease;
}
.press__editor-badge svg { width: 14px; height: 14px; }
.press__editor-badge.is-hidden { opacity: 0; visibility: hidden; }
.press__quote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(18px, 5vw, 29px); line-height: 1.4; color: var(--white);
  margin: 0; transition: opacity .35s ease;
}
.press__quote.fade { opacity: 0; }

.press__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4);
  background: transparent; color: var(--white);
  font-size: 20px; cursor: pointer; display: grid; place-items: center;
  transition: background .2s, color .2s, border-color .2s;
}
.press__arrow:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.press__arrow--prev { left: clamp(16px, 4vw, 56px); }
.press__arrow--next { right: clamp(16px, 4vw, 56px); }
.press__nav { display: flex; justify-content: center; gap: 24px; }

.press__logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(32px, 6vw, 72px); margin-top: 72px;
}
.press__logo {
  background: none; border: 0; padding: 8px 4px; cursor: pointer;
  display: flex; align-items: center; min-height: 44px; transition: transform .2s;
}
.press__logo img {
  height: 36px; width: auto; display: block;
  filter: brightness(0) invert(1);
  opacity: .5;
  transition: opacity .2s;
}
.press__logo:hover img { opacity: .75; }
.press__logo.active img { opacity: 1; }

/* hover-quote (только устройства с реальным hover) */
@media (hover: hover) {
  .press__logo { position: relative; }
  .press__logo::after {
    content: attr(data-quote);
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--white); color: var(--ink);
    padding: 10px 16px; border-radius: var(--radius);
    font-family: var(--font); font-size: var(--fs-12);
    font-weight: 500; line-height: 1.4;
    width: max-content; max-width: 260px;
    text-align: center;
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    box-shadow: var(--shadow);
    z-index: 4;
  }
  .press__logo:hover::after,
  .press__logo:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(2px);
  }
  .press__logo:not([data-quote])::after { display: none; }
}

@media (max-width: 639px) {
  .press__carousel { min-height: 0; }
  .press__nav { margin: 28px 0 8px; }
  .press__arrow { position: static; transform: none; width: 44px; height: 44px; font-size: 18px; }
  .press__arrow--prev, .press__arrow--next { left: auto; right: auto; }
  .press__logos { margin-top: 28px; }
  .press__logo img { height: 28px; }
}

/* ============================================================
   Блок 08 — Видео-отзывы (фон через .section--white)
   ============================================================ */
.reviews__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.reviews__card { display: flex; flex-direction: column; gap: 16px; }
.reviews__video {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.reviews__video iframe,
.reviews__video video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.reviews__placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: var(--fs-29);
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: -0.005em;
}
.reviews__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-20);
  margin: 0;
  text-align: center;
}
.reviews__caption {
  color: var(--ink-soft);
  font-size: var(--fs-14);
  line-height: 1.5;
  margin: 0;
  text-align: center;
}
@media (min-width: 640px) {
  .reviews__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 960px) {
  .reviews__grid { gap: 32px; }
}

/* ============================================================
   Блок 09 — Где купить (фон через .section--cream)
   ============================================================ */
.buy-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.buy-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); text-align: center;
  display: flex; flex-direction: column;
}
.buy-card__photo { aspect-ratio: 4 / 3; background: var(--cream-deep); overflow: hidden; }
.buy-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.buy-card__body {
  padding: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 16px; flex: 1;
}
.buy-card__name { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-24); margin: 0; }
.buy-card .btn { margin-top: auto; }

.buy-modal {
  border: 0; border-radius: var(--radius-lg);
  padding: 32px;
  width: min(420px, 92vw);
  box-shadow: var(--shadow-lg);
}
.buy-modal::backdrop { background: rgba(27,27,31,.5); backdrop-filter: blur(2px); }
.buy-modal__close {
  position: absolute; top: 8px; right: 8px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: 0; border-radius: 50%; font-size: 26px; color: var(--ink-faint);
  cursor: pointer; line-height: 1;
}
.buy-modal__close:focus, .buy-modal__close:focus-visible { outline: none; }
.buy-modal__close:hover { color: var(--ink); }
.buy-modal__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--fs-24); margin: 0 0 8px; text-align: center;
}
.buy-modal__lead { color: var(--ink-soft); font-size: var(--fs-14); text-align: center; margin: 0 0 24px; }
.buy-modal__list { display: grid; gap: 12px; }
.buy-modal__list[hidden] { display: none; }
.buy-shop {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: var(--cream);
  border-radius: var(--radius); color: var(--ink); font-weight: 600; font-size: var(--fs-17);
  transition: background .15s, transform .15s;
}
.buy-shop:hover { background: var(--pink-tint); text-decoration: none; transform: translateY(-1px); }
.buy-shop__arrow { color: var(--pink-accent); font-size: 18px; }

@media (min-width: 640px) { .buy-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   Блок 09 — Футер (тёмный)
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding-block: var(--section-pad);
}
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer__inner { display: grid; grid-template-columns: 1fr; gap: 40px; }
.site-footer__brand-name {
  font-family: var(--font-display); font-weight: 500;
  font-size: var(--fs-29); color: #fff; line-height: 1;
  display: inline-block; letter-spacing: -0.01em;
}
.site-footer__about { font-size: var(--fs-14); line-height: 1.6; margin: 16px 0 0; max-width: 320px; }
.site-footer__col h4 {
  color: #fff; font-size: var(--fs-12);
  letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 16px; font-weight: 700;
}
.site-footer__col ul { display: grid; gap: 12px; }
.site-footer__col li { font-size: var(--fs-14); }
.site-footer__copyright {
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: var(--fs-12);
  color: rgba(255,255,255,.5);
  text-align: center;
}
@media (min-width: 640px) { .site-footer__inner { grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; } }


/* ============================================================
   Мобильные правки (<=639px): без горизонтального скролла
   ============================================================ */
@media (max-width: 639px) {
  /* Состав: бейдж EWG уходит на вторую строку, имя может сжиматься —
     раньше длинный nowrap-бейдж вызывал горизонтальный скролл */
  .ing > summary { flex-wrap: wrap; column-gap: 12px; row-gap: 8px; }
  .ing__name { min-width: 0; overflow-wrap: anywhere; }
  .ing__chev { order: 3; }
  .ing__badge { order: 4; flex-basis: 100%; margin-left: 64px; }

  /* Анатомия: мягче зум кассеты, чтобы её края не обрезались на узких экранах */
  .anat-viewport.is-0 .anat-img { transform: translate(-50%,-50%) scale(1.85) translateY(24%); }
}
