/* ==========================================================================
   Lateral Repairs — brand system
   Palette: pink / white / black only
   ========================================================================== */

:root {
  --black: #070608;
  --black-2: #0d0b0f;
  --black-3: #15121a;
  --white: #ffffff;
  --off: #f6f3f7;
  --pink: #e6007e;
  --pink-2: #ff4fb0;
  --pink-deep: #9b1260;
  --muted: #a99fae;
  --muted-dark: #6b6171;
  --line: rgba(255, 255, 255, 0.09);
  --line-light: rgba(7, 6, 8, 0.1);
  --grad: linear-gradient(100deg, var(--pink) 10%, var(--pink-2) 55%, var(--pink) 100%);
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --rad: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--pink); color: var(--white); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 92vw); margin-inline: auto; }

h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -0.02em; }

.grad-text {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pink-2); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }

/* ==========================================================================
   Preloader
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__drop { position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
.loader__drop img { width: 64px; animation: dropFloat 1.6s ease-in-out infinite; filter: drop-shadow(0 8px 30px rgba(230, 0, 126, 0.55)); }
.loader__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--pink); border-right-color: var(--pink-2);
  animation: spin 1s linear infinite;
}
.loader__bar { width: 150px; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 40%; border-radius: 3px; background: var(--grad); animation: loadBar 1.2s var(--ease) infinite; }
@keyframes dropFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loadBar { 0% { transform: translateX(-160%); } 100% { transform: translateX(420%); } }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 130; background: transparent; pointer-events: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 14px rgba(230, 0, 126, 0.8); }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 48px);
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(7, 6, 8, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 10px;
}
.nav__logo { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: auto; transition: transform 0.5s var(--ease), filter 0.45s var(--ease); }
.nav__logo:hover .brand__mark { transform: rotate(-10deg) scale(1.08); }

.brand__wordmark { height: clamp(12px, 1.3vw, 16px); width: auto; transition: filter 0.45s var(--ease); }

/* --- brand lockup in flight between hero and nav --- */
html.logo-flying .brand__mark,
html.logo-flying .brand__wordmark { transition: none; filter: drop-shadow(0 18px 48px rgba(230, 0, 126, 0.4)); }
html.logo-flying .nav__logo { pointer-events: none; }

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative; padding: 9px 14px; font-size: 14px; font-weight: 500;
  color: var(--muted); border-radius: 100px; transition: color 0.25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav__burger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 100px; cursor: pointer; border: 0;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn-primary { background: var(--grad); background-size: 200% 100%; color: var(--white); box-shadow: 0 10px 34px rgba(230, 0, 126, 0.38); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(230, 0, 126, 0.55); background-position: 100% 0; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--white); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--pink); color: var(--pink-2); }

/* ==========================================================================
   Hero (3D canvas behind)
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: radial-gradient(1100px 600px at 70% 20%, rgba(230, 0, 126, 0.14), transparent 60%), var(--black);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(80% 60% at 50% 45%, transparent 40%, rgba(7,6,8,0.55) 100%),
    linear-gradient(to bottom, rgba(7,6,8,0.5), transparent 22%, transparent 70%, var(--black) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-top: 100px; padding-bottom: 64px; }

/* Space reserved for the brand lockup while it sits in the hero. The mark and the
   wordmark are the nav elements themselves, transformed into these slots by JS. */
.hero__brand { margin-bottom: clamp(12px, 1.4vw, 16px); pointer-events: none; }
.hero__logo {
  width: clamp(76px, 7vw, 96px);
  aspect-ratio: 2182.68 / 2891.34;
}
.hero__wordmark {
  width: clamp(190px, 21vw, 275px);
  aspect-ratio: 760 / 61;
  margin-top: clamp(8px, 1vw, 12px);
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--white);
  background: rgba(230, 0, 126, 0.12);
  border: 1px solid rgba(230, 0, 126, 0.4);
  padding: 9px 18px; border-radius: 100px; margin-bottom: 28px;
  backdrop-filter: blur(6px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(230,0,126,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(230,0,126,0.6); } 70% { box-shadow: 0 0 0 10px rgba(230,0,126,0); } 100% { box-shadow: 0 0 0 0 rgba(230,0,126,0); } }

