/* Цвета сняты попиксельно с логотипов, присланных Даниилом */
:root {
  --violet: #4A00FF;
  --violet-deep: #3600C2;
  --red: #C32920;
  --white: #F5F5F0;
  --white-60: rgba(245, 245, 240, .6);
  --glass: rgba(255, 255, 255, .08);
  --glass-line: rgba(255, 255, 255, .22);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

/* Место под полосу прокрутки занято всегда — иначе при включении логотип сдвигается влево */
html { scroll-behavior: smooth; scrollbar-gutter: stable; background: var(--violet); }

body {
  /* фон задан у html — иначе фон body перекрыл бы частицы */
  color: var(--white);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Пока сайт выключен — только первый экран, без прокрутки */
body.is-off,
body.is-switching { overflow: hidden; }
body:not(.is-on) .content,
body:not(.is-on) .tapes,
body:not(.is-on) .site-footer { display: none; }

a { color: inherit; text-decoration: none; }

/* Текст только для поисковиков и экранных читалок */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ---------- Шапка ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  padding: 14px clamp(16px, 4vw, 48px);
  z-index: 10;
  opacity: 0;
  translate: 0 -12px;
  pointer-events: none;
  transition: opacity .6s .5s, translate .6s .5s var(--ease-out), background .3s;
}
.is-on .site-header { opacity: 1; translate: 0 0; pointer-events: auto; }
.site-header.is-scrolled { background: rgba(54, 0, 194, .85); backdrop-filter: blur(10px); }

.site-logo img { width: 128px; height: auto; }

.site-nav { display: flex; gap: clamp(16px, 3vw, 36px); font-weight: 600; font-size: 15px; }
.site-nav a { opacity: .85; transition: opacity .2s; }
.site-nav a:hover, .site-nav a[aria-current] { opacity: 1; }
.site-nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
/* Соцсети справа в шапке */
.socials { display: flex; gap: 6px; margin-left: auto; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--glass-line);
  transition: background .2s, border-color .2s, translate .2s;
}
.socials a:hover { background: var(--white); border-color: var(--white); color: var(--violet); translate: 0 -2px; }
.socials svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.socials .dot { fill: currentColor; stroke: none; }

/* ---------- Первый экран ---------- */
.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  grid-template-areas: "logo" "below";
  row-gap: 36px;
  padding: 96px 16px 48px;
  text-align: center;
  overflow: hidden;
}
.stage > :not(.particles) { position: relative; z-index: 1; }
.stage > .skip { position: absolute; }

/* Частицы на фоне всего сайта (canvas создаёт js/particles.js) */
.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.logo {
  grid-area: logo;
  position: relative;
  width: min(56vw, 640px);
  aspect-ratio: 1060 / 280;
}

.logo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-drag: none;
}
.logo__img--on { opacity: 0; }

/* Кнопка питания лежит прямо поверх значка в букве «o» */
.power {
  position: absolute;
  left: 24.7%;
  top: 53.6%;
  width: 19%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
}
.power:focus-visible { outline: 2px solid var(--white); outline-offset: 6px; }

.power__ring {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  border: 2px solid var(--white);
  opacity: 0;
  animation: breathe 2.4s ease-in-out infinite;
}
.power:hover .power__ring { animation-duration: 1.2s; }

@keyframes breathe {
  0%   { opacity: 0;   scale: .9; }
  50%  { opacity: .55; scale: 1.08; }
  100% { opacity: 0;   scale: 1.25; }
}

.hint {
  grid-area: below;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--white-60);
  animation: hint-in 1s .6s both;
}
@keyframes hint-in { from { opacity: 0; translate: 0 8px; } }

.skip {
  position: absolute;
  right: 24px;
  bottom: 24px;
  font-size: 13px;
  color: var(--white-60);
  padding: 8px 12px;
}
.skip:hover { color: var(--white); }

