/* ============================================
   sanosan — Дизайн-система
   Точно по бренд-гайду sanosan.de
   ============================================ */

/* Оригинальные шрифты sanosan.de (скачаны из /themes/sanosan/assets/dist/fonts/) */
@font-face {
  font-family: 'Barmeno';
  src: url('fonts/BarmenoBQ-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barmeno';
  src: url('fonts/BarmenoBQ-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barmeno';
  src: url('fonts/Barmeno-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('fonts/OpenSans-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
/* Стек заголовков: Barmeno (латиница — фирменный, как на sanosan.de) → Nunito (кириллица) → Open Sans.
   Barmeno кириллицы НЕ содержит (проверено), поэтому русский текст идёт в Nunito —
   округлый гуманистический гротеск, ближайший по характеру к Barmeno.
   Nunito переменный: один файл на субсет, веса 700–800 (без faux-bold). */
@font-face {
  font-family: 'Nunito';
  src: url('fonts/Nunito-CyrExt.woff2') format('woff2');
  font-weight: 700 800; font-style: normal; font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Nunito';
  src: url('fonts/Nunito-Cyr.woff2') format('woff2');
  font-weight: 700 800; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  src: url('fonts/Nunito-Lat.woff2') format('woff2');
  font-weight: 700 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --navy: #0a3289;
  --navy-dark: #222964;
  --sky: #61b3e3;
  --sky-ink: #1a6f9e; /* тёмный sky для ТЕКСТА/ссылок — контраст ≥4.5:1 (WCAG AA) */
  --sky-light: #d7dfef;

  /* Category accents */
  --mama-pink: #ea96a7;
  --mama-pink-fill: #f48ea6;
  --coral: #f38399;
  --orange: #f29573;
  --yellow: #fdc817;
  --teal: #35ceb9;
  --blue-accent: #8ca5e0;
  --green-eco: #89ba41;

  /* Neutral */
  --beige: #dedfd3;
  --brown: #513b27;
  --white: #ffffff;
  --bg-pink-soft: rgba(248, 180, 193, 0.2);
  --bg-blue-soft: rgba(10, 50, 137, 0.04);
  --line: rgba(10, 50, 137, 0.15);

  /* Spacing/Layout — контейнер как sanosan.com: край 1150px, padding 15 → контент 1120px */
  --max-width: 1150px;
  --content-width: 960px;
  --narrow-width: 720px;

  /* Effects */
  --shadow-sm: 0 3px 6px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(10, 50, 137, 0.08);

  /* Typography (как на sanosan.com: трекинг минимальный, у заголовков 0.9px) */
  --ls-body: 0;
  --ls-heading: 0.9px;
  --ls-uppercase: 0.5px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Стоп-дрожь липкой шапки: не даём браузеру подвигать scrollY при сжатии .site-header */
  overflow-anchor: none;
}

body {
  font-family: 'Open Sans', 'Arial', sans-serif;
  color: var(--navy);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  body { font-size: 18px; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barmeno', 'Nunito', 'Open Sans', sans-serif;
  /* Латиница = Barmeno-Bold (700, единственный жирный начертание). Кириллица = Nunito 800 —
     подгонка массы под Barmeno (Nunito 700 был легче/уже). Nunito переменный (ось wght до 1000),
     800 берётся по-настоящему. font-synthesis:none не даёт браузеру фейк-болдить Barmeno до 800 —
     он берёт ближайшее настоящее 700-начертание. */
  font-weight: 800;
  font-synthesis: none;
  line-height: 1.3;
  letter-spacing: var(--ls-heading);
  color: var(--navy);
  margin: 0 0 5px;
}

h1 { font-size: 26px; }
h2 { font-size: 26px; }
h3 { font-size: 24px; }
h4 { font-size: 26px; }

@media (min-width: 1025px) {
  h1 { font-size: 48px; }
  h2 { font-size: 38px; }
  h3 { font-size: 32px; }
}

p { margin: 0 0 20px; line-height: 1.6; }
strong { font-weight: 700; }

/* ---------- Logo image ---------- */
/* На sanosan.com логотип задаётся по ширине контейнера .header__logo
   (desktop max-width:149px, sticky 83px), img{width:100%}. SVG 383×299. */
.logo-img {
  width: 92px;
  height: auto;
  display: block;
}
.site-footer .logo-img { width: 140px; }

/* ---------- Series photo ---------- */
.series-photo {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  margin: 0 auto 24px;
  display: block;
}

/* ---------- Article photo ---------- */
.article-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.article-card:hover .article-photo { transform: scale(1.04); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-200%);   /* спрятана вверх трансформом — НЕ раздувает scrollWidth (в отличие от left:-9999) */
  z-index: 999;
  padding: 12px 20px;
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
}
.skip-link:focus {
  transform: translateY(0);       /* появляется на фокусе (Tab) */
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
/* Открыт выпадающий баннер → шапка теряет нижнюю линию и сливается с ним в одну плоскость. */
.site-header:has(.submenu-open) { border-bottom-color: transparent; }

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo wrapper (anchor around the logo image) */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Шапка как на sanosan.com: крупный логотип вверху страницы, при скролле
   шапка «сжимается» (логотип меньше, паддинг меньше). Большой логотип
   только на широких экранах (≥1200px), где навигация точно помещается. */
.header-inner,
.logo-img {
  transition: padding 0.3s ease, width 0.3s ease;
}
@media (min-width: 1200px) {
  .site-header:not(.scrolled) .header-inner { padding-top: 24px; padding-bottom: 24px; }
  .site-header:not(.scrolled) .logo-img { width: 118px; }
  .site-header.scrolled .header-inner { padding-top: 8px; padding-bottom: 8px; }
  .site-header.scrolled .logo-img { width: 88px; }
}

/* Меню прижато ВПРАВО (логотип слева, кластер меню справа с воздухом между ними) — как sanosan.com */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  gap: 22px;
  list-style: none;
  align-items: center;
}

/* Навигация как на sanosan.com: 16px/400 uppercase, тёмно-синяя полоса 6px снизу */
.nav-link {
  color: var(--navy);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-uppercase);
  padding: 6px 0;
  position: relative;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* Постоянные категорийные полоски — каждый раздел своим цветом, как на sanosan.de */
li:has(.nav-link[href="baby.html"])      { --nav-accent: var(--sky); }
li:has(.nav-link[href="mama.html"])      { --nav-accent: var(--mama-pink); }
li:has(.nav-link[href="kids.html"])      { --nav-accent: var(--yellow); }
li:has(.nav-link[href="ratgeber.html"])  { --nav-accent: var(--teal); }
li:has(.nav-link[href="about.html"])     { --nav-accent: var(--navy); }

/* Полоска цветом категории — ТОЛЬКО при наведении, у активной страницы и когда открыт её баннер.
   Как на sanosan.de: border-bottom прозрачный по умолчанию (место зарезервировано, без сдвига),
   красится в акцент только у активного пункта — а не постоянно под всеми (это выглядело «всё выбрано»). */
.nav-link:hover,
.nav-link.active,
.has-submenu.submenu-open > .nav-link { border-bottom-color: var(--nav-accent, var(--navy)); opacity: 1; }

.nav-shop {
  background: var(--sky);
  color: var(--white) !important;
  padding: 12px 24px !important;
  border-bottom: none;
  transition: background 0.2s ease;
}
.nav-shop:hover { background: var(--navy); color: var(--white) !important; }

/* Выпадающие подменю (как на sanosan.de: Ratgeber, Über sanosan) */
.nav-list .has-submenu { position: static; }
/* Полноширинное мега-меню (как на sanosan.com): полоса во всю ширину под шапкой. */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: auto;
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  align-items: center;
  gap: 22px 56px;
  min-width: 0;
  /* Фон задаётся per-category градиентом (.submenu-baby и т.п.): тон снизу → белый к шапке.
     Без border-top и без тени сверху — баннер бесшовно сливается с белой шапкой (как на sanosan.de). */
  background: #fff;
  border-top: none;
  border-bottom: none;
  box-shadow: none;
  margin: 0;
  padding: 40px max(24px, calc((100% - 1160px) / 2));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;   /* ЗАКРЫТЫЕ подменю (все лежат на одной позиции) не должны ловить клик —
                             их дефолтный тизер-картинка иначе невидимо перекрывает открытое подменю */
  transition: opacity 0.18s ease;
  z-index: 1001;
}
/* невидимый «мостик» над подменю, чтобы курсор не терял его при переходе вниз */
.submenu::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -14px;
  height: 14px;
}
/* Открытие — ТОЛЬКО через JS-класс .submenu-open (с hover-intent задержкой) + фокус с клавиатуры.
   Мгновенный CSS :hover убран: иначе меню падало при беглом проходе курсора мимо пункта. */
.has-submenu:focus-within .submenu,
.has-submenu.submenu-open .submenu { opacity: 1; visibility: visible; pointer-events: auto; }

/* Левая колонка — ссылки + кнопка «Открыть серию» (как на sanosan.com) */
.submenu-col { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.submenu-links { list-style: none; padding: 0; margin: 0; }
.submenu-links li { display: block; }
.submenu-links a {
  display: block;
  padding: 7px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0.2px;
  transition: color 0.18s ease;
}
.submenu-links a:hover { color: var(--sky-ink); }
.submenu-cta {
  display: inline-block;
  padding: 13px 28px;
  background: var(--sky);
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-uppercase);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.submenu-cta:hover { background: var(--navy); }

/* Сцена справа — тизеры подкатегорий (товарное меню, как на sanosan.com). */
.submenu-stage { position: relative; min-height: 232px; }
.submenu-teaser {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.submenu-teaser.is-active { opacity: 1; visibility: visible; }
/* Неактивные тизеры полностью убираем из слоя — иначе их прозрачные (но hit-тестируемые)
   дети перекрывали клик по активной товарной ссылке-тизеру. Только активный кликабелен. */
.submenu-teaser:not(.is-active) { display: none; }
.submenu-teaser-text, .submenu-teaser-prod .submenu-prod-info { justify-self: center; }
.submenu-teaser-text { max-width: 420px; font-size: 17px; line-height: 1.55; color: var(--navy); margin: 0; }

.submenu-prod-info { display: flex; flex-direction: column; gap: 12px; max-width: 380px; }
.submenu-prod-eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--sky-ink); }
.submenu-prod-name { font-size: 23px; font-weight: 700; line-height: 1.2; color: var(--navy); letter-spacing: var(--ls-heading); }
.submenu-prod-link { font-size: 15px; font-weight: 600; color: var(--sky-ink); }
.submenu-teaser-prod:hover .submenu-prod-name { color: var(--sky-ink); }

/* Фигура товара — флакон на мягком «ореоле», с той же дугой */
.submenu-figure-prod { display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.55); }
.submenu-figure-prod img { max-width: 78%; max-height: 82%; object-fit: contain; }

/* Право — круглое фото с декоративным кольцом (как на sanosan.com) */
.submenu-figure { position: relative; width: 216px; height: 216px; justify-self: end; flex: 0 0 auto; border-radius: 50%; }
/* Фирменная синяя дуга-полумесяц справа от круга (как woo_category_banner_dekor на sanosan.com) */
.submenu-figure::before {
  content: '';
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 6px solid var(--ring, var(--sky));
  clip-path: polygon(48% -10%, 130% -10%, 130% 130%, 48% 130%);
}
.submenu-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
  margin: 0;
}

