/* ============================================
   TEHNOLUCH — Liquid Glass Design
   Blue = Sound | Yellow = Light | Green = Video
   ============================================ */

:root {
  --blue: #1BC3D5;
  --blue-deep: #0A8FA0;
  --yellow: #D4AF37;
  --yellow-light: #F0D060;
  --green: #22C55E;
  --green-deep: #16A34A;
  --bg: #06080c;
  --bg-elevated: #0c1018;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: 20px;
  --font-h: 'Unbounded', sans-serif;
  --font-b: 'Montserrat', sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #000;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .section-title, .story__title, .hero__title, .cinematic__title {
  font-family: var(--font-h);
  color: #fff;
}

p, li, label, input, .hero__desc, .section-desc, .contacts__list {
  font-family: var(--font-b);
}

body.body--intro {
  overflow-x: hidden;
  overflow-y: auto;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--blue); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Liquid Glass ===== */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ===== Accent lights & stripes ===== */
.accent-lights {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.accent-lights__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  transition: opacity 0.8s var(--ease), transform 1.2s var(--ease);
  animation: floatBlob 18s ease-in-out infinite;
}

.accent-lights__blob--blue {
  width: 560px; height: 560px;
  background: var(--blue);
  bottom: -140px; left: -100px;
}

.accent-lights__blob--yellow {
  width: 460px; height: 460px;
  background: var(--yellow);
  top: 18%; right: -120px;
  animation-delay: -6s;
}

.accent-lights__blob--green {
  width: 400px; height: 400px;
  background: var(--green);
  bottom: 12%; right: 18%;
  animation-delay: -12s;
}

/* Soft section glow states */
body.glow-blue .accent-lights__blob--blue { opacity: 0.32; }
body.glow-yellow .accent-lights__blob--yellow { opacity: 0.28; }
body.glow-green .accent-lights__blob--green { opacity: 0.28; }
body.glow-neutral .accent-lights__blob--blue,
body.glow-neutral .accent-lights__blob--yellow { opacity: 0.18; }

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -30px) scale(1.06); }
}

/* ===== Brand ===== */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  margin-left: 0;
}

.brand__img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand__name {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #fff;
}

.brand--lg .brand__img { width: 56px; height: 56px; }
.brand--lg .brand__name { font-size: 20px; }

/* ===== INTRO ===== */
.intro {
  position: relative;
  height: 200vh;
  z-index: 20;
}

.intro__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}

.intro__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.intro__logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transform-origin: center center;
}

.intro__logo-gif {
  width: min(96vw, 920px);
  height: min(96vw, 920px);
  max-height: 82vh;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: none;
}

.intro__brand {
  position: absolute;
  left: 50%;
  top: calc(50% + 129px);
  transform: translate(-50%, -50%);
  z-index: 2;
  margin: 0;
  font-family: var(--font-h);
  font-size: clamp(22px, 4.2vw, 36px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(0, 0, 0, 0.45);
  transition: opacity 0.25s ease;
}

.intro__hint {
  position: absolute;
  bottom: max(28px, env(safe-area-inset-bottom, 0px) + 20px);
  left: 0;
  right: 0;
  margin: 0 auto;
  width: max-content;
  max-width: calc(100% - 32px);
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  animation: hintPulse 2s ease-in-out infinite;
  pointer-events: none;
  white-space: nowrap;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

body.site-ready .intro {
  pointer-events: none;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden;
}

body.site-ready .intro__pin {
  opacity: 0;
  visibility: hidden;
  height: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  border: none;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), background 0.3s;
  pointer-events: none;
}

.header--visible,
.site-ready .header {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.header.is-scrolled {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: none;
  padding: 0 18px 0 12px;
  margin: 0;
}

.nav,
.header__cta,
.header__actions,
.burger { display: none !important; }

.nav-overlay { display: none !important; }

/* Round glass burger */
.burger-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}

.burger-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  transform: scale(1.04);
}

