/* ==========================================================================
   DANEXO v3 — бяла визия със снимки и истинските лога
   Danexo синьо #005E9E · червено #ED1C24 · италик и наклонени форми като в логото
   ========================================================================== */

:root {
  --blue: #005e9e;
  --blue-2: #0a74c2;
  --blue-d: #00467a;
  --navy: #062a4a;
  --navy-2: #0b3a63;
  --sky: #29a3e6;
  --ice: #e8f2fa;
  --mist: #f3f7fb;
  --photo-bg: #eceff4;
  --red: #ed1c24;
  --red-d: #c3121a;
  --yellow: #ffc629;
  --green: #17b26a;

  --ink: #0b1d2e;
  --text: #33465a;
  --gray: #6c7d8e;
  --line: #dbe5ee;
  --white: #fff;

  --f-display: "Exo 2", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 3.4vw, 56px);
  --max: 1440px;
  --topbar-h: 38px;
  --bar-h: 84px;
  --header-h: calc(var(--topbar-h) + var(--bar-h));
  --slant: 14px;
  --cut: 26px;
  --shadow: 0 22px 48px -24px rgba(6, 42, 74, .45);
  --shadow-sm: 0 10px 26px -16px rgba(6, 42, 74, .4);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  --stripes: repeating-linear-gradient(-58deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 26px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* locl off: with lang="bg" Manrope switches to Bulgarian letter shapes, where т/п/и look like Latin m/n/u („Стоп“ reads as "Cmon") */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; font-feature-settings: "locl" 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ol, ul, figure, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 10vw, 150px); position: relative; }
.mono { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.muted { color: var(--gray); }
.txt-blue { color: var(--blue); }
.txt-red { color: var(--red); }
.txt-yellow { color: var(--yellow); }
.accent { color: var(--red); }

/* ---------- Type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--red);
}
.kicker::before { content: ""; width: 34px; height: 6px; background: currentColor; transform: skewX(-30deg); }
.kicker--light { color: var(--yellow); }
.h2, .sec-title {
  font-family: var(--f-display); font-style: italic; font-weight: 800;
  font-size: clamp(32px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.02em; color: var(--navy);
  text-wrap: balance;
}
.h2--light { color: #fff; }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--text); max-width: 56ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--red); }
.eyebrow__dot { width: 26px; height: 5px; background: currentColor; transform: skewX(-30deg); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head > div { max-width: 820px; }
.sec-note { color: var(--gray); max-width: 34ch; font-size: 15px; }

/* ---------- Buttons: slanted like the logo ---------- */
.arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; transition: transform .5s var(--ease); }
.btn {
  --bg: var(--blue); --fg: #fff; --hover: var(--navy);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 34px; border: 0;
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--fg); background: var(--bg); white-space: nowrap; isolation: isolate; overflow: hidden;
  clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  transition: color .35s, transform .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover); transform: translateX(-101%) skewX(-20deg); transform-origin: 0 50%; transition: transform .55s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0) skewX(0); }