/* Тонировка полосы + цвет кольца по линейке (как на sanosan.com). */
/* Градиент баннера: тон линейки снизу (~0.2 α) → прозрачность к шапке.
   ВАЖНО: задаём через background-IMAGE, а не шорткат background — иначе он обнуляет
   background-color:#fff у .submenu, и полупрозрачный низ просвечивает контент страницы под баннером.
   Белую подложку даёт background-color:#fff (.submenu); тон линейки лежит ПОВЕРХ неё (как на sanosan.de). */
.submenu-baby  { background-image: linear-gradient(to top, rgba(97,179,227,0.20) 0%, rgba(255,255,255,0) 88%);  --ring: var(--sky); }
.submenu-mama  { background-image: linear-gradient(to top, rgba(234,150,167,0.22) 0%, rgba(255,255,255,0) 88%); --ring: var(--mama-pink); }
.submenu-kids  { background-image: linear-gradient(to top, rgba(253,200,23,0.24) 0%, rgba(255,255,255,0) 88%);  --ring: var(--yellow); }
.submenu-tips  { background-image: linear-gradient(to top, rgba(53,206,185,0.18) 0%, rgba(255,255,255,0) 88%);  --ring: #35ceb9; }
.submenu-about { background-image: linear-gradient(to top, rgba(140,165,224,0.20) 0%, rgba(255,255,255,0) 88%); --ring: #8ca5e0; }

/* Подпункты в мобильном меню */
.mobile-submenu { list-style: none; padding: 0; margin: 0; display: none; }
.mobile-submenu.active { display: block; }
/* Drill-down: в режиме открытого подменю показываем ТОЛЬКО его — прячем соседние пункты
   и ссылку самого родителя (раньше скрывался весь <ul> вместе с подменю → пустой экран). */
.mobile-nav.submenu-active > ul > li:not(.drilled) { display: none; }
.mobile-nav.submenu-active > ul > li.drilled > a { display: none; }
.mobile-submenu li { border: none !important; padding: 8px 0 !important; }
.mobile-submenu a { font-size: 15px; font-weight: 600; text-transform: none; letter-spacing: 0.2px; color: var(--navy); }

.mobile-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px 0 16px;
  margin-bottom: 4px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--sky-ink);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s ease;
}
.mobile-back-btn:hover { color: var(--navy); }

.mobile-submenu-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 12px 0 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.mobile-chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 8px;
  vertical-align: middle;
}

.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 90;
  padding: 30px;
  overflow-y: auto;
}
/* Полноэкранное мобильное меню открыто — прячем страну-плашку (она fixed z:9998 и на узких/коротких
   экранах накрывала нижние пункты меню, напр. «Контакты» на 320px, а меню мимо неё не проскроллить). */
body:has(.mobile-nav.open) .country-bar { display: none; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav li {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.mobile-nav a {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: var(--ls-uppercase);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 20px 25px;
  background: var(--sky);
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--ls-uppercase);
  text-align: center;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--navy); color: var(--white); }
@media (min-width: 1025px) { .btn { font-size: 18px; } }
@media (max-width: 767px) { .btn { padding: 13px 20px; } }
@media (max-width: 575px) { .btn { padding: 11px 16px; font-size: 15px; } }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-pink {
  background: var(--mama-pink);
}
.btn-pink:hover { background: var(--coral); }

/* Hero accent — единое определение .hero-heart ниже (coral) */

/* ---------- Hero slider (карусель) ---------- */
.hero-swiper { position: relative; overflow: hidden; background: var(--sky-light); }
.hero-slides { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.hero-slide { min-width: 100%; position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden; }
.hero-slide::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.6) 36%, rgba(255,255,255,0) 62%); }
.hero-slide-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-slide-inner { position: relative; z-index: 2; max-width: 1150px; margin: 0 auto; padding: 56px 15px; min-height: 460px; display: flex; align-items: center; }  /* 1150 - 2×15 = контент 1120 (десктоп идентичен); padding 15 = поля шапки и на планшете */
.hero-slide-text { max-width: 50%; }
.hero-slide-label { display: block; color: var(--sky-ink); font-weight: 700; text-transform: uppercase; letter-spacing: var(--ls-uppercase); font-size: 13px; margin-bottom: 14px; }
.hero-slide-text h1, .hero-slide-text .hero-slide-h { font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.15; margin-bottom: 18px; }
.hero-slide-text p { font-size: 18px; line-height: 1.6; color: var(--navy); margin-bottom: 24px; }
.hero-made { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.hero-slide-list { list-style: none; padding: 0; margin: 0 0 26px; }
.hero-slide-list li { position: relative; padding-left: 28px; margin-bottom: 9px; color: var(--navy); font-weight: 600; }
.hero-slide-list li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
/* Юбилейный логотип — в пустой белой зоне слева-внизу, НЕ на лицах справа */
.hero-jubilee-figure { position: absolute; left: 40px; bottom: 34px; margin: 0; flex-shrink: 0; z-index: 2; }
.hero-jubilee-figure img { max-width: 138px; height: auto; }
.hero-jubilee .hero-slide-inner { gap: 30px; }
.hero-jubilee-text { font-size: 17px; line-height: 1.6; color: var(--navy); }

@media (min-width: 1025px) {
  .hero-slide-text h1, .hero-slide-text .hero-slide-h { font-size: 48px; }
  .hero-slide-inner { min-height: 540px; }
  .hero-slide-text { max-width: 46%; }
}

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); color: var(--navy);
  font-size: 26px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); z-index: 5; transition: background 0.2s ease;
}
.hero-arrow:hover { background: var(--white); color: var(--sky-ink); }
.hero-prev { left: 18px; }
.hero-next { right: 18px; }

.hero-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.hero-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(10, 50, 137, 0.3); cursor: pointer; padding: 0; transition: background 0.2s ease; }
.hero-dot.active { background: var(--sky); border-color: var(--sky-ink); }

@media (max-width: 768px) {
  .hero-slide::before { background: rgba(255, 255, 255, 0.84); }
  .hero-slide-inner { padding: 34px 22px; min-height: 380px; }
  .hero-slide-text { max-width: 100%; }
  .hero-jubilee-figure { display: none; }
  .hero-arrow { width: 40px; height: 40px; font-size: 22px; }
}

/* ---------- Sections ---------- */
.section {
  padding: 58px 15px;   /* гориз. 15 = гаттер шапки (десктоп не меняется — контент центрирован; выравнивает планшет) */
}

.section-bg-pink { background: rgba(248, 180, 193, 0.18); }
.section-bg-blue { background: rgba(215, 223, 239, 0.6); }

.section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}
.section-inner-wide { max-width: 1120px; }  /* = контент шапки (1120), вровень с логотипом/меню; было 1150 — торчало на 15px */
/* Легальные страницы: тело выровнено к краю контента (208), как заголовок; текст читаемой ширины слева */
.legal-body > * { max-width: 760px; margin-left: 0; margin-right: auto; }
/* Карточка товара: 2 колонки на всю ширину контента (1120), вровень с крошками/шапкой (было 960) */
.section-inner:has(.product-detail) { max-width: 1120px; }

.section-header {
  text-align: center;
  max-width: var(--narrow-width);
  margin: 0 auto 50px;
}

.section-label {
  display: inline-block;
  color: var(--sky-ink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-uppercase);
  margin-bottom: 16px;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: var(--ls-heading);
}

@media (min-width: 1025px) {
  .section-title { font-size: 38px; }
}

.section-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--navy);
  opacity: 0.85;
}

/* ---------- Series cards (Mama / Kids on home) ---------- */
.series-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