/* Лозунг под логотипом — появляется после включения */
.tagline {
  grid-area: below;
  visibility: hidden;
  opacity: 0;
  translate: 0 16px;
  transition: opacity .8s .35s, translate .8s .35s var(--ease-out), visibility 0s .35s;
}
.tagline__main {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.tagline__sub { margin-top: 10px; font-size: 16px; color: var(--white-60); }
.tagline__actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- Включение ---------- */
.is-switching .logo__img--off { animation: off-out .5s steps(1) forwards; }
.is-switching .logo__img--on  { animation: on-flicker .7s forwards; }
.is-switching .logo { animation: press .18s ease-out; }

@keyframes press { 50% { scale: .97; } }
@keyframes off-out { to { opacity: 0; } }
@keyframes on-flicker {
  0%   { opacity: 0; }
  12%  { opacity: 1; }
  20%  { opacity: .2; }
  32%  { opacity: 1; }
  40%  { opacity: .5; }
  100% { opacity: 1; filter: drop-shadow(0 0 18px rgba(195, 41, 32, .55)); }
}

.is-on .logo__img--off,
.is-on .power,
.is-on .hint,
.is-on .skip,
.is-switching .hint,
.is-switching .skip { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }

.is-on .logo__img--on {
  opacity: 1;
  filter: drop-shadow(0 0 14px rgba(195, 41, 32, .35));
}
.is-on .tagline { visibility: visible; opacity: 1; translate: 0 0; transition-delay: .35s, .35s, 0s; }

/* Плавное появление после нажатия кнопки питания:
   всё остальное проявляется одновременно и медленно, без этапов. */
:root { --reveal: 3.5s cubic-bezier(.45, 0, .25, 1); }
.particles { transition: opacity var(--reveal); }
.is-off .particles,
.is-switching .particles { opacity: .35; }

.powering-on.is-on .tagline { transition: none; visibility: visible; opacity: 1; translate: 0 0; animation: fade-in var(--reveal) both; }
.powering-on.is-on .site-header { translate: 0 0; transition: opacity var(--reveal), background .3s; }
.powering-on.is-on .tapes,
.powering-on.is-on .content,
.powering-on.is-on .site-footer { animation: fade-in var(--reveal) both; }

@keyframes fade-in { from { opacity: 0; } }

/* Повторный заход: всё уже включено, без анимаций */
.intro-seen .site-header,
.intro-seen .tagline,
.intro-seen .logo__img,
.intro-seen .hint,
.intro-seen .skip { transition: none !important; animation: none !important; }
.intro-seen .hint, .intro-seen .skip, .intro-seen .power { display: none; }
.intro-seen .particles { transition: none; }

/* ---------- Общие блоки ---------- */
.content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

section[id] { scroll-margin-top: 72px; }

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.section-lead {
  max-width: 620px;
  margin-top: 16px;
  font-size: 18px;
  color: var(--white-60);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--white);
  color: var(--violet);
  font-weight: 800;
  transition: translate .2s, box-shadow .2s;
}
.btn:hover { translate: 0 -2px; box-shadow: 0 10px 24px rgba(20, 0, 90, .4); }
.btn--red { background: var(--red); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid var(--glass-line); }

