/* ============================================================
   HOSHIZAKI.KZ — фирменная стилистика в духе японского сайта
   ============================================================ */
/* Значения приходят из системы дизайн-токенов (css/tokens.css,
   источник — design/tokens.json). Здесь — только алиасы для правил ниже. */
:root {
  --blue: var(--color-brand-primary);
  --blue-bright: var(--color-brand-bright);
  --navy: var(--color-brand-navy);
  --ink: var(--color-neutral-ink);
  --grey: var(--color-neutral-grey);
  --ice-1: var(--color-ice-100);
  --ice-2: var(--color-ice-200);
  --ice-3: var(--color-ice-300);
  --white: var(--color-neutral-white);
  --line: var(--color-neutral-line);
  --shadow: var(--shadow-float);
  --radius: var(--radius-l);
  --ease: var(--motion-ease-out);
  --font: var(--font-family-base);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(160deg, var(--ice-1) 0%, var(--ice-2) 45%, var(--ice-1) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- интро-загрузка с пингвином ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: linear-gradient(160deg, var(--ice-1), var(--ice-3));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader .track {
  width: min(420px, 70vw); height: 2px; background: rgba(18, 55, 92, .15);
  position: relative; overflow: visible;
}
.loader .track::after {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 100%;
  background: var(--blue);
  transform-origin: left; transform: scaleX(0);
  animation: load-line 1.6s var(--ease) forwards;
}
.loader .penguin { animation: penguin-waddle .5s ease-in-out infinite alternate; }
.loader p {
  font-size: 12px; letter-spacing: .35em; text-transform: uppercase; color: var(--grey);
}
@keyframes load-line { to { transform: scaleX(1); } }
@keyframes penguin-waddle {
  from { transform: rotate(-6deg) translateY(0); }
  to   { transform: rotate(6deg)  translateY(-3px); }
}

/* ---------- шапка ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .45s var(--ease), background .3s, box-shadow .3s;
  background: rgba(238, 244, 249, 0);
}
.header.scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px -14px rgba(18, 55, 92, .3);
}
.header.hidden { transform: translateY(-110%); }
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { height: 34px; width: auto; }
.logo b {
  font-size: 21px; letter-spacing: .12em; color: var(--blue); font-weight: 800;
}
.logo b span { color: var(--navy); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > li { position: relative; }
.nav > li > a {
  font-size: 14.5px; font-weight: 600; color: var(--navy);
  padding: 10px 2px; position: relative;
}
.nav > li > a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 100%;
  background: var(--blue-bright);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav > li > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .drop {
  position: absolute; top: 100%; left: -18px; min-width: 270px;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow);
  padding: 10px; opacity: 0; visibility: hidden; translate: 0 12px;
  transition: all .3s var(--ease);
}
.nav > li:hover .drop { opacity: 1; visibility: visible; translate: 0 6px; }
.nav .drop a {
  display: block; padding: 10px 14px; border-radius: 9px; font-size: 14px;
  color: var(--ink); transition: background .2s, color .2s, padding-left .25s var(--ease);
}
.nav .drop a:hover { background: var(--ice-1); color: var(--blue); padding-left: 20px; }
.header-phone { font-size: 15px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.header-phone small { display: block; font-size: 10.5px; color: var(--grey); font-weight: 500; letter-spacing: .05em; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span {
  display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px 0;
  transition: .3s var(--ease);
}

/* ---------- герой ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center; position: relative;
  overflow: hidden; padding: 130px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(0, 160, 233, .14), transparent 60%),
    radial-gradient(700px 600px at 10% 90%, rgba(0, 104, 183, .10), transparent 60%),
    linear-gradient(160deg, var(--ice-1), var(--ice-2) 60%, var(--ice-3));
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 26px;
}
.hero-kicker::before { content: ""; width: 46px; height: 2px; background: var(--blue-bright); }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 68px); line-height: 1.08; font-weight: 800;
  color: var(--navy); letter-spacing: -.01em;
}
.hero h1 .accent { color: var(--blue); }
.hero-sub {
  margin-top: 26px; font-size: 17px; line-height: 1.75; color: var(--grey); max-width: 540px;
}
.hero-cta { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

/* слова заголовка выезжают из «маски» (CSS-анимация — работает даже в фоновой вкладке) */
.split-line { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-line span {
  display: inline-block; transform: translateY(110%);
  animation: line-rise .85s var(--ease) forwards;
}
h1 .split-line:nth-of-type(1) span { animation-delay: .15s; }
h1 .split-line:nth-of-type(2) span { animation-delay: .32s; }
h1 .split-line:nth-of-type(3) span { animation-delay: .5s; }
@keyframes line-rise { to { transform: translateY(0); } }

.hero-visual { position: relative; height: 520px; }
.hero-card {
  position: absolute; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; text-align: center;
  animation: float 6s ease-in-out infinite;
}
.hero-card img { height: 200px; width: auto; margin: 0 auto; object-fit: contain; }
.hero-card em { display: block; font-style: normal; font-size: 12px; color: var(--grey); margin-top: 8px; }
.hero-card.c1 { left: 4%; top: 6%; width: 250px; z-index: 3; }
.hero-card.c2 { right: 2%; top: 30%; width: 220px; animation-delay: -2s; z-index: 2; }
.hero-card.c3 { left: 22%; bottom: -2%; width: 200px; animation-delay: -4s; }
.hero-card.c3 img, .hero-card.c2 img { height: 160px; }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}
/* декоративные «кубики льда» */
.cube {
  position: absolute; border-radius: 26%;
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(207,224,236,.55));
  box-shadow: inset 0 0 18px rgba(255,255,255,.8), 0 10px 30px -12px rgba(18,55,92,.25);
  animation: float 7s ease-in-out infinite;
}
.hero .cube.k1 { width: 64px; height: 64px; right: 12%; top: 8%; animation-delay: -1s; }
.hero .cube.k2 { width: 38px; height: 38px; left: 45%; top: 18%; animation-delay: -3.5s; }
.hero .cube.k3 { width: 50px; height: 50px; right: 30%; bottom: 6%; animation-delay: -5s; }

/* индикатор прокрутки — как на японском сайте */
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--grey);
}
.scroll-hint i {
  width: 1px; height: 54px; background: rgba(18, 55, 92, .2);
  position: relative; overflow: hidden;
}
.scroll-hint i::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--blue);
  animation: scroll-line 2s var(--ease) infinite;
}
@keyframes scroll-line {
  0% { top: -100%; } 55% { top: 0; } 100% { top: 100%; }
}