.hero h1 { font-size: clamp(44px, 7.4vw, 96px); font-weight: 700; margin-bottom: 26px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: riseUp 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes riseUp { to { transform: translateY(0); } }

.hero__sub { max-width: 640px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.reveal-up { opacity: 0; transform: translateY(26px); animation: fadeUp 0.9s var(--ease) 0.45s forwards; }
.hero__actions.reveal-up { animation-delay: 0.6s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.mouse { width: 22px; height: 34px; border: 2px solid var(--muted-dark); border-radius: 12px; position: relative; }
.mouse::after { content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--pink); animation: wheel 1.6s ease infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }

/* ==========================================================================
   Marquee
   ========================================================================== */
.strip { border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden; background: var(--black-2); }
.marquee { display: flex; gap: 56px; width: max-content; animation: marquee 28s linear infinite; }
.strip:hover .marquee { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-dark); white-space: nowrap;
  display: flex; align-items: center; gap: 56px;
  transition: color 0.3s;
}
.marquee span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); opacity: 0.7; }
.marquee span:hover { color: var(--pink-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section--light { background: var(--off); color: var(--black); }
.section--light .eyebrow { color: var(--pink); }
.section--light .section__head p { color: var(--muted-dark); }
.section--light .section__head h2 { color: var(--black); }

.section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head.center .eyebrow { justify-content: center; }
.section__head h2 { font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 18px; }
.section__head p { color: var(--muted); font-size: 17px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal[data-d="1"] { transition-delay: 0.1s; }
.reveal[data-d="2"] { transition-delay: 0.2s; }
.reveal[data-d="3"] { transition-delay: 0.3s; }
.reveal[data-d="4"] { transition-delay: 0.4s; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* 3D tilt cards (JS drives the transform once revealed) */
.tilt { will-change: transform; }
.tilt.in { transition: opacity 0.9s var(--ease), transform 0.18s ease-out; }

/* ==========================================================================
   About: text + before/after proof card
   ========================================================================== */
.about-grid {
  display: grid; grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(28px, 4vw, 60px); align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.ba-card {
  margin: 0; justify-self: end; width: min(320px, 100%);
  background: linear-gradient(160deg, var(--black-3), var(--black-2));
  border: 1px solid var(--line); border-radius: var(--rad);
  padding: 12px; overflow: hidden;
}
.ba-card img { width: 100%; border-radius: calc(var(--rad) - 8px); }
.ba-card figcaption {
  padding: 12px 6px 4px; text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px; color: var(--muted);
}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1100px; }
.stat {
  background: linear-gradient(160deg, var(--black-3), var(--black-2));
  border: 1px solid var(--line); border-radius: var(--rad);
  padding: 34px 28px;
  position: relative; overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(230,0,126,0.6), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
}
.stat:hover::before { opacity: 1; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 3.4vw, 44px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ==========================================================================
   Products
   ========================================================================== */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1100px; }
.product {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--rad);
  padding: 36px 30px 32px;
  box-shadow: 0 6px 30px rgba(7, 6, 8, 0.06);
  transition: box-shadow 0.4s;
}
.product:hover { box-shadow: 0 24px 60px rgba(230, 0, 126, 0.16); }
.product__media {
  margin: -36px -30px 20px; height: 140px; overflow: hidden;
  border-bottom: 1px solid var(--line-light);
}
.product__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.product:hover .product__media img { transform: scale(1.06); }
.product__num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-head); font-weight: 700; font-size: 52px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(230, 0, 126, 0.25);
  transition: -webkit-text-stroke-color 0.3s;
}
.product:hover .product__num { -webkit-text-stroke-color: var(--pink); }
.product__tag {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--pink); background: rgba(230, 0, 126, 0.08); border: 1px solid rgba(230, 0, 126, 0.25);
  padding: 6px 12px; border-radius: 100px; margin-bottom: 18px;
}
.product h3 { font-size: 23px; margin-bottom: 12px; color: var(--black); }
.product p { color: var(--muted-dark); font-size: 15px; margin-bottom: 22px; }
.spec { display: flex; flex-wrap: wrap; gap: 8px; }
.spec b { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 8px; background: var(--black); color: var(--white); }
.product__glow {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,0,126,0.18), transparent 70%);
  top: var(--gy, 50%); left: var(--gx, 50%); transform: translate(-50%, -50%);
  pointer-events: none; opacity: 0; transition: opacity 0.3s;
}
.product:hover .product__glow { opacity: 1; }

.resins-lead {
  color: var(--muted-dark); font-size: 15.5px; line-height: 1.65;
  max-width: 680px; margin-bottom: 22px;
}
.resins-lead b { color: var(--black); font-weight: 600; }
.resins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 14px; }
.resin {
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--rad);
  padding: 22px 22px 20px;
  box-shadow: 0 6px 26px rgba(7, 6, 8, 0.05);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.resin:hover { transform: translateY(-4px); border-color: rgba(230,0,126,0.45); box-shadow: 0 18px 44px rgba(230,0,126,0.14); }
.resin__name {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--black);
  margin-bottom: 10px;
}
.resin__name i { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); flex-shrink: 0; }
.resin p { font-size: 13.5px; color: var(--muted-dark); line-height: 1.6; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--rad); border: 1px solid var(--line); margin: 0; }
.t-tall { grid-row: span 2; }
.t-wide { grid-column: span 2; }
.t-3 { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 0.6s; filter: saturate(0.85); }
.tile:hover img { transform: scale(1.07); filter: saturate(1.1); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,6,8,0.78), transparent 55%); }
.cap {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--white);
}
.cap span { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink-2); margin-bottom: 4px; }

