/* === Шрифты === */
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/GothamBook.woff2') format('woff2'),
       url('../fonts/GothamBook.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/GothamBold.woff2') format('woff2'),
       url('../fonts/GothamBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Black.woff2') format('woff2'),
       url('../fonts/Gotham-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* === Общие стили === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Gotham', sans-serif;
  background-color: #0d0d0d;
  color: #fff;
  scroll-behavior: smooth;
  line-height: 1.6;
  font-size: 16px;
}

/* === Контейнер === */
.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

/* === Заголовки === */
h1, h2, h3, h4 {
  font-family: 'Gotham', sans-serif;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

/* === Хедер === */
.main-header {
  width: 100%;
  background: #101010;
  border-bottom: 1px solid rgba(220,180,60,0.05);
  box-shadow: 0 1.5px 12px 0 #0002;
  position: sticky;
  top: 0;
  z-index: 99;
  padding: 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo-img {
  height: 188px;
  width: auto;
  display: block;
  transition: opacity 0.23s;
}

/* Отступ для контента под хедером */
body.lab-page main,
body.index-page main {
  padding-top: 64px;
}

@media (max-width: 900px) {
  .header-logo-img { height: 120px; }
  body.lab-page main,
  body.index-page main { padding-top: 48px; }
}

@media (max-width: 700px) {
  .header-logo-img { height: 90px; }
  body.lab-page main,
  body.index-page main { padding-top: 32px; }
}

/* === Меню === */
.nav-menu li a {
  font-family: 'Gotham', 'Inter', Arial, sans-serif;
  color: #e4c052;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 1.12rem;
  transition: color 0.18s;
  position: relative;
}
.nav-menu li a:hover {
  color: #fffbe8;
}
.nav-menu li a::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, #e5c24c 20%, #b786f2 80%);
  width: 0;
  transition: width 0.24s;
  margin: 2px auto 0;
}
.nav-menu li a:hover::after {
  width: 100%;
}

/* === Мобильные стили === */
@media (max-width: 900px) {
  .header-logo img { height: 120px; }
  .nav-menu { gap: 16px; }
  .nav-menu li a { font-size: 1rem; }
}
@media (max-width: 700px) {
  .header-container { flex-direction: column; gap: 0; }
  .header-logo img { height: 90px; }
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* === Hero секция === */
.hero {
  background: url('/images/bg-texture.jpg') center / cover no-repeat;
  color: #fff;
  padding: 120px 0 80px;
  text-align: center;
  animation: fadeIn 1.8s ease-out 0.5s both;
}

.hero-title {
  font-family: 'Gotham', sans-serif;
  font-weight: 900;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 2.3rem;
  margin-bottom: 32px;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: #ccc;
  margin: 0 auto 2rem;
  max-width: 600px;
}

/* === Кнопка === */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #d9a441, #b786f2);
  color: #0d0d0d;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.3);
}

/* === Анимация появления === */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* === Адаптив === */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}

/* === О ПРОДУКТЕ / ПЛИТКИ === */
.features {
  background-color: #0d0d0d;
  padding: 100px 20px;
  text-align: center;
}

.section-title {
  font-family: 'Gotham', sans-serif;
  font-weight: 900;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 2.3rem;
  margin-bottom: 32px;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* --- Обычная плитка (на всякий случай оставь) --- */
.feature-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 24px;
  border-radius: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}
.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.3s; }
.feature-item:nth-child(3) { animation-delay: 0.5s; }
.feature-item:nth-child(4) { animation-delay: 0.7s; }
.feature-item:nth-child(5) { animation-delay: 0.9s; }
.feature-item:nth-child(6) { animation-delay: 1.1s; }
.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}
.feature-item h3 {
  font-size: 1.25rem;
  color: #d4af37;
  margin-bottom: 14px;
  font-family: 'Gotham', sans-serif;
  font-weight: 700;
}
.feature-item p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  font-family: 'Gotham', sans-serif;
}