/* ---------- Бегущие ленты между первым экраном и разделами ---------- */
.tapes {
  position: relative;
  height: 180px;
  margin: -40px 0 0;
  overflow: hidden;
}
.tape {
  position: absolute;
  left: -10%;
  width: 120%;
  top: 50%;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.tape--red { background: var(--red); color: var(--white); rotate: 3deg; translate: 0 -50%; }
.tape--white { background: var(--white); color: var(--violet); rotate: -2.5deg; translate: 0 -50%; box-shadow: 0 16px 40px rgba(20, 0, 90, .35); }

.tape__track { display: inline-flex; animation: tape 40s linear infinite; }
.tape--red .tape__track { animation-direction: reverse; animation-duration: 46s; }
.tape__track span { display: inline-flex; align-items: center; }
.tape__track span::after {
  content: "";
  width: 9px;
  height: 9px;
  margin: 0 28px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
}
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- Два раздела: каталог и ремонт ---------- */
.doors {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  padding: 72px 0 40px;
}

.door {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
  transition: translate .5s var(--ease-out), box-shadow .5s;
}
.door:hover { translate: 0 -6px; box-shadow: 0 30px 60px rgba(20, 0, 90, .5); }

.door--catalog { background: var(--white); color: var(--violet-deep); }
.door--repair { background: var(--violet-deep); border: 1px solid var(--glass-line); }

.door__kicker { font-size: 14px; font-weight: 800; letter-spacing: .2em; opacity: .5; }
.door__title {
  margin-top: 8px;
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.03em;
}
.door__text { max-width: 360px; margin-top: 16px; font-size: 17px; opacity: .75; }
.door__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-weight: 800;
}
.door__cta i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-style: normal;
  background: var(--violet);
  color: var(--white);
  transition: translate .4s var(--ease-out);
}
.door--repair .door__cta i { background: var(--red); }
.door:hover .door__cta i { translate: 6px 0; }

/* Картинки техники в карточке каталога */
.door__art { position: relative; flex: 1; min-height: 220px; margin-top: 24px; }
.art { position: absolute; object-fit: contain; transition: translate .7s var(--ease-out), rotate .7s var(--ease-out); }
.art--mac { right: -4%; bottom: 0; width: 72%; }
.art--phone { left: 4%; bottom: 0; height: 92%; rotate: -8deg; }
.art--watch { left: 44%; bottom: -4%; width: 26%; rotate: 8deg; }
.door:hover .art--mac { translate: 10px -6px; }
.door:hover .art--phone { translate: -6px -14px; rotate: -12deg; }
.door:hover .art--watch { translate: 0 -10px; rotate: 14deg; }

/* «30 мин» и чипы в карточке ремонта */
.door__art--repair { display: flex; flex-direction: column; justify-content: flex-end; }
.big-num {
  font-size: clamp(110px, 14vw, 190px);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.05em;
  color: var(--red);
  text-shadow: 0 0 40px rgba(195, 41, 32, .45);
}
.big-num small { font-size: .22em; letter-spacing: 0; margin-left: 8px; color: var(--white); text-shadow: none; }
.door__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.door__chips li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  font-size: 14px;
  font-weight: 600;
  transition: background .3s, color .3s;
}
.door:hover .door__chips li { background: var(--glass); }

/* ---------- Что мы чиним ---------- */
.repair { padding: 96px 0 40px; }

.repair-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.repair-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 20px;
  border-radius: 20px;
  border: 1px solid var(--glass-line);
  transition: background .3s, border-color .3s;
}
.repair-list li:hover { background: var(--glass); border-color: rgba(255, 255, 255, .45); }
.repair-list b { font-size: 18px; font-weight: 800; }
.repair-list b::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(195, 41, 32, .8);
}
.repair-list span { font-size: 14px; color: var(--white-60); }

.repair-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 40px;
}
.repair-cta p { flex-basis: 100%; font-size: 17px; }

/* ---------- Контакты и подвал ---------- */
.contacts { padding: 120px 0 80px; text-align: center; }
.contacts__box {
  margin-top: 32px;
  padding: 40px 24px;
  border-radius: 24px;
  background: var(--violet-deep);
}
.contacts__addr { font-size: clamp(20px, 2.4vw, 28px); font-weight: 800; }
.contacts__reach { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 24px; margin-top: 18px; }
.contacts__phone { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: .02em; transition: color .2s; }
.contacts__phone:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.socials--big { margin-left: 0; gap: 10px; }
.socials--big a { width: 48px; height: 48px; }
.socials--big svg { width: 22px; height: 22px; }
.map {
  display: block;
  width: 100%;
  height: 420px;
  margin-top: 28px;
  border: 0;
  border-radius: 18px;
  background: var(--violet);
}