/* ==========================================================================
   Video
   ========================================================================== */
.video-wrap { border-radius: calc(var(--rad) + 6px); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(230, 0, 126, 0.12); }
.video-poster {
  position: relative; aspect-ratio: 16 / 9; cursor: pointer;
  background:
    radial-gradient(700px 360px at 50% 50%, rgba(230,0,126,0.22), transparent 70%),
    url("../images/gallery/liner-macro.jpg") center/cover no-repeat,
    var(--black-2);
  display: grid; place-items: center;
}
.video-poster::before { content: ""; position: absolute; inset: 0; background: rgba(7,6,8,0.45); transition: background 0.4s; }
.video-poster:hover::before { background: rgba(7,6,8,0.25); }
.video-poster .ring {
  position: absolute; width: 110px; height: 110px; border-radius: 50%;
  border: 1.5px solid rgba(230,0,126,0.6);
  animation: ringPulse 2.2s ease infinite;
}
@keyframes ringPulse { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.video-poster .play {
  position: relative; z-index: 2; width: 84px; height: 84px; border-radius: 50%;
  background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 14px 44px rgba(230,0,126,0.5);
  transition: transform 0.35s var(--ease);
}
.video-poster:hover .play { transform: scale(1.12); }
.video-poster .play svg { width: 30px; height: 30px; fill: var(--white); margin-left: 4px; }
.video-wrap iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: 0; }
.video-links { display: flex; justify-content: center; gap: 28px; margin-top: 22px; flex-wrap: wrap; }
.video-links a { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.3s; }
.video-links a svg { width: 18px; height: 18px; }
.video-links a:hover { color: var(--pink-2); }

/* ==========================================================================
   IMS Group
   ========================================================================== */
.group { overflow: hidden; }
.group__announce {
  position: relative;
  background: var(--black); color: var(--white);
  border-radius: calc(var(--rad) + 8px);
  padding: clamp(36px, 5vw, 64px);
  margin-bottom: clamp(36px, 5vw, 56px);
  overflow: hidden;
}
.group__announce::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 300px at 88% 0%, rgba(230, 0, 126, 0.28), transparent 65%),
    radial-gradient(420px 260px at 0% 100%, rgba(230, 0, 126, 0.16), transparent 65%);
}
.group__announce > * { position: relative; }
.group__top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.group__logo {
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--white); border-radius: 14px; padding: 9px 14px;
  box-shadow: 0 10px 28px rgba(7, 6, 8, 0.3);
}
.group__logo img { height: 46px; width: auto; }
.group__top .group__badge { margin-bottom: 0; }

.group__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pink-2); border: 1px solid rgba(230,0,126,0.45); border-radius: 100px;
  padding: 8px 16px; margin-bottom: 22px;
}
.group__announce h2 { font-size: clamp(26px, 3.6vw, 44px); margin-bottom: 18px; max-width: 820px; }
.group__announce p { color: var(--muted); max-width: 820px; font-size: 16.5px; }
.group__announce p a { color: var(--pink-2); font-weight: 600; border-bottom: 1px solid rgba(230,0,126,0.4); transition: border-color 0.3s; }
.group__announce p a:hover { border-color: var(--pink-2); }
.group__announce p b { color: var(--white); }

.group__synergy { max-width: 820px; margin: clamp(30px, 4vw, 44px) 0; }
.group__synergy .eyebrow { margin-bottom: 12px; }
.group__synergy h3 { font-size: clamp(22px, 2.6vw, 30px); color: var(--black); margin-bottom: 16px; }
.group__synergy p { color: var(--muted-dark); font-size: 16px; line-height: 1.7; }
.group__synergy p + p { margin-top: 14px; }

.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1100px; }
.partner {
  position: relative; display: block;
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--rad);
  padding: 30px 28px 26px;
  box-shadow: 0 6px 26px rgba(7,6,8,0.05);
  transition: box-shadow 0.4s, border-color 0.4s;
}
.partner:hover { border-color: rgba(230,0,126,0.5); box-shadow: 0 22px 54px rgba(230,0,126,0.16); }
.partner__ic {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px;
  background: rgba(230,0,126,0.08); border: 1px solid rgba(230,0,126,0.22);
  color: var(--pink); margin-bottom: 18px;
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease);
}
.partner:hover .partner__ic { background: var(--grad); color: var(--white); transform: translateY(-3px) rotate(-4deg); }
.partner__ic svg { width: 26px; height: 26px; }
.partner h3 { font-size: 19px; margin-bottom: 8px; color: var(--black); }
.partner p { font-size: 14px; color: var(--muted-dark); margin-bottom: 18px; }
.partner__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--pink);
}
.partner__link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.partner:hover .partner__link svg { transform: translate(3px, -3px); }