.btn:hover .arr { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn__txt { position: relative; }
.btn--red, .btn--primary { --bg: var(--red); --hover: var(--red-d); }
.btn--blue { --bg: var(--blue); --hover: var(--navy); }
.btn--white { --bg: #fff; --fg: var(--blue); --hover: var(--yellow); }
.btn--white:hover { color: var(--navy); }
.btn--line, .btn--ghost { --bg: var(--ice); --fg: var(--navy); --hover: var(--navy); }
.btn--line:hover, .btn--ghost:hover { color: #fff; }
.btn--light { --bg: rgba(255, 255, 255, .16); --fg: #fff; --hover: #fff; }
.btn--light:hover { color: var(--navy); }
.presults .btn--light, .map .btn--light, .iform .btn--light, .finder .btn--light { --bg: var(--ice); --fg: var(--navy); --hover: var(--navy); }
.presults .btn--light:hover, .map .btn--light:hover, .iform .btn--light:hover, .finder .btn--light:hover { color: #fff; }
.btn--sm { height: 46px; padding: 0 26px; font-size: 13px; --slant: 11px; }
.btn--lg { height: 64px; padding: 0 40px; font-size: 16px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--blue); }
.link-arrow:hover .arr { transform: translateX(5px); }
.ulink { color: var(--blue); font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--ease); display: inline-flex; align-items: center; gap: 6px; }
.ulink:hover { background-size: 100% 2px; }
.ulink .arr { width: 12px; height: 12px; }

.tag { display: inline-flex; }
.tag span {
  display: inline-block; padding: 10px 20px; background: var(--yellow); color: var(--navy);
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

/* ---------- Curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.curtain__panel {
  position: absolute; inset: -10% -20%; display: grid; place-items: center;
  background: linear-gradient(90deg, var(--red) 0 18px, var(--blue) 18px 30px, #fff 30px);
  transform: translateX(110%) skewX(-14deg);
}
.curtain__logo { width: min(340px, 50vw); height: auto; transform: skewX(14deg); position: relative; }
.curtain-in .curtain__panel { transform: translateX(0) skewX(-14deg); animation: curtain-out .85s var(--ease-in-out) .12s forwards; }
@keyframes curtain-out { to { transform: translateX(-120%) skewX(-14deg); } }
.curtain.is-covering .curtain__panel { animation: curtain-cover .55s var(--ease-in-out) forwards; }
@keyframes curtain-cover { from { transform: translateX(120%) skewX(-14deg); } to { transform: translateX(0) skewX(-14deg); } }

/* ---------- Header: white, logo in its real colours ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: #fff; color: var(--navy); box-shadow: 0 1px 0 var(--line);
  transition: transform .6s var(--ease), box-shadow .4s;
}
.site-header.is-scrolled { transform: translateY(calc(-1 * var(--topbar-h))); box-shadow: 0 10px 30px -14px rgba(6, 42, 74, .3); }
.site-header.is-hidden { transform: translateY(-100%); }
.topbar { position: relative; height: var(--topbar-h); background: var(--navy); color: rgba(255, 255, 255, .86); font-size: 13px; font-weight: 600; overflow: hidden; }
.topbar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: clamp(16px, 3.4vw, 56px); background: var(--red); clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
.topbar__inner { height: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar__claim { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__links { display: flex; gap: clamp(14px, 2vw, 28px); }
.topbar__links a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: color .25s; }
.topbar__links a:hover { color: var(--yellow); }
.topbar .ico { width: 15px; height: 15px; color: var(--yellow); stroke-width: 3.2; }
.topbar__phones { display: flex; align-items: center; gap: 8px; }
.topbar__phones a + a::before { content: "·"; margin-right: 8px; color: rgba(255, 255, 255, .45); }
@media (max-width: 1260px) { .topbar__claim { display: none; } .topbar__inner { justify-content: center; } }
@media (max-width: 700px) { .topbar { display: none; } :root { --topbar-h: 0px; } }
.site-header__inner { height: var(--bar-h); max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; position: relative; z-index: 2; flex: none; }
.logo__svg { width: clamp(160px, 14vw, 218px); height: auto; }

.nav ul { display: flex; gap: clamp(2px, .6vw, 10px); }
.nav__link {
  position: relative; display: inline-block; padding: 10px 14px;
  font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 16px; letter-spacing: .01em; color: var(--navy);
  transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 4px; background: var(--red);
  transform: scaleX(0) skewX(-30deg); transform-origin: 0 50%; transition: transform .45s var(--ease);
}
.nav__link:hover { color: var(--blue); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1) skewX(-30deg); }

.site-header__actions { display: flex; align-items: center; gap: 18px; position: relative; z-index: 2; }
.hdr-phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 17px; line-height: 1.1; color: var(--navy); }
.hdr-phone small { display: block; font-family: var(--f-body); font-style: normal; font-weight: 600; font-size: 11px; color: var(--gray); letter-spacing: .04em; text-transform: uppercase; }
.hdr-phone__ico { display: grid; place-items: center; width: 40px; height: 40px; background: var(--red); color: #fff; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.hdr-phone__ico .ico { width: 20px; height: 20px; }
.ico { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.burger { display: none; width: 48px; height: 44px; position: relative; background: var(--red); clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%); }
.burger span { position: absolute; left: 15px; right: 15px; height: 2.5px; background: #fff; transition: transform .5s var(--ease), opacity .3s, top .5s var(--ease); }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1240px) { .nav, .hdr-phone span:last-child { display: none; } .burger { display: block; } }
@media (max-width: 560px) { .site-header__actions .btn, .hdr-phone { display: none; } :root { --bar-h: 70px; } }

.menu { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.menu.is-open { visibility: visible; }
.menu__bg { position: absolute; inset: 0; background: linear-gradient(130deg, var(--blue-d), var(--blue) 60%, var(--blue-2)); clip-path: inset(0 0 100% 0); }
.menu__bg::after { content: ""; position: absolute; inset: 0; background: var(--stripes); }
.menu__inner { position: relative; height: 100%; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.menu__list li { overflow: hidden; }
.menu__list a { display: block; padding: 8px 0; }
.menu__label { display: inline-block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(34px, 9vw, 64px); line-height: 1.05; }
.menu__list a:hover .menu__label { color: var(--yellow); }
.menu__foot { display: grid; gap: 20px; }
.menu__contacts { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 600; }

/* ---------- Photos ---------- */
/* Product shots are on a light studio backdrop: multiply lets them sit on any light panel without a visible box */
.photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo--ph { display: grid; place-items: center; background: var(--photo-bg); color: var(--blue); }
.photo--ph svg { width: 64%; height: 64%; opacity: .5; }

/* ---------- Hero: white, photo of the parts ---------- */
/* Desktop: tag, rating, title, search and brand logos fit in the first screen; the photo fills the right side */
.hero {
  position: relative; overflow: hidden; background: #fff; color: var(--navy);
  min-height: max(100svh, 620px); display: flex; align-items: center;
  padding: calc(var(--header-h) + clamp(12px, 3vh, 40px)) 0 clamp(28px, 5vh, 64px);
  /* text column width; the photo starts right after it */
  --hero-text-w: clamp(500px, 34vw, 560px);
  --hero-edge: calc(max((100% - var(--max)) / 2, 0px) + var(--gutter) + var(--hero-text-w) + 6px);
}
@media (min-width: 1000px) and (max-width: 1279px) { .hero { --hero-text-w: min(470px, 44vw); } }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__panel, .hero__stripe, .hero__media { position: absolute; top: 0; bottom: 0; right: 0; left: var(--hero-edge); }
.hero__panel { background: linear-gradient(165deg, var(--ice) 0%, #f5f9fc 55%, #fff 100%); clip-path: polygon(110px 0, 100% 0, 100% 100%, 0 100%); }
.hero__stripe { z-index: 2; }
.hero__stripe--red { background: var(--red); clip-path: polygon(110px 0, 121px 0, 11px 100%, 0 100%); }
.hero__stripe--blue { background: var(--blue); clip-path: polygon(131px 0, 146px 0, 36px 100%, 21px 100%); }
.hero__content { display: grid; justify-items: start; gap: clamp(10px, 2vh, 22px); }
.hero__content > :not(.hero__media) { position: relative; z-index: 2; max-width: var(--hero-text-w); }
.hero__media { z-index: 1; pointer-events: none; clip-path: polygon(146px 0, 100% 0, 100% 100%, 36px 100%); }
.hero__img { height: calc(100% - var(--header-h)); margin-top: var(--header-h); object-fit: cover; object-position: right center; mix-blend-mode: multiply; }
/* the clip lies exactly over the photo and fades in once it is playing */
.hero__video { position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__media > img.hero__img { transition: opacity 1.2s var(--ease); }
.hero__media:has(.hero__video.is-playing) > img.hero__img { opacity: 0; }
.hero__media .photo--ph { height: calc(100% - var(--header-h)); margin-top: var(--header-h); background: transparent; }
.hero__media .photo--ph svg { width: 62%; height: 80%; opacity: .45; margin-left: 10%; }
.hero__top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.hero__content > .hero__top { max-width: calc(var(--hero-text-w) + 90px); }
.hero__title {
  font-family: var(--f-display); font-style: italic; font-weight: 900; color: var(--navy);
  font-size: clamp(38px, min(5.6vw, 7.6vh), 80px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase;
}
.hero__title .line { display: block; padding: .02em 0; }
.hero__title mark {
  display: inline-block; color: #fff; background: var(--red); padding: .02em .32em .04em .22em;
  clip-path: polygon(.18em 0, 100% 0, calc(100% - .18em) 100%, 0 100%);
}
.hero__lead { font-size: clamp(15px, min(1.25vw, 2.1vh), 19px); line-height: 1.55; color: var(--text); }
/* Finder: part search + brands on a navy card, the first thing the eye lands on in the white hero */
.hero__finder {
  position: relative; display: grid; gap: clamp(12px, 2vh, 20px); width: 100%;
  padding: clamp(20px, 2.8vh, 28px) clamp(18px, 1.8vw, 26px) clamp(18px, 2.6vh, 26px);
  background: radial-gradient(120% 140% at 100% 0%, var(--navy-2) 0%, var(--navy) 62%); color: #fff;
  box-shadow: 0 34px 60px -30px rgba(6, 42, 74, .8);
}
.hero__finder::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 62%, #fff 62% 63%, var(--blue-2) 63%); }
.hero__search { width: 100%; }
.hero__finder .psearch__label { font-size: 14px; }
/* green "live" dot: prices and stock come straight from the warehouse */
.hero__finder .psearch__dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #35d07f; animation: live-dot 1.8s ease-out infinite; }
@keyframes live-dot { from { box-shadow: 0 0 0 0 rgba(53, 208, 127, .7); } to { box-shadow: 0 0 0 10px rgba(53, 208, 127, 0); } }
.reduced .hero__finder .psearch__dot { animation: none; }
.hero__finder .psearch__row { height: clamp(52px, 7vh, 64px); box-shadow: none; transition: box-shadow .25s; }
.hero__finder .psearch__row:focus-within { box-shadow: inset 0 -4px 0 var(--yellow); }
.hero__finder .psearch__btn { font-size: 17px; }
@media (min-width: 1000px) and (max-height: 820px) { .hero .psearch__hint { display: none; } }
.hero__brands { display: grid; gap: 10px; width: 100%; }
.hero__brands-label { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); }
.hero__brands-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.hero__brand {
  position: relative; display: grid; place-items: center; height: clamp(54px, 7vh, 70px); padding: 8px 9px; overflow: hidden;
  background: #fff; transition: transform .4s var(--ease), box-shadow .4s;
}
.hero__brand::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.hero__brand:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -14px rgba(0, 0, 0, .6); }
.hero__brand:hover::after { transform: scaleX(1); }
.hero__brand .brand-logo { width: 100%; height: clamp(24px, 3.6vh, 34px); object-fit: contain; }
@media (max-width: 999px) {
  .hero { display: block; min-height: 0; padding: calc(var(--header-h) + 22px) 0 44px; }
  .hero__panel, .hero__stripe { display: none; }
  .hero__content { gap: 18px; }
  .hero__content > :not(.hero__media) { max-width: none; }
  .hero__media { position: relative; top: auto; bottom: auto; right: auto; left: auto; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); aspect-ratio: 4 / 3; clip-path: none; }
  .hero__img, .hero__media .photo--ph { height: 100%; margin-top: 0; }
  .hero__media { background: linear-gradient(170deg, var(--ice), #fff 80%); }
  .hero__media::before { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 6px; background: linear-gradient(90deg, var(--red) 0 30%, #fff 30% 31%, var(--blue) 31%); }
  .hero__brands-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__finder { width: auto; margin-inline: calc(-1 * var(--gutter)); padding: 26px var(--gutter) 24px; }
}

/* Google rating badge */
.grating {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 22px 6px 16px; background: var(--mist); color: var(--navy);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: transform .4s var(--ease), background .3s;
}
.grating:hover { transform: translateY(-2px); background: var(--ice); }
.grating__g { width: 22px; height: 22px; flex: none; }
.grating__score { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 24px; line-height: 1; }
.grating__meta { display: grid; line-height: 1.1; }
.grating__stars {
  font-size: 15px; letter-spacing: 1px; color: transparent;
  background: linear-gradient(90deg, #fbbc05 var(--pct), #d3dae2 var(--pct)); -webkit-background-clip: text; background-clip: text;
}
.grating__count { font-size: 12px; font-weight: 700; color: var(--gray); }

/* Brand and maker logos: real colours */
.brand-logo, .maker-logo { display: block; max-width: 100%; object-fit: contain; }

/* ---------- Part search ---------- */
.psearch { display: grid; gap: 10px; }
.psearch__label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-style: italic; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; color: var(--yellow); }
.psearch__dot { display: none; }
.psearch__row {
  display: flex; align-items: stretch; height: 64px; background: #fff; color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.psearch__prefix { display: grid; place-items: center; width: 58px; color: var(--blue); font-weight: 800; font-size: 18px; }
.psearch__input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0 8px; font-size: 18px; font-weight: 700; letter-spacing: .03em; color: var(--ink); }
.psearch__input::placeholder { color: #9aa8b6; font-weight: 500; }
.psearch__btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 34px 0 30px; background: var(--red); color: #fff;
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .04em;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); transition: background .3s;
}
.psearch__btn:hover { background: var(--red-d); }
.psearch__btn:hover .arr { transform: translateX(4px); }
.psearch__hint { font-size: 13px; color: rgba(255, 255, 255, .78); text-transform: none; letter-spacing: 0; font-weight: 500; }
.psearch__hint a { color: #fff; font-weight: 700; }
@media (max-width: 520px) { .psearch__prefix { width: 40px; } .psearch__btn span { display: none; } .psearch__btn { padding: 0 22px; } }

/* ---------- Ribbons ---------- */
.ribbons { position: relative; height: clamp(200px, 19vw, 280px); overflow: hidden; background: #fff; margin-top: -1px; }
.ribbon { position: absolute; left: -5%; right: -5%; padding: clamp(8px, .9vw, 12px) 0; overflow: hidden; border-block: clamp(6px, .6vw, 9px) solid; }
/* Light bands with red / navy edges: the logos keep their real colours, no boxes behind them */
.ribbon--red { top: 9%; background: #fff; border-color: var(--red); transform: rotate(-2.4deg); z-index: 2; box-shadow: 0 16px 34px -20px rgba(6, 42, 74, .5); }
.ribbon--blue { top: 53%; background: var(--mist); border-color: var(--navy); transform: rotate(2deg); }
.ribbon__track { display: flex; width: max-content; will-change: transform; }
.ribbon__group { display: flex; align-items: center; flex: none; gap: clamp(30px, 3.6vw, 64px); padding-right: clamp(30px, 3.6vw, 64px); }
.ribbon__logo { display: grid; place-items: center; flex: none; width: clamp(120px, 10.5vw, 180px); height: clamp(46px, 4.2vw, 64px); transition: transform .4s var(--ease); }
.ribbon__logo:hover { transform: scale(1.08); }
/* the track is a fixed-size cell, otherwise a huge SVG viewBox (Chevrolet) sets the image height */
.ribbon__logo { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.ribbon__logo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }

/* ---------- About + stats ---------- */
.about { background: #fff; }
.about__grid { display: grid; gap: clamp(40px, 6vw, 90px); align-items: center; }
@media (min-width: 1000px) { .about__grid { grid-template-columns: 1.05fr 1fr; } }
.about__text { display: grid; gap: 22px; justify-items: start; }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; }
.stats--wide { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats--wide { grid-template-columns: repeat(4, 1fr); } }
.stat {
  position: relative; display: grid; align-content: space-between; gap: 14px; min-height: 160px; padding: 22px 22px 20px;
  color: #fff; background: var(--blue); overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: transform .5s var(--ease);
}
.stat::after { content: ""; position: absolute; inset: 0; background: var(--stripes); opacity: .6; pointer-events: none; }
.stat:nth-child(2) { background: var(--red); }
.stat:nth-child(3) { background: var(--navy); }
.stat:nth-child(4) { background: var(--yellow); color: var(--navy); }
.stat:nth-child(4)::after { background: repeating-linear-gradient(-58deg, rgba(6, 42, 74, .06) 0 2px, transparent 2px 26px); }
.stat:hover { transform: translateY(-6px) rotate(-1deg); }
.stat__num { position: relative; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(44px, 4.4vw, 70px); line-height: .9; font-variant-numeric: tabular-nums; }
.stat__label { position: relative; font-weight: 600; font-size: 14px; line-height: 1.4; max-width: 26ch; }
.about__media { position: relative; min-height: clamp(380px, 46vw, 600px); }
.about__img { position: absolute; }
.about__img--a { left: 0; top: 0; width: 84%; height: 74%; clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%); }
.about__img--b { right: 0; bottom: 0; width: 54%; height: 46%; outline: 8px solid #fff; box-shadow: var(--shadow); }
.about__badge {
  position: absolute; left: 4%; bottom: 8%; display: grid; padding: 14px 26px 16px 24px; background: var(--red); color: #fff;
  font-weight: 700; font-size: 13px; line-height: 1.2; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.about__badge b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 30px; line-height: 1.05; }

/* ---------- Catalog: photo cards ---------- */
.cats { background: #fff; padding-top: clamp(50px, 6vw, 90px); }
.cat-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pcat--big { grid-column: span 2; } }
@media (min-width: 860px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pcat--big { grid-row: span 2; } .pcat--cta { grid-column: span 2; } }
@media (min-width: 1180px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pcat--cta { grid-column: span 3; } }
.pcat {
  position: relative; display: flex; flex-direction: column; background: #fff; color: var(--navy);
  border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s, border-color .3s;
}
.pcat::before { content: ""; position: absolute; left: 0; top: 0; z-index: 2; width: 100%; height: 5px; background: linear-gradient(90deg, var(--red) 0 32%, var(--blue) 32%); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.pcat:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pcat:hover::before { transform: scaleX(1); }
.pcat__media { position: relative; display: block; flex: 1 0 auto; aspect-ratio: 4 / 3; background: var(--photo-bg); overflow: hidden; }
.pcat--big .pcat__media { aspect-ratio: auto; flex: 1; min-height: 280px; }
.pcat__img { transition: transform 1.1s var(--ease); }
.pcat:hover .pcat__img { transform: scale(1.06); }
.pcat__body { display: grid; gap: 4px; padding: 16px 70px 18px 20px; }
.pcat__title { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: clamp(19px, 1.45vw, 22px); line-height: 1.15; }
.pcat--big .pcat__body { padding: 22px 90px 26px 26px; gap: 8px; }
.pcat--big .pcat__title { font-size: clamp(28px, 2.6vw, 40px); }
.pcat__lead { color: var(--text); font-size: 15px; max-width: 48ch; }
.pcat__meta { font-size: 13px; font-weight: 700; color: var(--gray); }
.pcat__go { position: absolute; right: 16px; bottom: 18px; display: grid; place-items: center; width: 44px; height: 44px; background: var(--red); color: #fff; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background .3s; }
.pcat--big .pcat__go { width: 54px; height: 54px; right: 24px; bottom: 26px; }
.pcat:hover .pcat__go { background: var(--blue); }
.pcat:hover .pcat__go .arr { transform: translateX(3px); }
.pcat--cta { justify-content: center; min-height: 150px; background: var(--blue); color: #fff; border-color: var(--blue); }
.pcat--cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--stripes); }
.pcat--cta .pcat__body { padding: 26px 90px 26px 28px; }
.pcat--cta .pcat__title { font-size: clamp(24px, 2.3vw, 34px); }
.pcat--cta .pcat__meta { color: rgba(255, 255, 255, .82); }
.pcat--cta .pcat__go { background: #fff; color: var(--red); width: 54px; height: 54px; top: 50%; bottom: auto; right: 26px; margin-top: -27px; }
.pcat--cta:hover .pcat__go { background: var(--yellow); color: var(--navy); }

/* SVG line drawing */
svg.draw .dim { opacity: .55; }
svg.draw .part *, svg.draw .dim * { vector-effect: non-scaling-stroke; }
.js svg.draw:not(.is-drawn) .part *:not(g), .js svg.draw:not(.is-drawn) .dim *:not(g) { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js svg.draw.is-drawing .part *:not(g) { stroke-dasharray: 1; animation: draw 2s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 16ms); }
.js svg.draw.is-drawing .dim *:not(g) { animation: draw-dim 1.2s var(--ease) forwards; animation-delay: calc(.5s + var(--i, 0) * 40ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes draw-dim { from { stroke-dasharray: 1; stroke-dashoffset: 1; } 99% { stroke-dasharray: 1; stroke-dashoffset: 0; } to { stroke-dasharray: none; } }
svg.draw .dim [stroke-dasharray] { animation: none !important; stroke-dashoffset: 0 !important; }

/* ---------- Feature: brakes (dark, big photo) ---------- */
.feature { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-block: clamp(90px, 11vw, 170px); }
.feature__media { position: absolute; inset: 0; }
.feature__img { object-position: 72% 50%; }
.feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 42, 74, .97) 0%, rgba(6, 42, 74, .86) 32%, rgba(6, 42, 74, 0) 60%); pointer-events: none; }
.feature__media .photo--ph { background: radial-gradient(60% 80% at 75% 50%, #0d4b80, var(--navy)); color: #fff; place-items: center end; padding-right: 6vw; }
.feature__media .photo--ph svg { width: min(44vw, 620px); height: auto; opacity: .35; }
.feature__grid { position: relative; z-index: 1; }
.feature__text { max-width: 620px; display: grid; gap: 22px; justify-items: start; }
.feature__logo { height: 30px; width: auto; }
.feature__lead { color: rgba(255, 255, 255, .88); font-size: 17px; max-width: 52ch; }
.feature__list { display: grid; width: 100%; }
.feature__list li { position: relative; display: grid; gap: 2px; padding: 14px 0 14px 30px; border-top: 1px solid rgba(255, 255, 255, .14); }
.feature__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.feature__list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 6px; background: var(--red); transform: skewX(-30deg); }
.feature__list b { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 19px; }
.feature__list span { color: rgba(255, 255, 255, .74); font-size: 15px; }
.feature__certs { display: flex; flex-wrap: wrap; gap: 8px; }
.feature__certs span { padding: 7px 16px; background: rgba(255, 255, 255, .1); font-weight: 800; font-size: 13px; letter-spacing: .03em; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.feature__certs span:first-child { background: var(--yellow); color: var(--navy); }
.feature__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
@media (max-width: 899px) {
  .feature { padding-top: 0; }
  .feature__media { position: relative; height: min(64vw, 460px); margin-bottom: 34px; }
  .feature__media::after { background: linear-gradient(0deg, var(--navy) 0%, rgba(6, 42, 74, 0) 45%); }
  .feature__img { object-position: 85% 50%; }
  .feature__media .photo--ph { place-items: center; padding: 0; }
  .feature__media .photo--ph svg { width: 70%; }
}

/* ---------- Car brands ---------- */
.brands { background: #fff; }
.brand-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.brand-card {
  position: relative; display: grid; gap: 10px; align-content: start; padding: 30px 24px 24px; min-height: 250px;
  background: #fff; color: var(--navy); border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s, border-color .3s;
}
.brand-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--red); transform: scaleX(.18); transform-origin: 0 50%; transition: transform .55s var(--ease); }
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.brand-card:hover::after { transform: scaleX(1); }
.brand-card__logo { display: grid; place-items: center start; height: 96px; margin-bottom: 6px; }
.brand-card__logo .brand-logo { width: 100%; max-width: 220px; height: 66px; object-position: left center; transition: transform .6s var(--ease); }
.brand-card:hover .brand-logo { transform: scale(1.06); }
.brand-card__name { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 24px; line-height: 1.1; }
.brand-card__name small { display: inline-block; margin-left: 6px; padding: 2px 10px; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 800; vertical-align: middle; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.brand-card__note { justify-self: start; padding: 2px 10px; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 800; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }
.brand-card__models { font-size: 14px; color: var(--gray); }
.brand-card__go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--red); transition: color .3s; }
.brand-card:hover .brand-card__go { color: var(--blue); }
.brand-card:hover .brand-card__go .arr { transform: translateX(4px); }

/* ---------- Parts makers ---------- */
.makers { background: var(--mist); }
.maker-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (max-width: 560px) { .maker-grid { gap: 8px; } .maker { grid-template-rows: 60px auto; padding: 18px 12px 14px; gap: 10px; } .maker__logo .maker-logo { height: 44px; } .maker__prod { font-size: 12.5px; } }
.maker {
  position: relative; display: grid; grid-template-rows: 84px auto; gap: 16px; padding: 26px 22px 20px;
  background: #fff; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s;
}
.maker::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.maker:nth-child(even)::after { background: var(--red); }
.maker:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.maker:hover::after { transform: scaleX(1); }
.maker__logo { display: grid; place-items: center; }
.maker__logo .maker-logo { width: 100%; height: 56px; }
.maker__prod { padding-top: 12px; border-top: 1px solid var(--line); text-align: center; color: var(--navy); font-weight: 700; font-size: 14px; line-height: 1.35; }

/* ---------- Process (horizontal) ---------- */
.process { position: relative; overflow: hidden; background: var(--mist); color: var(--navy); }
.process__pin { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--bar-h) + clamp(12px, 2.4vh, 30px)); }
.process__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.process__route { display: flex; align-items: center; gap: 16px; font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.process__line { position: relative; width: clamp(140px, 22vw, 340px); height: 6px; background: rgba(6, 42, 74, .12); transform: skewX(-30deg); }
.process__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), var(--blue)); transform-origin: 0 50%; transform: scaleX(0); }
.process__line b { position: absolute; top: -6px; left: 0; width: 18px; height: 18px; background: var(--navy); transform: translateX(-50%) skewX(30deg) rotate(45deg); }
.process__track { display: flex; gap: 18px; padding: clamp(22px, 4vh, 56px) var(--gutter); width: max-content; will-change: transform; align-items: stretch; }
.pstep {
  --c: var(--blue); width: clamp(290px, 30vw, 440px); flex: none; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: min(56vh, 500px); padding: 34px 32px; background: var(--c); color: #fff; position: relative; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.pstep::after { content: ""; position: absolute; inset: 0; background: var(--stripes); pointer-events: none; }
.pstep:nth-child(2) { --c: var(--red); }
.pstep:nth-child(3) { --c: var(--navy); }
.pstep:nth-child(4) { --c: var(--yellow); color: var(--navy); }
/* Photo cards: the photo fills the whole card, the card colour sits only under the text */
.pstep--photo { min-height: min(60vh, 540px); padding-top: 26px; }
.pstep--photo::after { display: none; }
.pstep__photo { position: absolute; inset: 0; z-index: 0; display: block; overflow: hidden; }
.pstep__photo .photo { transition: transform 1.2s var(--ease); }
.pstep--photo:hover .pstep__photo .photo { transform: scale(1.05); }
.pstep__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--c) 0%, var(--c) 30%, color-mix(in srgb, var(--c) 82%, transparent) 42%, color-mix(in srgb, var(--c) 30%, transparent) 56%, transparent 68%);
}
.pstep--photo .pstep__ico { background: var(--c); width: 72px; height: 72px; box-shadow: none; }
.pstep--photo .pstep__ico .ico { width: 42px; height: 42px; }
.pstep--photo .pstep__body { gap: 10px; }
.pstep--photo .pstep__body h3 { font-size: clamp(26px, 2.3vw, 34px); }
.pstep__ico { position: relative; z-index: 1; display: grid; place-items: center; width: 92px; height: 92px; background: rgba(255, 255, 255, .16); clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.pstep:nth-child(4) .pstep__ico { background: rgba(6, 42, 74, .1); }
.pstep--photo:nth-child(4) .pstep__ico { background: var(--c); }
.pstep__ico .ico { width: 54px; height: 54px; stroke-width: 2.2; }
.pstep__body { position: relative; z-index: 1; display: grid; gap: 14px; }
.pstep__body h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(28px, 2.6vw, 38px); line-height: 1; }
.pstep__body p { font-size: 16px; opacity: .92; max-width: 34ch; }
.pstep__tag { justify-self: start; padding: 6px 16px; background: #fff; color: var(--c); font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.pstep:nth-child(4) .pstep__tag { background: var(--navy); color: var(--yellow); }
@media (max-width: 800px) {
  .process__pin { min-height: 0; padding-top: clamp(70px, 10vw, 110px); padding-bottom: 56px; }
  .process__track { width: auto; flex-direction: column; padding-inline: var(--gutter); }
  .pstep { width: auto; min-height: 0; }
  .pstep--photo { min-height: 460px; }
  .process__route { display: none; }
}

/* ---------- Inquiry ---------- */
.inquiry { color: #fff; background: linear-gradient(125deg, #003d6b, var(--blue) 55%, var(--blue-2)); overflow: hidden; }
.inquiry::before { content: ""; position: absolute; inset: 0; background: var(--stripes); pointer-events: none; }
.inquiry__grid { position: relative; display: grid; gap: clamp(40px, 5vw, 80px); }
@media (min-width: 1100px) { .inquiry__grid { grid-template-columns: .9fr 1.1fr; align-items: start; } .inquiry__head { position: sticky; top: calc(var(--bar-h) + 30px); } }
.inquiry__head { display: grid; gap: 22px; align-content: start; }
.inquiry__title { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; color: #fff; }
.inquiry__lead { color: rgba(255, 255, 255, .88); font-size: 17px; max-width: 46ch; }
.inquiry__direct { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px 20px; margin-top: 6px; }
.inquiry__phone { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; white-space: nowrap; }
.inquiry__phone small { display: block; font-family: var(--f-body); font-style: normal; font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); }
.inquiry__phone-ico { display: grid; place-items: center; width: 54px; height: 54px; background: var(--red); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: transform .4s var(--ease); }
.inquiry__phone-ico .ico { width: 26px; height: 26px; }
.inquiry__phone:hover .inquiry__phone-ico { transform: rotate(-8deg) scale(1.06); }

/* ---------- Form ---------- */
.iform {
  position: relative; background: #fff; color: var(--text); padding: clamp(24px, 3.4vw, 48px); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .5);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
}
.iform::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, var(--red) 0 30%, var(--blue) 30%); }
.iform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.iform__body { display: grid; }
.iform__body[hidden] { display: none; }
.iform__head { display: grid; gap: 6px; padding-bottom: 24px; border-bottom: 2px solid var(--mist); }
.iform__title { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; color: var(--navy); }
.iform__intro { color: var(--gray); font-size: 15px; }
.iform__step { border: 0; margin: 0; padding: 26px 0; display: grid; gap: 20px; min-width: 0; }
.iform__step + .iform__step { border-top: 2px solid var(--mist); }
.iform__step--send { padding-bottom: 0; gap: 16px; }
.iform__legend { display: flex; align-items: center; gap: 12px; padding: 0; font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 19px; color: var(--navy); float: left; width: 100%; }
.iform__legend + * { clear: both; }
.iform__num { display: grid; place-items: center; width: 34px; height: 34px; flex: none; background: var(--red); color: #fff; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 16px; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.iform__group { display: grid; gap: 10px; }
.iform__grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .iform__grid { grid-template-columns: 1fr 1fr; gap: 20px; } .field--wide { grid-column: 1 / -1; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px;
  background: var(--mist); color: var(--navy); font-weight: 700; font-size: 14px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background .25s, color .25s;
}
.chip:hover span { background: var(--ice); }
.chip input:checked + span, .chip.is-on span { background: var(--blue); color: #fff; }
.chip input:checked + span::before { content: "✓"; }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
button.chip { padding: 0; }

.field { display: grid; gap: 8px; align-content: start; }
.field__label { color: var(--navy); font-size: 14px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.field__req, .field__opt { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.field__req { color: var(--red); }
.field__opt { color: var(--gray); }
.field__input {
  width: 100%; height: 54px; padding: 0 16px; border: 2px solid var(--line); outline: 0; border-radius: 0;
  background: var(--mist); font-size: 16px; color: var(--ink); resize: vertical; transition: border-color .25s, background .25s;
}
textarea.field__input { height: auto; min-height: 104px; padding: 14px 16px; line-height: 1.5; }
.field__input::placeholder { color: #98a6b4; opacity: 1; }
.field__input:hover { border-color: #b9c8d6; }
.field__input:focus { border-color: var(--blue); background: #fff; }
.field__hint { color: var(--gray); font-size: 13px; }
.field__error { display: none; color: var(--red); font-size: 13px; font-weight: 600; }
.field.is-invalid .field__input { border-color: var(--red); background: #fff5f5; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .field__hint { display: none; }
select.field__input { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }

.check { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; position: relative; font-size: 14px; color: var(--text); cursor: pointer; padding: 14px 16px; background: var(--mist); }
.check input { position: absolute; opacity: 0; width: 26px; height: 26px; margin: 0; }
.check__box { width: 26px; height: 26px; border: 2px solid #9fb1c2; background: #fff; position: relative; transition: background .25s, border-color .25s; }
.check__box::after { content: ""; position: absolute; left: 7px; top: 2px; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.check:hover .check__box { border-color: var(--blue); }
.check input:checked + .check__box { background: var(--blue); border-color: var(--blue); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 3px solid var(--yellow); outline-offset: 2px; }
.check.is-invalid { box-shadow: inset 0 0 0 2px var(--red); background: #fff5f5; }
.check.is-invalid .check__box { border-color: var(--red); }

.iform__submit { width: 100%; height: 64px; font-size: 17px; }
.iform__note { color: var(--gray); font-size: 13.5px; text-align: center; }
.iform__status:empty { display: none; }
.iform__status { padding: 14px 16px; font-size: 14px; font-weight: 600; background: var(--mist); }
.iform__status.is-err { background: #fff0f0; color: var(--red-d); box-shadow: inset 4px 0 0 var(--red); }
.iform.is-sending .iform__submit { pointer-events: none; opacity: .7; }
.iform.is-sending .iform__submit .arr { animation: send-pulse .9s var(--ease-in-out) infinite; }
@keyframes send-pulse { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.iform__done { display: grid; justify-items: center; text-align: center; gap: 16px; padding: clamp(36px, 6vw, 72px) 0; outline: 0; }
.iform__done[hidden] { display: none; }
.iform__done-icon { display: grid; place-items: center; width: 84px; height: 84px; background: var(--green); clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.iform__done-icon svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.iform__done-msg { color: var(--text); max-width: 40ch; margin-bottom: 8px; }

.inquiry__photo { margin-top: 10px; aspect-ratio: 16 / 9; overflow: hidden; clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%); }
@media (max-width: 1099px) { .inquiry__photo { display: none; } }

/* ---------- Footer: light, logos in colour ---------- */
.footer { position: relative; background: #fff; color: var(--text); overflow: hidden; border-top: 1px solid var(--line); }
.footer__swoosh { position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, var(--red) 0 22%, var(--yellow) 22% 26%, var(--blue) 26%); }
.footer__brands { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; padding-top: 50px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__brands a { display: grid; place-items: center; height: 76px; padding: 12px 18px; background: var(--mist); transition: background .3s, transform .4s var(--ease); }
.footer__brands a:hover { background: var(--ice); transform: translateY(-3px); }
.footer__brands .brand-logo { width: 100%; max-width: 150px; height: 36px; }
.footer__top { position: relative; display: grid; gap: 54px; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 1000px) { .footer__top { grid-template-columns: 1fr 1.4fr; } }
.footer__lead { display: grid; gap: 24px; justify-items: start; align-content: start; }
.footer__svg { width: min(360px, 80vw); height: auto; }
.footer__claim { max-width: 40ch; font-size: 16px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 36px; }
.footer__h { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; font-size: 15px; }
.footer__col a { color: var(--navy); font-weight: 700; transition: color .25s; display: inline-flex; align-items: center; gap: 6px; }
.footer__col a:hover { color: var(--blue); }
.footer__col .arr { width: 12px; height: 12px; }
.footer__muted { color: var(--gray); }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-block: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--gray); }
.to-top { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.to-top:hover { color: var(--red); }
.to-top .arr { transform: rotate(-90deg); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 190; transform: translate(-50%, calc(100% + 48px)); visibility: hidden;
  background: var(--navy); color: #fff; padding: 16px 26px; max-width: calc(100vw - 32px); font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: transform .6s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Cookie banner ---------- */
.cookies {
  position: fixed; left: 24px; bottom: 24px; z-index: 180; width: min(440px, calc(100vw - 32px));
  padding: 26px 24px 22px; background: var(--navy); color: rgba(255, 255, 255, .86); font-size: 14px; line-height: 1.55;
  box-shadow: 0 30px 60px -24px rgba(6, 42, 74, .7);
  transform: translateY(calc(100% + 48px)); transition: transform .6s var(--ease);
}
.cookies[hidden] { display: none; }
.cookies.is-visible { transform: none; }
.cookies::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 62%, #fff 62% 63%, var(--blue-2) 63%); }
.cookies__title { margin-bottom: 6px; font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); }
.cookies__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@media (max-width: 560px) { .cookies { left: 16px; bottom: 16px; } .cookies__btns .btn { flex: 1; } }
.footer__cookies { color: var(--gray); text-decoration: underline; text-underline-offset: 3px; transition: color .25s; }
.footer__cookies:hover { color: var(--navy); }

/* umni.bg chat button — created by Umni's sdk.js with inline styles, hence !important.
   The chat window itself is styled in assets/css/umni.css. */
#logo_widget {
  right: 24px !important; bottom: 24px !important; width: 62px !important; height: 62px !important; padding: 0 !important; border-radius: 0 !important;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3Cpath d='M8 10h.01M12 10h.01M16 10h.01' stroke-width='2.6'/%3E%3C/svg%3E") center / 28px no-repeat !important;
  box-shadow: var(--shadow); transition: background-color .25s;
}
#logo_widget:hover { background-color: var(--navy) !important; }
#logo_widget #myImg { display: none !important; }
#logo_widget::after { content: ""; position: absolute; top: -5px; right: -5px; width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; background: #35d07f; }
.reduced #logo_widget { animation: none !important; }
/* keep "Нагоре" in the footer clear of the button */
@media (max-width: 1530px) { body:has(#logo_widget) .footer__bottom { padding-right: 100px; } }
@media (max-width: 560px) {
  #logo_widget { right: 16px !important; bottom: 16px !important; width: 56px !important; height: 56px !important; }
  body:has(.cookies.is-visible) #logo_widget { opacity: 0 !important; pointer-events: none; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.phero {
  position: relative; overflow: hidden; color: var(--navy);
  background: linear-gradient(165deg, var(--ice) 0%, #f7fafd 55%, #fff 100%);
  padding: calc(var(--header-h) + clamp(44px, 7vh, 90px)) 0 clamp(60px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
}
.phero::before, .phero::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 46%; pointer-events: none; }
.phero::before { background: var(--blue); clip-path: polygon(10.6% 0, 12% 0, 1.4% 100%, 0 100%); }
.phero::after { background: var(--red); clip-path: polygon(14% 0, 15% 0, 4.4% 100%, 3.4% 100%); }
.phero .container { position: relative; z-index: 1; }
.phero__grid { display: grid; gap: 30px; max-width: 760px; }
.phero__crumbs { display: flex; gap: 10px; color: var(--gray); margin-bottom: 26px; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.phero__crumbs a:hover { color: var(--red); }
.phero__title { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; }
.phero__title .line { display: block; overflow: hidden; padding: .04em .2em .06em 0; margin: -.04em 0 -.06em; }
.phero__title .line > span { display: inline-block; }
.phero__title .outline { color: var(--red); }
.phero__lead { color: var(--text); font-size: clamp(16px, 1.25vw, 19px); max-width: 46ch; }
.phero__art { position: absolute; right: 3vw; top: 50%; width: min(36vw, 480px); transform: translateY(-40%); color: var(--blue); opacity: .2; pointer-events: none; }
.phero__photo { position: absolute; top: var(--header-h); bottom: 0; right: 0; width: 46%; pointer-events: none; }
.phero__photo .photo { mask-image: linear-gradient(90deg, transparent 0%, #000 30%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.phero__photo--product .photo { object-position: right center; mix-blend-mode: multiply; }
@media (max-width: 999px) { .phero__photo, .phero__art { display: none; } .phero::before, .phero::after { width: 70%; opacity: .5; } }

/* Catalog finder */
.finder { background: var(--mist); padding-block: clamp(20px, 3vw, 40px) clamp(60px, 7vw, 110px); scroll-margin-top: var(--header-h); }
.finder > .container { background: #fff; box-shadow: var(--shadow); padding-block: clamp(24px, 3vw, 44px); clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); max-width: calc(var(--max) - var(--gutter) * 2); }
.finder__tabs { display: flex; gap: 8px; margin-bottom: 30px; overflow-x: auto; scrollbar-width: none; }
.finder__tab {
  flex: none; padding: 14px 30px; background: var(--mist); color: var(--navy);
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: clamp(15px, 1.4vw, 19px);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transition: background .3s, color .3s;
}
.finder__tab:hover { background: var(--ice); }
.finder__tab[aria-selected="true"] { background: var(--blue); color: #fff; }
.finder__panel[hidden] { display: none; }
.finder__form { display: grid; gap: 10px; max-width: 820px; }
.finder__form .psearch__row { box-shadow: none; outline: 2px solid var(--line); outline-offset: -2px; }
.finder__form .psearch__row:focus-within { outline-color: var(--blue); }
.fpath { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.fpath[hidden] { display: none; }
.fpath__item { display: inline-grid; gap: 0; padding: 8px 22px; text-align: left; background: var(--ice); color: var(--navy); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background .25s; }
.fpath__item .mono { font-size: 10px; color: var(--gray); }
.fpath__item b { font-weight: 800; font-size: 15px; }
button.fpath__item:hover { background: #d6e8f6; }
button.fpath__item:hover .mono::after { content: " · смени"; color: var(--red); }
span.fpath__item { background: var(--blue); color: #fff; }
span.fpath__item .mono { color: rgba(255, 255, 255, .75); }
.fstep { display: grid; gap: 16px; }
.fstep[hidden] { display: none; }
.fstep__title { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 19px; color: var(--navy); }
.fstep__other { display: grid; gap: 8px; max-width: 360px; margin-top: 6px; }
.fstep__filter { max-width: 420px; }
.finder .chips .chip span { height: 52px; padding: 0 26px; font-size: 16px; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; }
@media (min-width: 900px) { .fgrid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } .fgrid--groups { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }
.fgrid__loading { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; color: var(--gray); padding: 12px 0; }
.ftile {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 12px 18px;
  text-align: left; font-size: 14px; font-weight: 700; background: var(--mist); color: var(--navy);
  border-left: 4px solid var(--blue); transition: background .25s, color .25s, transform .3s var(--ease);
}
.ftile[hidden] { display: none; }
.ftile:hover { background: var(--ice); transform: translateX(3px); }
.ftile.is-on { background: var(--blue); color: #fff; border-color: var(--red); }
.ftile--folder::after { content: "›"; font-size: 22px; line-height: 1; color: var(--red); }
.ftile--back { color: var(--gray); background: #fff; border: 2px dashed var(--line); }
@media (max-width: 599px) { .finder__tab { flex: 1 1 0; padding: 14px 10px; font-size: 15px; text-align: center; } .ftile { min-height: 48px; padding: 10px 12px; font-size: 13px; } }

.finder__results:empty { display: none; }
.finder__results { margin-top: 36px; scroll-margin-top: calc(var(--header-h) + 16px); }
.presults { animation: presults-in .6s var(--ease) both; }
@keyframes presults-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.presults--loading { display: flex; align-items: center; gap: 14px; padding: 36px 0; color: var(--gray); font-weight: 600; }
.spinner { width: 20px; height: 20px; border: 3px solid var(--ice); border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; flex: none; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.presults__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 16px; }
.presults__title { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); color: var(--navy); }
.presults__title b { color: var(--red); font-weight: 900; }
.presults__note { color: var(--gray); font-size: 13px; }
.presults__cols { display: none; }
.presults__list { display: grid; gap: 10px; }
.part {
  display: grid; grid-template-columns: 72px 1fr; gap: 6px 16px; align-items: center; padding: 14px 16px;
  background: var(--mist); border-left: 4px solid var(--blue); transition: background .25s, box-shadow .3s, transform .3s var(--ease);
}
.part:hover { background: #fff; box-shadow: var(--shadow-sm); transform: translateX(3px); }
.part__img { grid-row: span 2; width: 72px; height: 72px; background: #fff; position: relative; overflow: hidden; display: grid; place-items: center; }
.part__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4px; z-index: 1; }
.part__ph { width: 58%; height: 58%; fill: none; stroke: #b8c6d4; stroke-width: 1.6; }
.part__main { min-width: 0; }
.part__num { color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.part__name { font-weight: 800; font-size: 16px; line-height: 1.3; color: var(--navy); }
.part__meta { display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--gray); font-size: 13px; }
.part__meta .mono { font-size: 11px; }
/* shop values stay exactly as the shop writes them (.mono would capitalise them) */
.part__num, .part__maker, .part__meta .mono { text-transform: none; }
.part__maker, .part__stock, .part__price, .part__buy { grid-column: 2; }
.part__maker { color: var(--text); font-size: 12px; }
.part__stock { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px; font-size: 13px; font-weight: 800; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.part__stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.part__stock.is-in { color: #0b7a47; background: #d9f6e7; }
.part__stock.is-out { color: #8a5a00; background: #fff1c7; }
.part__price b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 24px; color: var(--navy); margin-right: 10px; }
.part__price span { color: var(--gray); font-size: 13px; }
.part__buy { justify-self: start; margin-top: 4px; }
@media (min-width: 900px) {
  .presults__cols { display: grid; grid-template-columns: 80px minmax(0, 1fr) 150px 140px 140px 140px; gap: 20px; padding: 6px 20px; color: var(--gray); font-size: 11px; }
  .part { grid-template-columns: 80px minmax(0, 1fr) 150px 140px 140px 140px; gap: 20px; padding: 14px 20px; }
  .part__img { grid-row: auto; width: 80px; height: 80px; }
  .part__maker, .part__stock, .part__price, .part__buy { grid-column: auto; }
  .part__price { display: grid; }
  .part__price b { margin-right: 0; }
  .part__buy { justify-self: end; margin-top: 0; }
}
.presults__more { margin: 26px auto 0; display: flex; }
.presults__empty { display: grid; gap: 14px; justify-items: start; padding: 30px; background: var(--mist); border-left: 4px solid var(--red); }
.presults__empty p:not(.presults__title) { color: var(--text); max-width: 56ch; }
.presults__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* Catalog categories */
.cat-index { padding-block: 14px; position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 24px -16px rgba(6, 42, 74, .35); transition: top .6s var(--ease); }
.has-header .cat-index { top: var(--bar-h); }
.cat-index__inner { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cat-index__inner::-webkit-scrollbar { display: none; }
.cat-index a { flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 20px; background: var(--mist); color: var(--navy); font-weight: 700; font-size: 14px; white-space: nowrap; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background .25s, color .25s; }
.cat-index a:hover { background: var(--ice); }
.cat-index a.is-active { background: var(--blue); color: #fff; }
.cat-row { display: grid; gap: 32px; padding-block: clamp(50px, 6vw, 90px); scroll-margin-top: calc(var(--header-h) + 90px); }
.cat-row + .cat-row { border-top: 2px solid var(--mist); }
@media (min-width: 1000px) { .cat-row { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; } .cat-row:nth-child(even) .cat-row__art { order: -1; } }
.cat-row__main { display: grid; gap: 20px; }
.cat-row__title { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(34px, 4.2vw, 60px); line-height: 1; color: var(--navy); }
.cat-row__lead { color: var(--text); max-width: 50ch; font-size: 17px; }
.cat-row__items { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-row__items li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--mist); color: var(--navy); font-weight: 700; font-size: 14px; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.cat-row__items li::before { content: ""; width: 7px; height: 7px; background: var(--red); transform: skewX(-20deg); }
.cat-row__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cat-row__art { position: relative; aspect-ratio: 4 / 3; background: var(--photo-bg); overflow: hidden; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
.cat-row__art .photo { transition: transform 1.2s var(--ease); }
.cat-row:hover .cat-row__art .photo { transform: scale(1.04); }
.cat-row__art .mono { position: absolute; z-index: 1; font-family: var(--f-display); font-style: italic; font-weight: 800; }
.cat-row__art .tl { top: 18px; left: 22px; color: var(--navy); opacity: .55; }
.cat-row__art .br { bottom: 18px; right: 24px; padding: 5px 14px; background: var(--red); color: #fff; clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }

.shop-band { position: relative; overflow: hidden; background: var(--red); color: #fff; padding-block: clamp(70px, 9vw, 130px); }
.shop-band::before { content: ""; position: absolute; inset: 0; background: var(--stripes); }
.shop-band__grid { position: relative; display: grid; gap: 36px; }
@media (min-width: 1000px) { .shop-band__grid { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.shop-band__title { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(38px, 5.6vw, 84px); line-height: .98; text-transform: uppercase; }
.shop-band p { color: rgba(255, 255, 255, .92); max-width: 44ch; margin-bottom: 26px; font-size: 17px; }
.shop-band .btn--primary { --bg: #fff; --fg: var(--red); --hover: var(--navy); }
.shop-band .btn--primary:hover { color: #fff; }
.shop-band__mark { position: absolute; right: -4%; bottom: -24%; width: 44vw; color: rgba(255, 255, 255, .16); pointer-events: none; }

/* Partners page */
.pcard-list { display: grid; gap: 18px; }
.pcard {
  display: grid; gap: 26px; padding: clamp(26px, 3.4vw, 48px); background: #fff; box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 24px);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); border-left: 6px solid var(--blue);
}
.pcard:nth-child(3n + 2) { border-left-color: var(--red); }
.pcard:nth-child(3n + 3) { border-left-color: var(--yellow); }
@media (min-width: 1000px) { .pcard { grid-template-columns: 1.1fr 1.1fr 280px; gap: 44px; align-items: start; } }
.pcard__name { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(32px, 3.8vw, 56px); line-height: 1; color: var(--navy); }
.pcard__full { color: var(--gray); margin-top: 10px; }
.pcard__body { display: grid; gap: 18px; color: var(--text); }
.pcard__body strong { color: var(--navy); }
.pcard__meta { display: grid; }
.pcard__meta div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 2px solid var(--mist); }
.pcard__meta dt { color: var(--gray); }
.pcard__meta dd { text-align: right; color: var(--navy); }
.pcard__logo { height: 46px; width: auto; max-width: 240px; margin-bottom: 18px; object-fit: contain; object-position: left center; }
.pcard__art { position: relative; aspect-ratio: 1; background: var(--photo-bg); overflow: hidden; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.pcard__pct { position: absolute; left: 0; bottom: 0; padding: 10px 18px 12px; background: var(--red); color: #fff; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 36px; line-height: 1; }
.pcard__pct small { display: block; font-family: var(--f-body); font-style: normal; font-weight: 700; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .88); margin-top: 4px; }

/* About page */
.about-split { display: grid; gap: 36px; }
@media (min-width: 1000px) { .about-split { grid-template-columns: minmax(200px, 1fr) 3fr; } }
.about-split > .kicker, .about-split > .eyebrow { align-self: start; padding-top: .5em; }
.about-split__body { display: grid; gap: 24px; font-size: clamp(17px, 1.3vw, 20px); color: var(--text); max-width: 780px; }
.about-split__body strong { color: var(--navy); }
.big-year { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(130px, 28vw, 460px); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 3px var(--ice); text-align: center; user-select: none; white-space: nowrap; overflow: hidden; background: #fff; }
.big-year span { display: inline-block; background: linear-gradient(90deg, var(--blue), var(--red)); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; opacity: .14; }
.values { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.value { --c: var(--blue); position: relative; padding: 30px 28px; min-height: 280px; display: grid; gap: 14px; align-content: end; background: var(--c); color: #fff; overflow: hidden; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.value::before { content: ""; position: absolute; inset: 0; background: var(--stripes); }
.value:nth-child(2) { --c: var(--red); }
.value:nth-child(3) { --c: var(--navy); }
.value:nth-child(4) { --c: var(--yellow); color: var(--navy); }
.value h3 { position: relative; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.05; }
.value p { position: relative; opacity: .92; }

/* Contacts page */
.contact-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-cell { --c: var(--blue); position: relative; display: grid; gap: 14px; align-content: start; min-height: 240px; padding: 30px 28px; background: var(--c); color: #fff; overflow: hidden; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.contact-cell::before { content: ""; position: absolute; inset: 0; background: var(--stripes); }
.contact-cell > * { position: relative; }
.contact-cell:nth-child(2) { --c: var(--red); }
.contact-cell:nth-child(3) { --c: var(--navy); }
.contact-cell .mono { color: var(--yellow); font-family: var(--f-display); font-style: italic; font-weight: 800; }
.contact-cell__big { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.contact-cell__list { display: grid; gap: 4px; }
.contact-cell__big small { margin-left: 6px; font-family: var(--f-body); font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; vertical-align: middle; }
.contact-cell a.contact-cell__big:hover { color: var(--yellow); }
.contact-cell .link-arrow { color: #fff; }
.map { position: relative; height: clamp(360px, 46vw, 560px); background: var(--ice); overflow: hidden; box-shadow: var(--shadow-sm); clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__pin { position: absolute; left: 20px; bottom: 20px; display: grid; gap: 2px; background: #fff; padding: 14px 20px; box-shadow: var(--shadow-sm); border-left: 5px solid var(--red); color: var(--navy); font-weight: 600; }
.map__pin .mono { color: var(--red); }
.map__load { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; text-align: center; padding: 24px; background: linear-gradient(120deg, var(--ice), #fff); }
.map__load p { color: var(--text); max-width: 40ch; }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--header-h) var(--gutter) 40px; background: linear-gradient(118deg, #003d6b, var(--blue) 50%, var(--blue-2)); color: #fff; }
.nf__code { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: clamp(130px, 26vw, 360px); line-height: .8; color: var(--yellow); }
.nf .sec-title { color: #fff; }
.nf p { color: rgba(255, 255, 255, .85); margin: 20px 0 30px; }

/* Light-section helpers used by inner pages */
[data-theme="light"] { background: var(--mist); }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.reduced [data-reveal], .no-gsap [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