/* Категории на главной — плитки 2+1 (круглые фото на «кляксах» + бейдж), как на sanosan.com. */
.ranges-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 72px; max-width: 860px; margin: 0 auto; justify-items: center; }
.ranges-grid .range-tile:nth-child(3) { grid-column: 1 / -1; }
.range-tile { display: block; text-decoration: none; text-align: center; }
.range-figure { position: relative; width: 300px; height: 300px; margin: 0 auto 22px; border-radius: 50%; }
.range-baby .range-figure { background: #e3f0fb; }
.range-mama .range-figure { background: #fce6ec; }
.range-kids .range-figure { background: #fff4d6; }
.range-figure > img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; transition: transform 0.3s ease; }
.range-tile:hover .range-figure > img { transform: scale(1.04); }
.range-badge { position: absolute; right: 4px; bottom: 20px; padding: 9px 20px; border-radius: 24px; color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; box-shadow: 0 6px 16px rgba(10,50,137,0.16); }
.range-baby .range-badge { background: var(--sky-ink); }
.range-mama .range-badge { background: var(--coral); }
.range-kids .range-badge { background: var(--yellow); color: var(--navy); }
.range-caption { font-size: 17px; font-weight: 600; line-height: 1.5; color: var(--navy); max-width: 300px; margin: 0 auto; }
@media (max-width: 640px) { .ranges-grid { grid-template-columns: 1fr; } .ranges-grid .range-tile:nth-child(3) { grid-column: auto; } }

.series-card {
  position: relative;
  padding: 50px 40px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.series-card:hover {
  border-color: var(--sky-ink);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(10,50,137,0.10);
}

.series-card-mama { background: var(--bg-pink-soft); border-color: transparent; }
.series-card-kids { background: rgba(218, 230, 243, 0.35); border-color: transparent; }

.series-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: var(--ls-heading);
}
@media (min-width: 1025px) { .series-title { font-size: 38px; } }

.series-desc {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
  flex: 1;
}

.series-card-mama .series-title { color: var(--coral); }
.series-card-kids .series-title { color: var(--navy); }
.series-badge { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 7px 18px; border-radius: 22px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1.4px; }
.series-card-baby { background: rgba(218, 230, 243, 0.45); border-color: transparent; }
.series-card-baby .series-title { color: var(--sky-ink); }

/* Широкие баннеры серий на десктопе (фото слева, текст справа) */
@media (min-width: 768px) {
  .series-card { flex-direction: row; text-align: left; align-items: center; gap: 44px; padding: 44px 54px; }
  .series-card .series-photo { width: 40%; max-width: 320px; margin: 0; flex-shrink: 0; }
  .series-body { flex: 1; }
}

/* ---------- Values grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(184px, 1fr));
  gap: 28px;
}

.value-item {
  text-align: center;
  padding: 10px;
}

.value-icon {
  width: 124px;
  height: 124px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg { width: 100%; height: 100%; }
.value-icon img { width: 100%; height: 100%; object-fit: contain; }

.value-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: var(--ls-heading);
  color: var(--navy);
}

.value-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--navy);
  opacity: 0.85;
}

/* ---------- Product cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
/* Страницы категорий (baby/mama/kids) — 2 колонки, как на эталоне sanosan.de:
   крупные карточки, воздушная редакционная сетка (бестселлеры/related остаются 3-кол). */
#baby-grid, #mama-grid, #kids-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 56px; }
@media (max-width: 640px) { #baby-grid, #mama-grid, #kids-grid { grid-template-columns: 1fr; } }

.product-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(10,50,137,0.12);
}
/* Блок изображения товара — как на sanosan.com (.products_loop_item .img_block):
   высота 250→320→400→440px, единый мягкий силуэт products_bg.svg за товаром,
   изображение object-fit:contain по центру, лёгкий zoom при наведении. */
.product-blob-wrap {
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background-image: url('img/products_bg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
@media (min-width: 768px) { .product-blob-wrap { height: 320px; } }
@media (min-width: 1025px) { .product-blob-wrap { height: 400px; } }
@media (min-width: 1200px) { .product-blob-wrap { height: 440px; } }


.product-bottle-img {
  position: relative;
  z-index: 2;
  height: 90%;
  width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
/* Карточка не сдвигается; зум только у изображения (как .img_block:hover img) */
.product-card:hover .product-bottle-img { transform: scale(1.1); }

/* Силуэт окрашен по линейке (как на .com): baby — голубой, mama — коралл, kids — жёлтый */
.product-card[data-collection="mama"] .product-blob-wrap { background-image: url('img/products_bg_mama.svg'); }
.product-card[data-collection="kids"] .product-blob-wrap { background-image: url('img/products_bg_kids.svg'); }
.product-detail[data-collection="mama"] .product-detail-image { background-image: url('img/products_bg_mama.svg'); }
.product-detail[data-collection="kids"] .product-detail-image { background-image: url('img/products_bg_kids.svg'); }

.product-collection {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--ls-uppercase);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.product-card[data-collection="baby"] .product-collection { color: var(--sky-ink); }
.product-card[data-collection="mama"] .product-collection { color: var(--coral); }
.product-card[data-collection="kids"] .product-collection { color: var(--sky-ink); }

/* Per-collection hover shadow matches blob tint */
.product-card[data-collection="baby"]:hover { box-shadow: 0 14px 36px rgba(97,179,227,0.22); }
.product-card[data-collection="mama"]:hover { box-shadow: 0 14px 36px rgba(234,150,167,0.22); }
.product-card[data-collection="kids"]:hover { box-shadow: 0 14px 36px rgba(253,200,23,0.22); }

/* Mama CTA link: coral to match collection palette */
.product-card[data-collection="mama"] .product-link       { color: var(--coral); border-color: var(--coral); }
.product-card[data-collection="mama"] .product-link:hover { color: var(--navy);  border-color: var(--navy); }

.product-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: var(--navy);
}
@media (min-width: 576px) { .product-name { font-size: 20px; } }
@media (min-width: 1025px) { .product-name { font-size: 22px; } }

.product-volume {
  font-size: 14px;
  color: var(--navy);
  opacity: 0.7;
  margin-bottom: 16px;
}

.product-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-uppercase);
  color: var(--sky-ink);
  border-bottom: 1px solid var(--sky);
  padding-bottom: 3px;
  margin-top: auto;
  align-self: center;
}

.product-link:hover { color: var(--navy); border-color: var(--navy); }

.product-made-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.45;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.filter-btn {
  padding: 14px 22px;
  background: transparent;
  border: none;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-uppercase);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover { color: var(--sky-ink); }
.filter-btn.active {
  color: var(--sky-ink);
  border-bottom-color: var(--sky-ink);
}

/* ---------- About / Story sections ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.story-visual {
  aspect-ratio: 1 / 1;   /* было 4/5 — слишком высокое фото создавало пустоту в текстовой колонке */
  max-height: 460px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.story-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Блоки с широким фото (about/index): фото целиком в своей пропорции, без кропа и лишней высоты —
   меньше «воздуха», фото сбалансировано с текстом. Круглые портреты (experts/professionals) не затрагиваем. */
.story-visual:has(.story-photo) { aspect-ratio: auto; max-height: none; height: 100%; min-height: 340px; }
.expert-photo { width: 300px; max-width: 90%; border-radius: 50%; display: block; }

.story-icon { width: 62px; height: 62px; margin-bottom: 18px; display: block; }
.story-badge { height: 72px; width: auto; margin-top: 16px; display: block; }

/* About: эталонная композиция «стопкой» (как sanosan.de/ueber-sanosan) — фото-баннер во всю
   ширину блока сверху, под ним заголовок по центру и текст читаемой колонкой. Полный текст сохранён. */
/* Фото столпа = ПО ШИРИНЕ КОНТЕНТА/МЕНЮ (1200), вровень с шапкой/интро — как на эталоне (там фото ≈ ширине меню).
   Пропорция как у эталона (1.93 → выше, не «письмо-боксом»). */
.story-grid--stacked { grid-template-columns: 1fr; gap: 44px; align-items: start; max-width: 1120px; margin-inline: auto; }
.story-grid--stacked .story-visual { order: -1; }
.story-grid--stacked .story-visual:has(.story-photo) { height: auto; aspect-ratio: 1120 / 580; min-height: 0; }
.story-grid--stacked .story-content { max-width: 880px; margin: 0 auto; }
.story-grid--stacked .story-icon { margin-left: auto; margin-right: auto; }
.story-grid--stacked .section-label,
.story-grid--stacked .story-content > h2 { text-align: center; }

/* Столп: крупный блоб-иконка на ПРАВОЙ стороне фото, по вертикали в верхней-средней части,
   мягкое белое свечение (не жёсткий круг) — уравновешивает субъекта слева, как sanosan.com. */
.story-grid--stacked .story-visual { position: relative; overflow: visible; }
.story-icon-badge { position: absolute; top: 50%; right: 8%; transform: translateY(-50%); width: 248px; height: 248px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.97) 36%, rgba(255,255,255,0.66) 54%, rgba(255,255,255,0) 72%); display: flex; align-items: center; justify-content: center; }
.story-icon-badge .story-icon { width: 124px; height: 124px; object-fit: contain; margin: 0; }
/* Раскрывающийся текст «Узнать больше» */
.story-more { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.story-more > p:first-child { margin-top: 18px; }
.story-toggle { display: flex; align-items: center; gap: 9px; width: fit-content; margin: 22px auto 0; padding: 0; background: none; border: none; cursor: pointer; color: var(--sky-ink); font-family: inherit; font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.story-toggle::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.25s ease; }
.story-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-1px, -1px); }
@media (max-width: 1024px) { .story-icon-badge { width: 188px; height: 188px; right: 5%; } .story-icon-badge .story-icon { width: 96px; height: 96px; } }
@media (max-width: 600px) { .story-icon-badge { width: 128px; height: 128px; right: 4%; } .story-icon-badge .story-icon { width: 66px; height: 66px; } }