/* === Премиальные плитки: золотой градиент и стиль === */
.feature-item.premium {
  position: relative;
  background: linear-gradient(315deg, #c9a349 10%, #a98037 45%, #6c471e 100%);
  border: 2px solid #b89238;
  border-radius: 44px 24px 48px 32px;
  box-shadow: 0 4px 28px 0 #b8923830, 0 2px 12px 0 #fff2;
  padding: 38px 28px 36px 28px;
  margin: 0 0 32px 0;
  min-width: 250px;
  max-width: 330px;
  text-align: left;
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}
.feature-item.premium::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 44px 24px 48px 32px;
  box-shadow: 0 6px 22px 2px #d4af3733, 0 1.5px 9px 0 #fff2;
  opacity: 0.32;
  pointer-events: none;
}

/* Анимация задержки для последовательного появления */
.feature-item.premium:nth-child(1) { animation-delay: 0.1s; }
.feature-item.premium:nth-child(2) { animation-delay: 0.3s; }
.feature-item.premium:nth-child(3) { animation-delay: 0.5s; }
.feature-item.premium:nth-child(4) { animation-delay: 0.7s; }
.feature-item.premium:nth-child(5) { animation-delay: 0.9s; }
.feature-item.premium:nth-child(6) { animation-delay: 1.1s; }

.feature-item.premium h3 {
  font-family: 'Gotham', sans-serif;
  font-size: 1.25rem;
  line-height: 1.15;
  font-weight: 900;
  color: #d4af37;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.feature-item.premium p {
  color: #cbc8be;
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 400;
}
.feature-item.premium:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 12px 38px 6px #d4af3766, 0 2px 18px 0 #fff4;
}

.circle-features {
  display: flex;
  justify-content: center;
  gap: 52px;
  margin: 70px auto 44px auto;
  align-items: flex-end;
}

.circle-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 225px;
  min-height: 270px;
  text-align: center;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  position: relative;
  transition: 
    transform 0.28s cubic-bezier(.42,1.16,.71,.98),
    box-shadow 0.22s,
    background 0.28s,
    border-radius 0.32s;
  will-change: transform, box-shadow, background, border-radius;
}

.circle-feature:hover {
  /* --- Вот изменения только при наведении --- */
  background: rgba(212, 175, 55, 0.08); /* лёгкая золотистая подсветка */
  border-radius: 42% 58% 46% 54% / 55% 45% 60% 40%; /* не-круглая форма, "blob" */
  box-shadow: 0 8px 56px 0 #d4af3740, 0 0 20px 4px #d4af3722;
  transform: scale(1.07) translateY(-6px) rotate(-2deg);
  z-index: 2;
}

.circle-feature:active {
  transform: scale(0.99) translateY(2px);
  box-shadow: 0 1.5px 18px 0 #d4af3712;
}

