/* ==========================================================================
   TRAFCO d.o.o. — design system
   Light, product-centric canvas. Yellow is a surface colour only.
   ========================================================================== */

:root {
  /* Brand — sampled from assets/img/logo.png */
  --yellow: #FDEF01;
  --yellow-deep: #DFD201;
  --black: #000000;
  --chrome: #9C9C9F;

  /* Neutrals */
  --bg: #F5F5F6;
  --bg-2: #ECEDEE;
  --white: #FFFFFF;
  --text: var(--black);
  --text-2: #6B6F76;
  --text-3: #4A4E55;
  --line: #DDDFE2;

  /* Shape */
  --r-pill: 999px;
  --r-card: 22px;
  --r-img: 24px;
  --r-input: 12px;

  /* Layout */
  --nav-h: 84px;
  --sec: 64px;             /* section rhythm: 64 mobile / 88 tablet / 112 desktop */
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-hover: 0 22px 44px -24px rgba(0, 0, 0, .22), 0 2px 8px rgba(0, 0, 0, .04);
  --shadow-float: 0 18px 40px -18px rgba(0, 0, 0, .28), 0 2px 6px rgba(0, 0, 0, .06);

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --sec: 88px; } }
@media (min-width: 1200px) { :root { --sec: 112px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; min-width: 320px; overflow-x: hidden;
  background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 500;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
picture img { width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; }
::selection { background: var(--yellow); color: var(--black); }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--black); font-weight: 700;
  padding: 10px 18px; border-radius: var(--r-pill); transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
main:focus, #sadrzaj:focus { outline: none; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 1px solid var(--line); background: var(--bg-2);
  border-radius: var(--r-pill);
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3); line-height: 1.35; max-width: 100%;
}
.h-display {
  container-type: inline-size;
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: .95;
  font-size: min(6rem, calc(100cqi / (var(--ch) * .72)), 10.5svh);
  margin: 22px 0 0;
}
.h-display .ln { display: block; white-space: nowrap; }
.h-display .ln--muted { color: #55595F; }
.h2 {
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: .98;
  font-size: clamp(2rem, 1.25rem + 2.9vw, 3.6rem); text-wrap: balance; overflow-wrap: break-word; hyphens: auto;
}
.h2 .muted, .h3 .muted { color: var(--text-2); }
.h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.h4 { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.3; }
.lead { font-size: clamp(1rem, .95rem + .25vw, 1.125rem); color: var(--text-2); line-height: 1.65; max-width: 60ch; }
.prose p, .prose ul, .prose ol { color: var(--text-3); }
.prose > * + * { margin-top: 14px; }
.prose ul { display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--black); }
.prose strong { color: var(--text); font-weight: 700; }
.prose a, .link { text-decoration: underline; text-decoration-color: var(--chrome); text-underline-offset: 3px; font-weight: 700; color: var(--text); }
.prose a:hover, .link:hover { text-decoration-color: var(--black); }
.small { font-size: 14px; color: var(--text-2); }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px; --chip: 42px;
  display: inline-flex; align-items: center; gap: 12px;
  height: var(--h); padding: 0 6px 0 24px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 700; letter-spacing: -0.005em; white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.btn__chip { width: var(--chip); height: var(--chip); border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .35s var(--ease); }
.btn__chip .i { width: 18px; height: 18px; }
.btn--primary { background: var(--black); color: var(--white); }
.btn--primary .btn__chip { background: var(--white); color: var(--black); }
.btn--primary:hover { background: #1C1D20; }
.btn--primary:hover .btn__chip, .btn--accent:hover .btn__chip { transform: rotate(45deg); }
.btn--secondary { padding: 0 24px 0 6px; border: 1px solid var(--line); color: var(--black); background: transparent; }
.btn--secondary .btn__chip { background: var(--white); color: var(--black); box-shadow: 0 0 0 1px var(--line) inset, 0 4px 12px -6px rgba(0,0,0,.25); }
.btn--secondary:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn--secondary:hover .btn__chip { transform: scale(1.06); box-shadow: none; }
.btn--accent { background: var(--yellow); color: var(--black); }
.btn--accent .btn__chip { background: var(--black); color: var(--white); }
.btn--accent:hover { background: var(--yellow-deep); }
.btn--sm { --h: 44px; --chip: 34px; padding-left: 18px; font-size: 14px; }
.btn--block { width: 100%; justify-content: space-between; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line); color: var(--black);
  transition: border-color .2s, background-color .2s;
}
.icon-btn:hover, .icon-btn[aria-expanded="true"] { border-color: var(--black); }
.icon-btn .i { width: 19px; height: 19px; }
.pill-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white); font-size: 12px; font-weight: 700; color: var(--text-3); white-space: nowrap; }