.group__foot { text-align: center; margin-top: clamp(30px, 4vw, 44px); }
.group__foot p { color: var(--muted-dark); font-size: 15px; max-width: 640px; margin-inline: auto; }
.group__foot b { color: var(--black); }
.group__foot a { color: var(--pink); font-weight: 600; }
.group__foot a:hover { text-decoration: underline; }

/* ==========================================================================
   Certifications
   ========================================================================== */
/* logos — compact, non-clickable trust badges in a centered bar */
.cert-logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.cert-logo {
  margin: 0; flex: 0 0 auto; width: 148px; min-width: 0; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line-light); border-radius: 16px;
  padding: 16px 14px 12px;
  box-shadow: 0 6px 20px rgba(7,6,8,0.16);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.cert-logo:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(7,6,8,0.24); }
.cert-logo img {
  display: block; width: auto; height: 38px; max-width: 100%; object-fit: contain;
}
.cert-logo figcaption {
  font-family: var(--font-head); font-weight: 600; font-size: 10.5px; letter-spacing: 0.02em;
  color: var(--muted-dark); text-align: center; line-height: 1.3;
}

/* the official certificate — a compact clickable PDF pill */
.cert-doc { display: flex; justify-content: center; margin-top: clamp(24px, 3.5vw, 36px); }
.cert-doc__card {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 15px;
  max-width: 100%;
  background: linear-gradient(150deg, var(--black-3), var(--black-2));
  border: 1px solid var(--line); border-radius: 16px;
  padding: 13px 18px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.cert-doc__card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(220px 120px at 100% 0%, rgba(230,0,126,0.16), transparent 70%);
}
.cert-doc__card:hover { transform: translateY(-3px); border-color: rgba(230,0,126,0.5); box-shadow: 0 16px 40px rgba(230,0,126,0.2); }
.cert-doc__file {
  position: relative; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(230,0,126,0.12); border: 1px solid rgba(230,0,126,0.35);
  color: var(--pink-2);
}
.cert-doc__file svg { width: 21px; height: 21px; margin-top: -3px; }
.cert-doc__file b {
  position: absolute; bottom: 5px; font-family: var(--font-head); font-size: 7.5px;
  letter-spacing: 0.1em; color: var(--pink-2);
}
.cert-doc__text { display: flex; flex-direction: column; gap: 2px; }
.cert-doc__text b { font-family: var(--font-head); font-size: 14.5px; color: var(--white); }
.cert-doc__text span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.cert-doc__cta {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; margin-left: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--pink-2);
  white-space: nowrap;
}
.cert-doc__cta svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.cert-doc__card:hover .cert-doc__cta svg { transform: translateX(4px); }

/* ==========================================================================
   App
   ========================================================================== */
.app__card {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 70px); align-items: center;
  background: linear-gradient(150deg, var(--black-3), var(--black-2));
  border: 1px solid var(--line); border-radius: calc(var(--rad) + 8px);
  padding: clamp(34px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.app__card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 320px at 90% 10%, rgba(230,0,126,0.16), transparent 65%);
}
.app__text { position: relative; }
.app__text h2 { font-size: clamp(28px, 3.8vw, 46px); margin-bottom: 16px; }
.app__text > p { color: var(--muted); margin-bottom: 24px; max-width: 480px; }
.app__feats { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; }
.app__feats li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--white); }
.app__feats svg { width: 20px; height: 20px; color: var(--pink-2); flex-shrink: 0; }
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badges img { transition: transform 0.3s var(--ease); }
.store-badges a:hover img { transform: translateY(-4px); }

