/* ============================================
   EXMIX — новая главная (каркас, этап 1: статика)
   База: светлая, воздушная · Акцент: между Тиффани и голубым
   ============================================ */

/* ---------- Шрифт Manrope (локально, без Google Fonts) ---------- */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  font-weight: 400 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: 'Manrope';
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  font-weight: 400 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+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB;
}

:root {
  --bg: #f7f9f8;
  --bg-cream: #fbfaf7;
  --ink: #13211f;
  --muted: #5c6d6a;
  --accent: #1ab4c9;        /* между Тиффани и голубым */
  --accent-deep: #0d92a8;   /* глубокий (текст, иконки) */
  --accent-teal: #0da79b;   /* лёгкий изумрудный увод для градиентов */
  --line: rgba(19, 33, 31, .09);
  --glass-bg: rgba(255, 255, 255, .55);
  --glass-border: rgba(255, 255, 255, .7);
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(13, 110, 130, .28);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(120deg, #41c6de, var(--accent-deep) 75%, var(--accent-teal));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(13, 146, 168, .55); }

.btn--ghost {
  background: rgba(255, 255, 255, .6);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { box-shadow: 0 12px 28px -14px rgba(19, 33, 31, .3); }

.btn--small { padding: 10px 20px; font-size: 14px; }

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s ease, box-shadow .3s ease;
}
.header--scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -18px rgba(19, 33, 31, .25);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-right: auto;
}
.logo__img { height: 46px; width: auto; display: block; }

.nav { display: flex; gap: 24px; }
.nav__link {
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  opacity: .78;
  transition: opacity .2s ease;
}
.nav__link:hover { opacity: 1; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ---------- Hero + карусель ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-cream);
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Слайд: растворение + лёгкое «дыхание» масштаба */
.slide {
  position: absolute;
  inset: 0;
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 1.4s ease, transform 7s linear;
}
.slide.is-active { opacity: 1; transform: scale(1); }

/* Заглушки под будущие фото */
.slide--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(700px 420px at 75% 30%, rgba(26, 180, 201, .16), transparent 65%),
    radial-gradient(500px 360px at 25% 75%, rgba(13, 167, 155, .12), transparent 65%),
    linear-gradient(120deg, #eef6f8, #e2eff2);
}
.slide__caption { text-align: center; color: var(--muted); }
.slide__caption strong {
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: rgba(19, 33, 31, .35);
  letter-spacing: -.02em;
}
.slide__caption span { font-size: 15px; opacity: .7; }

/* Светлая дымка поверх слайдов — для читаемости текста слева */
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--bg-cream) 0%,
    rgba(251, 250, 247, .96) 22%,
    rgba(251, 250, 247, .55) 45%,
    rgba(251, 250, 247, 0) 65%);
}

/* «туманность» поверх всего */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
}
.hero::before {
  width: 520px; height: 420px;
  left: -140px; top: 8%;
  background: radial-gradient(circle, rgba(26, 180, 201, .2), transparent 65%);
}
.hero::after {
  width: 460px; height: 380px;
  left: 18%; bottom: -10%;
  background: radial-gradient(circle, rgba(13, 167, 155, .14), transparent 65%);
}

/* Стрелки и точки карусели */
.slider__btn {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.slider__btn:hover { transform: scale(1.08); box-shadow: var(--shadow); }
.slider__btn--prev { left: 22px; }
.slider__btn--next { right: 22px; }

.slider__dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.slider__dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  background: rgba(19, 33, 31, .22);
  cursor: pointer;
  transition: width .35s ease, background .35s ease;
}
.slider__dots button.is-active { width: 26px; background: var(--accent); }

/* Контент поверх слайдов */
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 120px 0 80px;
}

.hero__content { max-width: 560px; }

.hero__logo {
  display: block;
  width: 300px;
  height: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 14px rgba(255, 255, 255, .85));
}

.badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(26, 180, 201, .1);
  border: 1px solid rgba(26, 180, 201, .3);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(54px, 7vw, 96px);
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: -.02em;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, #41c6de, var(--accent-teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin-top: 22px;
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* Glass-панель характеристик */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero__features {
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 24px;
  width: 320px;
  flex-shrink: 0;
}
.feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  transition: background .2s ease;
}
.feature:hover { background: rgba(255, 255, 255, .65); }
.feature__icon {
  width: 34px; height: 34px;
  flex-shrink: 0;
  color: var(--accent-deep);
}
.feature strong { display: block; font-size: 14.5px; }
.feature span { font-size: 12.5px; color: var(--muted); }

/* ---------- Секции ---------- */
.section-head { margin-bottom: 42px; max-width: 640px; }
.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
}
.section-sub { margin-top: 12px; color: var(--muted); font-size: 17px; }

/* ---------- Линейки: крупные тайлы со стеклом и арт-зоной ---------- */
.lines {
  padding: 100px 0;
  background: linear-gradient(180deg, #fff, var(--bg) 140%);
}

/* подложка, на которой видно стекло */
.lines__panel {
  position: relative;
  border-radius: 32px;
  padding: 40px 36px 44px;
  overflow: hidden;
  background: linear-gradient(135deg,
    rgba(26, 180, 201, .18),
    rgba(13, 167, 155, .13) 55%,
    rgba(65, 198, 222, .16));
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 30px 70px -40px rgba(13, 110, 130, .35);
}

/* клубы тумана внутри подложки */
.lines__fog {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.lines__fog::before,
.lines__fog::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.lines__fog::before {
  width: 480px; height: 480px;
  right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(26, 180, 201, .5), transparent 65%);
}
.lines__fog::after {
  width: 420px; height: 420px;
  left: -100px; bottom: -180px;
  background: radial-gradient(circle, rgba(13, 167, 155, .42), transparent 65%);
}

.lines__container { position: relative; z-index: 1; }

.lines__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Тайл: стеклянная карточка с цветной арт-зоной и большой иконкой */
.line-tile {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px -24px rgba(13, 110, 130, .45);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.line-tile__art {
  height: 170px;
  position: relative;
  overflow: hidden;
}
.line-tile__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
/* мягкий переход фото в стеклянное тело тайла */
.line-tile__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(255, 255, 255, .55));
}

.line-tile__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 24px;
}
.line-tile__body h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.line-tile__body p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.line-tile__link {
  display: inline-block;
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-deep);
}
.line-tile__link i { font-style: normal; display: inline-block; transition: transform .25s ease; }

.line-tile:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 26px 50px -24px rgba(13, 110, 130, .5);
}
.line-tile:hover .line-tile__art img { transform: scale(1.06); }
.line-tile:hover .line-tile__link i { transform: translateX(5px); }

/* Кожа — акцентный тайл (ведёт на /leather/) */
.line-tile--accent {
  border-color: rgba(26, 180, 201, .5);
  box-shadow: 0 16px 44px -22px rgba(13, 146, 168, .55);
}