/* ---------- кнопки с анимированной стрелкой ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 700; cursor: pointer; border: 0;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s;
}
.btn .ico {
  width: 30px; height: 30px; border-radius: 50%; overflow: hidden; position: relative;
  flex: none;
}
.btn .ico svg {
  position: absolute; inset: 0; margin: auto; width: 14px; height: 14px;
  transition: transform .35s var(--ease);
}
.btn .ico svg.ghost { transform: translateX(-220%); }
.btn:hover .ico svg.main { transform: translateX(220%); }
.btn:hover .ico svg.ghost { transform: translateX(0); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 14px 34px -12px rgba(0, 104, 183, .55); }
.btn-primary .ico { background: rgba(255, 255, 255, .18); }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--navy); outline: 2px solid rgba(18, 55, 92, .18); outline-offset: -2px; }
.btn-outline .ico { background: rgba(18, 55, 92, .08); }
.btn-outline:hover { outline-color: var(--blue-bright); color: var(--blue); transform: translateY(-3px); }

/* ---------- появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.on { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.stagger.on > * { opacity: 1; transform: none; }
.stagger.on > *:nth-child(2) { transition-delay: .1s; }
.stagger.on > *:nth-child(3) { transition-delay: .2s; }
.stagger.on > *:nth-child(4) { transition-delay: .3s; }
.stagger.on > *:nth-child(5) { transition-delay: .4s; }
.stagger.on > *:nth-child(6) { transition-delay: .5s; }

/* ---------- скролл-шоу в стиле Apple ---------- */
.showcase { height: 340vh; padding: 0; position: relative; }
.showcase-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.showcase-stage { position: relative; width: min(1200px, 92vw); height: 82vh; }
.show-halo {
  position: absolute; left: 50%; top: 50%; width: 640px; height: 640px;
  translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,160,233,.20), transparent 65%);
  will-change: transform, opacity;
}
.show-img {
  position: absolute; left: 50%; top: 50%; max-height: 64vh; max-width: 72vw;
  translate: -50% -50%;
  transform: scale(.7) rotate(-8deg);
  filter: drop-shadow(0 40px 60px rgba(18,55,92,.35));
  will-change: transform;
}
.showcase .cube { will-change: transform; animation: none; }
.showcase .sc1 { width: 70px; height: 70px; left: 12%; top: 16%; }
.showcase .sc2 { width: 44px; height: 44px; right: 14%; top: 24%; }
.showcase .sc3 { width: 56px; height: 56px; right: 22%; bottom: 14%; }
.show-step {
  position: absolute; max-width: 300px; opacity: 0; transform: translateY(36px);
  will-change: transform, opacity;
}
.show-step h3 { font-size: clamp(22px, 2.6vw, 32px); color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
.show-step p { margin-top: 10px; color: var(--grey); font-size: 15.5px; line-height: 1.7; }
.show-step.s1 { left: 2%; top: 18%; }
.show-step.s2 { right: 2%; top: 34%; text-align: right; }
.show-step.s3 { left: 6%; bottom: 12%; }
.show-progress {
  position: absolute; left: 50%; bottom: 4vh; translate: -50% 0;
  width: 160px; height: 3px; background: rgba(18,55,92,.12); border-radius: 3px; overflow: hidden;
}
.show-progress i {
  display: block; height: 100%; width: 100%; background: var(--blue);
  transform: scaleX(0); transform-origin: left; will-change: transform;
}
@media (max-width: 820px) {
  .showcase { height: 260vh; }
  .show-step { max-width: 220px; }
  .show-step.s1 { left: 0; top: 6%; }
  .show-step.s2 { right: 0; top: auto; bottom: 24%; }
  .show-step.s3 { left: 0; bottom: 4%; }
  .show-img { max-height: 46vh; }
}

/* заголовки секций: проявление из размытия (в духе Apple) */
.sec-head h2 {
  opacity: 0; filter: blur(14px); transform: translateY(28px);
  transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease);
}
.sec-head.on h2, .sec-head.reveal.on h2 { opacity: 1; filter: blur(0); transform: none; }
.sec-head { opacity: 1 !important; transform: none !important; }
.sec-head .kicker, .sec-head p { opacity: 0; transform: translateY(20px); transition: all .8s var(--ease) .25s; }
.sec-head.on .kicker, .sec-head.on p { opacity: 1; transform: none; }