.burger-btn__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.burger-btn__lines span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.burger-btn.active .burger-btn__lines span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger-btn.active .burger-btn__lines span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active .burger-btn__lines span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Side frosted menu — half screen */
.side-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.side-menu-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1100;
  width: min(50vw, 520px);
  height: 100vh;
  height: 100dvh;
  padding: 88px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: rgba(10, 12, 18, 0.42);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(32px) saturate(1.55);
  -webkit-backdrop-filter: blur(32px) saturate(1.55);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
  transform: translateX(104%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s var(--ease), opacity 0.4s, visibility 0.4s;
  overflow-y: auto;
}

.side-menu.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.side-menu__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.side-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-menu__nav a {
  font-family: var(--font-h);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  color: #fff;
  padding: 10px 0;
  letter-spacing: -0.01em;
  transition: opacity 0.25s, transform 0.25s;
}

.side-menu__nav a:hover {
  color: #fff;
  opacity: 0.7;
  transform: translateX(6px);
}

.side-menu__nav button.side-menu__sub {
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 0 4px 4px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.side-menu__nav button.side-menu__sub:hover {
  color: #fff;
  opacity: 0.85;
}

.side-menu__cta {
  margin-top: auto;
  align-self: flex-start;
}

body.menu-open {
  overflow: hidden;
}


.nav__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.nav__dot--blue { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.nav__dot--yellow { background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }
.nav__dot--green { background: var(--green); box-shadow: 0 0 10px var(--green); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: 0.35s var(--ease);
}

.btn--glass {
  background: var(--glass);
  border-color: var(--glass-border);
  backdrop-filter: blur(12px);
  color: var(--text);
}

.btn--glass:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn--blue { background: var(--blue); color: #041018; }
.btn--blue:hover { background: #5ddfed; color: #041018; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(27,195,213,0.35); }

.btn--yellow { background: var(--yellow); color: #1a1405; }
.btn--yellow:hover { background: var(--yellow-light); color: #1a1405; transform: translateY(-2px); }

.btn--green { background: var(--green); color: #04140a; }
.btn--green:hover { background: #4ade80; color: #04140a; transform: translateY(-2px); }

.btn--sm { padding: 8px 16px; font-size: 11px; }
.btn--full { width: 100%; }

.link-arrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Main site ===== */
.site-main {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}

.site-ready .site-main {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.page-equipment .site-main,
.equipment-page {
  opacity: 1;
  pointer-events: auto;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-head { margin-bottom: 48px; max-width: 640px; }

.eyebrow {
  display: none;
}

.eyebrow--blue { color: var(--blue); }
.eyebrow--yellow { color: var(--yellow); }
.eyebrow--green { color: var(--green); }

.section-title {
  font-family: var(--font-h);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #fff;
}

.section-desc { color: var(--muted); font-size: 13px; }

/* ===== Hero — smartproduction split ===== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  position: relative;
  z-index: 2;
  background: #000;
}

.hero .container,
.hero__inner {
  display: contents;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 40px) clamp(24px, 4vw, 64px) clamp(40px, 6vh, 72px);
  background: #000;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}

.hero__label { display: none; }

.hero__title {
  font-family: var(--font-h);
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero__title span { display: block; }

.hero__title-accent {
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;
}

.hero__desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 400px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__visual {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero__media {
  position: absolute;
  inset: 0;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
  border: none;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
}

.about__tag {
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.story--service {
  padding: 0;
}

.services {
  padding: 0;
  background: #000;
  position: relative;
  z-index: 2;
}

.services > .container {
  padding-top: 72px;
  padding-bottom: 24px;
  margin-bottom: 0;
}

/* ===== Cinematic stacked cards ===== */
.cinematic {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #000;
  display: grid;
  align-items: end;
  border-radius: 0;
  box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.55);
  transform-origin: center top;
  transform: scale(calc(1 - var(--stack-progress, 0) * 0.1))
    translate3d(0, calc(var(--stack-progress, 0) * -28px), 0);
  filter: brightness(calc(1 - var(--stack-progress, 0) * 0.4));
  will-change: transform, filter;
}

.services .cinematic:nth-child(1) { z-index: 1; }
.services .cinematic:nth-child(2) { z-index: 2; }
.services .cinematic:nth-child(3) { z-index: 3; }

.cinematic__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  overflow: hidden;
}

.cinematic__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.12);
  will-change: transform;
  filter: contrast(1.05) brightness(0.92) saturate(1.05);
}

.cinematic__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.cinematic__veil--left {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 42%, rgba(0, 0, 0, 0.12) 70%, transparent 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, transparent 45%);
}

.cinematic__veil--right {
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.45) 42%, rgba(0, 0, 0, 0.12) 70%, transparent 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, transparent 45%);
}

.cinematic__content {
  position: relative;
  z-index: 2;
  width: min(560px, 92vw);
  padding: clamp(48px, 8vh, 96px) clamp(24px, 5vw, 72px);
  margin-bottom: clamp(24px, 5vh, 56px);
  will-change: transform;
}

.cinematic__content--left {
  justify-self: start;
  margin-left: clamp(0px, 2vw, 24px);
}

.cinematic__content--right {
  justify-self: end;
  margin-right: clamp(0px, 2vw, 24px);
  text-align: left;
}

.cinematic__title {
  font-family: var(--font-h);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 18px;
  max-width: 14ch;
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.75),
    0 8px 40px rgba(0, 0, 0, 0.45);
}

.cinematic__content p {
  font-family: var(--font-b);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(241, 245, 249, 0.86);
  margin-bottom: 22px;
  max-width: 42ch;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.65);
}

.cinematic__content .btn {
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.services .section-head {
  max-width: 720px;
}

.story__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(48px, 8vh, 100px) clamp(28px, 5vw, 72px) clamp(56px, 9vh, 110px);
  background: #000;
  position: relative;
  z-index: 2;
}

.story__title {
  font-family: var(--font-h);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 16ch;
}

/* ===== Custom cursor — arrow ===== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s;
  color: #fff;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.55));
  will-change: transform;
}

body.has-cursor .cursor { opacity: 1; }
body.has-cursor,
body.has-cursor * { cursor: none !important; }

.cursor__arrow {
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: 4px 4px;
  transition: transform 0.2s var(--ease), color 0.2s;
}

.cursor.is-hover {
  color: var(--blue);
}

.cursor.is-hover .cursor__arrow {
  transform: scale(1.2);
}

.cursor.is-click .cursor__arrow {
  transform: scale(0.88);
}

@media (hover: none), (pointer: coarse) {
  .cursor { display: none !important; }
  body.has-cursor,
  body.has-cursor * { cursor: auto !important; }
}

/* ===== Compare carousel ===== */
.compare-carousel {
  max-width: 960px;
  margin: 0 auto;
}

.compare-carousel__viewport {
  overflow: hidden;
  border-radius: 24px;
}

.compare-carousel__track {
  display: flex;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.compare-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.compare-slide__caption {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.compare__slider {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 24px;
  cursor: ew-resize;
  user-select: none;
  background: #000;
  border: 1px solid var(--glass-border);
}

.compare__before,
.compare__after {
  position: absolute;
  inset: 0;
}

.compare__before img,
.compare__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare__after {
  clip-path: inset(0 0 0 50%);
}

.compare__label {
  position: absolute;
  bottom: 14px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.compare__before .compare__label { left: 14px; }
.compare__after .compare__label { right: 14px; }

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  z-index: 5;
}

.compare__handle-line {
  position: absolute;
  inset: 0;
  width: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  box-shadow: 0 0 16px rgba(27,195,213,0.6);
}

.compare__handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12,16,24,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare__handle-circle span {
  width: 14px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.compare__handle-circle span::before,
.compare__handle-circle span::after {
  content: '';
  position: absolute;
  top: -4px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.compare__handle-circle span::before {
  left: -6px;
  border-right: 6px solid var(--text);
}

.compare__handle-circle span::after {
  right: -6px;
  border-left: 6px solid var(--text);
}

.compare-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}

.compare-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s var(--ease);
}

.compare-nav-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: scale(1.05);
}

.compare-dots {
  display: flex;
  gap: 8px;
}

.compare-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: 0.3s;
}

.compare-dots button.is-active {
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(212,175,55,0.5);
  transform: scale(1.2);
}

/* ===== Promo glass ===== */
.promo--glass {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 32px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
}

.promo__glow {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  top: -40px;
  right: -30px;
  pointer-events: none;
}

.promo__glow--blue { background: var(--blue); }
.promo__glow--yellow { background: var(--yellow); }
.promo__glow--green { background: var(--green); }

/* ===== Story blocks — smartproduction full-bleed split ===== */
.story {
  padding: 0;
  position: relative;
  z-index: 2;
  background: #000;
  min-height: 100vh;
  min-height: 100dvh;
}

.story::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.85));
  pointer-events: none;
  z-index: 3;
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  max-width: none;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 !important;
  margin: 0;
}