/* ---------- Страница «Ремонт» ---------- */
.repair-page { padding-top: 120px; }
.repair-hero__facts { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.repair-hero__facts div {
  flex: 1 1 200px;
  padding: 24px;
  border-radius: 20px;
  background: var(--violet-deep);
}
.repair-hero__facts b { display: block; font-size: 36px; font-weight: 800; color: var(--white); }
.repair-hero__facts span { color: var(--white-60); }
.section-title--sm { font-size: clamp(28px, 3.6vw, 42px); }
.repair-page .repair-list { margin-top: 32px; }

.steps { padding: 72px 0 96px; }
.steps__list { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.steps__list li {
  counter-increment: step;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
}
.steps__list li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--red);
  font-weight: 800;
}
.steps__list b { font-size: 18px; }
.steps__list span { color: var(--white-60); font-size: 15px; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px clamp(16px, 4vw, 48px);
  border-top: 1px solid var(--glass-line);
  font-size: 14px;
  color: var(--white-60);
}

/* ---------- Ссылки в подвале ---------- */
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer-links a, .footer-links button { font-size: 14px; color: var(--white-60); transition: color .2s; }
.footer-links a:hover, .footer-links button:hover { color: var(--white); }

/* ---------- Карта до согласия ---------- */
div.map {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  color: var(--white-60);
}
div.map.is-loaded { display: block; padding: 0; overflow: hidden; }
div.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Баннер cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: 22px;
  background: var(--violet-deep);
  border: 1px solid var(--glass-line);
  box-shadow: 0 24px 60px rgba(16, 0, 60, .55);
  font-size: 15px;
  opacity: 0;
  translate: 0 24px;
  visibility: hidden;
  transition: opacity .4s, translate .4s var(--ease-out), visibility 0s .4s;
}
.cookie-banner.is-visible { opacity: 1; translate: 0 0; visibility: visible; transition-delay: 0s; }
.cookie-banner p { flex: 1 1 380px; color: var(--white-60); }
.cookie-banner a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .btn { min-height: 44px; padding: 0 20px; }

/* ---------- Юридические страницы ---------- */
.legal { max-width: 820px; padding-top: 120px; padding-bottom: 96px; }
.legal .section-title { font-size: clamp(32px, 4.5vw, 48px); }
.legal__date { margin: 12px 0 32px; font-size: 14px; color: var(--white-60); }
.legal h2 { margin: 40px 0 12px; font-size: 22px; font-weight: 800; }
.legal p, .legal li { font-size: 16px; color: rgba(245, 245, 240, .82); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 20px; display: grid; gap: 6px; }
.legal a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.legal code { padding: 2px 6px; border-radius: 6px; background: var(--glass); font-size: 14px; }
.legal mark.todo { padding: 0 4px; border-radius: 4px; background: #FFE066; color: #2B1A00; }
.link-button { color: var(--white); text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

.legal-table { margin-top: 16px; border-top: 1px solid var(--glass-line); }
.legal-table > div {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-line);
  font-size: 15px;
}
.legal-table b { font-size: 13px; color: var(--white-60); font-weight: 600; }

/* ================= Каталог ================= */
.catalog-page { padding: 112px 0 80px; }

.notice { margin-top: 12px; font-size: 14px; color: var(--white-60); }

.tabs {
  display: flex;
  gap: 8px;
  margin: 32px 0 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs button {
  flex: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  font-size: 15px;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.tabs button:hover { background: var(--glass); }
.tabs button[aria-pressed="true"] { background: var(--white); color: var(--violet); border-color: var(--white); }

.products {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 20px;
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  text-align: left;
  transition: background .3s, border-color .3s, translate .3s var(--ease-out), box-shadow .3s;
}
.card:hover,
.card:focus-visible {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .5);
  translate: 0 -4px;
  box-shadow: 0 20px 40px rgba(20, 0, 90, .45);
  outline: none;
}
.card__img {
  height: 200px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 18px;
  transition: scale .5s var(--ease-out);
}
.card:hover .card__img { scale: 1.06; }
.card__name { font-size: 18px; font-weight: 800; }
.card__price { margin-top: 2px; color: var(--white-60); }
.card__dots { display: flex; gap: 6px; margin-top: auto; padding-top: 14px; }
.card__dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
}

/* ---------- Карточка товара (всплывающее окно) ---------- */
.product {
  width: min(1040px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--violet-deep);
  color: var(--white);
  overflow: auto;
}
.product::backdrop { background: rgba(16, 0, 60, .7); backdrop-filter: blur(6px); }
.product[open] { animation: pop .35s var(--ease-out); }
@keyframes pop { from { opacity: 0; scale: .96; } }

.product__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
}
.product__close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px -56px 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass);
  font-size: 22px;
  line-height: 1;
  z-index: 2;
}
.product__close:hover { background: rgba(255, 255, 255, .2); }