/* ---------- Подвал ---------- */
.footer {
  padding: 40px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .lines__grid { grid-template-columns: repeat(2, 1fr); }
  .lines__panel { padding: 32px 26px 36px; }
  .hero__inner { flex-direction: column; align-items: flex-start; }
  .hero__features { width: 100%; max-width: 480px; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .nav--open { transform: translateY(0); }
  .nav__link { padding: 12px 0; font-size: 16px; }
  .header__cta { display: none; }
  .logo__img { height: 38px; }
  .burger { display: flex; }
  .burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger--open span:nth-child(2) { opacity: 0; }
  .burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .lines__grid { grid-template-columns: 1fr; }
  .lines__panel { padding: 24px 18px 28px; border-radius: 24px; }
  .hero { min-height: auto; }
  .hero__inner { padding: 120px 0 72px; }
  .slider__btn { display: none; }
  .slider__dots { bottom: 20px; }
}

/* ---------- Подбор цвета RAL ---------- */
.ral { padding: 90px 0; }

.ral__panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 34px;
  background: linear-gradient(140deg, #eefbfe 0%, #dff5f7 45%, #e7f3f0 100%);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 30px 70px -50px rgba(13, 110, 130, .5);
}
.ral__fog { position: absolute; inset: 0; pointer-events: none; }
.ral__fog::before, .ral__fog::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.ral__fog::before {
  width: 420px; height: 420px;
  right: -140px; top: -180px;
  background: radial-gradient(circle, rgba(26, 180, 201, .38), transparent 65%);
}
.ral__fog::after {
  width: 380px; height: 380px;
  left: -120px; bottom: -200px;
  background: radial-gradient(circle, rgba(13, 167, 155, .3), transparent 65%);
}

.ral__inner { position: relative; z-index: 1; }

.ral__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.ral__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(13, 110, 130, .18);
  background: rgba(255, 255, 255, .6);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #3d5a63;
  cursor: pointer;
  transition: all .22s ease;
}
.chip:hover { border-color: rgba(26, 180, 201, .55); color: var(--accent-deep); }
.chip.is-active {
  background: linear-gradient(120deg, var(--accent), var(--accent-teal));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(13, 146, 168, .7);
}
.ral__search {
  min-width: 210px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(13, 110, 130, .22);
  background: rgba(255, 255, 255, .75);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.ral__search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(26, 180, 201, .16);
}
.ral__search::placeholder { color: #8fa6ab; }

.ral__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 26px;
  align-items: start;
}

.ral__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 12px;
}
.swatch {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .07);
  cursor: pointer;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
  font: inherit;
  padding: 0;
}
.swatch:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -12px rgba(13, 60, 75, .5); }
.swatch.is-selected {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.swatch__code {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(20, 30, 34, .55);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  backdrop-filter: blur(4px);
}

.ral__detail {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 44px -26px rgba(13, 110, 130, .5);
}
.ral__detail-color {
  height: 140px;
  border-radius: 16px;
  background: #0882A5;
  border: 1px solid rgba(0, 0, 0, .06);
  transition: background .3s ease;
}
.ral__detail-info { display: flex; flex-direction: column; gap: 3px; }
.ral__detail-info strong { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.ral__detail-info span { font-size: 14.5px; color: var(--muted); }
.ral__detail-hex { font-family: ui-monospace, Consolas, monospace; font-size: 13px !important; color: #6c848a !important; }
.ral__hint { font-size: 12.5px; line-height: 1.5; color: #7d969c; }
.ral__cta { text-align: center; }

.ral__empty {
  grid-column: 1 / -1;
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
}

@media (max-width: 980px) {
  .ral__layout { grid-template-columns: 1fr; }
  .ral__detail { position: static; }
}

/* Виджет «подобрать по фото» и баннер результата */
.ral__tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ral__upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px dashed rgba(13, 146, 168, .55);
  background: rgba(255, 255, 255, .55);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-deep);
  cursor: pointer;
  transition: all .22s ease;
}
.ral__upload:hover {
  background: rgba(26, 180, 201, .12);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.ral__match {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(26, 180, 201, .35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px -22px rgba(13, 110, 130, .55);
}
.ral__match[hidden] { display: none; }
.ral__match-thumb {
  width: 52px; height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, .08);
  flex-shrink: 0;
}
.ral__match-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ral__match-text strong { font-size: 15.5px; }
.ral__match-text span { font-size: 12.5px; color: #6c848a; line-height: 1.45; }
.ral__match-close {
  margin-left: auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(13, 110, 130, .1);
  color: #3d5a63;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease;
}
.ral__match-close:hover { background: rgba(13, 110, 130, .2); }

/* Рецептура колеровки в карточке цвета */
.ral__recipe {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .9);
}
.ral__recipe-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5c767d;
}
.ral__recipe-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ral__recipe-item {
  display: grid;
  grid-template-columns: 16px 86px 1fr 38px;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
}
.ral__recipe-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .1);
}
.ral__recipe-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(13, 110, 130, .12);
  overflow: hidden;
}
.ral__recipe-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-teal));
  transition: width .4s ease;
}
.ral__recipe-pct { text-align: right; color: #4f686f; font-variant-numeric: tabular-nums; }
.ral__recipe-note { font-size: 11.5px; line-height: 1.5; color: #8aa0a6; }

/* Кнопка раскрытия палитры */
.ral__more {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 4px;
  padding: 11px 26px;
  border-radius: 999px;
  border: 1px solid rgba(13, 146, 168, .4);
  background: rgba(255, 255, 255, .7);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-deep);
  cursor: pointer;
  transition: all .22s ease;
}
.ral__more span { display: inline-block; margin-left: 6px; transition: transform .22s ease; }
.ral__more:hover {
  background: rgba(26, 180, 201, .12);
  border-color: var(--accent);
  box-shadow: 0 10px 24px -14px rgba(13, 146, 168, .6);
}

/* ---------- Технология покраски ---------- */
.tech { padding: 90px 0 30px; }

.tech__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.tech-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px 24px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -26px rgba(13, 110, 130, .45);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tech-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26, 180, 201, .5);
  box-shadow: 0 26px 48px -26px rgba(13, 110, 130, .55);
}