.story .container.story__grid,
.story > .container {
  max-width: none;
  padding: 0;
}

.story--left .story__content { order: 1; }
.story--left .story__media { order: 2; }
.story--right .story__media { order: 1; }
.story--right .story__content { order: 2; }

.story__content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 14px;
}

.story__content .btn {
  margin-top: 16px;
  align-self: flex-start;
}

.story__list {
  margin: 16px 0 8px;
}

.story__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
}

.story__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.story--light .story__list li::before { background: var(--yellow); }
.story--video .story__list li::before { background: var(--green); }

.story__media.dark-media,
.dark-media {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #000;
  aspect-ratio: auto;
  min-height: 100%;
  height: 100%;
  border: none;
}

.story__media img,
.story__media video,
.dark-media img,
.dark-media video,
.dark-media__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  will-change: transform;
  background: #000;
  position: absolute;
  inset: 0;
}

.story__stripe { display: none; }

.dark-media__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.08), rgba(0,0,0,0.35));
  pointer-events: none;
  z-index: 1;
}

.dark-media__veil--blue { background: linear-gradient(to left, rgba(0,0,0,0.15), rgba(27,195,213,0.08)); }
.dark-media__veil--yellow { background: linear-gradient(to right, rgba(0,0,0,0.15), rgba(212,175,55,0.1)); }
.dark-media__veil--green { background: linear-gradient(to left, rgba(0,0,0,0.15), rgba(34,197,94,0.08)); }