.story-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: var(--ls-heading);
}

@media (min-width: 1025px) {
  .story-content h2 { font-size: 38px; }
}

/* ---------- Articles cards ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 32px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(10,50,137,0.11);
}

.article-image {
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.article-image-pink { background: var(--bg-pink-soft); }
.article-image-blue { background: var(--sky-light); }
.article-image-cream { background: rgba(222, 223, 211, 0.5); }
.article-image-yellow { background: rgba(253, 200, 23, 0.2); }

.calendar-num { font-family: 'Barmeno', 'Nunito', 'Open Sans', sans-serif; font-size: 76px; font-weight: 700; color: var(--navy); opacity: 0.85; }

/* Типографика: вынос инлайнов в классы (единые размеры вместо ad-hoc) */
.display-num { font-family: 'Barmeno', 'Nunito', 'Open Sans', sans-serif; font-size: 92px; font-weight: 700; color: var(--sky-ink); line-height: 1; letter-spacing: var(--ls-heading); }
.contact-col-title { font-size: 26px; margin-bottom: 28px; }
.contact-note { font-size: 13px; opacity: 0.7; }
.legal-note { margin-top: 32px; font-size: 14px; opacity: 0.7; }
.form-group label.form-consent-label { font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0.3px; margin: 0; line-height: 1.5; }

.article-image-icon {
  width: 50%;
  height: 50%;
  opacity: 0.4;
}

/* Логотипы магазинов («Где купить») — чистая белая плитка, лого по центру */
.article-image.store-image {
  aspect-ratio: auto;
  height: 132px;
  background: #fff;
  padding: 14px 16px;
}
.store-logo {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Баланс по ПЛОЩАДИ (масштаб ГИППО ~13600px² = эталон): узкие/компактные лого выше */
.store-logo.lh-88 { height: 88px; max-height: 88px; }
.store-logo.lh-84 { height: 84px; max-height: 84px; }
.store-logo.lh-80 { height: 80px; max-height: 80px; }
.store-logo.lh-72 { height: 72px; max-height: 72px; }
.store-logo.lh-68 { height: 68px; max-height: 68px; }
.store-logo.lh-60 { height: 60px; max-height: 60px; }
.store-logo.lh-96 { height: 96px; max-height: 96px; }
.store-logo.lh-92 { height: 92px; max-height: 92px; }
.store-logo.lh-56 { height: 56px; max-height: 56px; }
.store-logo.lh-120 { height: 120px; max-height: 120px; }
.store-logo.lw-full { width: 100%; height: auto; max-height: none; }

.article-body {
  padding: 24px 4px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-uppercase);
  color: var(--sky-ink);
  margin-bottom: 14px;
}

.article-title {
  /* Латиница (sanosan и пр.) — Barmeno как на DE; кириллица — Nunito. Единый стек со всеми заголовками. */
  font-family: 'Barmeno', 'Nunito', 'Open Sans', 'Arial', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--ls-heading);
  margin-bottom: 14px;
  color: var(--navy);
}

.article-excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: var(--navy);
  opacity: 0.8;
  margin-bottom: 20px;
  flex: 1;
}

.article-link {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-uppercase);
  color: var(--sky-ink);
  align-self: flex-start;
  border-bottom: 1px solid var(--sky);
  padding-bottom: 3px;
}

/* ---------- Article likes ---------- */
.article-like {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 4px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.42;
  transition: opacity 0.18s ease, color 0.18s ease;
}
.article-like:hover { opacity: 0.72; }
.article-like.active { color: var(--coral); opacity: 1; }
.article-like-icon { transition: fill 0.2s ease, transform 0.15s ease; }
.article-like.active .article-like-icon { fill: var(--coral); }
.article-like:active .article-like-icon { transform: scale(1.35); }

/* ---------- Лайки товаров ---------- */
/* Чип в правом верхнем углу изображения карточки (родитель .product-blob-wrap — position:relative) */
.product-like {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(10, 50, 137, 0.08);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(10, 50, 137, 0.09);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  transition: color 0.18s ease, background 0.18s ease, transform 0.12s ease;
}
.product-like .like-icon { color: var(--mama-pink); }
.product-like:hover { background: #fff; }
.product-like:active { transform: scale(0.94); }
.product-like.active { color: var(--coral); }
.product-like.active .like-icon { fill: var(--coral); color: var(--coral); }

/* Инлайн-вариант на детальной странице товара — розовая пилюля под объёмом */
.product-like-inline {
  position: static;
  margin: 6px 0 2px;
  padding: 7px 16px;
  gap: 7px;
  font-size: 14px;
  background: rgba(234, 150, 167, 0.14);
  border: none;
  box-shadow: none;
}
.product-like-inline:hover { background: rgba(234, 150, 167, 0.26); }

/* ---------- Country bar (first-visit notice) ---------- */
.country-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.32s ease;
}
.country-bar.visible { transform: translateY(0); }
.country-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.country-bar-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: rgba(255,255,255,0.88);
}
.country-bar-text strong { color: #fff; }
.country-bar-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 4px;
  padding: 7px 16px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.18s ease;
}
.country-bar-link:hover { background: rgba(255,255,255,0.12); }
.country-bar-close {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: rgba(255,255,255,0.55);
  transition: color 0.18s ease;
}
.country-bar-close:hover { color: #fff; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  padding: 70px 30px;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: var(--ls-heading);
}
@media (min-width: 1025px) {
  .cta-banner h2 { font-size: 38px; }
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-banner .btn {
  background: var(--sky);
}
.cta-banner .btn:hover { background: var(--white); color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--navy);
  color: var(--navy);
  padding: 50px 30px 30px;
  position: relative;
  overflow: hidden;
}

/* Мягкое голубое свечение перед футером (как на sanosan.de) */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 130px;
  background: linear-gradient(to bottom, var(--sky-light), transparent);
  pointer-events: none;
  z-index: 0;
}

/* Кролик Sani в футере (как на sanosan.de) */
.site-footer::after {
  content: '';
  position: absolute;
  right: max(20px, calc((100vw - var(--max-width)) / 2 + 20px));  /* у правого края контента, не вьюпорта */
  bottom: 22px;
  width: 104px;
  height: 110px;
  background: url('img/icons/rabbit.svg') no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 1024px) {
  .site-footer::after { display: none; }
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 360px;
  margin-top: 18px;
}

.footer-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;        /* на узких телефонах бейджи переносятся, а не вылезают за край */
  gap: 18px;
  margin-top: 24px;
}
.footer-badge {
  height: 58px;
  width: auto;
  max-width: 100%;        /* широкий Klimaneutral не шире колонки */
  object-fit: contain;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-uppercase);
  color: var(--navy);
  margin: 0 0 18px;
}

.footer-list { list-style: none; }
.footer-list li { margin-bottom: 12px; }
.footer-list a {
  color: var(--navy);
  font-size: 15px;
  transition: color 0.2s ease;
}
.footer-list a:hover { color: var(--sky-ink); }

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.footer-social {
  width: 52px;
  height: 52px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease;
}
.footer-social:hover { background: var(--navy); color: var(--white); }
.footer-social svg { width: 24px; height: 24px; }

/* Подпись над иконками соцсетей в колонке бренда + те же иконки на странице контактов */
.footer-brand .footer-heading { margin-top: 28px; }
.footer-heading + .footer-socials { margin-top: 0; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--navy);
  opacity: 0.7;
}
/* На десктопе строка «Сделано в Германии» не должна уходить под кролика в углу */
@media (min-width: 1025px) {
  .footer-bottom { padding-right: 150px; }
}

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 50px 0;
}

.product-detail-image {
  aspect-ratio: 1;
  position: sticky;
  top: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('img/products_bg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}


.product-detail-image .product-bottle-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 86%;
  max-width: 86%;
  object-fit: contain;
}

.product-detail-info h1 {
  font-size: 32px;
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 1025px) {
  .product-detail-info h1 { font-size: 48px; }
}

.product-detail-collection {
  color: var(--mama-pink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-uppercase);
  margin-bottom: 8px;
}

[data-collection="kids"] .product-detail-collection { color: var(--sky-ink); }

.product-detail-volume {
  font-size: 18px;
  color: var(--navy);
  opacity: 0.7;
  margin-bottom: 24px;
}

.product-detail-desc {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.product-badge {
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

/* Tabs */
.tab-list {
  display: flex;
  border-bottom: 1px solid var(--navy);
  margin: 40px 0 30px;
}

.tab {
  padding: 14px 24px;
  background: none;
  border: none;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-uppercase);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  opacity: 0.5;
}

.tab[aria-selected="true"] {
  opacity: 1;
  border-bottom-color: var(--sky-ink);
}

.tab-panel { display: none; padding: 12px 0; }
.tab-panel[aria-hidden="false"] { display: block; }

.tab-panel ul, .tab-panel ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.tab-panel li { margin-bottom: 10px; line-height: 1.65; }

/* ---------- Accordion (product info) ---------- */
.product-info-section { padding-top: 0; padding-bottom: 60px; }
.related-section { padding-top: 0; background: rgba(215,223,239,0.35); }

.accordion { border-top: 1px solid rgba(10,50,137,0.15); }
.accordion-item { border-bottom: 1px solid rgba(10,50,137,0.15); }

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  transition: color 0.2s;
}
.accordion-header:hover { color: var(--sky-ink); }

.accordion-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.35s ease;
  color: var(--navy);
}
.accordion-item.open .accordion-icon { transform: rotate(180deg); }

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.accordion-item.open .accordion-body { grid-template-rows: 1fr; }