.phone {
  position: relative; width: min(290px, 80%); margin-inline: auto;
  aspect-ratio: 9 / 18.6; border-radius: 42px;
  background: #0e0c11;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 90px rgba(7,6,8,0.7), 0 0 70px rgba(230,0,126,0.22);
  padding: 12px;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 38%; height: 24px; border-radius: 0 0 16px 16px; background: #0e0c11; z-index: 2; }
.phone__screen {
  height: 100%; border-radius: 32px; overflow: hidden;
  background: radial-gradient(220px 220px at 50% 0%, rgba(230,0,126,0.3), transparent 70%), var(--black);
  display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 52px 16px 18px;
}
.phone__screen > img { width: 64px; filter: drop-shadow(0 6px 22px rgba(230,0,126,0.5)); }
.calc { width: 100%; display: grid; gap: 8px; }
.calc .row {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  border-radius: 13px; padding: 11px 14px; font-size: 12.5px;
}
.calc .row span { color: var(--muted); }
.calc .row b { font-family: var(--font-head); font-weight: 600; }
.calc .total { background: rgba(230,0,126,0.14); border-color: rgba(230,0,126,0.45); }
.calc .total b { color: var(--pink-2); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.contact__info { display: grid; gap: 22px; }
.cinfo { display: flex; gap: 16px; align-items: flex-start; }
.cinfo .ic {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(230,0,126,0.1); border: 1px solid rgba(230,0,126,0.3);
}
.cinfo .ic svg { width: 21px; height: 21px; fill: none; stroke: var(--pink-2); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cinfo .k { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 3px; }
.cinfo .v, .cinfo .v a { font-size: 16px; color: var(--white); }
.cinfo .v a:hover { color: var(--pink-2); }

.form {
  background: linear-gradient(160deg, var(--black-3), var(--black-2));
  border: 1px solid var(--line); border-radius: calc(var(--rad) + 4px);
  padding: clamp(26px, 3.5vw, 40px); display: grid; gap: 18px;
}
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.05em; color: var(--muted); }
.field input, .field textarea {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  border-radius: 13px; padding: 14px 16px; color: var(--white);
  font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(230,0,126,0.15); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-dark); }
.note { font-size: 12.5px; color: var(--muted-dark); text-align: center; }
.form__notice {
  border: 1px dashed rgba(255, 79, 176, 0.6); border-radius: 13px; padding: 12px 14px;
  font-size: 13.5px; line-height: 1.55; color: var(--muted);
}
.form__notice b { color: var(--white); letter-spacing: 0.04em; }
.form__notice a { color: var(--pink-2); font-weight: 600; }
.form__status { border-radius: 13px; padding: 12px 14px; font-size: 14px; line-height: 1.55; color: var(--white); background: rgba(230, 0, 126, 0.16); border: 1px solid var(--pink); }
.form__status:focus { outline: none; }
.form__status a { color: var(--white); font-weight: 600; text-decoration: underline; }

/* unresolved legal/business facts — must be resolved before publishing */
.confirm { background: rgba(255, 79, 176, 0.14); outline: 1px dashed var(--pink); padding: 0 4px; border-radius: 4px; color: inherit; font-weight: 600; }

/* ==========================================================================
   Footer
   ========================================================================== */
footer { border-top: 1px solid var(--line); background: var(--black-2); padding: clamp(50px, 7vw, 80px) 0 34px; }
.foot { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr; gap: clamp(28px, 4vw, 56px); margin-bottom: 44px; }
.foot__brand .brand__mark { width: 52px; margin-bottom: 18px; }
.foot__brand p { color: var(--muted); font-size: 14.5px; max-width: 330px; margin-bottom: 22px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.socials a:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: var(--white); }
.socials a[aria-label="Website"] svg { fill: none; stroke: var(--white); }
.foot__col h5 { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 18px; }
.foot__col a { display: block; font-size: 14.5px; color: var(--muted); padding: 5px 0; transition: color 0.25s, transform 0.25s var(--ease); }
.foot__col a:hover { color: var(--pink-2); transform: translateX(4px); }
.legal {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 26px;
}
.reg { font-size: 12.5px; color: var(--muted-dark); line-height: 1.7; }
.reg b { color: var(--muted); }
.copy { font-size: 13px; color: var(--muted-dark); }

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  padding: 16px clamp(14px, 3vw, 28px) calc(16px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.consent[hidden] { display: none; }
.consent__card {
  pointer-events: auto;
  margin-inline: auto; width: min(880px, 100%);
  display: flex; align-items: center; gap: 22px;
  background: rgba(13, 11, 15, 0.97);
  border: 1px solid rgba(230,0,126,0.35); border-radius: 18px;
  box-shadow: 0 24px 70px rgba(7,6,8,0.8), 0 0 40px rgba(230,0,126,0.15);
  padding: 18px 22px;
  animation: consentIn 0.5s var(--ease);
}
@keyframes consentIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.consent__text b { font-family: var(--font-head); font-size: 15px; color: var(--white); display: block; margin-bottom: 4px; }
.consent__text p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.consent__text a { color: var(--pink-2); text-decoration: underline; text-underline-offset: 2px; }
.consent__actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.consent__actions .btn { padding: 11px 22px; font-size: 13.5px; justify-content: center; white-space: nowrap; }

.linklike {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 2px;
}
.linklike:hover { color: var(--pink-2); }

/* video poster consent overlay */
.video-consent {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(7, 6, 8, 0.82); backdrop-filter: blur(4px);
  padding: 24px; text-align: center;
}
.video-consent p { font-size: 14px; color: var(--muted); max-width: 460px; line-height: 1.6; }
.video-consent p a { color: var(--pink-2); text-decoration: underline; }
.video-consent .btn { padding: 12px 24px; font-size: 14px; }

/* ==========================================================================
   Legal pages (privacy / cookies)
   ========================================================================== */
.legal-page { background: var(--black); }
.legal-doc { padding: 140px 0 80px; }
.legal-doc .container { max-width: 760px; }
.legal-doc h1 { font-size: clamp(32px, 5vw, 48px); margin: 6px 0 10px; }
.legal-doc__updated { color: var(--muted-dark); font-size: 13.5px; margin-bottom: 40px; }
.legal-doc h2 { font-size: 21px; margin: 38px 0 12px; }
.legal-doc h3 { font-size: 16.5px; margin: 24px 0 8px; color: var(--pink-2); }
.legal-doc p { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.legal-doc p b { color: var(--white); }
.legal-doc a { color: var(--pink-2); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc code { background: rgba(255,255,255,0.07); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; font-size: 13px; }
.legal-table-wrap { overflow-x: auto; margin: 14px 0; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-table th, .legal-table td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.legal-table th { font-family: var(--font-head); color: var(--white); background: var(--black-3); font-size: 13px; }
.legal-page footer { margin-top: 40px; }

/* ==========================================================================
   Products mega-menu
   ========================================================================== */
.nav__has-mega { position: relative; }
.nav__mega-trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav__mega-trigger svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav__has-mega.is-open .nav__mega-trigger svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(720px, 92vw); z-index: 125;
  background: rgba(13, 11, 15, 0.97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 80px rgba(7, 6, 8, 0.75), 0 0 60px rgba(230, 0, 126, 0.1);
  padding: 14px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease);
}
.nav__has-mega.is-open .mega { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega__inner { display: grid; grid-template-columns: 196px 1fr; gap: 14px; }
.mega__cats { display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); padding-right: 14px; }
.mega__cat {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted);
  padding: 11px 12px; border-radius: 12px;
  transition: background 0.22s, color 0.22s;
}
.mega__cat svg { width: 15px; height: 15px; opacity: 0; transform: translateX(-4px); transition: opacity 0.25s, transform 0.25s var(--ease); }
.mega__cat:hover, .mega__cat.is-active { background: rgba(230, 0, 126, 0.12); color: var(--white); }
.mega__cat.is-active svg { opacity: 1; transform: none; color: var(--pink-2); }
.mega__panel { display: none; }
.mega__panel.is-active { display: block; animation: megaIn 0.28s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.mega__blurb { font-size: 12.5px; color: var(--muted-dark); padding: 4px 10px 10px; }
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.mega__item {
  display: block; padding: 10px 12px; border-radius: 12px;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.25s var(--ease);
}
.mega__item b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--white); }
.mega__item span { font-size: 11.5px; color: var(--muted-dark); }
.mega__item:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(230, 0, 126, 0.4); transform: translateX(3px); }
.mega__item:hover b { color: var(--pink-2); }

/* ==========================================================================
   Catalogue browser (home page) — category picker + product cards
   ========================================================================== */
.picker { position: relative; width: min(330px, 100%); margin-bottom: 26px; z-index: 5; }
.picker__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--white); color: var(--black);
  border: 1px solid var(--line-light); border-radius: 16px;
  padding: 12px 16px; cursor: pointer; text-align: left;
  box-shadow: 0 6px 22px rgba(7, 6, 8, 0.07);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.picker__btn:hover, .picker[data-open] .picker__btn { border-color: var(--pink); box-shadow: 0 10px 28px rgba(230, 0, 126, 0.16); }