/* ===== Glass cards ===== */
.glass-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.glass-card {
  border-radius: 24px;
  padding: 32px;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(27, 195, 213, 0.35);
}

.glass-card__num {
  font-family: var(--font-h);
  font-size: 13px;
  color: var(--yellow);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: block;
}

.glass-card h3 {
  font-family: var(--font-h);
  font-size: 18px;
  margin-bottom: 12px;
}

.glass-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

/* ===== Projects ===== */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-tile {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.project-tile:hover img { transform: scale(1.08); }

.project-tile__info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.project-tile__info h3 {
  font-family: var(--font-h);
  font-size: 16px;
  margin-bottom: 4px;
}

.project-tile__info p { font-size: 13px; color: var(--muted); }

/* ===== Promo ===== */
.promo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.promo h3 {
  font-family: var(--font-h);
  font-size: 15px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.promo p {
  font-size: 13px;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.promo__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  color: #041018;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.promo__badge--yellow { background: linear-gradient(135deg, var(--yellow), #a8891f); color: #1a1405; }
.promo__badge--green { background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #04140a; }

.promo--glass:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.22);
}

/* ===== Downloads ===== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.download-card {
  position: relative;
  display: block;
  border-radius: 20px;
  padding: 32px;
  overflow: hidden;
  transition: transform 0.35s var(--ease);
}

.download-card:hover {
  transform: translateY(-6px);
  color: var(--text);
}

.download-card__line {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
}

.download-card__line--blue { background: var(--blue); box-shadow: 0 0 16px var(--blue); }
.download-card__line--yellow { background: var(--yellow); box-shadow: 0 0 16px var(--yellow); }
.download-card__line--green { background: var(--green); box-shadow: 0 0 16px var(--green); }

.download-card h3 {
  font-family: var(--font-h);
  font-size: 16px;
  margin-bottom: 10px;
}

.download-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ===== Contacts ===== */
.contacts {
  position: relative;
  overflow: hidden;
}

.contacts__stage {
  position: relative;
  border-radius: 28px;
  padding: 28px;
  overflow: hidden;
  isolation: isolate;
}

.contacts__lights {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
}

.contacts__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: contactsOrb 14s ease-in-out infinite;
}

.contacts__orb--blue {
  width: 340px;
  height: 340px;
  background: var(--blue);
  top: 8%;
  left: 5%;
}

.contacts__orb--yellow {
  width: 300px;
  height: 300px;
  background: var(--yellow);
  top: 42%;
  right: 8%;
  animation-delay: -4.5s;
}

.contacts__orb--green {
  width: 280px;
  height: 280px;
  background: var(--green);
  bottom: 0;
  left: 38%;
  animation-delay: -9s;
}

@keyframes contactsOrb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.42; }
  33% { transform: translate(36px, -28px) scale(1.12); opacity: 0.65; }
  66% { transform: translate(-28px, 22px) scale(0.92); opacity: 0.5; }
}