.circle-icon {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 16px;
  box-shadow: 0 0 54px 0 rgba(212, 175, 55, 0.21), 0 1.5px 7px 0 #fff1;
  background: linear-gradient(135deg, #191614 60%, #b8923825 100%);
}

.circle-title {
  font-family: 'Gotham', sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  color: #e7c15b;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

@media (max-width: 700px) {
  .circle-features {
    flex-direction: column;
    gap: 36px;
  }
  .circle-feature {
    width: 100%;
    margin-bottom: 0 !important;
    /* Сделаем фон светлее, чем #0d0d0d, но не белый: */
    background: rgba(38, 34, 19, 0.98); /* или #232019 — светлее и теплее */
    box-shadow: 0 4px 24px #d4af370a;
    border-radius: 22px;
    padding: 18px 0 18px 0;
    transition: background 0.22s;
  }
  .circle-feature:hover {
    background: rgba(212, 175, 55, 0.10); /* чуть ярче при наведении */
  }
}


.capsule-accent {
  color: #e7c15b;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.wave1 { margin-bottom: 0;    }
.wave2 { margin-bottom: 22px; }
.wave3 { margin-bottom: 44px; }
.wave4 { margin-bottom: 66px; }
.wave5 { margin-bottom: 0px; }
/* Чем больше значение — тем выше ступень */

@media (max-width: 1050px) {
  .circle-features { gap: 20px; }
  .circle-feature { width: 145px; }
  .circle-text { max-width: 110px; font-size: 0.99rem; }
  .circle-icon { width: 90px; height: 90px; }
  .wave2 { margin-bottom: 10px; }
  .wave3 { margin-bottom: 18px; }
  .wave4 { margin-bottom: 26px; }
  .wave5 { margin-bottom: 32px; }
}
@media (max-width: 700px) {
  .circle-features { flex-direction: column; }
  .circle-feature { width: 100%; margin-bottom: 0 !important; }
  .circle-icon { width: 70px; height: 70px; }
  .circle-text { max-width: 98vw; font-size: 0.96rem; }
}

/* Анимация появления */
@keyframes fadeInUp {
  0%   { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(0);   opacity: 1; }
}

/* --- Капсула с секторами, если используешь "веер" --- */
.capsule-wrap {
  position: relative;
  display: inline-block;
}
.capsule-img {
  width: 240px;
  max-width: 92vw;
}
.cap-text {
  position: absolute;
  color: #d4af37;
  font-family: 'Gotham', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 2px 12px #19161499;
}
.cap-clean  { left: 60%; top: 6%;  transform: rotate(-20deg);}
.cap-care   { left: 8%;  top: 44%; transform: rotate(-5deg);}
.cap-aroma  { left: 68%; top: 60%; transform: rotate(20deg);}

.aroma-img {
  width: 160px;       /* или 140px, если капсула чуть меньше */
  max-width: 92vw;
  display: block;
  margin: 0 auto 12px auto;
}
.ribbon-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: -50px 0 0 0;  /* Было -46px/60px — стало меньше! */
  pointer-events: none;
}
.brand-ribbon {
  width: 90vw;
  max-width: 1180px;
  height: 58px;
  display: block;
  z-index: 0;
  filter: drop-shadow(0 7px 28px #d4af3722);
}
@media (max-width: 900px) {
  .brand-ribbon { width: 98vw; height: 34px; }
  .ribbon-wrap { margin: -28px 0 30px 0; }
}

/* ===== LAB / WHEEL ===== */
.lab { padding: 80px 0; }
.lab-wrap { display:grid; grid-template-columns: 1.1fr 1fr; gap:40px; align-items:start; }
@media (max-width: 960px){ .lab-wrap{ grid-template-columns:1fr; } }

.lab-title { font-family:'Playfair Display',serif; font-weight:700; margin:0 0 16px; color:#D4AF37; }
.lab-left p { color:#c9c9c9; }

.wheel { position:relative; height:360px; border:1px solid #242424; border-radius:18px; background:#0c0c0c; overflow:hidden; }
.wheel-track {
  list-style:none; margin:0; padding:0; height:100%;
  overflow-y:auto; scrollbar-width:none; /* FF */
  scroll-snap-type:y mandatory;
}
.wheel-track::-webkit-scrollbar{ display:none; }
.wheel-item{
  display:flex; align-items:center; gap:12px;
  height:60px; padding:0 20px;
  scroll-snap-align:center;
  color:#dcdcdc; border-bottom:1px solid rgba(255,255,255,.04);
  transition: color .2s ease, transform .2s ease;
}
.wheel-item:last-child{ border-bottom:0; }
.wheel-item img{ width:28px; height:28px; object-fit:contain; opacity:.9; }
.wheel-item.is-active{ color:#fff; transform:scale(1.01); }
.wheel-item.is-active .wheel-item__name{ color:#D4AF37; }

.wheel-indicator{
  position:absolute; left:8px; right:8px; top:50%; height:60px; transform:translateY(-50%);
  border:1px solid rgba(212,175,55,.35); border-radius:12px; pointer-events:none;
  box-shadow:0 0 0 1px rgba(212,175,55,.08) inset;
}
.wheel-mask{
  position:absolute; left:0; right:0; height:60px; pointer-events:none;
  background:linear-gradient(to bottom, rgba(0,0,0,.65), rgba(0,0,0,0));
  z-index:2;
}
.wheel-mask--top{ top:0; }
.wheel-mask--bottom{ bottom:0; transform:rotate(180deg); }

.wheel-btn{
  position:absolute; right:10px; width:38px; height:38px; border-radius:10px; border:1px solid #2f2f2f;
  background:#101010; color:#D4AF37; font-size:22px; line-height:1; z-index:3;
}
.wheel-btn--up{ top:10px; }
.wheel-btn--down{ bottom:10px; }

/* карточка справа */
.lab-card{
  border:1px solid #242424; background:#0c0c0c; border-radius:18px; padding:22px;
}
.lab-chip{
  display:inline-block; background:rgba(212,175,55,.08); color:#D4AF37;
  border:1px solid rgba(212,175,55,.28); padding:6px 10px; border-radius:999px; font-size:12px; margin-bottom:8px;
}
.lab-card h3{ margin:6px 0 8px; color:#fff; }
.lab-card p{ color:#ccc; }
.lab-points{ margin:10px 0 18px; padding-left:18px; color:#ddd; }
.lab-points li{ margin:6px 0; }
.lab-note{ font-size:12px; color:#8f8f8f; margin-top:8px; }

/* кнопка из твоего стиля */
.btn-primary{
  display:inline-block; padding:14px 20px; border-radius:999px; font-weight:700; text-decoration:none; color:#000;
  background: linear-gradient(90deg,#D4AF37,#d292ff);
}

/* --- Адаптив под мобильные --- */
@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .feature-item.premium {
    min-width: 0;
    max-width: 100%;
    padding: 22px 10px 22px 10px;
    font-size: 0.96rem;
  }
  .feature-item.premium h3 {
    font-size: 1.06rem;
    margin-bottom: 12px;
  }
  .feature-item.premium p {
    font-size: 0.98rem;
  }
}

/* LAB wheel minimal */
.lab-wrap{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.lab-title{margin:0 0 8px}
.wheel{position:relative;width:100%;max-width:380px;margin-top:8px}
.wheel-track{list-style:none;margin:0;padding:8px 0;max-height:320px;overflow-y:auto;scroll-behavior:smooth;border-radius:12px;border:1px solid rgba(255,255,255,.1)}
.wheel-item{display:grid;grid-template-columns:40px 1fr;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;cursor:pointer;transition:transform .15s,background-color .15s,color .15s}
.wheel-item img{width:40px;height:40px;object-fit:contain}
.wheel-item:hover{background:rgba(255,255,255,.06)}
.wheel-item.is-active{background:rgba(255,255,255,.1);transform:scale(1.01)}
.wheel-btn{position:absolute;left:50%;transform:translateX(-50%);width:36px;height:36px;border-radius:50%;border:0;cursor:pointer;background:rgba(255,255,255,.12);color:inherit}
.wheel-btn--up{top:-6px}.wheel-btn--down{bottom:-6px}
.wheel-mask{position:absolute;left:0;right:0;height:40px;pointer-events:none}
.wheel-mask--top{top:0;background:linear-gradient(180deg,rgba(0,0,0,.25),transparent)}
.wheel-mask--bottom{bottom:0;background:linear-gradient(0deg,rgba(0,0,0,.25),transparent)}
.lab-card[hidden]{display:none!important}
.lab-chip{display:inline-block;font-size:12px;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,.08);margin-bottom:6px}
.lab-points{margin:12px 0 0;padding-left:18px}
.btn-primary{display:inline-block;margin-top:10px;padding:10px 14px;border-radius:10px;text-decoration:none;background:rgba(255,255,255,.12)}

/* ===== Лаборатория: 3-колоночный лейаут ===== */
.lab-grid{
  display:grid;
  grid-template-columns: 1fr 360px 1.25fr; /* левый блок, центр-колесо фикс, правая карточка */
  gap:32px;
  align-items:start;
}
.lab-title{ margin:0 0 12px; }
.lab-center .wheel{ margin-inline:auto; } /* центрируем колесо */
.wheel{ width:100%; max-width:360px; }
.wheel-track{
  list-style:none; margin:0; padding:8px 0;
  max-height:360px; overflow:auto; border:1px solid rgba(255,255,255,.12);
  border-radius:14px; background:rgba(255,255,255,.02);
}
.wheel-item{
  display:flex; align-items:center; gap:12px;
  padding:12px 14px; border-radius:10px; cursor:pointer;
  line-height:1.1;
}
.wheel-item img{ width:40px; height:40px; object-fit:contain; flex:0 0 40px; }
.wheel-item__name{
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; /* имена в одну строку, без переносов */
}
.wheel-item:hover{ background:rgba(255,255,255,.06); }
.wheel-item.is-active{ background:rgba(255,255,255,.10); outline:1px solid rgba(212,175,55,.4); }
.wheel-btn{
  position:absolute; left:50%; transform:translateX(-50%);
  width:38px; height:38px; border:0; border-radius:999px;
  background:rgba(255,255,255,.10);
}
.wheel-btn--up{ top:-8px; } .wheel-btn--down{ bottom:-8px; }
.wheel-mask{ position:absolute; left:0; right:0; height:44px; pointer-events:none; }
.wheel-mask--top{ top:0; background:linear-gradient(180deg, rgba(0,0,0,.35), transparent); }
.wheel-mask--bottom{ bottom:0; background:linear-gradient(0deg, rgba(0,0,0,.35), transparent); }

/* Правая карточка — аккуратный бокс */
.lab-card{ border:1px solid rgba(255,255,255,.12); border-radius:16px; padding:24px; background:rgba(255,255,255,.02); }
.lab-card[hidden]{ display:none !important; }

/* ===== Слайдер "до/после" ===== */
.lab-visual{ display:flex; flex-direction:column; align-items:center; gap:10px; }
.ba{
  position:relative; width:100%; max-width:420px; aspect-ratio:3/4;
  border-radius:16px; overflow:hidden; border:1px solid rgba(255,255,255,.12);
  --pos: 50%; /* начальное положение ползунка */
}
.ba-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ba-after{ clip-path: polygon(0 0, var(--pos) 0, var(--pos) 100%, 0 100%); } /* левая часть "чистая" */
.ba-handle{
  position:absolute; top:0; bottom:0; left:var(--pos); width:2px; background:rgba(255,255,255,.7);
  transform:translateX(-1px); cursor:ew-resize; touch-action:none;
  display:flex; align-items:center; justify-content:center;
}
.ba-dot{
  width:26px; height:26px; border-radius:50%; border:2px solid rgba(0,0,0,.5);
  background:rgba(255,255,255,.92); box-shadow:0 2px 12px rgba(0,0,0,.35);
}
.ba-hint{ font-size:12px; opacity:.7; }

/* ===== Адаптив ===== */
@media (max-width: 1100px){
  .lab-grid{ grid-template-columns: 1fr; }
  .lab-right{ order:3; }
  .lab-center{ order:2; }
  .lab-visual{ order:1; }
  .lab-center .wheel{ margin-inline:auto; }
}

/* === Заголовок "Выберите загрязнение" как VELLOR PODS === */
#lab-stains .lab-title{
  font-family: 'Gotham', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  line-height: 1.2;
  color: #d4af37;
  /* размер как у геро-заголовка, можно подогнать */
  font-size: 1.7rem;
  margin: 0 0 16px;
}

/* адаптив */
@media (max-width: 768px){
  #lab-stains .lab-title{
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
}



/* Контейнер списка */
.wheel-track {
  scrollbar-gutter: stable;
  padding: 8px 0;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}

/* Пункт списка — базовые стили */
.wheel-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 0;               /* никаких рамок на самом элементе */
  border-radius: 10px;
  cursor: default;         /* не намекаем на клик */
  line-height: 1.15;
  background: none;
  box-shadow: none;
  transform: none;
}

/* Иконка */
.wheel-item img {
  width: 36px; height: 36px; object-fit: contain; flex: 0 0 36px;
}

/* Текст пункта */
.wheel-item__name {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;         /* ~16px */
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Убираем подсветку при наведении вообще */
.wheel-item:hover { background: none; }

/* Активный пункт (центральный): только один контур + лёгкий фон */
.wheel-item.is-active {
  background: rgba(255,255,255,.06);
  box-shadow: none;
  transform: none;
}

/* Текст активного пункта — без смены цвета, только полужирный */
.wheel-item.is-active .wheel-item__name { font-weight: 600; color: #fff; }

/* Кнопки прокрутки */
.wheel-btn {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 0;
  font-size: 1.2rem;
}
.wheel-btn:hover { background: rgba(212,175,55,.28); }

/* Текст в барабане — фирменный золотистый */
.wheel-item__name {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;         /* можно увеличить до 1.1rem при необходимости */
  font-weight: 500;
  color: #d4af37;          /* золотой */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Активный элемент — чуть ярче */
.wheel-item.is-active .wheel-item__name {
  font-weight: 600;
  color: #ffd966; /* более светлый золотой для выделения */
}

/* === Wheel: одна рамка, без дублей === */
:root { --gold: rgba(212,175,55,.75); }

/* на всякий случай — убираем любые рамки/псевдоэлементы где-то выше */
.wheel-item,
.wheel-item.is-active {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.wheel-item::before,
.wheel-item::after,
.wheel-item.is-active::before,
.wheel-item.is-active::after {
  content: none !important;
}

/* базовый пункт */
.wheel-item {
  position: relative;
  border-radius: 12px;        /* единый радиус */
  background: none;
}

/* единственная рамка активного — через inset box-shadow,
   он всегда повторяет border-radius элемента */
.wheel-item.is-active {
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1.5px var(--gold) !important;
}

/* наведение не добавляет второй подсветки */
.wheel-item:hover { background: none; }
.wheel-item.is-active:hover { background: rgba(255,255,255,.06); }

/* если где-то был фокус на элементе — убираем контур браузера */
.wheel-item:focus,
.wheel-item:focus-visible { outline: none !important; }

/* === Wheel: финальная однорамочная версия === */

/* 1) Глушим рамку у центрального индикатора (вторая рамка) */
.wheel-indicator {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* 2) Отключаем любые прежние бордеры/аутлайны у пунктов */
.wheel-item,
.wheel-item.is-active {
  border: 0 !important;
  outline: 0 !important;
}

/* 3) Одна-единственная рамка у активного пункта через inset-box-shadow */
:root { --gold: rgba(212,175,55,.75); }

.wheel-item {
  position: relative;
  border-radius: 12px;
  background: none;
}

.wheel-item.is-active {
  background: rgba(255,255,255,.06) !important;
  box-shadow: inset 0 0 0 1.5px var(--gold) !important;
}

/* 4) Никакого hover-подсвечивания пунктов */
.wheel-item:hover { background: none !important; }

/* 5) Текст — золотой, активный чуть светлее */
.wheel-item__name {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #d4af37;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wheel-item.is-active .wheel-item__name {
  font-weight: 600;
  color: #ffd966;
}

/* колесо не должно автоплавно скроллиться во время нормализации */
.wheel-track { scroll-behavior: auto !important; }

.wheel-track {
  scroll-snap-type: y mandatory; /* вертикальная привязка */
  overflow-y: auto;
}

.wheel-item {
  scroll-snap-align: center; /* центрируем элемент при остановке скролла */
}

/* === Before/After: устойчивые слои и тач === */
.ba { position: relative; z-index: 1; }
.ba-img { pointer-events: none; }             /* картинки не мешают перетаскиванию */
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  width: 2px; background: rgba(255,255,255,.7);
  transform: translateX(-1px);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; cursor: ew-resize;
  touch-action: none;                         /* важно: не прокручиваем страницу при свайпе */
}
.ba-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(0,0,0,.5);
  background: rgba(255,255,255,.92); box-shadow: 0 2px 12px rgba(0,0,0,.35); pointer-events: none; }

/* === Wheel buttons — стеклянные круглые с золотым акцентом === */
:root{
  --gold:#d4af37;
  --gold-24: rgba(212,175,55,.24);
  --gold-36: rgba(212,175,55,.36);
  --white-08: rgba(255,255,255,.08);
  --white-14: rgba(255,255,255,.14);
}

.wheel { position:relative; }

/* базовый вид */
.wheel-btn{
  --size: 44px;
  position:absolute; left:50%; transform:translateX(-50%);
  width:var(--size); height:var(--size);
  border:1px solid var(--white-14);
  border-radius:999px;
  background:
    radial-gradient(100% 100% at 50% 0%, rgba(255,255,255,.12), rgba(255,255,255,.04)) ,
    rgba(18,18,18,.6);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size:20px; line-height:1;
  backdrop-filter: blur(6px);
  box-shadow:
    0 6px 18px rgba(0,0,0,.35),
    inset 0 0 0 0 var(--gold-24);
  z-index:4;
  cursor:pointer;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease,
    background-color .15s ease;
}

/* размещение */
.wheel-btn--up{    top:-10px; }
.wheel-btn--down{  bottom:-10px; }

/* наведением добавляем золотой кант и лёгкое свечение */
.wheel-btn:hover{
  border-color: var(--gold-36);
  box-shadow:
    0 8px 22px rgba(0,0,0,.45),
    0 0 0 3px rgba(212,175,55,.10),
    inset 0 0 0 1px var(--gold-24);
}

/* нажатие — небольшое «утопление» */
.wheel-btn:active{
  transform:translateX(-50%) translateY(1px) scale(.97);
  box-shadow:
    0 4px 12px rgba(0,0,0,.4),
    inset 0 0 0 2px var(--gold-24);
}

/* фокус по Tab — чёткое кольцо */
.wheel-btn:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 3px rgba(212,175,55,.25),
    inset 0 0 0 1px var(--gold-24);
  border-color: var(--gold-36);
}

/* “большая зона клика”: невидимая подложка, чтобы легко попасть */
.wheel-btn::after{
  content:"";
  position:absolute; inset:-8px; border-radius:inherit;
}

/* неактивное состояние (если когда-нибудь понадобится) */
.wheel-btn[disabled]{
  opacity:.45; pointer-events:none; filter:grayscale(.3);
}

/* анимации помягче для людей с ограничением движения */
@media (prefers-reduced-motion: reduce){
  .wheel-btn{ transition:none; }
}

/* Wheel: отключаем scroll-snap, чтобы не перетягивало во время центрирования */
#lab-stains .wheel-track { scroll-snap-type: none !important; }
#lab-stains .wheel-item  { scroll-snap-align: none !important; }

/* === Фон с пузырьками по всему сайту === */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/images/fon_bez_fona.png") center/cover no-repeat;
  z-index: -1;
  pointer-events: none;
}

/* На случай, если главная или разделы лежат в подпапках */
@supports not (background: url("/images/fon_bez_fona.png")) {
  body::before {
    background: url("../images/fon_bez_fona.png") center/cover no-repeat;
  }
}
/* === FOOTER === */
.main-footer {
  background: #0d0d0d;
  padding: 30px 20px;
  /* border-top: 1px solid rgba(212,175,55,0.2); */ /* убираем */
  color: #aaa;
  font-size: 0.8rem;
}

/* Центровка футера и ограничение ширины */
.main-footer .container {
  max-width: 1200px;   /* ограничение ширины */
  margin: 0 auto;      /* центрируем */
  padding-inline: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 220px 260px minmax(0, 1fr); /* лого | контакты | правовой */
  gap: 30px;
  align-items: start;
}

.footer-logo img {
  max-width: 180px;
  display: block;
  margin: 0;
}

.footer-contacts p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #bbb;
  margin: 0;
}

.footer-contacts a {
  color: #ffd966;
  text-decoration: none;
  white-space: nowrap;
}

.footer-contacts a:hover {
  text-decoration: underline;
}

.footer-legal {
  font-size: 0.65rem;
  color: #888;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding-right: 10px;
}

.footer-legal p { margin: 0; }

/* ====== Адаптив ====== */
@media (max-width: 1280px) {
  .main-footer .container {
    max-width: 1000px; /* чуть уже на средних экранах */
  }
}

@media (max-width: 1024px) {
.footer-grid {
  display: grid;
  grid-template-columns: 220px 260px minmax(0, 1fr); /* лого | контакты | правовой */
  gap: 30px;
  align-items: flex-start;  /* выравниваем все блоки по верхнему краю */
}

@media (max-width: 768px) {
  .main-footer .container {
    max-width: 100%;
    padding-inline: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-logo img {
    height: 72px;
  }
  .footer-contacts {
    font-size: 14px;
  }
  .footer-legal {
    font-size: 10px;
    line-height: 1.45;
  }
}

/* если есть cookie-баннер, чтобы он не перекрывал низ */
body.cookie-open {
  padding-bottom: 72px;
}
@media (max-width: 480px) {
  body.cookie-open { padding-bottom: 96px; }
}