.accordion-body-inner { overflow: hidden; padding-bottom: 0; transition: padding-bottom 0.35s ease; }
.accordion-item.open .accordion-body-inner { padding-bottom: 20px; }

.accordion-body ul,
.accordion-body ol { padding-left: 22px; margin: 0; }
.accordion-body li { margin-bottom: 10px; line-height: 1.65; }
.accordion-intro { margin: 0 0 12px; color: rgba(10,50,137,0.65); font-size: 14px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}

.contact-info-list { list-style: none; }
.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.contact-item-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-uppercase);
  color: var(--sky-ink);
  margin-bottom: 4px;
}
.contact-item-value {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
}

.contact-form {
  background: var(--bg-blue-soft);
  padding: 40px;
}

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-uppercase);
  margin-bottom: 8px;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 0;
  color: var(--navy);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sky-ink);
  border-width: 2px;
}

.form-group textarea { resize: vertical; min-height: 130px; }

/* ── Доступность: видимый фокус при навигации с клавиатуры ─────────────────── */
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 2px;
}
/* при клике мышью кольцо не показываем — только при Tab */
:focus:not(:focus-visible) { outline: none; }
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 1px;
}

/* ---------- Breadcrumbs ---------- */
/* Хлебные крошки — встроены В баннер (поверх фона, без белой полосы), вверху под
   логотипом. Стиль как на sanosan.de: 15px, приглушённый navy 50%, разделитель «›». */
.breadcrumbs {
  padding: 18px 0;   /* для standalone-крошек (product.html без баннера); в баннере переопределяется */
  font-size: 15px;
  color: rgba(10, 50, 137, 0.5);
}
/* Интеграция в баннер: абсолютно вверху, на фоне баннера, прозрачный фон */
.page-hero > .breadcrumbs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 22px 0 0;
  background: transparent;
}

.breadcrumbs ol {
  max-width: var(--max-width);   /* под логотип — та же ширина и отступ, что у .header-inner */
  margin: 0 auto;
  padding: 0 30px;
  box-sizing: border-box;
  width: 100%;
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs a { color: inherit; }
.breadcrumbs li::after { content: '›'; margin-left: 8px; color: inherit; }
.breadcrumbs li:last-child::after { content: ''; }
.breadcrumbs a:hover { color: var(--navy); }
/* Первая секция сразу под баннером/крошками — меньше белого воздуха сверху */
.breadcrumbs + .section { padding-top: 36px; }

/* ---------- Page hero (smaller, internal) ---------- */
.page-hero {
  position: relative;   /* крошки встроены в баннер (absolute) — нужен относительный контекст */
  /* Градиентная заливка как у производителя: #d7dfef снизу → прозрачный кверху,
     opacity 0.46 «запечена» в стоп (#d7dfef = --sky-light). Над белым основанием. */
  background-color: var(--white);
  background-image: linear-gradient(to top, rgba(215, 223, 239, 0.46), transparent);
  padding: 60px 15px;   /* гориз. 15 = гаттер шапки (плоские/cover заголовки вровень и на планшете) */
  text-align: center;
  min-height: 405px; /* единая (компактная) высота заглавных баннеров */
}
/* Баланс высоты: все баннеры сведены к компактному уровню ~405; у текстовых/фото
   контент центрируется по вертикали. Split исключён — у него своя grid-вёрстка. */
.page-hero:not(.page-hero-split) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-hero-inner {
  max-width: var(--narrow-width);
  margin: 0 auto;
}

/* Голый .page-hero (без -cover/-split/-photo) — текст ВЛЕВО (правило «текст на всех баннерах слева») */
.page-hero:not(.page-hero-split):not(.page-hero-cover):not(.page-hero-photo) {
  align-items: stretch;
  text-align: left;
}
.page-hero:not(.page-hero-split):not(.page-hero-cover):not(.page-hero-photo) .page-hero-inner {
  max-width: 1120px;   /* = контент шапки; текст (≤620) прижат влево → заголовок на 208, вровень с крошками (было 960 центр → 283) */
  width: 100%;
  text-align: left;
}
.page-hero:not(.page-hero-split):not(.page-hero-cover):not(.page-hero-photo) .page-hero-inner > * {
  max-width: 620px;
  margin-left: 0;
  margin-right: auto;
}

/* Плоские баннеры без фото (легальные, «Специалистам», «Эксперты», «Где купить»,
   «Календарь») — высота ПО КОНТЕНТУ, без принудительного пустого воздуха.
   Как на sanosan.de/datenschutz: крошки + заголовок и сразу контент. */
.page-hero:not(.page-hero-split):not(.page-hero-cover):not(.page-hero-photo) {
  min-height: 0;
  padding-top: 54px;
  padding-bottom: 42px;
}

.page-hero h1 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: var(--ls-heading);
  margin-bottom: 18px;
}
@media (min-width: 1025px) {
  .page-hero h1 { font-size: 48px; }
}
/* Узкие телефоны: заголовки НЕ обрезаются — длинные слова и nbsp-строки переносятся; на очень узких мельче */
h1, h2, h3, .page-hero h1, .hero-title, .section-title { overflow-wrap: break-word; }
@media (max-width: 400px) {
  .page-hero h1 { font-size: 26px; }
}
/* Узкие экраны: крошки плоского баннера — в ПОТОК (длинная цепочка переносится и толкает H1 вниз,
   а не налезает на него, т.к. absolute-крошки на узком переносятся на 2-3 строки). */
@media (max-width: 600px) {
  .page-hero:not(.page-hero-split):not(.page-hero-cover):not(.page-hero-banner):not(.page-hero-photo) > .breadcrumbs {
    position: static; padding-top: 2px; padding-bottom: 0;
  }
  .page-hero:not(.page-hero-split):not(.page-hero-cover):not(.page-hero-banner):not(.page-hero-photo) {
    padding-top: 18px;
  }
}

.page-hero p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Photo hero для внутренних страниц (Mama/Kids/About) — как на sanosan.de.
   Фон задаётся на самой секции (inline background-image), оверлей — через ::before. */
.page-hero-photo {
  position: relative;
  padding: 24px 30px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.page-hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 50, 137, 0.5), rgba(10, 50, 137, 0.4));
}
.page-hero-photo .page-hero-inner { position: relative; z-index: 1; }
.page-hero-photo .section-label { color: var(--white); opacity: 0.95; }
.page-hero-photo h1,
.page-hero-photo p { color: var(--white); }
.page-hero-photo .hero-claims { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; margin: 14px 0 0; padding: 0; }
.page-hero-photo .hero-claims li { color: var(--white); font-weight: 600; font-size: 15px; position: relative; }
.page-hero-photo .hero-claims li:not(:last-child)::after { content: '·'; position: absolute; right: -17px; opacity: 0.7; }

/* Фирменные шапки разделов — точные фото с sanosan.com (светлое фото, сюжет справа,
   текст слева тёмно-синим). «Как у производителя». Высота единая — от .page-hero. */
.page-hero-cover {
  position: relative;
  display: flex;
  align-items: center;              /* текст вертикально ПО ЦЕНТРУ высокого баннера — как DE simple_banner */
  min-height: 580px;                /* высокий баннер (DE 626px), фото доминирует */
  padding: 50px 15px;               /* гориз. 15 = гаттер шапки (текст вровень и на планшете) */
  background-size: cover;
  background-position: 100% 50%;     /* фон-фото прижато ВПРАВО, как DE 100% 50% */
  overflow: hidden;
}
/* Белый градиент слева — текст на белом, фото проступает справа (DE 90deg #fff 0→42→transparent) */
.page-hero-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 42%, rgba(255,255,255,0.5) 70%, rgba(255,255,255,0) 92%);
}
/* Лёгкий голубой градиент снизу (DE simple_banner:after #d7dfef opacity .24) */
.page-hero-cover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  background: linear-gradient(to top, #d7dfef, transparent);
  opacity: 0.24;
  pointer-events: none;
}
.page-hero-cover .page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;   /* = контент шапки; текст (max-width 540) прижат влево → заголовок на краю 208, вровень с крошками/логотипом (было 960 центр → 283) */
  margin: 0 auto;
  width: 100%;
  text-align: left;
}
.page-hero-cover .page-hero-inner > * { max-width: 540px; margin-left: 0; margin-right: auto; }  /* ширина текста ~col-7, как DE */
.page-hero-cover .section-label { color: var(--sky-ink); }
.page-hero-cover h1 { color: var(--navy); font-size: 32px; line-height: 1.25; }
@media (min-width: 768px)  { .page-hero-cover h1 { font-size: 38px; } }
@media (min-width: 1025px) { .page-hero-cover h1 { font-size: 44px; } }
.page-hero-cover p { color: var(--navy); }
.page-hero-cover .hero-claims { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 14px 0 0; padding: 0; max-width: 440px; }
.page-hero-cover .hero-claims li { color: var(--navy); font-weight: 600; font-size: 15px; position: relative; }
.page-hero-cover .hero-claims li:not(:last-child)::after { content: '·'; position: absolute; right: -15px; opacity: 0.5; }
/* Мобилка: десктоп-фото без отдельной мобильной версии — текст идёт на всю ширину,
   поэтому белый градиент плотнее по всей ширине (фото остаётся фоном, текст читаем). */