.tech-card__tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(26, 180, 201, .12);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tech-card h3 { font-size: 18.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.tech-card p { font-size: 13.5px; line-height: 1.55; color: var(--muted); flex: 1; }
.tech-card__link {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-deep);
}
.tech-card__link i { font-style: normal; display: inline-block; transition: transform .25s ease; }
.tech-card:hover .tech-card__link i { transform: translateX(5px); }

.tech__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding: 26px 30px;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(238, 251, 254, .9), rgba(231, 243, 240, .9));
  border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 48px -30px rgba(13, 110, 130, .5);
}
.tech__cta-text strong { font-size: 19px; font-weight: 800; }
.tech__cta-text p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

@media (max-width: 1100px) {
  .tech__cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .tech__cards { grid-template-columns: 1fr; }
  .tech__cta { flex-direction: column; align-items: flex-start; }
}

/* ---------- Где купить ---------- */
.shops { padding: 90px 0 30px; }

.shops__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.dealer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 24px 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -26px rgba(13, 110, 130, .45);
  transition: transform .3s ease, box-shadow .3s ease;
}
.dealer:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 48px -26px rgba(13, 110, 130, .55);
}
.dealer__city {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(26, 180, 201, .12);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.dealer__name { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.dealer__phone {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-deep);
  text-decoration: none;
}
.dealer__phone:hover { text-decoration: underline; }
.dealer__addr { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.dealer__site {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-deep);
  text-decoration: none;
}
.dealer__site:hover { text-decoration: underline; }

.shops__empty { margin-top: 26px; text-align: center; color: var(--muted); font-size: 14.5px; }

.shops__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding: 26px 30px;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(238, 251, 254, .9), rgba(231, 243, 240, .9));
  border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 48px -30px rgba(13, 110, 130, .5);
}
.shops__cta-text strong { font-size: 19px; font-weight: 800; }
.shops__cta-text p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

@media (max-width: 700px) {
  .shops__cta { flex-direction: column; align-items: flex-start; }
}