.picker__meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.picker__meta small { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }
.picker__meta b { font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.picker__btn > svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--pink); transition: transform 0.3s var(--ease); }
.picker[data-open] .picker__btn > svg { transform: rotate(180deg); }
.picker__list {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 10;
  list-style: none; margin: 0; padding: 6px;
  background: var(--white); border: 1px solid var(--line-light); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(7, 6, 8, 0.22);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.22s, transform 0.28s var(--ease), visibility 0.22s;
}
/* visibility switches on instantly when opening so focus can move into the list at once */
.picker[data-open] .picker__list { opacity: 1; visibility: visible; transform: none; transition: opacity 0.22s, transform 0.28s var(--ease), visibility 0s; }
.picker__list li {
  padding: 10px 12px; border-radius: 11px; cursor: pointer;
  transition: background 0.2s;
}
.picker__list li b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--black); }
.picker__list li span { font-size: 12px; color: var(--muted-dark); }
.picker__list li:hover, .picker__list li[aria-selected="true"] { background: rgba(230, 0, 126, 0.09); }
.picker__list li:focus { outline: none; }
.picker__list li:focus-visible { outline: 2px solid var(--pink); outline-offset: -2px; background: rgba(230, 0, 126, 0.09); }

.catalog__panel { display: none; }
.catalog__panel.is-active {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  animation: catIn 0.35s var(--ease);
}
@keyframes catIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pcard {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line-light); border-radius: var(--rad);
  box-shadow: 0 6px 26px rgba(7, 6, 8, 0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.pcard:hover { transform: translateY(-5px); border-color: rgba(230, 0, 126, 0.45); box-shadow: 0 22px 50px rgba(230, 0, 126, 0.17); }
.pcard__media { display: block; height: 132px; overflow: hidden; border-bottom: 1px solid var(--line-light); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__media--blank {
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(230, 0, 126, 0.09), rgba(230, 0, 126, 0.02));
  color: rgba(230, 0, 126, 0.5);
}
.pcard__media--blank svg { width: 34px; height: 34px; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.pcard__tag {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink);
}
.pcard__doc {
  font-size: 10px; letter-spacing: 0.08em; color: var(--muted-dark);
  border: 1px solid var(--line-light); border-radius: 100px; padding: 3px 8px; white-space: nowrap;
}
.pcard__body > b { font-family: var(--font-head); font-weight: 600; font-size: 19px; color: var(--black); }
.pcard__sum { font-size: 13.5px; color: var(--muted-dark); line-height: 1.55; flex: 1; }
.pcard__go {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 4px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--pink);
}
.pcard__go svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.pcard:hover .pcard__go svg { transform: translateX(4px); }