/* каскад строк в таблице характеристик */
.spec-anim tr { opacity: 0; transform: translateX(-16px); transition: all .55s var(--ease); }
.spec-anim.on tr { opacity: 1; transform: none; }
.spec-anim.on tr:nth-child(2) { transition-delay: .06s; }
.spec-anim.on tr:nth-child(3) { transition-delay: .12s; }
.spec-anim.on tr:nth-child(4) { transition-delay: .18s; }
.spec-anim.on tr:nth-child(5) { transition-delay: .24s; }
.spec-anim.on tr:nth-child(6) { transition-delay: .3s; }
.spec-anim.on tr:nth-child(7) { transition-delay: .36s; }
.spec-anim.on tr:nth-child(8) { transition-delay: .42s; }
.spec-anim.on tr:nth-child(9) { transition-delay: .48s; }
.spec-anim.on tr:nth-child(n+10) { transition-delay: .54s; }

/* наклон карточек за курсором */
.cat-grid, .prod-grid { perspective: 1200px; }
.tilt { transform-style: preserve-3d; }
.tilt .ph img, .tilt h3 { translate: 0 0 1px; }

/* ---------- секции ---------- */
section { padding: 96px 0; position: relative; }
.sec-head { margin-bottom: 54px; }
.sec-head .kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--blue-bright); display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.sec-head .kicker::before { content: ""; width: 40px; height: 2px; background: var(--blue-bright); }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 44px); color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
.sec-head p { margin-top: 14px; color: var(--grey); font-size: 16px; line-height: 1.7; max-width: 640px; }