/* ---------- Preloader (html.pl-on is set by the head script; js/main.js removes it) ---------- */
.preloader { display: none; }
.pl-on .preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--bg); will-change: transform; }
html.pl-on, html.pl-on body { overflow: hidden; }
html.pl-on { scrollbar-gutter: stable; } /* the scrollbar returns into the same gutter: no shift on unlock */
.preloader__inner { display: grid; justify-items: center; gap: 30px; }
.preloader__logo { width: 220px; opacity: 0; transform: scale(.96); animation: pl-logo .6s var(--ease) forwards; }
.preloader__logo img { width: 100%; height: auto; }
.preloader__meter { width: 240px; display: grid; gap: 10px; }
.preloader__track { position: relative; display: block; height: 1px; background: var(--line); }
.preloader__bar { position: absolute; left: 0; right: 0; top: -1px; height: 3px; border-radius: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left center; }
.preloader__count { justify-self: end; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--text-2); font-variant-numeric: tabular-nums; }
.preloader.is-exit { transform: translateY(-100%); transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.pl-min .preloader__meter { display: none; }
.pl-min .preloader__logo { animation-duration: .25s; }
.preloader.is-fade { opacity: 0; transition: opacity .25s ease; }
@keyframes pl-logo { to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .preloader__logo { width: 160px; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 60;
  transition: background-color .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-bottom-color: rgba(221, 223, 226, .8);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav__logo { flex: none; display: flex; align-items: center; }
.nav__logo img { height: 52px; width: auto; }
.nav__links { display: none; margin-inline: auto; }
.nav__links ul { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav__link { position: relative; display: block; padding: 8px 2px; font-size: 14px; font-weight: 600; color: var(--text-3); transition: color .2s; white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--black); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: -3px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--black);
}
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__cta { display: none; }
@media (min-width: 640px) { .nav__cta { display: inline-flex; } }
@media (min-width: 1180px) {
  .nav__links { display: block; }
  .nav__right { margin-left: 0; }
}

/* Dropdowns (language + menu) */
.dd { position: relative; }
.dd__panel {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 70;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 8px;
  box-shadow: var(--shadow-float);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985); transform-origin: top right;
  transition: opacity .22s, transform .28s var(--ease), visibility 0s linear .28s;
}
.dd.is-open .dd__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .28s var(--ease), visibility 0s; }
.lang__cur { font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.lang__panel { min-width: 210px; }
.lang__opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 13px; font-weight: 600; font-size: 15px; }
.lang__opt:hover, .lang__opt:focus-visible { background: var(--bg); outline: none; }
.lang__opt[aria-current="true"] { background: var(--bg-2); }
.lang__code { width: 34px; height: 26px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.lang__name { flex: 1; }
.lang__check { opacity: 0; width: 18px; height: 18px; }
.lang__opt[aria-current="true"] .lang__check { opacity: 1; }
.icon-btn .i-close { display: none; }
.dd.is-open .icon-btn .i-open { display: none; }
.dd.is-open .icon-btn .i-close { display: block; }
.menu__panel { width: min(360px, calc(100vw - 2 * var(--gutter))); padding: 14px; }
.menu__lead { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); padding: 4px 8px 8px; }
.menu__list a { display: flex; align-items: center; gap: 14px; padding: 11px 10px; border-radius: 13px; font-weight: 700; font-size: 16px; }
.menu__list a:hover, .menu__list a:focus-visible { background: var(--bg); outline: none; }
.menu__list a[aria-current="page"] { background: var(--bg-2); }
.menu__n { font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; width: 22px; }
.menu__t { flex: 1; }
.menu__go { width: 16px; height: 16px; color: var(--text-2); }
.menu__foot { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.menu__contact { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.menu__contact:hover { background: var(--bg); }
.menu__contact .i { width: 18px; height: 18px; color: var(--text-2); }
.menu__foot .btn { margin-top: 8px; }

/* ---------- Orb (soft radial grey behind subjects) ---------- */
.orb {
  position: absolute; left: 50%; top: 50%; width: min(118%, 82svh); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.6) 26%, rgba(236,237,238,.0) 62%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.045) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 50% 50%, #ECEDEF 0%, #E6E7EA 55%, rgba(230,231,234,0) 70.5%);
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 0 64%, transparent 70.5%);
  mask: radial-gradient(circle at 50% 50%, #000 0 64%, transparent 70.5%);
}
.orb__ring { position: absolute; inset: -2.5%; border-radius: 50%; border: 1px solid rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(221,223,226,.55); }
.orb--sm { width: min(112%, 64svh); }