@media (max-width: 900px) {
  .page-hero-cover { min-height: 380px; padding: 36px 15px; background-position: right center; }  /* 15 = гаттер шапки на планшете */
  .page-hero-cover::before { background: linear-gradient(to right, #ffffff 0%, #ffffff 86%, rgba(255,255,255,0) 100%); }
  .page-hero-cover .page-hero-inner > * { max-width: 100%; }
}

/* Сплит-hero разделов (текст + круглое фото) — как на sanosan.de Mama/Kids */
/* Сплит-hero разделов (текст + круглое фото) — пропорции 1:1 как на sanosan.de
   (Bootstrap row align-items-center, два col-md-6). Фон-градиент на всю ширину,
   контент — в центрированном контейнере ~1140px, как в оригинале. */
.page-hero-split {
  background-color: var(--white);
  background-image: linear-gradient(to top, rgba(215, 223, 239, 0.46), transparent);
  padding: 0;
  overflow: hidden;
}
.page-hero-split.hero-baby { background-image: linear-gradient(to top, rgba(97, 179, 227, 0.46), transparent); }
.page-hero-split.hero-mama { background-image: linear-gradient(to top, rgba(234, 150, 167, 0.46), transparent); }
.page-hero-split.hero-kids { background-image: linear-gradient(to top, rgba(253, 200, 23, 0.46), transparent); }
.page-hero-split-inner {
  max-width: 1150px;   /* 1150 - 2×15 = контент 1120 (десктоп идентичен); padding 15 = поля шапки и на планшете */
  margin: 0 auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 50/50, как col-md-6 + col-md-6 */
  gap: 40px;
  align-items: center;              /* row align-items-center — центрирование по вертикали */
  min-height: 460px;
  box-sizing: border-box;
}
.page-hero-text { padding: 50px 0; box-sizing: border-box; text-align: left; }   /* DE col-md-6 text-md-left + .editor padding:50px 0 94px */
.page-hero-text > * { max-width: 500px; }                       /* DE .editor max-width:500px */
.page-hero-split .section-label { color: var(--sky-ink); }
.page-hero-split h1 {
  color: var(--navy);
  font-size: 26px;                  /* шкала H1 26 → 32 → 48 как на бренде */
  line-height: 1.3;
  letter-spacing: 0.9px;
  margin: 0 0 14px;
}
.page-hero-split p { font-size: 18px; line-height: 1.7; color: var(--navy); max-width: 500px; margin: 0; }

/* Статья: шапка = полноширинный ФОТО-БАННЕР с заголовком поверх, как на sanosan.com (EN-эталон).
   Фото — background-cover; слева светлый градиент, чтобы navy-заголовок читался на любом фото. */
.page-hero-article,
.page-hero-banner { position: relative; min-height: 400px; padding: 0; text-align: left;
  background-size: cover; background-position: center; overflow: hidden;
  display: flex; align-items: flex-end; }
.page-hero-banner::after { content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.85) 28%, rgba(255,255,255,0.3) 56%, rgba(255,255,255,0) 100%); }
.page-hero-banner > .breadcrumbs { z-index: 3; }
.page-hero-banner-inner { position: relative; z-index: 2; width: 100%; max-width: 1150px;
  margin: 0 auto; padding: 0 15px 42px; }  /* 1150 - 2×15 = контент 1120 (десктоп идентичен); padding 15 = поля шапки и на планшете */
.page-hero-banner-inner > * { max-width: 640px; }
.page-hero-banner .section-label { color: var(--sky-ink); }
.page-hero-banner h1 { margin: 8px 0 14px; color: var(--navy); }
.page-hero-banner p { font-size: 18px; line-height: 1.55; color: var(--navy); margin: 0; }

.article-figure { margin: 4px 0 36px; }
.article-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; display: block; }
.page-hero-figure { display: flex; justify-content: flex-end; align-items: center; }
.page-hero-round {
  width: 100%;
  max-width: 480px;                 /* ~половина ряда, сбалансировано с DE */
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;                /* квадратный кадр 600×600 → круг, по центру */
  display: block;
}
@media (min-width: 600px)  { .page-hero-split h1 { font-size: 32px; } }
@media (min-width: 1025px) { .page-hero-split h1 { font-size: 48px; } }
@media (max-width: 768px) {
  .page-hero-split-inner { grid-template-columns: 1fr; gap: 0; min-height: auto; padding: 0 20px; }
  .page-hero-text { padding: 28px 0 20px; text-align: center; }
  .page-hero-text > * { max-width: 100%; margin-left: auto; margin-right: auto; }
  .page-hero-split p { max-width: 100%; }
  .page-hero-figure { order: -1; justify-content: center; padding-top: 12px; }
  .page-hero-round { max-width: 300px; }
}

/* ---------- Fade-in animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner,
  .story-grid,
  .product-detail,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-detail-image { position: static; }
  /* На узких экранах фото story всегда сверху компактной полосой (без чередования порядка) */
  .story-visual { order: -1; }
  .story-visual:has(.story-photo) { height: 240px; min-height: 0; }
  .series-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .products-grid,
  .articles-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  /* Десктоп-меню (с широким мега-меню) не помещается ниже ~1025px —
     переключаемся на бургер, чтобы ничего не наезжало и не переполнялось. */
  .main-nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  .header-inner { padding: 14px 20px; }
  .hero { padding: 40px 20px 50px; }
  .section { padding: 50px 20px; }
  /* Гаттер героев на мобиле = 20px (как шапка/секции) — контент вровень с логотипом.
     ТОЛЬКО плоский page-hero + cover-секция + inner баннера/слайдера; split/banner-секции
     свой гаттер держат в inner-контейнере (их секцию НЕ трогаем, иначе двойной padding). */
  .page-hero:not(.page-hero-split):not(.page-hero-cover):not(.page-hero-banner):not(.page-hero-photo),
  .page-hero-cover { padding-left: 20px; padding-right: 20px; }
  .page-hero-banner-inner, .hero-slide-inner { padding-left: 20px; padding-right: 20px; }
  .hero-title { font-size: 32px; }
  .section-title { font-size: 26px; }
  .products-grid,
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .story-stats { grid-template-columns: 1fr; }
  .tab-list { overflow-x: auto; }
  .tab { padding: 12px 16px; white-space: nowrap; }
  .contact-form { padding: 24px; }
  .breadcrumbs ol { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ============================================================
   Графический паритет с sanosan.com (по итогам аудита)
   ============================================================ */

/* hero-CTA шире (как на .com: padding по бокам 70px на десктопе) */
@media (min-width: 1025px) {
  .hero-slide-text .btn { padding: 20px 70px; }
}

/* Hero почти полноэкранный на десктопе; оверлей мягче на фото-слайдах */
@media (min-width: 1025px) {
  .hero-slide-inner { min-height: calc(100vh - 84px); }
}
@media (min-width: 769px) {
  .hero-slide::before { background: linear-gradient(to right, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.45) 34%, rgba(255,255,255,0) 58%); }
}

/* Kids — почти белый фон с лёгким тёплым оттенком у низа (как .de: #fdc817 ~30% под белой вуалью). Фото/текст чистые */
.hero-slide.hero-slide-kids::before {
  background:
    linear-gradient(to right, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.46) 34%, rgba(255,255,255,0) 60%),
    linear-gradient(to top, rgba(253,200,23,0.2) 0%, rgba(253,200,23,0) 38%);
}
/* Подзаголовок Kids — крупный жирный navy (связка-заголовок, как на .de), а не тонкий body */
.hero-slide-kids .hero-slide-text p {
  font-family: 'Barmeno', 'Nunito', 'Open Sans', sans-serif;
  font-weight: 800;
  font-synthesis: none;
  font-size: 22px;
  line-height: 1.3;
  color: var(--navy);
}
@media (min-width: 1025px) { .hero-slide-kids .hero-slide-text p { font-size: 26px; } }
@media (max-width: 768px) {
  .hero-slide.hero-slide-kids::before { background: linear-gradient(to top, rgba(253,200,23,0.16), rgba(255,255,255,0.82) 35%); }
  .hero-slide-kids .hero-slide-text p { font-size: 20px; }
}

/* ---- Остальные слайды главной: круг справа + слабая категорийная заливка (как .de) ---- */
.hero-slide.hero-slide-main::before,
.hero-slide.hero-slide-baby::before,
.hero-slide.hero-slide-mama::before,
.hero-slide.hero-slide-values::before,
.hero-slide.hero-slide-jubilee::before {
  background:
    linear-gradient(to right, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.28) 42%, rgba(255,255,255,0) 66%),
    var(--hero-fill);
}
.hero-slide-main    { --hero-fill: linear-gradient(to top, rgba(97,179,227,0.13) 0%, rgba(97,179,227,0) 38%); }
.hero-slide-baby    { --hero-fill: linear-gradient(to top, rgba(97,179,227,0.2) 0%, rgba(97,179,227,0) 38%); }
.hero-slide-mama    { --hero-fill: linear-gradient(to top, rgba(234,150,167,0.2) 0%, rgba(234,150,167,0) 38%); }
.hero-slide-values  { --hero-fill: linear-gradient(to top, rgba(53,206,185,0.2) 0%, rgba(53,206,185,0) 38%); }
.hero-slide-jubilee { --hero-fill: linear-gradient(to top, rgba(97,179,227,0.14) 0%, rgba(97,179,227,0) 38%); }
/* Подзаголовки Baby/Mama — крупный жирный navy, как Kids */
.hero-slide-baby .hero-slide-text p,
.hero-slide-mama .hero-slide-text p {
  font-family: 'Barmeno', 'Nunito', 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--navy);
}
@media (min-width: 1025px) {
  .hero-slide-baby .hero-slide-text p,
  .hero-slide-mama .hero-slide-text p { font-size: 26px; }
}
@media (max-width: 768px) {
  .hero-slide.hero-slide-main::before   { background: linear-gradient(to top, rgba(97,179,227,0.1), rgba(255,255,255,0.82) 35%); }
  .hero-slide.hero-slide-baby::before   { background: linear-gradient(to top, rgba(97,179,227,0.16), rgba(255,255,255,0.82) 35%); }
  .hero-slide.hero-slide-mama::before   { background: linear-gradient(to top, rgba(234,150,167,0.16), rgba(255,255,255,0.82) 35%); }
  .hero-slide.hero-slide-values::before { background: linear-gradient(to top, rgba(53,206,185,0.16), rgba(255,255,255,0.82) 35%); }
  .hero-slide.hero-slide-jubilee::before{ background: linear-gradient(to top, rgba(97,179,227,0.12), rgba(255,255,255,0.82) 35%); }
  .hero-slide-baby .hero-slide-text p,
  .hero-slide-mama .hero-slide-text p { font-size: 20px; }
}