/* ==========================================================================
   Mobile drawer — hidden entirely on desktop
   ========================================================================== */
.drawer, .drawer__scrim { display: none; }

/* ==========================================================================
   Product detail page
   ========================================================================== */
.pdp { padding: 124px 0 84px; }
.pdp__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted-dark); margin-bottom: 26px; }
.pdp__crumbs a { color: var(--muted); transition: color 0.25s; }
.pdp__crumbs a:hover { color: var(--pink-2); }
.pdp__head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(36px, 5vw, 60px); }
.pdp__intro h1 { font-size: clamp(30px, 4.4vw, 50px); margin: 12px 0 14px; }
.pdp__lead { color: var(--white); font-size: 17px; margin-bottom: 12px; }
.pdp__summary { color: var(--muted); margin-bottom: 22px; max-width: 62ch; }
.pdp__highlights { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pdp__highlights li {
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px;
  padding: 7px 13px; border-radius: 100px; color: var(--pink-2);
  background: rgba(230, 0, 126, 0.1); border: 1px solid rgba(230, 0, 126, 0.3);
}
.pdp__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pdp__actions .btn svg { width: 17px; height: 17px; }
.pdp__media { margin: 0; border-radius: var(--rad); overflow: hidden; border: 1px solid var(--line); }
.pdp__media img { width: 100%; }
.pdp h2 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 16px; }
.pdp__specs, .pdp__body, .pdp__related { margin-bottom: clamp(36px, 5vw, 56px); }
.pdp__table th { width: 38%; font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--muted); background: transparent; }
.pdp__table td { color: var(--white); }
.pdp__note { font-size: 12.5px; color: var(--muted-dark); margin-top: 10px; }
.pdp__body p { color: var(--muted); margin-bottom: 12px; max-width: 70ch; }
.pdp__variant + .pdp__variant { margin-top: 30px; }
.pdp__variant-name { font-size: 16px; color: var(--pink-2); margin-bottom: 12px; }
.pdp__matrix { margin-top: 10px; }
.pdp__matrix th, .pdp__matrix td { text-align: center; white-space: nowrap; }
.pdp__matrix thead th { background: var(--black-3); font-size: 12.5px; }
.pdp__matrix tbody th { text-align: left; font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--muted); background: transparent; }
.pdp__matrix tbody td { color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 13.5px; }