.contacts__panel {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contacts__list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.contacts__label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 3px;
}

.contacts__list a,
.contacts__list p {
  display: block;
  font-size: 14px;
}

.contacts__form {
  border-radius: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.3s;
}

.field input:focus { border-color: var(--blue); }

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  padding-top: 40px;
  background: rgba(6, 8, 12, 0.8);
  backdrop-filter: blur(16px);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}

.footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__nav a { font-size: 13px; color: var(--muted); }

.footer__bottom {
  border-top: 1px solid var(--glass-border);
  padding: 22px 0 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer__bottom p { font-size: 13px; color: var(--muted); }

.footer__credit a {
  color: var(--yellow);
  font-weight: 500;
}

.footer__credit a:hover { color: var(--yellow-light); }

/* ===== Cookie ===== */
.cookie {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1200;
  max-width: 420px;
  padding: 16px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(140%);
  transition: transform 0.45s var(--ease);
}

.cookie.visible { transform: translateY(0); }
.cookie p { font-size: 12px; color: var(--muted); flex: 1; }

/* ===== Reveal from sides ===== */
.reveal {
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  will-change: transform, opacity;
  filter: blur(6px);
}

.reveal--left { transform: translateX(-80px); }
.reveal--right { transform: translateX(80px); }
.reveal--up { transform: translateY(56px); }
.reveal--scale { transform: translateY(36px) scale(0.94); }

.reveal.visible,
.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }

/* ===== Mobile menu ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 80px 24px 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: 0.35s var(--ease);
  overflow-y: auto;
  border-radius: 0;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  font-size: 28px;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.mobile-menu__nav a,
.mobile-menu__nav button {
  font-family: var(--font-h);
  font-size: 20px;
}

.mobile-menu__label {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.mobile-menu__sub { font-size: 16px !important; }
.mobile-menu__sub--blue { color: var(--blue); }
.mobile-menu__sub--yellow { color: var(--yellow); }
.mobile-menu__sub--green { color: var(--green); }

body.menu-open { overflow: hidden; }

/* ===== Equipment page ===== */
.load-lines {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 0 12%;
  transition: opacity 0.6s ease, visibility 0.6s;
}

.load-lines.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.load-lines__bar {
  height: 3px;
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left center;
  animation: loadBar 1.1s var(--ease) forwards;
}

.load-lines__bar--blue {
  background: var(--blue);
  box-shadow: 0 0 20px var(--blue);
}

.load-lines__bar--yellow {
  background: var(--yellow);
  box-shadow: 0 0 20px var(--yellow);
  animation-delay: 0.15s;
}

.load-lines__bar--green {
  background: var(--green);
  box-shadow: 0 0 20px var(--green);
  animation-delay: 0.3s;
}

@keyframes loadBar {
  to { transform: scaleX(1); }
}

.equipment-page {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 40px);
  min-height: 80vh;
}

.equipment-hero { padding-bottom: 32px; }

.cat-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  margin-top: 28px;
}

.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: 0.25s;
}