/* Иконки ценностей крупнее (≈200px как на .com) */
.value-icon { width: 184px; height: 184px; }

/* Круглые фото серий + круглые цветные бейджи (как .cat_item_circle / .cat_item_label) */
.series-card { position: relative; }
.series-card .series-photo { border-radius: 50%; }
.series-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-family: 'Barmeno', 'Nunito', 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.15;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.series-badge-baby { background: rgba(10, 50, 137, 0.75); }
.series-badge-mama { background: rgba(243, 131, 153, 0.75); }
.series-badge-kids { background: rgba(247, 203, 82, 0.78); color: var(--navy); }
@media (max-width: 768px) {
  .series-badge { width: 118px; height: 118px; font-size: 14px; top: 14px; left: 14px; }
}

/* ====== Кастомные полосы прокрутки (в стиле производителя) ====== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(215, 223, 239, 0.35); }
::-webkit-scrollbar-thumb { background: rgba(10, 50, 137, 0.38); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(10, 50, 137, 0.62); }
* { scrollbar-width: thin; scrollbar-color: rgba(10, 50, 137, 0.38) rgba(215, 223, 239, 0.35); }

/* ====== Жирность body-текста: бренд использует Open Sans только 400/600 ======
   Заголовки идут в Nunito Sans (реальный 700). Остальной «жирный» текст
   (метки, ссылки, strong, лейблы, кнопки) рендерится Open Sans, у которого нет
   700 — переводим на реальный SemiBold 600, чтобы не было синтетического (faux) bold. */
strong,
.mobile-back-btn,
.mobile-submenu-title,
.section-label,
.hero-slide-label,
.product-collection,
.product-link,
.article-tag,
.article-link,
.country-bar-link,
.footer-heading,
.product-detail-collection,
.accordion-header,
.contact-item-label,
.form-group label { font-weight: 600; }

/* ============ Страница статьи Справочника (ratgeber-*.html) ============ */
.article-page { padding: 54px 24px 6px; }
.article-page-inner { max-width: 760px; margin: 0 auto; }

/* Оглавление */
.article-toc { border: 1px solid rgba(10, 50, 137, 0.14); border-radius: 14px; padding: 22px 26px; margin: 0 0 32px; background: var(--white); }
.article-toc-title { font-weight: 600; color: var(--navy); margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: var(--ls-uppercase); }
.article-toc ol { margin: 0; padding-left: 22px; }
.article-toc li { margin-bottom: 9px; color: var(--navy); }
.article-toc li:last-child { margin-bottom: 0; }
.article-toc a { color: var(--navy); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.article-toc a:hover { border-bottom-color: var(--sky-ink); }

/* Эксперт + лайк */
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 26px; }
.article-expert { font-size: 14px; color: rgba(10, 50, 137, 0.6); font-style: italic; }
.article-like { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--navy); background: rgba(234, 150, 167, 0.14); border: none; border-radius: 999px; padding: 7px 16px; cursor: pointer; font-size: 15px; font-family: inherit; transition: background 0.2s ease; }
.article-like:hover { background: rgba(234, 150, 167, 0.28); }
.article-like-heart { color: var(--mama-pink); font-size: 16px; }