/* ---------- Hero background: the slide image as faded, blurred atmosphere ---------- */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__bg-img { position: absolute; inset: -12px; opacity: .30; }
.hbg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hbg picture, .hbg img { width: 100%; height: 100%; }
.hbg img { object-fit: cover; object-position: center; filter: blur(2px) saturate(.9); transform: scale(1); transform-origin: 60% 50%; }
.hbg.is-active { opacity: var(--o, 1); z-index: 2; }
.hbg.is-prev { z-index: 1; }
.hero .hbg.is-active img { animation: kenburns 6s linear forwards; }
.hero .hbg.is-prev img { transform: scale(1.05); }
.hero__bg.is-paused .hbg.is-active img { animation-play-state: paused; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0) 35%),
    linear-gradient(0deg, var(--bg) 0%, rgba(245,245,246,0) 25%);
}
@media (max-width: 860px) { .hero__bg-img { opacity: .36; } }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 100vh; min-height: 100svh;
  padding-top: var(--nav-h);
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  background:
    radial-gradient(60% 70% at 72% 46%, #FFFFFF 0%, rgba(255,255,255,0) 60%),
    radial-gradient(90% 60% at 10% 0%, #F9F9FA 0%, rgba(249,249,250,0) 60%),
    var(--bg);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 72px); align-items: center; min-height: 0;
}
.hero__text { position: relative; z-index: 2; container-type: inline-size; padding-block: 2svh; }
.hero__text .h-display { margin-top: clamp(14px, 2.4svh, 24px); }
.hero__rule { display: flex; align-items: center; gap: 6px; margin-top: clamp(16px, 3svh, 28px); }
.hero__rule::before { content: ""; width: 26px; height: 2px; background: var(--black); border-radius: 2px; }
.hero__rule::after { content: ""; width: 5px; height: 5px; background: var(--black); border-radius: 50%; }
.hero__sub { margin-top: clamp(14px, 2.4svh, 22px); font-size: clamp(15px, .9rem + .3vw, 18px); line-height: 1.55; color: var(--text-2); }
.hero__actions { margin-top: clamp(18px, 3.6svh, 34px); display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { height: 100%; display: flex; flex-direction: column; justify-content: center; min-height: 0; }
.slider-stage { position: relative; z-index: 1; width: 100%; }
.slider {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 10.2; max-height: 60svh;
  border-radius: 28px; overflow: hidden; background: #DADBDE;
  box-shadow: 0 50px 90px -50px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.04);
  margin-inline: auto; outline-offset: 6px;
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide picture, .slide img { width: 100%; height: 100%; }
.slide img { object-fit: cover; transform: scale(1); transform-origin: 60% 50%; }
.slide.is-active { opacity: 1; z-index: 2; }
.slide.is-prev { z-index: 1; }
.slide.is-active img { animation: kenburns 6s linear forwards; }
.slide.is-prev img { transform: scale(1.05); }
.slider.is-paused .slide.is-active img { animation-play-state: paused; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.05); } }

.hero__index {
  position: absolute; z-index: 3; right: clamp(8px, 1.4vw, 26px); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.idx { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; color: var(--text-2); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; transition: color .3s; }
.idx:hover { color: var(--black); }
.idx.is-active { color: var(--black); }
.idx__bar { width: 2px; height: 0; background: var(--line); border-radius: 2px; overflow: hidden; transition: height .45s var(--ease); }
.idx.is-active .idx__bar { height: 64px; }
.idx__bar i { display: block; width: 100%; height: 100%; background: var(--black); transform: scaleY(0); transform-origin: top; }

.hero__bottom { position: relative; z-index: 2; padding-bottom: 33px; display: grid; justify-items: center; gap: 18px; }
.hero__bottom .strip { width: 100%; }
.cue { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); padding: 4px 10px; }
.cue:hover { color: var(--black); }
.cue__mouse { position: relative; width: 18px; height: 28px; border-radius: 10px; border: 1.6px solid currentColor; }
.cue__mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: currentColor; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(7px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Feature strip ---------- */
.strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 255, 255, .72); border: 1px solid var(--line); border-radius: var(--r-card);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding: clamp(12px, 1.8svh, 20px) 6px;
}
.strip__item { display: flex; align-items: flex-start; gap: 14px; padding: 2px clamp(14px, 1.6vw, 26px); min-width: 0; }
.strip__item + .strip__item { border-left: 1px solid var(--line); }
.strip__icon { width: 44px; height: 44px; border-radius: 13px; background: var(--bg-2); display: grid; place-items: center; flex: none; }
.strip__icon .i { width: 20px; height: 20px; }
.strip__txt { display: grid; gap: 3px; min-width: 0; }
.strip__txt strong { font-size: 14px; font-weight: 800; line-height: 1.25; letter-spacing: -0.005em; }
.strip__txt span { font-size: 13px; line-height: 1.4; color: var(--text-2); }