.cat-tab.is-active,
.cat-tab:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.cat-tab--blue.is-active { box-shadow: inset 0 0 0 1px rgba(27,195,213,0.5); }
.cat-tab--yellow.is-active { box-shadow: inset 0 0 0 1px rgba(212,175,55,0.5); }
.cat-tab--green.is-active { box-shadow: inset 0 0 0 1px rgba(34,197,94,0.5); }

.equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  padding: 24px 0 100px;
}

.equip-card {
  position: relative;
  border: none;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  background: #080b10;
  color: var(--text);
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  animation: cardIn 0.65s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 0.06s);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.equip-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,255,255,0.14), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.equip-card--sound { box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(27,195,213,0.22); }
.equip-card--light { box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(212,175,55,0.25); }
.equip-card--video { box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(34,197,94,0.22); }

.equip-card:hover {
  transform: translateY(-10px) scale(1);
}

.equip-card--sound:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 40px rgba(27,195,213,0.18); }
.equip-card--light:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 40px rgba(212,175,55,0.16); }
.equip-card--video:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 40px rgba(34,197,94,0.16); }

@keyframes cardIn {
  to { opacity: 1; transform: none; }
}

.equip-card__img {
  background: #000;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.equip-card__img::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  background: linear-gradient(to top, #080b10, transparent);
  pointer-events: none;
}

.equip-card--sound .equip-card__img {
  background:
    radial-gradient(circle at 30% 20%, rgba(27,195,213,0.18), transparent 50%),
    #000;
}

.equip-card--light .equip-card__img {
  background:
    radial-gradient(circle at 70% 20%, rgba(212,175,55,0.2), transparent 50%),
    #000;
}

.equip-card--video .equip-card__img {
  background:
    radial-gradient(circle at 50% 30%, rgba(34,197,94,0.18), transparent 50%),
    #000;
}

.equip-card__img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
  position: relative;
  z-index: 1;
}

.equip-card:hover .equip-card__img img {
  transform: scale(1.06);
}

.equip-card__body {
  padding: 8px 22px 22px;
  position: relative;
  z-index: 1;
}

.equip-card__mark {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
  font-weight: 600;
}

.equip-card--sound .equip-card__mark { color: var(--blue); }
.equip-card--light .equip-card__mark { color: var(--yellow); }
.equip-card--video .equip-card__mark { color: var(--green); }

.equip-card h3 {
  font-family: var(--font-h);
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.35;
  font-weight: 500;
}

.equip-card__price {
  font-family: var(--font-h);
  font-size: 20px;
  color: var(--text);
  font-weight: 600;
}

.equip-card--sound .equip-card__price { color: var(--blue); }
.equip-card--light .equip-card__price { color: var(--yellow); }
.equip-card--video .equip-card__price { color: var(--green); }

/* Product modal */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s var(--ease);
}

.product-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.product-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.product-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.4);
  font-size: 24px;
}

.product-modal__media {
  aspect-ratio: auto;
  min-height: 320px;
  border-radius: 0;
  border: none;
}

.product-modal__media img {
  object-fit: contain;
  padding: 32px;
}

.product-modal__body { padding: 32px; }

.product-modal__cat {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
  display: block;
}

.product-modal__body h2 {
  font-family: var(--font-h);
  font-size: 22px;
  margin-bottom: 10px;
}

.product-modal__price {
  font-family: var(--font-h);
  font-size: 24px;
  color: var(--yellow);
  margin-bottom: 16px;
}