/* бегущая строка */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.4); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span {
  font-size: 44px; font-weight: 800; letter-spacing: .1em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.4px rgba(0, 104, 183, .35);
}
.marquee-track span.fill { color: var(--blue); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track.rev { animation-direction: reverse; margin-top: 14px; }
.marquee-track.rev span { font-size: 30px; opacity: .75; }

/* ---------- карточки категорий ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative; border-radius: var(--radius); background: var(--white);
  box-shadow: 0 10px 34px -20px rgba(18, 55, 92, .35);
  padding: 30px; overflow: hidden; display: flex; flex-direction: column; min-height: 320px;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.cat-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(0,160,233,.08), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.cat-card:hover::before { opacity: 1; }
.cat-card img {
  height: 150px; object-fit: contain; margin: 6px auto 18px;
  transition: transform .5s var(--ease);
}
.cat-card:hover img { transform: scale(1.07) translateY(-4px); }
.cat-card h3 { font-size: 20px; color: var(--navy); font-weight: 800; }
.cat-card p { font-size: 14px; color: var(--grey); margin-top: 8px; line-height: 1.6; flex: 1; }
.cat-card .link {
  margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--blue);
  display: inline-flex; align-items: center; gap: 8px;
}
.cat-card .link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.cat-card:hover .link svg { transform: translateX(6px); }
.cat-card .count {
  position: absolute; top: 22px; right: 24px; font-size: 12px; font-weight: 700;
  color: var(--blue); background: var(--ice-1); border-radius: 999px; padding: 6px 12px;
}

/* ---------- цифры ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: var(--white); border-radius: var(--radius); padding: 34px 28px;
  box-shadow: 0 10px 34px -22px rgba(18, 55, 92, .4);
}
.stat b { font-size: clamp(34px, 4vw, 48px); color: var(--blue); font-weight: 800; letter-spacing: -.02em; }
.stat b small { font-size: .55em; }
.stat p { color: var(--grey); font-size: 14px; margin-top: 8px; line-height: 1.55; }

/* ---------- каталог ---------- */
.page-head { padding: 150px 0 10px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--grey); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--blue); }
.crumbs span::before { content: "/"; margin-right: 8px; color: var(--line); }
.cat-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 34px 0 10px; }
.cat-tabs a {
  padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--white); color: var(--ink); box-shadow: 0 6px 18px -12px rgba(18,55,92,.4);
  transition: all .25s var(--ease);
}
.cat-tabs a:hover { transform: translateY(-2px); color: var(--blue); }
.cat-tabs a.active { background: var(--blue); color: #fff; }
/* формы льда — визуальные карточки */
.ice-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 26px; }
.ice-card {
  background: var(--white); border: 2px solid transparent; border-radius: 16px;
  padding: 10px 10px 14px; cursor: pointer; text-align: left; font-family: var(--font);
  box-shadow: 0 8px 26px -20px rgba(18, 55, 92, .5);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.ice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ice-card.active { border-color: var(--blue-bright); }
.ice-card .ph { display: block; height: 96px; border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.ice-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.ice-card:hover .ph img { transform: scale(1.08); }
.ice-card b { display: block; font-size: 13.5px; color: var(--navy); line-height: 1.3; }
.ice-card small { display: block; font-size: 11px; color: var(--grey); margin-top: 4px; line-height: 1.45; }
@media (max-width: 1080px) { .ice-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .ice-strip { grid-template-columns: repeat(2, 1fr); } }

/* фильтры по типу льда / типу оборудования */
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 26px; }
.filter-chips button {
  padding: 9px 16px; border-radius: 999px; border: 1.6px solid rgba(18, 55, 92, .16);
  background: transparent; color: var(--ink); font-size: 13.5px; font-weight: 600;
  font-family: var(--font); cursor: pointer;
  transition: all .25s var(--ease);
}
.filter-chips button i {
  font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--blue);
  background: var(--ice-1); border-radius: 999px; padding: 2px 7px; margin-left: 4px;
}
.filter-chips button:hover { border-color: var(--blue-bright); color: var(--blue); transform: translateY(-2px); }
.filter-chips button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-chips button.active i { background: rgba(255,255,255,.16); color: #fff; }
@keyframes card-in { from { opacity: 0; transform: translateY(22px); } }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 40px; }
.prod-card {
  background: var(--white); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column;
  box-shadow: 0 10px 30px -22px rgba(18, 55, 92, .45);
  transition: transform .35s var(--ease), box-shadow .35s;
  position: relative; overflow: hidden;
}
.prod-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.prod-card .ph { height: 190px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.prod-card .ph img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; transition: transform .45s var(--ease); }
.prod-card:hover .ph img { transform: scale(1.06); }
.prod-card h3 { font-size: 16.5px; font-weight: 800; color: var(--navy); line-height: 1.3; word-break: break-word; }
.prod-card .series { font-size: 12.5px; color: var(--grey); margin-top: 5px; line-height: 1.45; }
.prod-card .tag {
  margin-top: auto; padding-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--blue);
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.prod-card .tag svg { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.prod-card:hover .tag svg { transform: translateX(5px); }

/* ---------- страница товара ---------- */
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; padding: 20px 0 60px; }
.gallery { position: sticky; top: 100px; }
.gallery .big {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; height: 440px; padding: 30px;
}
.gallery .big img { max-height: 100%; object-fit: contain; }
.gallery .thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery .thumbs button {
  width: 76px; height: 76px; border-radius: 12px; border: 2px solid transparent;
  background: var(--white); cursor: pointer; padding: 8px;
  box-shadow: 0 8px 20px -14px rgba(18,55,92,.4); transition: border-color .2s, transform .2s;
}
.gallery .thumbs button:hover { transform: translateY(-3px); }
.gallery .thumbs button.on { border-color: var(--blue-bright); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-info .series-lbl { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.product-info h1 { font-size: clamp(26px, 3vw, 38px); color: var(--navy); font-weight: 800; margin: 10px 0 6px; word-break: break-word; }
.product-info .tagline { color: var(--grey); font-size: 15.5px; margin-bottom: 26px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px -22px rgba(18,55,92,.45); }
.spec-table th, .spec-table td { text-align: left; padding: 13px 18px; font-size: 14.5px; }
.spec-table tr { border-bottom: 1px solid var(--ice-1); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th { color: var(--grey); font-weight: 600; width: 46%; vertical-align: top; }
.spec-table td { color: var(--navy); font-weight: 600; }
.product-info .actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.delivery-note {
  margin-top: 22px; display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border-left: 4px solid var(--blue-bright);
  border-radius: 12px; padding: 16px 20px;
  box-shadow: 0 8px 26px -20px rgba(18, 55, 92, .5);
}
.delivery-note svg { width: 26px; height: 26px; color: var(--blue); flex: none; margin-top: 2px; }
.delivery-note b { color: var(--navy); font-size: 15px; }
.delivery-note p { color: var(--grey); font-size: 13.5px; line-height: 1.6; margin-top: 4px; }

.rel { padding-top: 30px; }
.rel h2 { font-size: 26px; color: var(--navy); margin-bottom: 26px; font-weight: 800; }

/* ---------- особенности товара ---------- */
.feats { padding: 70px 0; }
.feats-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.feats-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border-radius: 14px; padding: 16px 20px; margin: 10px 0;
  box-shadow: 0 8px 26px -20px rgba(18, 55, 92, .5);
  font-size: 15px; line-height: 1.65; color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.feats-list li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.feats-list li svg { width: 20px; height: 20px; flex: none; color: var(--blue-bright); margin-top: 2px; }
.feats-img img { max-height: 460px; margin: 0 auto; object-fit: contain; border-radius: var(--radius); }
@media (max-width: 820px) {
  .feats-grid { grid-template-columns: 1fr; }
  .feats-img { order: -1; }
}

/* ---------- полосы о компании ---------- */
.about-band { background: var(--navy); color: #eaf3fa; border-radius: 26px; padding: 70px 60px; position: relative; overflow: hidden; }
.about-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,160,233,.35), transparent 70%);
}
.about-band h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; max-width: 640px; }
.about-band p { margin-top: 18px; max-width: 620px; line-height: 1.8; color: #b9cddd; font-size: 15.5px; }
.about-band .btn-primary { margin-top: 34px; }

/* ---------- текстовые страницы ---------- */
.prose { max-width: 780px; padding-bottom: 60px; }
.prose h2 { font-size: 26px; color: var(--navy); margin: 44px 0 14px; font-weight: 800; }
.prose p { line-height: 1.85; color: var(--ink); font-size: 16px; margin: 12px 0; }
.prose li { line-height: 1.8; margin: 8px 0 8px 20px; list-style: disc; }

/* контакты */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 60px; }
.contact-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: 0 10px 30px -22px rgba(18,55,92,.45);
}
.contact-card h3 { color: var(--blue); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.contact-card p { margin-top: 12px; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.contact-card small { color: var(--grey); display: block; margin-top: 6px; font-size: 13px; }

/* ---------- подвал ---------- */
footer { background: var(--navy); color: #b9cddd; padding: 70px 0 0; margin-top: 60px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
footer .logo b { color: #fff; }
footer .logo b span { color: var(--blue-bright); }
footer h4 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
footer li { margin: 10px 0; }
footer a:hover { color: var(--blue-bright); }
footer .fine {
  border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 80px; font-size: 13px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-note { margin-top: 16px; font-size: 13.5px; line-height: 1.7; color: #8fa9bd; max-width: 320px; }

/* пингвин, шагающий по подвалу */
.walker {
  position: absolute; bottom: 8px; left: -80px; width: 46px; opacity: .9;
  animation: walk-x 30s linear infinite;
}
.walker svg { animation: penguin-waddle .45s ease-in-out infinite alternate; }
@keyframes walk-x {
  from { left: -80px; } to { left: 105%; }
}

/* наверх */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue); color: #fff; box-shadow: 0 14px 30px -12px rgba(0,104,183,.6);
  opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-4px); background: var(--blue-bright); }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
@media (max-width: 820px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column;
    align-items: flex-start; padding: 20px 26px 30px; gap: 4px;
    box-shadow: 0 30px 40px -20px rgba(18,55,92,.3);
    translate: 0 -130%; transition: translate .4s var(--ease);
  }
  .nav.open { translate: 0 0; }
  .nav > li { width: 100%; }
  .nav > li > a { display: block; padding: 13px 0; font-size: 16px; }
  .nav .drop { position: static; opacity: 1; visibility: visible; translate: 0; box-shadow: none; padding: 0 0 6px 14px; display: none; }
  .nav > li.open-sub .drop { display: block; }
  .burger { display: block; }
  .header-phone { display: none; }
  .product-top { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-band { padding: 46px 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .prod-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
  .hero { padding-top: 105px; }
  .hero-cta { margin-top: 28px; }
  .marquee-track span { font-size: 30px; }
  .marquee-track.rev span { font-size: 22px; }
  .gallery .big { height: 320px; padding: 18px; }
  .page-head { padding-top: 110px; }
  .spec-table th, .spec-table td { padding: 10px 12px; font-size: 13.5px; }
  .about-band { padding: 36px 22px; }
  .feats-img img { max-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; transition-duration: .01s !important; }
}