/* ---------- Page hero (reduced) ---------- */
.phero { position: relative; padding-top: var(--nav-h); background: radial-gradient(60% 80% at 74% 40%, #FFFFFF 0%, rgba(255,255,255,0) 60%), var(--bg); overflow: hidden; }
.phero__grid { min-height: calc(62vh - var(--nav-h)); min-height: calc(62svh - var(--nav-h)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding-block: clamp(20px, 4svh, 48px); }
.phero__text { container-type: inline-size; position: relative; z-index: 2; }
.h-display--page { font-size: min(5.2rem, calc(100cqi / (var(--ch) * .72)), 8.4svh); }
.phero__sub { margin-top: 18px; color: var(--text-2); font-size: clamp(15px, .9rem + .3vw, 18px); max-width: 44ch; }
.phero__visual { position: relative; display: grid; place-items: center; }
.phero__frame { position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 10; max-height: 46svh; border-radius: 26px; overflow: hidden; background: #DADBDE; box-shadow: 0 46px 80px -46px rgba(0,0,0,.42); }
.phero__frame picture, .phero__frame img { width: 100%; height: 100%; object-fit: cover; }
.phero__strip { position: relative; z-index: 2; padding-bottom: clamp(24px, 4vw, 48px); }

/* ---------- Sections ---------- */
.section { padding-block: var(--sec); }
.section--tight { padding-block: var(--sec); }
.section--panel { background: var(--white); border-block: 1px solid var(--line); }
.section + .section:not(.section--panel) { padding-top: 0; }
.section--panel + .section { padding-top: var(--sec); }
.shead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.shead .eyebrow { margin-bottom: 18px; }
.shead__aside { display: grid; gap: 18px; align-content: end; justify-items: start; }
@media (min-width: 960px) {
  .shead { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; gap: 48px; }
  .shead--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .shead--center .shead__aside { justify-items: center; }
}
.shead--center .lead { margin-inline: auto; }

.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 1100px) { .grid--4.grid--fixed { grid-template-columns: repeat(4, 1fr); } .grid--3.grid--fixed { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(22px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 14px;
  transition: translate .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { translate: 0 -2px; box-shadow: var(--shadow-hover); }
.card::before {
  content: ""; position: absolute; inset: -1px; z-index: 1; border-radius: inherit; pointer-events: none;
  background: var(--yellow);
  clip-path: inset(0 100% calc(100% - 3px) 0); transition: clip-path .45s var(--ease);
}
.card:hover::before { clip-path: inset(0 0 calc(100% - 3px) 0); }
.card--static:hover { translate: none; box-shadow: none; }
.card--static::before { display: none; }
.card__icon { width: 52px; height: 52px; border-radius: 15px; background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.card__icon .i { width: 23px; height: 23px; }
.card__num { position: absolute; top: 22px; right: 24px; font-size: 13px; font-weight: 800; color: var(--text-2); font-variant-numeric: tabular-nums; }
.card p { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.card .h4 + p { margin-top: -4px; }
.card__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.card__more .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card:hover .card__more .i { transform: translate(2px, -2px); }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Product card with photo */
.pcard { padding: 10px; gap: 0; }
.pcard { border-radius: 30px; }
.pcard__media { border-radius: var(--r-img); border: 1px solid var(--line); overflow: hidden; background: var(--bg); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.pcard__media picture, .pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__media--contain img { object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.pcard__body { padding: 18px 14px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__meta { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }

/* ---------- Media frames ---------- */
.frame { border-radius: var(--r-img); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.frame picture, .frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame--contain { display: grid; place-items: center; padding: clamp(16px, 3vw, 36px); }
.frame--contain img { object-fit: contain; width: auto; max-width: 100%; max-height: 100%; }
.figcap { margin-top: 10px; font-size: 13px; color: var(--text-2); }

/* Product rows (proizvodi) */
.prod { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.prod + .prod { margin-top: var(--sec); padding-top: var(--sec); border-top: 1px solid var(--line); }
@media (min-width: 980px) {
  .prod { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .prod--flip .prod__media { order: 2; }
}
.prod__media { display: grid; gap: 14px; position: sticky; top: calc(var(--nav-h) + 24px); }
@media (max-width: 979px) { .prod__media { position: static; } }
.prod__media .frame { aspect-ratio: 4 / 3; }
.prod__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prod__pair .frame { aspect-ratio: 1; }
.prod__body { display: grid; gap: 20px; }
.prod__body .eyebrow { justify-self: start; }

/* Key/value spec table */
.spec { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.spec__cap { padding: 14px 20px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); border-bottom: 1px solid var(--line); background: var(--bg); }
.spec__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding: 13px 20px; }
.spec__row + .spec__row { border-top: 1px solid var(--line); }
.spec dt { color: var(--text-2); font-size: 14px; }
.spec dd { font-weight: 700; font-size: 14.5px; }

/* Callout */
.note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14.5px; color: var(--text-3); }
.note .i { margin-top: 2px; }
.note strong { color: var(--black); }
.note--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

/* ---------- Tables ---------- */
.table-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline-offset: 2px; }
.tbl-scroll { max-height: min(72svh, 680px); overflow: auto; overscroll-behavior-x: contain; }
.table { width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
.table thead th { position: sticky; top: 0; z-index: 2; box-shadow: inset 0 -1px 0 var(--line); }
.table tbody tr:nth-child(even) > * { background: var(--bg-2); }
.table tbody tr > :first-child { transition: box-shadow .2s; }
.table tbody tr:hover > :first-child { box-shadow: inset 3px 0 0 var(--yellow); }
.table th, .table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table thead th { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); background: var(--bg); white-space: nowrap; }
.table--power th, .table--power td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.table--power tbody th { font-weight: 800; }
.table--power tr.is-sub th { font-size: 12px; letter-spacing: .04em; }
.table--tube { min-width: 860px; }
.table--tube.table--compact { min-width: 0; }
.table--compact td { min-width: 0; white-space: normal; }
.table--tube thead th { color: var(--black); font-size: 13px; letter-spacing: .02em; text-transform: none; }
.table--tube thead th:first-child { color: var(--text-2); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.table--tube tbody th { font-weight: 700; color: var(--text-2); font-size: 13px; white-space: nowrap; }
.table--tube th:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: inset -1px 0 0 var(--line); }
.table--tube tbody tr:nth-child(even) > th:first-child { background: var(--bg-2); }
.table--tube tbody tr:hover > th:first-child { box-shadow: inset 3px 0 0 var(--yellow), inset -1px 0 0 var(--line); }
.table--tube thead th:first-child { z-index: 3; background: var(--bg); box-shadow: inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line); }
.table--tube td { min-width: 112px; }
.table--tube td.is-span { text-align: center; color: var(--text-2); }
.table--tube tr.is-price td { font-weight: 800; font-size: 15px; }
.pdf-link { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 9px; border-radius: var(--r-pill); border: 1px solid var(--line); font-weight: 700; font-size: 12.5px; white-space: nowrap; margin: 2px 0; transition: border-color .2s, background-color .2s; }
.pdf-link .i { width: 15px; height: 15px; }
.pdf-link:hover { border-color: var(--black); }
.table-hint { margin-top: 10px; font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.table-hint .i { width: 16px; height: 16px; }
@media (min-width: 1200px) { .table-hint--scroll { display: none; } }

/* ---------- Power selector ---------- */
.selector { display: grid; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
@media (min-width: 960px) { .selector { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.selector__pick { padding: clamp(24px, 3.4vw, 48px); display: grid; gap: 26px; align-content: start; }
.selector__read { display: flex; align-items: baseline; gap: 12px; }
.selector__val { font-size: clamp(3.4rem, 2.2rem + 5vw, 6.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: .9; font-variant-numeric: tabular-nums; }
.selector__unit { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); font-weight: 800; color: var(--text-2); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 50%; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--black) 0 var(--p), var(--line) var(--p) 100%); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--black); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--black); box-shadow: 0 4px 12px -4px rgba(0,0,0,.4); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--black); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(0,0,0,.18); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 34px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--black); }
.chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.selector__out { padding: clamp(24px, 3.4vw, 48px); background: var(--bg); border-top: 1px solid var(--line); display: grid; gap: 18px; align-content: start; }
@media (min-width: 960px) { .selector__out { border-top: 0; border-left: 1px solid var(--line); } }
.selector__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: grid; gap: 4px; }
.stat__k { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--text-2); }
.stat__k .i { width: 16px; height: 16px; }
.stat__v { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.selector__tip { font-size: 14px; color: var(--text-3); display: flex; gap: 10px; align-items: flex-start; }
.selector__tip .i { margin-top: 2px; }
.selector__tip[hidden] { display: none; }

/* Two-to-one layout (table + aside) */
.layout-2-1 { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(14px, 1.6vw, 22px); align-items: start; }
.layout-2-1 > * { min-width: 0; }
@media (min-width: 1000px) { .layout-2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } .layout-2-1 > aside { position: sticky; top: calc(var(--nav-h) + 24px); } }

/* ---------- Split (text + media) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split--flip > :first-child { order: 2; } }
.split__media { position: relative; }
.split__media .frame { aspect-ratio: 5 / 4; }
.split__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: start; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.stats div { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.stats strong { display: block; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stats span { font-size: 13px; color: var(--text-2); }

/* Steps */
.steps { counter-reset: s; }
.step { padding-top: 26px; }
.step .card__num { font-size: 40px; letter-spacing: -0.04em; top: 14px; right: 20px; color: var(--bg-2); -webkit-text-stroke: 1px var(--line); }

/* Applications */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
@media (max-width: 600px) { .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .app { padding: 12px; gap: 10px; font-size: 13.5px; min-width: 0; overflow-wrap: anywhere; hyphens: auto; } .app .card__icon { width: 36px; height: 36px; } }
.app { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; font-weight: 700; font-size: 14.5px; line-height: 1.3; transition: translate .3s var(--ease), box-shadow .3s; }
.app:hover { translate: 0 -2px; box-shadow: var(--shadow-hover); }
.app .card__icon { width: 42px; height: 42px; border-radius: 12px; }
.app .card__icon .i { width: 20px; height: 20px; }

/* CTA band (yellow surface, black type) */
.cta-band { position: relative; overflow: hidden; background: var(--yellow); color: var(--black); border-radius: 32px; padding: clamp(32px, 5.5vw, 80px); display: grid; gap: 28px; align-items: end; }
@media (min-width: 960px) { .cta-band { grid-template-columns: minmax(0, 1.3fr) auto; } }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.08); pointer-events: none; }
.cta-band::before { width: 520px; height: 520px; right: -140px; top: -220px; }
.cta-band::after { width: 340px; height: 340px; right: -50px; top: -130px; }
.cta-band .h2 .muted { color: rgba(0,0,0,.55); }
.cta-band p { margin-top: 16px; max-width: 56ch; font-size: 17px; color: rgba(0,0,0,.78); }
.cta-band .actions { position: relative; z-index: 1; }
.cta-band .btn--secondary { border-color: rgba(0,0,0,.25); }
.cta-band .btn--secondary:hover { border-color: var(--black); }
.cta-band .eyebrow { background: rgba(255,255,255,.55); border-color: rgba(0,0,0,.12); color: var(--black); margin-bottom: 18px; }

/* Docs */
.doc { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; transition: translate .3s var(--ease), box-shadow .3s, border-color .3s; min-width: 0; }
.doc:hover { translate: 0 -2px; box-shadow: var(--shadow-hover); }
.doc__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-2); display: grid; place-items: center; flex: none; }
.doc__thumb { width: 52px; height: 64px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); flex: none; background: var(--white); }
.doc__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc__txt { display: grid; gap: 2px; flex: 1; min-width: 0; }
.doc__txt strong { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.doc__txt span { font-size: 12.5px; color: var(--text-2); }
.doc__go { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: background-color .2s, color .2s, border-color .2s; }
.doc__go .i { width: 16px; height: 16px; }
.doc:hover .doc__go { background: var(--black); border-color: var(--black); color: var(--white); }
.docs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.va-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.va-grid a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s, color .2s; }
.va-grid a:hover { background: var(--black); border-color: var(--black); color: var(--white); }

/* Partners */
.partners { display: flex; flex-wrap: wrap; gap: 8px; }
.partners li { display: inline-flex; }
.partners li > * { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.partners a:hover { border-color: var(--black); }
.partners .i { width: 13px; height: 13px; color: var(--text-2); }

/* Data table (company) */
.kv { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.kv table { width: 100%; font-size: 15px; }
.kv th, .kv td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.kv tr:last-child > * { border-bottom: 0; }
.kv th { width: 38%; color: var(--text-2); font-weight: 600; font-size: 14px; }
.kv td { font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 20px; transition: border-color .25s, box-shadow .25s; }
.faq__item.is-open { border-color: #C9CCD1; box-shadow: var(--shadow-hover); }
.faq__q button { width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 20px; text-align: left; border-radius: 20px; }
.faq__n { font-size: 12px; font-weight: 800; color: var(--text-2); font-variant-numeric: tabular-nums; flex: none; width: 22px; }
.faq__t { flex: 1; font-size: clamp(15px, .95rem + .2vw, 17px); font-weight: 700; line-height: 1.35; }
.faq__ic { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s; }
.faq__ic .i { width: 16px; height: 16px; }
.faq__item.is-open .faq__ic { transform: rotate(45deg); background: var(--black); border-color: var(--black); color: var(--white); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__inner { overflow: hidden; padding: 0 20px 0 58px; color: var(--text-3); font-size: 15px; line-height: 1.65; }
.faq__item.is-open .faq__inner { padding-bottom: 20px; }
.faq__inner > * + * { margin-top: 10px; }
.faq__inner a { font-weight: 700; color: var(--black); text-decoration: underline; text-decoration-color: var(--chrome); text-underline-offset: 3px; }
.faq__inner a:hover { text-decoration-color: var(--black); }
.faq__inner strong { color: var(--black); }
.faq__inner ul { display: grid; gap: 6px; }
.faq__inner ul li { position: relative; padding-left: 18px; }
.faq__inner ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--black); }
.no-js .faq__a, html:not(.js) .faq__a { grid-template-rows: 1fr; }
html:not(.js) .faq__inner { padding-bottom: 20px; }
@media (max-width: 600px) { .faq__inner { padding-left: 20px; } .faq__q button { padding: 16px; gap: 12px; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } .form__row--3 { grid-template-columns: 1fr 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; color: var(--text-3); }
.field label .opt { font-weight: 500; color: var(--text-2); }
.input { width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r-input); border: 1px solid var(--line); background: var(--white); font-size: 15px; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
textarea.input { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
select.input { -webkit-appearance: none; appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.input:hover { border-color: #C7CAD0; }
.input:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.input::placeholder { color: #9A9EA5; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.form__status { font-size: 14px; font-weight: 700; min-height: 1.4em; }
.form__status.is-ok { color: #1F7A3A; }
.form__status.is-err { color: #B42318; }
.form__legal { font-size: 13px; color: var(--text-2); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
button.btn { border: 0; }
button.btn[disabled] { opacity: .6; cursor: progress; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (min-width: 1020px) { .contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.contact-list { display: grid; gap: 10px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.contact-item .card__icon { width: 44px; height: 44px; border-radius: 12px; }
.contact-item strong { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
.contact-item span, .contact-item a { font-weight: 700; font-size: 15.5px; line-height: 1.5; }
.contact-item a:hover { text-decoration: underline; text-underline-offset: 3px; }
.map { border-radius: var(--r-img); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .map { aspect-ratio: 16 / 9; } }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.bus { display: flex; flex-wrap: wrap; gap: 8px; }
.bus > span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 6px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); font-weight: 800; font-variant-numeric: tabular-nums; }
.bus > span .card__icon { width: 30px; height: 30px; border-radius: 50%; }
.bus .i { width: 16px; height: 16px; }

/* Video */
.video { position: relative; border-radius: var(--r-img); overflow: hidden; border: 1px solid var(--line); background: #E9E8E3; aspect-ratio: 700 / 302; }
.video video { position: absolute; top: 0; left: 0; height: 100%; width: 104.9%; max-width: none; object-fit: cover; object-position: left center; }

/* ---------- Footer ---------- */
.footer { background: var(--white); border-top: 2px solid var(--yellow); padding-top: var(--sec); }
.footer__grid { display: grid; gap: 36px 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 18px; align-content: start; max-width: 420px; }
.footer__logo img { height: 44px; width: auto; }
.footer__brand p { color: var(--text-2); font-size: 14.5px; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.footer__h { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-weight: 600; font-size: 14.5px; transition: color .2s; }
.footer__col a:hover { color: var(--text-2); }
.footer__contact { grid-column: 1 / -1; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; }
.footer__contact .i { width: 18px; height: 18px; margin-top: 2px; color: var(--text-2); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__contact { grid-column: auto; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); } .footer__brand { grid-column: auto; } }
.footer__legal { margin-top: clamp(40px, 5vw, 64px); padding-block: 22px calc(22px + 52px + 24px); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-family: var(--mono); font-size: 13px; font-variant-caps: all-small-caps; letter-spacing: .06em; color: var(--text-2); }
.footer__ids { white-space: nowrap; }
.footer__langs { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.footer__langs a[aria-current="true"] { color: var(--black); }

/* ---------- Floating buttons (same baseline) ---------- */
.fabs { position: fixed; z-index: 55; left: 0; right: 0; bottom: max(16px, env(safe-area-inset-bottom)); pointer-events: none; display: flex; justify-content: space-between; padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
@media (min-width: 760px) { .fabs { bottom: 24px; padding-inline: 24px; } }
.fab { pointer-events: auto; position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-float); transition: transform .3s var(--ease), opacity .3s, visibility .3s, background-color .2s; }
.fab .i { width: 21px; height: 21px; }
.fab--assistant { background: var(--black); color: var(--white); }
.fab--assistant:hover { background: #1C1D20; transform: translateY(-2px); }
.fab--assistant[aria-expanded="true"], .fab--assistant.is-tucked { opacity: 0; visibility: hidden; transform: translateY(8px); }
.fab--top { background: var(--white); color: var(--black); opacity: 0; visibility: hidden; transform: translateY(8px); }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab--top.is-visible:hover { transform: translateY(-2px); }
.fab__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; pointer-events: none; }
.fab__track { stroke: var(--line); stroke-width: 1.5; }
.fab__prog { stroke: var(--yellow); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }

/* ---------- Assistant panel ---------- */
.assistant {
  position: fixed; z-index: 65; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom));
  width: min(392px, calc(100vw - 32px)); height: min(600px, calc(100svh - 32px));
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.4);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.985); transform-origin: bottom left;
  transition: opacity .25s, transform .3s var(--ease), visibility 0s linear .3s;
}
@media (min-width: 760px) { .assistant { left: 24px; bottom: 24px; } }
.assistant.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease), visibility 0s; }
.assistant__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); }
.assistant__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--black); display: grid; place-items: center; flex: none; }
.assistant__title { flex: 1; display: grid; line-height: 1.25; }
.assistant__title strong { font-size: 15px; font-weight: 800; }
.assistant__title span { font-size: 12px; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.assistant__title span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2FB25E; }
.assistant__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); overscroll-behavior: contain; }
.msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; }
.msg--bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg--me { align-self: flex-end; background: var(--black); color: var(--white); border-bottom-right-radius: 6px; }
.msg a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.msg ul { margin-top: 6px; display: grid; gap: 4px; }
.msg ul li { padding-left: 14px; position: relative; }
.msg ul li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.msg table { margin-top: 8px; font-size: 13px; width: 100%; }
.msg td { padding: 3px 0; border-bottom: 1px solid var(--line); }
.msg td:last-child { text-align: right; font-weight: 700; }
.assistant__chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px 0; scrollbar-width: none; }
.assistant__chips::-webkit-scrollbar { display: none; }
.assistant__chips .chip { flex: none; height: 32px; font-size: 12.5px; }
.assistant__form { display: flex; gap: 8px; padding: 12px 14px 14px; }
.assistant__form .input { height: 46px; border-radius: var(--r-pill); padding: 0 18px; }
.assistant__send { width: 46px; height: 46px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; flex: none; }
.assistant__send .i { width: 18px; height: 18px; }
.assistant__note { padding: 0 16px 12px; font-size: 11.5px; color: var(--text-2); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease), translate .35s var(--ease), box-shadow .35s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-img picture, .js .reveal-img > img { opacity: 0; transform: scale(1.04); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .reveal-img.in picture, .js .reveal-img.in > img { opacity: 1; transform: none; }
.js .h-display .ln { opacity: 0; transform: translateY(.38em); }
.js .is-ready .h-display .ln { opacity: 1; transform: none; transition: opacity .8s var(--ease) calc(var(--i) * 80ms), transform .9s var(--ease) calc(var(--i) * 80ms); }
.js .reveal-hero { opacity: 0; transform: translateY(12px); }
.js .is-ready .reveal-hero { opacity: 1; transform: none; transition: opacity .8s var(--ease) .28s, transform .9s var(--ease) .28s; }
.js .is-ready .slider { animation: heroin 1.3s var(--ease) both; }
@keyframes heroin { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal-hero, .js .h-display .ln, .js .reveal-img picture, .js .reveal-img > img { opacity: 1 !important; transform: none !important; }
  .slide.is-active img, .slide.is-prev img, .hbg img { animation: none !important; transform: none !important; }
  .cue__mouse::after { animation: none; }
  .preloader__logo { animation: none; opacity: 1; transform: none; }
  .card:hover, .app:hover, .doc:hover { translate: none; }
}

/* ---------- Responsive: hero + page hero ---------- */
@media (max-width: 1179px) {
  .hero__index { right: 8px; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); align-content: start; gap: clamp(12px, 2svh, 20px); padding-top: clamp(10px, 2svh, 20px); }
  .hero__text { padding-block: 0; }
  .hero__text .h-display { font-size: min(calc(100cqi / (var(--ch) * .72)), 5.6svh); margin-top: clamp(10px, 1.6svh, 16px); }
  .hero__rule { display: none; }
  .hero__sub { margin-top: clamp(10px, 1.6svh, 16px); }
  .hero__actions { margin-top: clamp(14px, 2.2svh, 22px); gap: 10px; }
  .hero__visual { height: auto; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(6px, 1.05svh, 12px); }
  .slider-stage { width: min(100%, calc(25svh * 1.6)); }
  .slider { max-height: none; border-radius: 22px; }
  .orb { width: min(96vw, 52svh); }
  .hero__index { position: static; transform: none; flex-direction: row; gap: 4px; }
  .idx { flex-direction: row; gap: 8px; padding: 4px 6px; }
  .idx__bar { height: 2px; width: 0; transition: width .45s var(--ease); }
  .idx.is-active .idx__bar { height: 2px; width: 40px; }
  .idx__bar i { transform: scaleX(0); transform-origin: left; }
  .hero__bottom { padding-bottom: clamp(8px, 1.4svh, 14px); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; }
  .strip__item { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 10px; padding: 12px; }
  .strip__txt { display: contents; }
  .strip__txt strong { grid-column: 2; }
  .strip__txt span { grid-column: 1 / -1; }
  .strip__item + .strip__item { border-left: 0; }
  .strip__item:nth-child(2n) { border-left: 1px solid var(--line); }
  .strip__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero .cue { display: none; }
  .phero__grid { grid-template-columns: minmax(0, 1fr); min-height: calc(52vh - var(--nav-h)); min-height: calc(52svh - var(--nav-h)); align-content: center; gap: 22px; padding-block: 18px 22px; }
  .h-display--page { font-size: min(calc(100cqi / (var(--ch) * .72)), 4.2rem); }
  .phero__frame { aspect-ratio: 16 / 9; max-height: none; }
  .orb--sm { width: min(110vw, 70svh); }
}
@media (max-width: 600px) {
  .btn { --h: 48px; --chip: 38px; font-size: 14.5px; padding-left: 20px; }
  .btn--secondary { padding: 0 20px 0 5px; }
  .btn--sm { --h: 44px; --chip: 34px; }
  .hero__grid { gap: 8px; padding-top: clamp(4px, 1svh, 10px); }
  .hero__text .h-display { font-size: min(calc(100cqi / (var(--ch) * .72)), 5svh); }
  .hero__sub { font-size: 14px; }
  .hero__actions .btn { --h: 46px; --chip: 36px; }
  .slider-stage { width: min(100%, calc(18svh * 1.6)); }
  .idx { padding: 2px 6px; }
  .strip__item { gap: 5px 8px; padding: 9px 9px; }
  .strip__icon { width: 28px; height: 28px; border-radius: 9px; }
  .strip__icon .i { width: 15px; height: 15px; }
  .strip__txt strong { font-size: 12.5px; }
  .strip__txt span { font-size: 11.5px; line-height: 1.35; }
  .nav__logo img { height: 42px; }
  .selector__list { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stats div { padding: 12px; }
  .cta-band { border-radius: 26px; }
  .table th, .table td { padding: 11px 12px; }
}
/* Short desktop screens (laptops): tighten the hero stack. */
@media (min-width: 861px) and (max-height: 800px) {
  .hero__text .h-display { font-size: min(6rem, calc(100cqi / (var(--ch) * .72)), 8.6svh); }
  .hero__rule { display: none; }
  .hero__actions { margin-top: 2.6svh; }
  .slider { max-height: 54svh; }
}
/* Very short screens: let the hero grow instead of clipping. */
@media (max-width: 860px), (max-height: 640px) {
  .hero { height: auto; }
}