.product-modal__text {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.product-modal__specs-title {
  font-family: var(--font-h);
  font-size: 13px;
  margin-bottom: 10px;
}

.product-modal__specs {
  margin-bottom: 24px;
}

.product-modal__specs li {
  padding: 8px 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 13px;
  color: var(--muted);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .header__inner {
    padding: 0 14px 0 10px;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    min-height: auto;
    padding: calc(var(--header-h) + 28px) 24px 40px;
    order: 2;
  }

  .hero__visual {
    order: 1;
    min-height: 52vh;
  }

  .hero__media {
    position: absolute;
    inset: 0;
  }

  .story,
  .story__grid {
    min-height: auto;
  }

  .story__grid,
  .contacts__grid,
  .glass-cards,
  .projects__grid,
  .download-grid,
  .promo-row,
  .product-modal__dialog {
    grid-template-columns: 1fr;
  }

  .story--left .story__content,
  .story--left .story__media,
  .story--right .story__content,
  .story--right .story__media {
    order: initial;
  }

  .story--right .story__media,
  .story--left .story__media {
    order: -1;
  }

  .promo-row { grid-template-columns: 1fr 1fr; }

  .story {
    padding: 0;
  }

  .story__grid {
    gap: 0;
  }

  .story__content {
    padding: 40px 24px 56px;
  }

  .story__media.dark-media,
  .dark-media {
    border-radius: 0;
    min-height: 48vh;
    aspect-ratio: 16 / 11;
    height: auto;
  }

  .story::after {
    height: 64px;
  }

  .glass-card,
  .download-card,
  .promo {
    padding: 24px;
  }
}

@media (max-width: 640px) {

  .side-menu {
    width: min(86vw, 420px);
    padding: 80px 24px 32px;
  }

  .burger-btn {
    width: 46px;
    height: 46px;
  }

  .contacts__stage { padding: 12px; }
  .contacts__panel { padding: 22px 18px; }
  .contacts__grid { grid-template-columns: 1fr; gap: 28px; }


  :root {
    --header-h: 64px;
  }

  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .story { padding: 0; }
  .story__content { padding: 32px 16px 48px; }

  /* Big centered logo on phones — no frame */
  .intro {
    height: 180vh;
  }

  .intro__logo-gif {
    width: min(94vw, 520px);
    height: min(94vw, 520px);
    max-height: 72vh;
  }

  .intro__brand {
    font-size: clamp(18px, 5.5vw, 28px);
    letter-spacing: 0.12em;
    top: calc(50% + 121px);
  }

  .intro__hint {
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .cinematic {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .cinematic__content,
  .cinematic__content--left,
  .cinematic__content--right {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 40px 20px 48px;
  }

  .cinematic__title {
    max-width: none;
    font-size: clamp(24px, 7vw, 34px);
  }

  .cinematic__veil--left,
  .cinematic__veil--right {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 48%, rgba(0, 0, 0, 0.15) 100%);
  }

  .stage-card,
  .stage-card--flip {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stage-card--flip .stage-card__media {
    order: -1;
  }

  .reveal--left,
  .reveal--right {
    transform: translateY(40px);
  }

  .intro__hint {
    font-size: 10px;
    bottom: max(24px, env(safe-area-inset-bottom) + 16px);
  }

  .brand__img {
    width: 36px;
    height: 36px;
  }

  .brand__name {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .section-title {
    font-size: 24px;
  }

  .story__title {
    font-size: 22px;
  }

  .promo-row {
    grid-template-columns: 1fr;
  }

  .projects__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-tile {
    aspect-ratio: 16 / 10;
  }

  .contacts__form {
    padding: 22px 18px;
  }

  .btn {
    width: 100%;
  }

  .story__content .btn {
    width: 100%;
  }

  .cookie {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    max-width: none;
    flex-direction: column;
    text-align: center;
  }

  .footer__top {
    flex-direction: column;
    text-align: center;
  }

  .footer__nav {
    justify-content: center;
    gap: 14px 18px;
  }

  .footer__bottom {
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .product-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .product-modal__dialog {
    border-radius: 20px 20px 12px 12px;
    max-height: 92vh;
  }

  .product-modal__media {
    min-height: 200px;
  }

  .product-modal__body {
    padding: 20px;
  }

  .cat-tabs {
    width: 100%;
    border-radius: 18px;
    justify-content: flex-start;
  }

  .equip-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mobile-menu__nav a,
  .mobile-menu__nav button {
    font-size: 18px;
  }
}

@media (max-width: 380px) {
  .intro__logo-gif {
    width: 86vw;
    height: 86vw;
  }

  .intro__brand {
    font-size: 18px;
    top: calc(50% + 113px);
  }
}