.product__media {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .16), transparent 65%);
}
.product__media img { max-height: 440px; object-fit: contain; }

.product__name { font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.1; }
.product__price { margin-top: 10px; font-size: 32px; font-weight: 800; }
.product__price small { display: block; font-size: 13px; font-weight: 400; color: var(--white-60); }

.option { margin-top: 24px; }
.option__label { font-size: 14px; color: var(--white-60); }
.option__label b { color: var(--white); font-weight: 600; }
.option__values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25);
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color .2s;
}
.swatch[aria-pressed="true"] { outline-color: var(--white); }

.chip {
  min-width: 72px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--glass-line);
  font-weight: 600;
  transition: background .2s, color .2s;
}
.chip:hover { background: var(--glass); }
.chip[aria-pressed="true"] { background: var(--white); color: var(--violet); border-color: var(--white); }

.specs { margin-top: 28px; border-top: 1px solid var(--glass-line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--glass-line); font-size: 14px; }
.specs dt { color: var(--white-60); }
.specs dd { text-align: right; font-weight: 600; }

.product__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- Планшеты ---------- */
@media (max-width: 1000px) {
  .repair-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Телефоны ---------- */
@media (max-width: 760px) {
  .site-header { gap: 12px; }
  .site-nav { gap: 12px; font-size: 13px; }
  .site-logo img { width: 92px; }
  .socials { gap: 4px; }
  .socials a { width: 32px; height: 32px; }
  .socials svg { width: 16px; height: 16px; }
  .socials--big a { width: 44px; height: 44px; }
  .socials--big svg { width: 20px; height: 20px; }

  .tapes { height: 130px; margin-top: -20px; }
  .doors { grid-template-columns: 1fr; padding-top: 48px; }
  .door { min-height: 440px; border-radius: 26px; }
  .map { height: 300px; }
  .steps__list { grid-template-columns: 1fr; }
  .logo { width: min(86vw, 420px); }
  .tagline__main { font-size: 22px; }

  .repair, .contacts { padding-top: 72px; }
  .repair-list { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; text-align: center; }
  .legal-table > div { grid-template-columns: 1fr; gap: 4px; }
  .legal-table > div:first-child { display: none; }
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .cookie-banner__actions, .cookie-banner .btn { width: 100%; }

  .products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { padding: 14px; }
  .card__img { height: 140px; }
  .card__name { font-size: 15px; }

  .product { width: 100%; max-height: 100svh; height: 100svh; border-radius: 0; }
  .product__inner { grid-template-columns: 1fr; gap: 20px; padding: 24px 16px 32px; }
  .product__media { min-height: 260px; }
  .product__media img { max-height: 280px; }
}

/* Для тех, кто отключил анимации в системе */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  /* Плавное проявление — не движение, его оставляем и при выключенных анимациях */
  .powering-on.is-on .tagline,
  .powering-on.is-on .tapes,
  .powering-on.is-on .content,
  .powering-on.is-on .site-footer { animation-duration: 3.5s !important; }
  .powering-on.is-on .site-header,
  .powering-on .particles { transition-duration: 3.5s !important; }
}