/* Текст статьи */
.article-lead { font-size: 20px; line-height: 1.6; color: var(--navy); font-weight: 600; margin: 0 0 36px; }
.article-section { margin: 0 0 42px; scroll-margin-top: 96px; }
.article-section h2 { font-size: 26px; color: var(--navy); margin: 0 0 16px; letter-spacing: var(--ls-heading); }
.article-section p { font-size: 17px; line-height: 1.75; color: #33415c; margin: 0 0 16px; }
.article-section p:last-child { margin-bottom: 0; }
@media (min-width: 1025px) { .article-section h2 { font-size: 30px; } }

/* Инфографика-картинка статьи */
.article-figure { margin: 30px 0; }
.article-figure img { width: 100%; height: auto; display: block; border-radius: 14px; }
.article-figure figcaption { font-size: 14px; color: rgba(10, 50, 137, 0.6); margin-top: 12px; text-align: center; font-style: italic; }

/* Инфографика «слои кожи» (старый вариант, не используется) */
.skin-figure { margin: 28px 0; }
.skin-layers { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.skin-layer { padding: 17px 22px; color: var(--navy); }
.skin-layer span { display: block; font-weight: 700; font-size: 17px; }
.skin-layer small { display: block; font-size: 13px; opacity: 0.78; margin-top: 2px; }
.skin-epidermis { background: #fde9ec; }
.skin-dermis { background: #f6cdd6; }
.skin-subcutis { background: #fce7cb; }
.skin-figure figcaption { font-size: 14px; color: rgba(10, 50, 137, 0.6); margin-top: 12px; text-align: center; font-style: italic; }

/* Сравнение Striae rubrae / albae */
.striae-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }
.striae-card { border-radius: 14px; padding: 22px 24px; }
.striae-card h3 { font-size: 18px; color: var(--navy); margin: 0 0 4px; }
.striae-color { font-size: 14px; font-weight: 600; margin: 0 0 14px; }
.striae-card ul { margin: 0; padding-left: 20px; }
.striae-card li { font-size: 15px; line-height: 1.55; color: #33415c; margin-bottom: 7px; }
.striae-card li:last-child { margin-bottom: 0; }
.striae-rubrae { background: linear-gradient(135deg, #fbe3e7, #f6d0d9); }
.striae-rubrae .striae-color { color: #c2566c; }
.striae-albae { background: #f2f5f9; }
.striae-albae .striae-color { color: #7a869c; }
@media (max-width: 600px) { .striae-compare { grid-template-columns: 1fr; } }

/* Блок «Цвета растяжек» — стиль .de: лампочка + пилюли + две колонки */
.striae-block { margin: 26px 0; padding: 26px 28px 30px; background: linear-gradient(180deg, #fdf3f6, #f7edf0); border-radius: 14px; text-align: center; }
.striae-bulb { width: 52px; height: 52px; margin: 0 auto 4px; color: var(--mama-pink); }
.striae-bulb svg { width: 100%; height: 100%; }
.striae-q { font-size: 22px; color: var(--navy); margin: 0 0 26px; letter-spacing: var(--ls-heading); }
.striae-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; text-align: left; max-width: 660px; margin: 0 auto; }
.striae-pill { display: inline-block; background: #f3d4dc; color: var(--navy); font-weight: 700; font-size: 15px; padding: 5px 18px; border-radius: 999px; }
.striae-tone { font-size: 15px; font-style: italic; font-weight: 600; margin: 9px 0 14px; }
.striae-tone-red { color: #c2566c; }
.striae-tone-white { color: #8a93a6; }
.striae-list { list-style: none; padding: 0; margin: 0; }
.striae-list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: #33415c; margin-bottom: 9px; }
.striae-list li:last-child { margin-bottom: 0; }
.striae-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--mama-pink); opacity: 0.72; }
@media (max-width: 600px) { .striae-cols { grid-template-columns: 1fr; gap: 22px; } }

/* Список советов */
.article-tips { list-style: none; padding: 0; margin: 8px 0 0; }
.article-tips li { position: relative; padding-left: 36px; margin-bottom: 16px; font-size: 17px; line-height: 1.65; color: #33415c; }
.article-tips li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 23px; height: 23px; border-radius: 50%; background: var(--mama-pink); color: var(--white); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.article-tips em { font-style: italic; color: #7a4655; }

/* Цитата */
.article-quote { margin: 26px 0 0; padding: 22px 26px; border-left: 4px solid var(--mama-pink); background: rgba(234, 150, 167, 0.1); border-radius: 0 12px 12px 0; font-size: 18px; line-height: 1.6; color: var(--navy); font-weight: 600; }

/* Рекомендованные продукты */
.product-rec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-rec-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--white); border-radius: 14px; padding: 26px 22px; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.product-rec-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(10, 50, 137, 0.12); }
.product-rec-img { height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.product-rec-img img { max-height: 180px; max-width: 100%; width: auto; object-fit: contain; }
.product-rec-card h3 { font-size: 18px; color: var(--navy); margin: 0 0 2px; }
.product-rec-vol { font-size: 13px; color: rgba(10, 50, 137, 0.55); margin: 0 0 12px; }
.product-rec-desc { font-size: 14px; line-height: 1.6; color: #33415c; margin: 0 0 16px; }
.product-rec-link { margin-top: auto; font-weight: 600; color: var(--sky-ink); transition: color 0.2s ease; }
.product-rec-card:hover .product-rec-link { color: var(--navy); }
@media (max-width: 768px) { .product-rec-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; } }

/* ── Kugelkalender — интерактивный калькулятор недели ─────────────────────── */
.kalender-calc-section { padding-top: 8px; }
.kalender-calc {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(10, 50, 137, 0.10);
  border: 1px solid var(--line);
}
.kalender-calc-form {
  padding: 44px 44px 40px;
  background: linear-gradient(160deg, #eaf4fb 0%, #f6fafd 100%);
}
.kalender-calc-title { font-size: 30px; color: var(--navy); margin: 8px 0 10px; }
.kalender-calc-lead { color: #44516b; margin-bottom: 22px; max-width: 44ch; }
.kalender-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.kalender-tab {
  border: 2px solid var(--navy); background: transparent; color: var(--navy);
  padding: 9px 16px; font: inherit; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: background .18s ease, color .18s ease;
}
.kalender-tab.active { background: var(--navy); color: var(--white); }
.kalender-field { display: block; margin-bottom: 20px; }
.kalender-field-label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.kalender-input {
  width: 100%; max-width: 320px; padding: 13px 16px;
  border: 2px solid #cfe0ec; border-radius: 10px;
  font: inherit; font-size: 16px; color: var(--navy); background: var(--white);
}
.kalender-input:focus { outline: none; border-color: var(--sky-ink); }
.kalender-input.kalender-invalid { border-color: var(--coral); }
.kalender-note { font-size: 13px; color: #7a869c; margin-top: 14px; }

.kalender-result {
  display: flex; gap: 30px; align-items: center;
  padding: 40px; background: var(--white);
}
.kalender-ring { position: relative; width: 158px; height: 158px; flex-shrink: 0; }
.kalender-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.kalender-ring-bg { fill: none; stroke: #e7eef5; stroke-width: 9; }
.kalender-ring-fg {
  fill: none; stroke: var(--sky); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 326.7;
  transition: stroke-dashoffset .9s cubic-bezier(.22, 1, .36, 1);
}
.kalender-ring-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.kalender-week {
  font-family: 'Barmeno', 'Nunito', sans-serif;
  font-size: 46px; font-weight: 800; color: var(--navy); line-height: 1;
}
.kalender-week-label {
  font-size: 12px; color: #7a869c; text-transform: uppercase; letter-spacing: .08em; margin-top: 2px;
}
.kalender-result-tag {
  display: inline-block; background: var(--mama-pink); color: var(--white);
  font-weight: 700; font-size: 12px; padding: 4px 13px; border-radius: 20px; margin-bottom: 12px;
}
.kalender-result-month { font-size: 23px; color: var(--navy); margin-bottom: 8px; }
.kalender-result-baby { color: #44516b; margin-bottom: 10px; }
.kalender-countdown { font-weight: 700; color: var(--navy); margin-bottom: 18px; }
@media (max-width: 860px) {
  .kalender-calc { grid-template-columns: 1fr; }
  .kalender-calc-form { padding: 34px 26px 30px; }
  .kalender-result { flex-direction: column; text-align: center; padding: 32px 26px; gap: 20px; }
  .kalender-result-baby { max-width: none; }
}

/* ── Продуктовые страницы: видео о серии, кросс-продажа, статьи раздела ────── */
.series-video {
  display: grid; grid-template-columns: minmax(0, 1.05fr) 1fr; align-items: stretch;
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md);
  background: var(--white); border: 1px solid var(--line);
}
.series-video-poster { position: relative; min-height: 280px; background-size: cover; background-position: center; }
.series-video-poster::after { content: ''; position: absolute; inset: 0; background: rgba(10, 50, 137, 0.10); }
.series-video-play {
  position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.94); display: flex; align-items: center; justify-content: center;
  z-index: 1; box-shadow: 0 8px 26px rgba(10, 50, 137, 0.28); transition: transform .2s ease;
}
.series-video:hover .series-video-play { transform: scale(1.09); }
.series-video-play svg { width: 26px; height: 26px; margin-left: 4px; fill: var(--navy); }
.series-video-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.series-video-body h2 { font-size: 26px; color: var(--navy); margin-bottom: 12px; }
.series-video-body p { color: #44516b; margin-bottom: 22px; }

.series-cross-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.series-cross-card {
  display: flex; gap: 18px; align-items: center; padding: 22px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--white);
  transition: box-shadow .2s ease, transform .2s ease;
}
.series-cross-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.series-cross-card img { width: 92px; height: 92px; object-fit: contain; flex-shrink: 0; }
.series-cross-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 6px; }
.series-cross-card p { font-size: 14px; color: #5a6678; margin-bottom: 8px; line-height: 1.45; }
.series-cross-card .product-link { font-weight: 700; color: var(--sky-ink); }
@media (max-width: 760px) {
  .series-video { grid-template-columns: 1fr; }
  .series-video-poster { min-height: 210px; }
  .series-video-body { padding: 30px 26px; }
  .series-cross-grid { grid-template-columns: 1fr; }
}

/* ── Соц-лента ВКонтакте (визуальный грид) ───────────────────────────────── */
.social-feed {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  max-width: 940px; margin: 0 auto 30px;
}
.social-tile { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.social-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.social-tile:hover img { transform: scale(1.08); }
.social-tile::after { content: ''; position: absolute; inset: 0; background: rgba(10, 50, 137, 0); transition: background .25s ease; }
.social-tile:hover::after { background: rgba(10, 50, 137, 0.30); }
.social-tile-icon { position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; opacity: 0; transition: opacity .25s ease; z-index: 1; fill: #fff; }
.social-tile:hover .social-tile-icon { opacity: 1; }
@media (max-width: 760px) { .social-feed { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

/* ── Блок доверия «Почему выбирают sanosan» ──────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trust-item { text-align: center; padding: 28px 18px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-sm); }
.trust-icon { width: 46px; height: 46px; margin: 0 auto 14px; color: var(--sky-ink); display: block; }
.trust-item h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.trust-item p { font-size: 14px; color: #5a6678; line-height: 1.5; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr 1fr; } }

/* акцентное сердце в hero-лейбле */
.hero-heart { color: var(--coral); font-size: 1.05em; }

/* ── Экспертная карточка в статье ─────────────────────────────────────────── */
.article-expert-card {
  display: flex; gap: 20px; align-items: center;
  margin: 38px 0 4px; padding: 22px 24px;
  background: var(--bg-blue-soft); border: 1px solid var(--line); border-radius: 14px;
}
.article-expert-card img {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.article-expert-role { display: block; font-weight: 700; color: var(--navy); font-size: 14px; margin-bottom: 6px; }
.article-expert-quote { font-style: italic; color: #44516b; margin-bottom: 8px; line-height: 1.5; }
.article-expert-link { font-weight: 700; color: var(--sky-ink); font-size: 14px; }
@media (max-width: 560px) { .article-expert-card { flex-direction: column; text-align: center; } }

/* ── Инфографика в статьях (векторная, без растров) ──────────────────────── */
.info-figure { margin: 30px 0; }
.info-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.info-step { text-align: center; padding: 6px; }
.info-step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--sky); color: var(--white);
  font-family: 'Barmeno', 'Nunito', sans-serif; font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.info-step h4 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.info-step p { font-size: 13.5px; color: #5a6678; line-height: 1.5; }
.info-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-fact { background: var(--bg-blue-soft); border-radius: 14px; padding: 26px 18px; text-align: center; }
.info-fact-num {
  font-family: 'Barmeno', 'Nunito', sans-serif; font-size: 34px; font-weight: 800;
  color: var(--sky-ink); line-height: 1; margin-bottom: 10px; display: block;
}
.info-fact p { font-size: 14px; color: #44516b; line-height: 1.45; }
@media (max-width: 600px) { .info-facts { grid-template-columns: 1fr; } }

/* карточка эксперта в статье — кликабельна целиком */
a.article-expert-card { text-decoration: none; color: inherit; cursor: pointer; transition: box-shadow .2s ease, transform .2s ease; }
a.article-expert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
a.article-expert-card:hover .article-expert-link { text-decoration: underline; }

/* карточки серий на главной — кликабельны целиком */
a.series-card { text-decoration: none; color: inherit; cursor: pointer; }
a.series-card .btn { pointer-events: none; }

/* иконочные блоки-принципы теперь кликабельны (ведут в разделы) */
a.value-item { text-decoration: none; color: inherit; cursor: pointer; display: block; transition: transform .2s ease; }
a.value-item:hover { transform: translateY(-4px); }
a.value-item:hover .value-title { text-decoration: underline; }

/* ---------- Единый вес заголовков = 800 ----------
   Кириллица (Nunito, переменный) догоняет массу фирменного Barmeno-Bold; латиница «sanosan»
   остаётся Barmeno-700 благодаря font-synthesis:none (браузер не фейк-болдит до 800, берёт настоящее 700).
   Блок в конце файла перебивает частные font-weight:700 у баннерных/разделовых заголовков (все — h-теги,
   т.е. фирменный стек Barmeno→Nunito). Мелкие label/eyebrow (600) не входят — остаются как есть. */
.hero-slide-text h1,
.hero-slide-text .hero-slide-h,
.page-hero h1,
.product-detail-info h1,
.section-title,
.value-title,
.product-name,
.article-title,
.story-content h2 {
  font-weight: 800;
  font-synthesis: none;
}