/* ---------- Контакты ---------- */
.contact { padding: 100px 0; }
.contact__wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: start;
}
.contact__points {
  margin-top: 26px;
  list-style: none;
  display: grid;
  gap: 12px;
}
.contact__points li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  color: var(--ink);
}
.contact__points li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 34%, transparent 36%),
    linear-gradient(135deg, var(--accent), var(--accent-teal));
  box-shadow: 0 4px 10px -4px rgba(13, 146, 168, .6);
}
.contact__card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 26px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.contact__channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.contact__channel:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 180, 201, .45);
  box-shadow: 0 14px 30px -16px rgba(13, 110, 130, .4);
}
.contact__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--accent-deep);
  background: linear-gradient(135deg, rgba(26, 180, 201, .16), rgba(13, 167, 155, .16));
}
.contact__icon svg { width: 22px; height: 22px; }
.contact__channel-text { display: grid; gap: 2px; min-width: 0; }
.contact__channel-text strong { font-size: 16px; font-weight: 800; }
.contact__channel-text span { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.contact__channel-go {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--accent-deep);
  white-space: nowrap;
}
.contact__channel-go::after { content: ' →'; }

@media (max-width: 520px) {
  .contact__channel { flex-wrap: wrap; }
  .contact__channel-go { margin-left: 62px; width: 100%; }
}

/* ---------- Подвал ---------- */
.footer { padding: 70px 0 34px; background: var(--ink); color: rgba(255, 255, 255, .72); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer__logo { filter: brightness(0) invert(1); opacity: .95; width: 132px; height: auto; }
.footer__desc { margin-top: 20px; max-width: 320px; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .55); }
.footer__mail { margin-top: 24px; }

.footer__heading {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .4);
}
.footer__col ul { margin-top: 20px; list-style: none; display: grid; gap: 12px; font-size: 15px; }
.footer__col a { color: rgba(255, 255, 255, .8); text-decoration: none; transition: color .25s ease; }
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
  color: rgba(255, 255, 255, .4);
}
.footer__bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom-links a { color: rgba(255, 255, 255, .55); text-decoration: none; transition: color .25s ease; }
.footer__bottom-links a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .footer { padding: 52px 0 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 40px; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .contact__wrap { grid-template-columns: 1fr; gap: 34px; }
  .contact { padding: 70px 0; }
}

/* ---------- Этап 2: анимации ---------- */
/* Появление при скролле: класс .reveal вешает JS, без JS всё видимо */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .8s ease,
    transform .8s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* Ввод hero при загрузке */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: none; }
}
.hero__content > * { animation: heroUp .9s cubic-bezier(.22, .61, .36, 1) backwards; }
.hero__content > *:nth-child(1) { animation-delay: .10s; }
.hero__content > *:nth-child(2) { animation-delay: .22s; }
.hero__content > *:nth-child(3) { animation-delay: .34s; }
.hero__content > *:nth-child(4) { animation-delay: .46s; }
.hero__features { animation: heroUp 1s .55s cubic-bezier(.22, .61, .36, 1) backwards; }

/* Параллакс hero (сдвиг вешает JS) */
.hero__content, .hero__features { transition: none; }
.hero__slider { will-change: transform; }

/* Уважаем настройку «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__content > *, .hero__features { animation: none; }
}

/* ---------- Переключатель «Анимации» ---------- */
/* Класс .no-motion: выключено на сайте ИЛИ системная настройка reduce */
.no-motion .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-motion .hero__content > * { animation: none !important; }
.no-motion .hero__features { animation: none !important; }

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .85);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
}
.motion-toggle:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .35); }
.motion-toggle__track {
  position: relative;
  width: 34px; height: 19px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .25);
  transition: background .25s ease;
  flex: none;
}
.motion-toggle__thumb {
  position: absolute;
  top: 2.5px; left: 2.5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform .25s cubic-bezier(.22, .61, .36, 1);
}
.motion-toggle[aria-checked="true"] .motion-toggle__track {
  background: linear-gradient(120deg, #41c6de, var(--accent-deep));
}
.motion-toggle[aria-checked="true"] .motion-toggle__thumb { transform: translateX(15px); }
.motion-toggle__text { min-width: 30px; text-align: left; }