/* document downloads */
.pdp__docs { margin-bottom: clamp(36px, 5vw, 56px); scroll-margin-top: 100px; }
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.doc-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--black-2); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.doc-item:hover { border-color: rgba(230, 0, 126, 0.5); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(230, 0, 126, 0.16); }
.doc-item__ic {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(230, 0, 126, 0.12); border: 1px solid rgba(230, 0, 126, 0.32); color: var(--pink-2);
}
.doc-item__ic svg { width: 19px; height: 19px; }
.doc-item__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.doc-item__txt b { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--white); }
.doc-item__txt span { font-size: 12px; color: var(--muted-dark); }
.doc-item__go { flex-shrink: 0; width: 16px; height: 16px; color: var(--muted-dark); transition: transform 0.3s var(--ease), color 0.3s; }
.doc-item:hover .doc-item__go { color: var(--pink-2); transform: translate(3px, -3px); }
.pdp__related .mega__grid { grid-template-columns: repeat(3, 1fr); }
.pdp__related .mega__item { background: var(--black-2); border-color: var(--line); }
.pdp__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(150deg, var(--black-3), var(--black-2));
  border: 1px solid var(--line); border-radius: calc(var(--rad) + 6px);
  padding: clamp(26px, 3.5vw, 40px);
}
.pdp__cta h2 { margin-bottom: 8px; }
.pdp__cta p { color: var(--muted); font-size: 15px; max-width: 52ch; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .products, .partners, .resins { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .ba-card { justify-self: start; }
  .catalog__panel.is-active { grid-template-columns: repeat(2, 1fr); }
  .pdp__head { grid-template-columns: 1fr; }
  .pdp__related .mega__grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .t-3 { grid-column: span 2; }
  .app__card { grid-template-columns: 1fr; }
  .phone { margin-top: 10px; }
  .foot { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  /* the desktop link row and its mega-menu are replaced by the drawer on mobile */
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__cta .btn-ghost { display: none; }
  .brand__word { display: none; }
  .products, .partners, .contact, .resins { grid-template-columns: 1fr; }
  .catalog__panel.is-active { grid-template-columns: 1fr; }
  .picker { width: 100%; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .t-wide, .t-3 { grid-column: span 1; }
  .t-tall { grid-row: span 1; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cert-logo { width: 30%; min-width: 96px; }
  .cert-doc__card { flex-wrap: wrap; text-align: center; justify-content: center; }
  .cert-doc__text { flex-basis: 100%; align-items: center; }
  .cert-doc__cta { margin-left: 0; }
  .foot { grid-template-columns: 1fr; }
  .legal { flex-direction: column; align-items: flex-start; }
  .consent__card { flex-direction: column; align-items: stretch; text-align: center; gap: 14px; }
  .pdp { padding-top: 104px; }
  .pdp__related .mega__grid { grid-template-columns: 1fr; }
  .consent__actions { flex-direction: row; }

  /* ---- slide-out sidebar (sits outside .nav, so no containing-block bug) ---- */
  .drawer__scrim {
    display: block; position: fixed; inset: 0; z-index: 155; border: 0; padding: 0;
    background: rgba(7, 6, 8, 0.66);
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  body.drawer-open .drawer__scrim { opacity: 1; pointer-events: auto; }
  body.drawer-open { overflow: hidden; }
  .drawer {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 160;
    width: min(330px, 88vw);
    background: #0d0b0f;
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 70px rgba(0, 0, 0, 0.65);
    transform: translateX(102%);
    /* visibility flips after the slide-out so closed-drawer links can't take focus */
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
    overflow-y: auto; overscroll-behavior: contain;
    padding: 16px 16px calc(26px + env(safe-area-inset-bottom));
  }
  body.drawer-open .drawer { transform: none; visibility: visible; transition: transform 0.4s var(--ease), visibility 0s; }
  .drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
  .drawer__brand { display: inline-flex; align-items: center; gap: 10px; }
  .drawer__brand img { width: 34px; height: auto; }
  .drawer__brand .drawer__word { width: auto; height: 13px; }
  .drawer__close {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; cursor: pointer;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--white);
    display: grid; place-items: center;
  }
  .drawer__close svg { width: 19px; height: 19px; }
  .drawer__label {
    font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted-dark); padding: 0 4px 8px;
  }
  .dgroup { border-bottom: 1px solid var(--line); }
  .dgroup__btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    background: none; border: 0; cursor: pointer; color: var(--white);
    font-family: var(--font-head); font-weight: 600; font-size: 15.5px;
    padding: 14px 4px;
  }
  .dgroup__btn svg { width: 17px; height: 17px; color: var(--pink-2); transition: transform 0.3s var(--ease); }
  .dgroup__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
  .dgroup__items {
    display: grid; grid-template-rows: 0fr; visibility: hidden;
    transition: grid-template-rows 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .dgroup__btn[aria-expanded="true"] + .dgroup__items { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.35s var(--ease), visibility 0s; }
  .dgroup__inner { overflow: hidden; min-height: 0; }
  .dgroup__items a {
    display: block; padding: 10px 12px; margin-bottom: 4px; border-radius: 11px;
    background: rgba(255, 255, 255, 0.04);
    font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--white);
  }
  .dgroup__items a:first-child { margin-top: 2px; }
  .dgroup__items a span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11.5px; color: var(--muted-dark); }
  .dgroup__items a:active { background: rgba(230, 0, 126, 0.16); }
  .drawer__links { display: flex; flex-direction: column; margin-top: 6px; }
  .drawer__links a {
    padding: 14px 4px; border-bottom: 1px solid var(--line);
    font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--white);
  }
  .drawer__cta { margin-top: 22px; justify-content: center; }

  .consent__actions .btn { flex: 1; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .hero h1 .line > span { transform: none; }
  .reveal, .reveal-up { opacity: 1; transform: none; }
  .hero__canvas { display: none; }
  .hero__brand { display: none; }
}
