/* GeniusLAB — design system, v5 "cinematic"
   Sky and clouds at the top of every page, then calm white and deep black sections that alternate.
   Big, quiet type (Inter Tight) that reveals itself as you scroll; black and white pill buttons.
   Type: Inter Tight (headings, prices, big words) + Red Hat Text (everything else), self-hosted in /fonts. */
@font-face { font-family: "Inter Tight"; src: url("../fonts/intertight.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("../fonts/redhattext.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
:root {
  --ink: #0b1a45;
  --fg: #0b1a45;
  --muted: #56607a;
  --soft: #7f8aa6;
  --accent: #1f4fd8;
  --accent-hi: #2f5ff0;
  --brand: #1f4fd8;
  --sky: #3a7be0;
  --deep: #0e2c97;
  --paper: #f2f5fb;
  --surface: #ffffff;
  --surface-2: #f5f8fd;
  --line: #e2e8f3;
  --line-2: #cdd7e8;
  --chip: #ebf1fd;
  --mint: #0a7a54;
  --mint-bg: #def5ea;
  --dark: #12369f;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, .78);
  --on-band-muted: rgba(255, 255, 255, .86);
  --lift: 0 1px 2px rgba(11, 26, 69, .05), 0 10px 30px -18px rgba(11, 26, 69, .25);
  --lift-hi: 0 2px 4px rgba(11, 26, 69, .05), 0 24px 50px -24px rgba(11, 26, 69, .35);
  --display: "Inter Tight", "Red Hat Text", system-ui, sans-serif;
  --text: "Red Hat Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-h: 72px;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: only light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--fg); font: 400 1rem/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
a, button, .chip, summary, label { touch-action: manipulation; }
main { overflow-x: clip; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.04em; text-wrap: balance; margin: 0; }
h3, h4 { font-family: var(--text); font-weight: 700; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: var(--ink); }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }
@media (max-width: 520px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: .6rem 1rem; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
svg.i { width: 18px; height: 18px; flex: none; }
.lbl { display: block; color: var(--muted); font-size: .84rem; font-weight: 500; letter-spacing: .01em; }
mark { background: #fff2a8; color: inherit; border-radius: 3px; padding: 0 .1em; }
.nw { white-space: nowrap; }

/* ---------- buttons: pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: 0 1.45rem;
  border-radius: 999px; font: 600 .95rem/1 var(--text); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.btn-primary, .btn-wa, .btn-edoc { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -12px rgba(31, 79, 216, .7); }
.btn-primary:hover, .btn-wa:hover, .btn-edoc:hover { background: var(--accent-hi); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: #e8efff; }
.btn-ghost, .btn-ghost-ink { color: #fff; border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover, .btn-ghost-ink:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn-sm { min-height: 42px; padding: 0 1.05rem; font-size: .88rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; color: var(--accent); }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- icons: thin outline circles ---------- */
.ico { --s: 52px; position: relative; width: var(--s); height: var(--s); border-radius: 50%; display: grid; place-items: center; color: var(--accent); flex: none; border: 1px solid var(--line-2); background: #fff; }
.ico svg { width: 42%; height: 42%; stroke-width: 1.7; }
.ico.sm { --s: 40px; }
.ico.lg { --s: 68px; }

/* ---------- header ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--nav-h); color: #fff; transition: background-color .35s ease, color .35s ease, box-shadow .35s ease; }
.nav.solid { background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.nav-row { height: 100%; display: flex; align-items: center; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; flex: none; position: relative; z-index: 2; }
.logo { height: 34px; width: auto; display: block; }
.logo-l { display: none; }
.nav.solid .logo-l { display: block; }
.nav.solid .logo-d { display: none; }
@media (max-width: 520px) { .logo { height: 29px; } }
.primary { margin-left: auto; }
.links { display: flex; align-items: center; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.links > li { position: relative; }
.links > li > a, .dd-btn { color: inherit; text-decoration: none; font-size: .92rem; font-weight: 500; padding: .5rem .75rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .3rem; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.links > li > a:hover, .dd-btn:hover { background: rgba(255, 255, 255, .16); }
.nav.solid .links > li > a:hover, .nav.solid .dd-btn:hover { background: var(--chip); }
.links > li > a[aria-current="page"], .dd-btn.current { font-weight: 700; }
.links > li > a[aria-current="page"]::after, .dd-btn.current::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-left: .2rem; order: 3; }
.dd-btn svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.has-dd:hover .dd-btn svg, .has-dd.open .dd-btn svg { transform: rotate(180deg); }
.btn-edoc { min-height: 42px; padding: 0 1.15rem; font-size: .88rem; flex: none; }
.nav:not(.solid) .btn-edoc { background: #fff; color: var(--accent); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; position: relative; z-index: 2; }
.burger { position: relative; display: block; width: 22px; height: 14px; margin: auto; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease), top .3s var(--ease), width .3s var(--ease); }
.burger i:first-child { top: 1px; }
.burger i:last-child { top: 11px; width: 68%; left: auto; }
.menu-btn[aria-expanded="true"] .burger i:first-child { top: 6px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:last-child { top: 6px; width: 100%; transform: rotate(-45deg); }
.links .only-mobile { display: none; }

/* ---------- Pajisje: mega menu (desktop) ---------- */
.mega a { text-decoration: none; color: inherit; }
@media (min-width: 1181px) {
  .links > li.has-dd { position: static; }
  .mega { position: absolute; left: 50%; top: calc(100% - 22px); width: min(980px, calc(100vw - 40px)); padding-top: 22px; transform: translateX(-50%); color: var(--ink); visibility: hidden; pointer-events: none; transition: visibility 0s .25s; }
  .has-dd:hover .mega, .has-dd:focus-within .mega, .has-dd.open .mega { visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .mega-in {
    --mx: 50%; --my: 0%; position: relative; display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 10px; padding: 10px; border-radius: 30px; background: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 40px 90px -30px rgba(10, 30, 100, .55), 0 12px 30px -18px rgba(10, 30, 100, .3), 0 0 0 1px rgba(10, 30, 100, .07);
    clip-path: inset(0 0 100% 0 round 30px); opacity: 0; transform: translateY(-8px) scale(.985); transform-origin: 50% 0;
    transition: clip-path .5s var(--ease), opacity .25s ease, transform .5s var(--ease);
  }
  /* a soft blue light that follows the pointer */
  .mega-in::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(31, 79, 216, .09), transparent 60%); }
  .has-dd:hover .mega-in, .has-dd:focus-within .mega-in, .has-dd.open .mega-in { clip-path: inset(0 0 0 0 round 30px); opacity: 1; transform: none; }
  .mega-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 372px; padding: 1.25rem 1.3rem 1.2rem; border-radius: 22px; overflow: hidden; color: var(--ink); text-decoration: none; isolation: isolate; background: #2f6fd8 url("../img/sky/sky-m.webp") center 20% / cover no-repeat; }
  .mega-hero::after { content: ""; position: absolute; z-index: -1; left: -30%; right: -30%; bottom: -2px; height: 46%; background: url("../img/sky/clouds-strip-m.webp") center top / 100% auto no-repeat, linear-gradient(transparent 38%, #fff 70%); }
  .mega-float { position: absolute; left: 50%; top: 26px; width: 210px; margin-left: -105px; animation: mega-float 5s ease-in-out infinite; perspective: 800px; }
  @keyframes mega-float { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
  .mega-card { display: grid; place-items: center; height: 158px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 22px 40px -18px rgba(8, 36, 120, .55), 0 2px 0 rgba(255, 255, 255, .6) inset; transform: rotateY(-14deg) rotateX(6deg); transition: transform .35s var(--ease), opacity .2s ease; }
  .mega-card img { max-width: 100%; max-height: 130px; width: auto; height: auto; object-fit: contain; }
  .mega-card.turn { transform: rotateY(80deg) rotateX(6deg) scale(.92); opacity: 0; transition-duration: .18s; }
  .mega-hero:hover .mega-card { transform: rotateY(0) rotateX(0) scale(1.03); }
  .mega-copy { position: relative; display: flex; flex-direction: column; gap: .2rem; padding-right: 3.2rem; transition: opacity .2s ease; }
  .mega-copy .k { color: var(--accent); font-size: .78rem; font-weight: 700; }
  .mega-copy b { font: 600 1.45rem/1.1 var(--display); letter-spacing: -.035em; }
  .mega-copy .s { color: var(--muted); font-size: .86rem; line-height: 1.4; }
  .mega-hero.swap .mega-copy { opacity: 0; }
  .mega-go { position: absolute; right: 1.1rem; bottom: 1.2rem; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; transition: transform .35s var(--ease); }
  .mega-hero:hover .mega-go { transform: translateX(4px) rotate(-45deg); }
  .mega-go svg { width: 18px; height: 18px; }
  .mega-side { display: flex; flex-direction: column; padding: .55rem .35rem .3rem .5rem; min-width: 0; }
  .mega-h { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .2rem .55rem .7rem; color: var(--muted); font-size: .8rem; font-weight: 600; }
  .mega-h a { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .2rem; color: var(--accent); font-weight: 700; font-size: .84rem; border-radius: 8px; }
  .mega-h a svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
  .mega-h a:hover svg { transform: translateX(3px); }
  .mega-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .mega-tile {
    position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 16px; white-space: normal; color: var(--ink);
    opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .5s var(--ease), background-color .2s ease;
  }
  .has-dd:hover .mega-tile, .has-dd:focus-within .mega-tile, .has-dd.open .mega-tile { opacity: 1; transform: none; transition-delay: calc(.08s + var(--i) * 35ms), calc(.08s + var(--i) * 35ms), 0s; }
  .mega-tile:hover, .mega-tile:focus-visible { background: var(--chip); }
  .mega-tile .ico { transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .4s var(--ease); }
  .mega-tile:hover .ico, .mega-tile:focus-visible .ico, .mega-tile.diag:hover .ico { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-8deg) scale(1.06); }
  .mega-tile .t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
  .mega-tile b { font-weight: 700; font-size: .93rem; }
  .mega-tile small { color: var(--muted); font-size: .8rem; font-weight: 500; }
  .mega-tile .go { width: 16px; height: 16px; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .3s var(--ease); }
  .mega-tile:hover .go, .mega-tile:focus-visible .go { opacity: 1; transform: none; }
  .mega-tile.diag { background: linear-gradient(120deg, #eaf0ff, #f5f8ff); }
  .mega-tile.diag .ico { border-color: #c5d4fb; color: var(--accent); }
  .mega-foot { display: flex; align-items: center; gap: .55rem; margin-top: auto; padding: .9rem .6rem .2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
  .mega-foot svg { width: 16px; height: 16px; color: var(--accent); }
}

/* ---------- phones and tablets: a full-screen blue menu ---------- */
@media (max-width: 1180px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .btn-edoc { display: none; }
  .nav.menu-open, .nav.solid.menu-open { position: fixed; left: 0; right: 0; top: 0; padding-top: env(safe-area-inset-top, 0px); height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); background: var(--accent); color: #fff; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.menu-open .logo-l { display: none; }
  .nav.menu-open .logo-d { display: block; }
  .links {
    position: fixed; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); height: calc(100dvh - var(--nav-h) - env(safe-area-inset-top, 0px));
    display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; overflow-y: auto; overscroll-behavior: contain;
    padding: .5rem max(20px, env(safe-area-inset-right, 0px)) calc(48px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
    color: #fff; background: linear-gradient(170deg, var(--accent) 0%, #1640b8 45%, var(--deep) 100%);
    clip-path: circle(0 at calc(100% - 44px) -36px); visibility: hidden; transition: clip-path .5s cubic-bezier(.7, 0, .3, 1), visibility 0s .5s;
  }
  .links::after { content: ""; position: fixed; left: -20%; right: -20%; bottom: 0; height: 140px; pointer-events: none; opacity: .22; background: url("../img/sky/clouds-strip-m.webp") center bottom / 100% auto no-repeat; }
  .links.open { clip-path: circle(150vmax at calc(100% - 44px) -36px); visibility: visible; transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
  .links > li { position: relative; border-bottom: 1px solid rgba(255, 255, 255, .14); opacity: 0; transform: translateY(26px); transition: opacity .3s ease, transform .3s ease; }
  .links.open > li { opacity: 1; transform: none; transition: opacity .5s ease, transform .7s var(--ease); transition-delay: calc(.18s + var(--n) * 45ms); }
  .links > li:not(.only-mobile)::before { content: "0" counter(m); counter-increment: m; position: absolute; left: 0; top: 1.45rem; font: 600 .7rem/1 var(--text); color: rgba(255, 255, 255, .5); letter-spacing: .04em; }
  .links { counter-reset: m; }
  .links > li > a, .dd-btn { width: 100%; padding: 1.05rem .25rem 1.05rem 2.2rem; border-radius: 0; justify-content: space-between; font: 500 clamp(1.5rem, 6.4vw, 2.1rem)/1.1 var(--display); letter-spacing: -.035em; color: #fff; }
  .links > li > a:hover, .dd-btn:hover, .nav.solid .links > li > a:hover, .nav.solid .dd-btn:hover { background: transparent; }
  .links > li > a[aria-current="page"]::after, .dd-btn.current::after { width: 8px; height: 8px; margin-left: auto; margin-right: .2rem; order: 0; }
  .dd-btn svg { width: 22px; height: 22px; }
  .dd-btn.current svg { margin-left: .6rem; }

  /* Pajisje opens in place: one card for everything, then a tile per category */
  .mega { display: none; padding: 0 0 1.1rem; }
  .has-dd.open .mega { display: block; animation: mega-in .45s var(--ease); }
  @keyframes mega-in { from { opacity: 0; transform: translateY(-8px); } }
  .mega-hero { display: grid; grid-template-columns: 64px minmax(0, 1fr) 36px; align-items: center; gap: .9rem; padding: .7rem .8rem; margin-bottom: .5rem; border-radius: 18px; background: rgba(255, 255, 255, .12); font: inherit; }
  .mega-float { display: block; }
  .mega-card { display: grid; place-items: center; width: 64px; height: 52px; padding: 5px; border-radius: 12px; background: #fff; }
  .mega-card img { max-width: 100%; max-height: 42px; width: auto; height: auto; object-fit: contain; }
  .mega-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
  .mega-copy .k { font-size: .72rem; font-weight: 700; color: rgba(255, 255, 255, .7); }
  .mega-copy b { font: 600 1.05rem/1.2 var(--display); letter-spacing: -.02em; }
  .mega-copy .s { display: none; }
  .mega-go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--accent); }
  .mega-go svg { width: 16px; height: 16px; }
  .mega-h, .mega-foot { display: none; }
  .mega-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .mega-tile { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; height: 100%; padding: .8rem .85rem; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font: inherit; letter-spacing: 0; }
  .mega-tile .ico { --s: 34px; background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
  .mega-tile .t { display: flex; flex-direction: column; line-height: 1.25; }
  .mega-tile b { font-size: .9rem; font-weight: 700; }
  .mega-tile small { font-size: .76rem; color: rgba(255, 255, 255, .68); }
  .mega-tile .go { display: none; }
  .mega-tile.diag { background: #fff; color: var(--accent); }
  .mega-tile.diag .ico { border-color: #c5d4fb; color: var(--accent); }
  .mega-tile.diag small { color: var(--muted); }

  .links .only-mobile { display: flex; gap: .6rem; border-bottom: 0; padding-top: 1.4rem; }
  .menu-acts .btn { flex: 1; width: auto; padding: 0 1rem; justify-content: center; font: 600 .98rem/1 var(--text); letter-spacing: 0; min-height: 52px; border-radius: 999px; }
  .menu-acts .btn-white { background: #fff; color: var(--accent); border: 0; }
  .menu-acts .btn-ghost { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
}
html.menu-lock { overflow: hidden; }
@media (max-width: 1180px) { html.menu-lock body { padding-top: var(--nav-h); } } /* the header leaves the page flow while the menu is open: keep the page where it was */

/* ================= the cinematic opening (home) ================= */
/* .cine is tall; its stage sticks to the screen while --p (set by site.js) runs from 0 to 1:
   the copy fades, the 3D objects rise out of the clouds, the camera flies through the clouds, and the big word appears. */
.cine { --p: 0; position: relative; height: 270svh; margin-top: calc(var(--nav-h) * -1); background: #fff; }
.cine-stage { position: sticky; top: 0; height: 100svh; min-height: 540px; overflow: hidden; isolation: isolate; color: #fff; background: #2f6fd8; }
.cine-stage > * { position: absolute; }
.cine-sky { inset: -4% 0 0; background: #2f6fd8 url("../img/sky/sky.webp") center top / cover no-repeat; transform: translate3d(0, calc(var(--p) * -4%), 0) scale(calc(1 + var(--p) * .18)); will-change: transform; }
.cine-back { left: -10%; right: -10%; bottom: 16%; aspect-ratio: 4 / 1; background: url("../img/sky/clouds-back.webp") center bottom / 100% 100% no-repeat; transform: translate3d(0, calc(var(--p) * -16vh), 0) scale(calc(1 + var(--p) * .5)); will-change: transform; }
.cine-copy { left: 0; right: 0; top: calc(var(--nav-h) + clamp(1rem, 6vh, 4.5rem)); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; opacity: clamp(0, calc(1 - var(--p) * 6), 1); transform: translate3d(0, calc(var(--p) * -22vh), 0); will-change: transform, opacity; }
.cine h1 { font-size: clamp(2.5rem, 5.4vw, 5rem); line-height: 1; letter-spacing: -.05em; text-shadow: 0 2px 40px rgba(8, 36, 120, .25); }
.cine .lede { max-width: 44ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .92); text-shadow: 0 1px 14px rgba(8, 36, 120, .3); }
.cine .ctas { justify-content: center; }
.cine .btn-primary { background: #fff; color: var(--accent); box-shadow: 0 12px 30px -14px rgba(8, 36, 120, .6); }
.cine .btn-primary:hover { background: #eef0f4; }
.cine .btn-line { color: #fff; border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); }
.cine .btn-line:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.cine-obj { left: 50%; top: max(50svh, 450px); bottom: 2svh; width: min(1080px, 96vw); transform: translate3d(-50%, calc(var(--p) * -40vh), 0) scale(calc(1 + var(--p) * var(--grow, .6))); opacity: clamp(0, calc((.6 - var(--p)) * 6), 1); z-index: 2; will-change: transform, opacity; }
.cine-obj .gl { z-index: 0; }
.trio-box { position: absolute; inset: 2% 3% 6%; pointer-events: none; }
.cine-front { left: -10%; right: -10%; bottom: 0; height: 56svh; background: url("../img/sky/clouds-front.webp") center top / cover no-repeat; z-index: 4; transform-origin: 50% 40%; transform: translate3d(0, calc(var(--p) * -62vh), 0) scale(calc(1 + var(--p) * 2.3)); will-change: transform; pointer-events: none; }
.cine-fog { inset: 0; z-index: 5; background: #f6f8fc url("../img/sky/clouds-back.webp") center bottom / max(140%, 900px) auto no-repeat; /* a flat colour under the clouds: a gradient here costs a lot on phones */ opacity: clamp(0, calc((var(--p) - .32) * 4.5), 1); will-change: opacity; pointer-events: none; }
.cine-word { inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; text-align: center; opacity: clamp(0, calc((var(--p) - .46) * 5), 1); transform: scale(calc(1.55 - clamp(0, calc((var(--p) - .46) * 2.1), .55))); will-change: transform, opacity; pointer-events: none; }
.cine-word span { font: 700 clamp(4.2rem, 17vw, 17rem)/.86 var(--display); letter-spacing: -.065em; padding: 0 .04em .06em; background: #2f6fd8 url("../img/sky/fill.webp") center 40% / cover; -webkit-background-clip: text; background-clip: text; color: transparent; }
.cine-word small { font: 500 clamp(1rem, 1.6vw, 1.35rem)/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.cine-hint { left: 0; right: 0; bottom: 1.4rem; z-index: 7; margin: 0; display: flex; flex-direction: column; align-items: center; gap: .55rem; color: var(--ink); font-size: .8rem; font-weight: 600; letter-spacing: .02em; opacity: clamp(0, calc(1 - var(--p) * 9), 1); }
.cine.fogged :is(.cine-sky, .cine-back, .cine-obj, .cine-front, .cine-copy) { visibility: hidden; }
.cine.clear :is(.cine-fog, .cine-word) { visibility: hidden; }
.cine-hint::after { content: ""; width: 1.5px; height: 34px; background: linear-gradient(var(--ink), rgba(11, 26, 69, 0)); animation: hint 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) {
  .cine { height: 225svh; }
  .cine-sky { background: url("../img/sky/clouds-back-m.webp") center 74% / 240% auto no-repeat, #2f6fd8 url("../img/sky/sky-m.webp") center top / cover no-repeat; }
  .cine-back { display: none; }
  .cine-front { background-image: url("../img/sky/clouds-front-m.webp"); height: 46svh; left: -30%; right: -30%; }
  .cine-fog { background-image: url("../img/sky/clouds-back-m.webp"); }
  .cine-copy { top: calc(var(--nav-h) + 1.25rem); gap: 1rem; }
  .cine h1 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
  .cine .lede { font-size: 1rem; max-width: 34ch; }
  .cine .ctas { flex-direction: column; align-items: stretch; width: min(100%, 340px); gap: .6rem; }
  .cine-obj { top: max(55svh, 410px); bottom: 5svh; width: 100vw; --grow: .12; }
  .cine h1 br { display: none; }
  .trio-box { inset: 0 6% 4%; }
  .cine-word span { font-size: 18.5vw; }
}
@media (max-height: 640px) and (min-width: 761px) { .cine .lede { display: none; } }
html:not(.js) .cine, .cine.still { height: auto; }
html:not(.js) .cine-stage, .cine.still .cine-stage { position: relative; }
html:not(.js) :is(.cine-fog, .cine-word, .cine-hint), .cine.still :is(.cine-fog, .cine-word, .cine-hint) { display: none; }

/* ---------- sky heroes on the inner pages ---------- */
.sky-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; margin-top: calc(var(--nav-h) * -1); padding-top: var(--nav-h); background: #2f6fd8 url("../img/sky/sky.webp") center 30% / cover no-repeat; }
.sky-clouds { position: absolute; z-index: 1; left: 50%; bottom: -2px; width: max(108%, 940px); aspect-ratio: 6 / 1; transform: translateX(-50%); background: url("../img/sky/clouds-strip.webp") center bottom / 100% 100% no-repeat; pointer-events: none; }
.gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.sky-hero .gl { z-index: 0; }
.hero-obj { position: absolute; top: calc(var(--nav-h) + 1rem); bottom: clamp(4rem, 9vw, 7rem); right: max(28px, calc((100vw - 1280px) / 2 + 28px)); width: min(40vw, 500px); pointer-events: none; }
.page-hero.plain .hero-obj { display: none; }
.page-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; min-height: clamp(400px, 56vh, 560px); padding-block: 2.5rem clamp(7rem, 12vw, 10rem); }
.page-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.8rem); line-height: 1; letter-spacing: -.05em; max-width: 13ch; text-shadow: 0 2px 34px rgba(8, 36, 120, .22); }
.page-hero .lede { max-width: 50ch; color: var(--on-band-muted); font-size: clamp(1.02rem, 1.4vw, 1.18rem); text-shadow: 0 1px 12px rgba(8, 36, 120, .25); }
.page-hero.plain .page-hero-inner { min-height: 0; padding-block: 3rem clamp(6rem, 10vw, 8rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; color: var(--on-band-muted); font-size: .88rem; font-weight: 500; }
.crumbs a { color: var(--on-band-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .55; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .34); color: #fff; font-size: .88rem; font-weight: 500; }
.hero-chip svg { width: 15px; height: 15px; }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.sky-hero .btn-primary { background: #fff; color: var(--accent); }
@media (max-width: 860px) {
  .sky-hero { background-image: url("../img/sky/sky-m.webp"); }
  .sky-clouds { background-image: url("../img/sky/clouds-strip-m.webp"); width: max(130%, 700px); }
  .page-hero-inner { min-height: 0; padding-block: 1.5rem 5.5rem; gap: .85rem; }
  .page-hero.has-gl .page-hero-inner { min-height: 330px; }
  .hero-obj { top: calc(var(--nav-h) + 4px); bottom: auto; right: 8px; width: 116px; height: 116px; }
  .page-hero.has-gl h1 { max-width: 10.5ch; }
  .page-hero h1 { font-size: clamp(2rem, 9vw, 2.7rem); max-width: 12ch; }
  .page-hero .lede { font-size: 1rem; max-width: 34ch; }
  .page-hero.plain .page-hero-inner { padding-block: 1.5rem 4.5rem; }
}

/* ---------- sections ---------- */
section, [id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
.sec { padding-block: clamp(4rem, 9vw, 8rem); }
.sec-head { display: flex; flex-direction: column; gap: .9rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); max-width: 760px; }
.sec-head h2, .network-copy h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.02; }
.sec-head p { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.sec-head.row-head { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; }
.sec-head.row-head > div:first-child { display: flex; flex-direction: column; gap: .9rem; max-width: 680px; }
.more-row { margin-top: 2.25rem; display: flex; justify-content: center; }
.dark { position: relative; isolation: isolate; background: var(--dark); color: var(--on-dark); }
/* the soft light sits on its own layer: anything that moves inside the section then never repaints the gradient (slow on phones) */
.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transform: translateZ(0); background: radial-gradient(70% 80% at 92% 0%, rgba(90, 150, 255, .5), transparent 62%), radial-gradient(60% 70% at 0% 100%, rgba(8, 28, 110, .55), transparent 70%); }
.dark .lbl, .dark .sec-head p { color: var(--on-dark-muted); }
.center-h { text-align: center; font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1; margin-inline: auto; max-width: 16ch; }
.center-p { text-align: center; margin-inline: auto; }
.two-tone { font: 500 clamp(1.35rem, 2.6vw, 2.15rem)/1.2 var(--display); letter-spacing: -.03em; color: var(--soft); max-width: 34ch; text-wrap: pretty; }
.two-tone b { color: var(--ink); font-weight: inherit; }
.dark .two-tone { color: rgba(255, 255, 255, .58); }
.dark .two-tone b { color: #fff; }

/* headings rise word by word when they come into view */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .02em .14em; margin: -.12em -.02em -.14em; }
.sw > span { display: inline-block; }
.js .split:not(.split-in) .sw > span { transform: translate3d(0, 108%, 0); }
.js .split .sw > span { transition: transform 1s var(--ease); transition-delay: calc(var(--k, 0) * 55ms); }

/* ---------- reveal: things rise into place as they scroll in ---------- */
.js .rv:not(.done) { transition: opacity .7s ease, transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rv:not(.in) { opacity: 0; transform: translateY(36px); }

/* ---------- statement: words light up as you read ---------- */
.statement { padding-block: clamp(5rem, 13vw, 11rem) clamp(3rem, 7vw, 6rem); }
.statement-in { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 4fr); gap: 1.5rem 3rem; align-items: start; }
.statement .lbl { padding-top: .9rem; }
.big-words { font: 500 clamp(1.75rem, 4.1vw, 3.5rem)/1.12 var(--display); letter-spacing: -.04em; color: var(--ink); text-wrap: pretty; }
.js .big-words .w { color: #c8d2e8; transition: color .35s ease; }
.js .big-words .w.on { color: var(--ink); }
@media (max-width: 760px) { .statement-in { grid-template-columns: minmax(0, 1fr); } .statement .lbl { padding-top: 0; } }

/* ---------- chevrons ---------- */
.chev-sec { padding-top: clamp(2rem, 5vw, 4rem); }
.chevrons { --cw: clamp(120px, 21vw, 290px); display: flex; justify-content: center; height: calc(var(--cw) * 1.08); margin: clamp(2.5rem, 6vw, 4.5rem) 0; padding-left: calc(var(--cw) * .3); }
.chevrons i { flex: none; width: var(--cw); height: 100%; margin-left: calc(var(--cw) * -.3); clip-path: polygon(0 0, 62% 0, 100% 50%, 62% 100%, 0 100%, 38% 50%); background: #2f6fd8 center 22% / cover no-repeat; transform: translate3d(calc((1 - var(--q, 1)) * (34vw + var(--d) * 9vw)), 0, 0); opacity: clamp(0, calc(var(--q, 1) * 2.6 - var(--d) * .35), 1); will-change: transform, opacity; }
.chevrons i:nth-child(odd) { background-position: center 40%; }
@media (max-width: 760px) { .chevrons { --cw: 31vw; } }

/* ---------- steps (home) ---------- */
.steps-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2.5rem clamp(2rem, 7vw, 7rem); align-items: start; }
.steps-side { position: sticky; top: calc(var(--nav-h) + 2.5rem); display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; }
.steps-side h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1; max-width: 9ch; }
.steps-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.steps-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 1.25rem; align-items: start; padding: 2rem 0; border-top: 1px solid var(--line); }
.steps-list li:last-child { border-bottom: 1px solid var(--line); }
.steps-list .n, .svc-row .n { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--accent); display: grid; place-items: center; font: 500 .9rem/1 var(--display); }
.steps-list p { font: 500 clamp(1.25rem, 2vw, 1.6rem)/1.25 var(--display); letter-spacing: -.025em; color: var(--soft); }
.steps-list p b { color: var(--ink); font-weight: inherit; }
@media (max-width: 860px) { .steps-in { grid-template-columns: minmax(0, 1fr); } .steps-side { position: static; } .steps-list li { grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0; } }

/* ---------- picture that opens up as you scroll ---------- */
.reveal-sec { padding-top: 0; }
.reveal-img { margin: 0; height: clamp(300px, 46vw, 620px); border-radius: 28px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(60% 70% at 50% 45%, #fff 0%, #eef1f5 60%, #e3e7ee 100%); clip-path: inset(calc((1 - var(--q, 1)) * 14%) calc((1 - var(--q, 1)) * 20%) round 28px); }
.reveal-img img { max-height: 88%; width: auto; max-width: 84%; object-fit: contain; transform: scale(calc(1.18 - var(--q, 1) * .18)); mix-blend-mode: multiply; }
.reveal-cap { margin-top: clamp(1.75rem, 4vw, 3rem); }

/* ---------- services as big words (dark) ---------- */
.svc { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.svc-head { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 4fr); gap: 1rem 3rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.svc-head .lbl { padding-top: .8rem; }
.svc-head h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1; }
.svc-rows { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.svc-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 56px; align-items: center; gap: 1rem 2rem; padding: clamp(1.25rem, 2.6vw, 2rem) 0; border-top: 1px solid rgba(255, 255, 255, .22); color: #fff; text-decoration: none; }
.svc-row .n { border-color: rgba(255, 255, 255, .45); color: #fff; }
.svc-row p { color: var(--on-dark-muted); max-width: 36ch; font-size: .98rem; }
.svc-row b { font: 400 clamp(3rem, 8.6vw, 7.6rem)/.95 var(--display); letter-spacing: -.06em; transition: transform .5s var(--ease), color .3s ease; }
.svc-row .go { width: 40px; height: 40px; justify-self: end; stroke-width: 1.5; transition: transform .4s var(--ease); }
.svc-row:hover b { transform: translateX(-14px); color: #d9e6ff; }
.svc-row:hover .go { transform: translateX(6px); }
.svc-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 760px) {
  .svc-head { grid-template-columns: minmax(0, 1fr); }
  .svc-head .lbl { padding-top: 0; }
  .svc-row { grid-template-columns: 36px minmax(0, 1fr) 28px; grid-template-areas: "n w go" ". p p"; gap: .5rem .9rem; padding: 1.4rem 0; }
  .svc-row .n { grid-area: n; width: 32px; height: 32px; font-size: .8rem; }
  .svc-row b { grid-area: w; font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .svc-row .go { grid-area: go; width: 26px; height: 26px; }
  .svc-row p { grid-area: p; font-size: .92rem; }
}

/* ---------- cards ---------- */
.tilt { --rx: 0deg; --ry: 0deg; position: relative; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease), box-shadow .4s ease; }
.tilt.is-tilting { transition: transform .08s linear, box-shadow .4s ease; box-shadow: var(--lift-hi); }
.card { display: flex; flex-direction: column; gap: .85rem; padding: 1.6rem 1.5rem 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.card h3 { font: 600 1.2rem/1.25 var(--display); letter-spacing: -.025em; }
.card > p { color: var(--muted); font-size: .96rem; }
.tag { align-self: flex-start; padding: .35rem .75rem; border-radius: 999px; background: var(--chip); color: var(--ink); font-size: .8rem; font-weight: 600; }
.card .tag { margin-top: auto; }
.note { padding: 1rem 1.15rem; border-radius: 16px; background: var(--paper); color: var(--fg); font-size: .94rem; display: flex; gap: .75rem; }
.note svg { width: 20px; height: 20px; color: var(--ink); flex: none; margin-top: .1rem; }

/* ---------- facts strip (about, team) ---------- */
.stats-band { position: relative; z-index: 3; margin-top: -56px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border-radius: 24px; box-shadow: var(--lift-hi); overflow: hidden; }
.stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num { font: 500 clamp(2rem, 3.6vw, 3rem)/1 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat .num small { font-size: .55em; color: var(--muted); margin-left: .1em; }
.stat .lab { font-weight: 700; margin-top: .45rem; }
.stat .sub { color: var(--muted); font-size: .88rem; }
.partners { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; padding: 1.1rem .25rem 0; color: var(--muted); font-size: .92rem; }
.partners .lbl { display: inline; font-weight: 700; color: var(--ink); font-size: .92rem; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .stat:nth-child(3) { border-left: 0; }
  .stats .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats.three { grid-template-columns: minmax(0, 1fr); }
  .stats.three .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { padding: 1.15rem 1.05rem; }
}

/* ---------- network (home, dark) ---------- */
.network { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(4rem, 8vw, 6.5rem); }
.network-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; min-height: 440px; }
.network-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.2rem; }
.network-copy > p { color: var(--on-dark-muted); max-width: 44ch; font-size: 1.05rem; }
.cities { display: flex; flex-wrap: wrap; gap: .45rem; }
.cities span { padding: .4rem .85rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); font-size: .9rem; }
.cities span b { font-weight: 700; color: #cfe0ff; margin-left: .4rem; }
.network .gl-spacer { min-height: 500px; }
@media (max-width: 860px) { .network-inner { grid-template-columns: minmax(0, 1fr); } .network .gl-spacer { min-height: 340px; order: -1; } }
.gl-labels { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease; }
.gl-labels svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gl-labels line { stroke: #fff; stroke-width: 1; opacity: .5; }
.gl-label { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; padding: .28rem .7rem; border-radius: 999px; background: #fff; color: var(--ink); font: 700 .8rem/1.2 var(--text); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .7); }
.gl-label b { font-weight: 700; color: var(--brand); }
.gl-town { position: absolute; left: 0; top: 0; white-space: nowrap; color: var(--ink); font: 700 .72rem/1.2 var(--text); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 6px #fff; transition: opacity .3s ease; }
.gl-town.main { color: var(--brand); font-size: .78rem; }
.gl-town.main b { color: var(--ink); }
.dark .gl-town { color: #fff; text-shadow: 0 0 3px #0a2378, 0 0 3px #0a2378, 0 0 8px #0a2378; }
.dark .gl-town.main { color: #cfe0ff; }
.dark .gl-town.main b { color: #fff; }
.gl-labels.compact .gl-label, .gl-labels.compact svg { display: none; }

/* ---------- more (home) ---------- */
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.more-card { display: flex; flex-direction: column; gap: 1.1rem; color: var(--ink); text-decoration: none; min-width: 0; }
.more-card .pic { position: relative; display: block; aspect-ratio: 4 / 3.3; border-radius: 24px; overflow: hidden; isolation: isolate; }
/* a device floating in the sky */
.v-diag { display: grid !important; place-items: center; background: #2f6fd8 url("../img/sky/sky-m.webp") center 30% / cover no-repeat; }
.v-diag::after { content: ""; position: absolute; z-index: -1; left: -15%; right: -15%; bottom: -2px; aspect-ratio: 6 / 1; background: url("../img/sky/clouds-strip-m.webp") center bottom / 100% 100% no-repeat; }
.v-float { position: relative; width: 44%; margin-top: -6%; animation: float-y 6s ease-in-out infinite; perspective: 800px; }
.v-card { display: grid; place-items: center; padding: 10% 12%; border-radius: 22px; background: #fff; box-shadow: 0 34px 50px -26px rgba(8, 36, 120, .75); transform: rotateY(-14deg) rotateX(6deg); transition: transform .6s var(--ease); }
.v-card img { width: auto; height: auto; max-width: 100%; max-height: 170px; }
.more-card:hover .v-card { transform: none; }
/* the specialties as tags */
.v-spec { display: grid !important; place-items: center; background: radial-gradient(80% 80% at 85% 0%, rgba(90, 150, 255, .6), transparent 60%), var(--dark); }
.v-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; max-width: 90%; }
.v-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 700; box-shadow: 0 12px 22px -14px rgba(0, 0, 0, .6); transform: rotate(var(--r, 0deg)); transition: transform .5s var(--ease); }
.v-pill svg { width: 16px; height: 16px; color: var(--accent); }
.v-pill.more { background: rgba(255, 255, 255, .12); color: #fff; border: 1px dashed rgba(255, 255, 255, .55); box-shadow: none; }
.more-card:hover .v-pill { transform: rotate(0) translateY(-2px); }
/* the team as a row of faces */
.v-team { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; background: radial-gradient(70% 70% at 50% 40%, #d6e4ff, #f2f5fb 75%); }
.v-faces { display: flex; justify-content: center; padding-left: 14px; }
.v-faces img { width: clamp(62px, 21%, 104px); height: auto; aspect-ratio: 1; margin-left: -14px; border-radius: 50%; object-fit: cover; object-position: center 16%; border: 4px solid #fff; box-shadow: 0 14px 24px -14px rgba(11, 26, 69, .6); transition: transform .5s var(--ease); }
.v-faces img:nth-child(3) { position: relative; z-index: 2; transform: scale(1.18); }
.v-faces img:nth-child(2), .v-faces img:nth-child(4) { position: relative; z-index: 1; transform: scale(1.06); }
.more-card:hover .v-faces img { transform: translateY(-4px) scale(1.06); }
.more-card:hover .v-faces img:nth-child(3) { transform: translateY(-4px) scale(1.22); }
.v-badge { padding: .5rem 1rem; border-radius: 999px; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 600; box-shadow: 0 10px 20px -14px rgba(11, 26, 69, .5); }
.v-badge b { color: var(--accent); }
.more-card .body { display: flex; flex-direction: column; gap: .45rem; }
.more-card b { font: 500 1.45rem/1.15 var(--display); letter-spacing: -.03em; }
.more-card .body > span:not(.link-arrow) { color: var(--muted); font-size: .96rem; }
.more-card .link-arrow { margin-top: .35rem; }
.more-card:hover .link-arrow svg { transform: translateX(4px); }
@media (max-width: 900px) { .more-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; } .more-card .pic { aspect-ratio: 16 / 10; } .v-float { width: 30%; margin-top: -4%; } .v-card img { max-height: 112px; } .v-faces img { width: 17%; } }
.news-sec { background: var(--paper); }

/* ---------- showroom ring (Pajisje) ---------- */
.showroom { padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(3.5rem, 6vw, 5rem); background: radial-gradient(60% 60% at 50% 55%, #eef1f6, rgba(238, 241, 246, 0) 70%); }
.stage { --cw: 220px; --ch: 270px; position: relative; height: clamp(330px, 36vw, 420px); perspective: 1500px; perspective-origin: 50% 30%; overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.stage:focus-visible { box-shadow: inset 0 0 0 3px var(--brand); border-radius: 14px; }
.stage.grabbing { cursor: grabbing; }
.ring { position: absolute; left: 50%; top: 46%; width: var(--cw); height: var(--ch); margin-left: calc(var(--cw) / -2); margin-top: calc(var(--ch) / -2); transform-style: preserve-3d; will-change: transform; }
.dev { --d: 1; position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 26px 44px -26px rgba(11, 26, 69, .45); border: 1px solid var(--line); opacity: calc(.18 + var(--d) * .82); filter: brightness(calc(.78 + var(--d) * .22)); }
.dev-img { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.dev-img img { position: absolute; inset: 1rem 1rem .4rem; margin: auto; width: auto; height: auto; max-width: calc(100% - 2rem); max-height: calc(100% - 1.4rem); object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.dev figcaption { position: relative; z-index: 1; padding: .7rem 1rem 1rem; display: flex; flex-direction: column; gap: .2rem; border-top: 1px solid var(--line); background: #fff; border-radius: 0 0 20px 20px; opacity: calc((var(--d) - .45) * 2); }
.dev figcaption span { font-size: .74rem; font-weight: 700; color: var(--muted); }
.dev figcaption strong { font: 600 .98rem/1.2 var(--display); letter-spacing: -.02em; }
.dev.is-front { box-shadow: 0 0 0 2px var(--accent), 0 30px 60px -20px rgba(11, 26, 69, .45); }
.floor { position: absolute; left: 50%; bottom: 4%; width: min(980px, 120%); height: 90px; transform: translateX(-50%); pointer-events: none; background: radial-gradient(50% 50% at 50% 50%, rgba(11, 26, 69, .12), transparent 70%); }
.detail-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; padding-top: 1.5rem; }
.detail { max-width: 640px; min-width: 0; display: flex; flex-direction: column; gap: .45rem; transition: opacity .25s ease; }
.detail.swap { opacity: 0; }
.detail .lbl { color: var(--muted); font-weight: 600; }
.detail h3 { font: 500 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--display); letter-spacing: -.04em; }
.detail p:last-child { color: var(--muted); max-width: 60ch; }
.ctrl { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.ctrl .hint { color: var(--muted); font-size: .88rem; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; transition: border-color .2s, transform .15s; }
.arrow:hover { border-color: var(--accent); color: var(--accent); }
.arrow:active { transform: scale(.94); }
.arrow svg { width: 18px; height: 18px; }
.ctrl .btn-ghost { color: var(--ink); border-color: var(--line-2); background: #fff; }
.ctrl .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 640px) {
  .stage { --cw: 164px; --ch: 214px; height: 300px; }
  .dev-img img { inset: .7rem .7rem .3rem; max-width: calc(100% - 1.4rem); max-height: calc(100% - 1rem); }
  .dev figcaption { padding: .55rem .75rem .75rem; }
  .dev figcaption strong { font-size: .86rem; }
}

/* ---------- contact band (every page, dark) ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--deep); padding-block: clamp(5.5rem, 13vw, 11rem) clamp(3rem, 6vw, 4.5rem); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/sky/fill.webp") center 30% / cover no-repeat; opacity: .9; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 44, 151, .1) 0%, rgba(14, 44, 151, .55) 55%, var(--deep) 100%); }
.cta-in { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.cta-band h2 { font-size: clamp(2.4rem, 6.4vw, 5.4rem); line-height: .98; letter-spacing: -.05em; max-width: 14ch; }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 50ch; font-size: 1.08rem; }
.cta-band .ctas { justify-content: center; margin-top: .4rem; }
.cta-facts { margin: clamp(3.5rem, 8vw, 6rem) 0 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .24); text-align: left; }
.cta-facts dt { color: var(--on-dark-muted); font-size: .82rem; font-weight: 500; }
.cta-facts dd { margin: .3rem 0 0; font-weight: 600; }
.cta-facts a { color: #fff; text-decoration: none; }
.cta-facts a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .cta-band .ctas { flex-direction: column; align-items: stretch; width: min(100%, 360px); } .cta-facts { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }

/* ---------- toolbar: search, sort, filters ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: 1rem; background: var(--surface); border-radius: 26px; box-shadow: var(--lift-hi); border: 1px solid var(--line); }
.toolbar.floating { position: relative; z-index: 3; margin-top: -52px; }
.search { position: relative; flex: 1 1 280px; min-width: 0; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 50px; padding: 0 1rem 0 2.75rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); font-size: 1rem; }
.search input::placeholder { color: #737986; }
.search input:focus { outline: 3px solid rgba(31, 79, 216, .25); outline-offset: 0; border-color: var(--accent); background: #fff; }
.sort { position: relative; flex: 0 1 250px; min-width: 0; }
.sort svg { position: absolute; left: 15px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--accent); pointer-events: none; }
.sort select { width: 100%; min-height: 50px; padding: 0 2.3rem 0 2.65rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4fd8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; color: var(--ink); font-weight: 600; -webkit-appearance: none; appearance: none; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: .9rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip b { font-size: .76rem; font-weight: 700; opacity: .6; }
.chip svg { width: 16px; height: 16px; }
.toolbar .chips { flex-basis: 100%; }
.result-count { color: var(--muted); font-size: .88rem; font-weight: 700; margin-left: auto; }
.hint-row { display: flex; align-items: flex-start; gap: .6rem; color: var(--muted); font-size: .92rem; margin: 1.5rem 0 1.35rem; }
.hint-row svg { width: 18px; height: 18px; color: var(--ink); flex: none; margin-top: .15rem; }
.empty { display: none; padding: 3rem 1rem; text-align: center; color: var(--muted); border: 1.5px dashed var(--line-2); border-radius: var(--radius); }
.empty.show { display: block; }
.empty strong { display: block; color: var(--ink); font: 500 1.25rem/1.3 var(--display); letter-spacing: -.02em; margin-bottom: .4rem; }

/* ---------- Ofertat: "who is it for" picker, quick tests, how it works ---------- */
.picker { position: relative; z-index: 3; margin-top: -60px; display: flex; flex-direction: column; gap: 1rem; padding: clamp(1rem, 2.4vw, 1.5rem); border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--lift-hi); }
.picker-q { font: 600 1.2rem/1.2 var(--display); letter-spacing: -.025em; }
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.who-btn { --g: var(--accent); --g1: #e3ecff; display: flex; align-items: center; gap: .75rem; padding: .75rem .85rem; border-radius: 20px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .15s ease; }
.who-btn:active { transform: scale(.98); }
.who-ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex: none; background: var(--g1); color: var(--g); transition: background-color .2s ease, color .2s ease; }
.who-ico svg { width: 22px; height: 22px; stroke-width: 2; }
.who-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.who-t b { font-size: 1.02rem; font-weight: 700; }
.who-t small { color: var(--muted); font-size: .8rem; font-weight: 500; }
.who-btn:hover { border-color: var(--g); }
.who-btn[aria-pressed="true"] { border-color: var(--g); background: var(--g1); }
.who-btn[aria-pressed="true"] .who-ico { background: var(--g); color: #fff; }
.picker-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.picker-row .search { flex: 1 1 320px; }
.picker-row .sort { flex: 0 1 250px; }
.qts { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.qts > span { color: var(--muted); font-size: .85rem; font-weight: 600; margin-right: .2rem; }
.qt { min-height: 36px; padding: 0 .9rem; border-radius: 999px; border: 1px dashed var(--line-2); background: #fff; color: var(--ink); font-size: .86rem; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.qt:hover { border-color: var(--accent); color: var(--accent); }
.qt[aria-pressed="true"] { background: var(--accent); border: 1px solid var(--accent); color: #fff; }
.how { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.how li { position: relative; display: flex; align-items: center; gap: .85rem; padding: .95rem 1.05rem; border-radius: 22px; background: var(--paper); }
.how-n { position: absolute; top: .6rem; right: .9rem; font: 600 .78rem/1 var(--display); color: var(--soft); }
.how-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fff; color: var(--accent); box-shadow: 0 8px 18px -12px rgba(31, 79, 216, .7); }
.how-ico svg { width: 20px; height: 20px; }
.how b { display: block; font-weight: 700; }
.how small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin: 2.2rem 0 1.1rem; }
.list-head b { font: 600 1.35rem/1.2 var(--display); letter-spacing: -.025em; }
.list-tip { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .88rem; }
.list-tip svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* ---------- package cards: who it is for, what is inside, the price ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 1060px) { .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pkg-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }
.pkg, .who-btn.g-male, .tests-sheet { --g: var(--accent); --g1: #e3ecff; --g2: #f4f7ff; }
.g-female { --g: #d23c74; --g1: #ffe3ee; --g2: #fff5f9; }
.g-children { --g: #0b9470; --g1: #d8f4e9; --g2: #f1fbf7; }
.pkg { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 26px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s ease, border-color .25s ease; }
.pkg[hidden] { display: none; }
@media (hover: hover) { .pkg:hover { transform: translateY(-4px); box-shadow: var(--lift-hi); border-color: var(--line-2); } }
.pkg.popular { border-color: var(--g); box-shadow: 0 0 0 1px var(--g); }
.pkg-band { position: relative; display: flex; align-items: center; gap: .55rem; padding: .85rem 1rem; background: linear-gradient(120deg, var(--g1), var(--g2)); overflow: hidden; }
.pkg-band::after { content: ""; position: absolute; right: -36px; top: -50px; width: 140px; height: 140px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, .55); pointer-events: none; }
.pkg-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fff; color: var(--g); box-shadow: 0 8px 16px -10px var(--g); }
.pkg-ico svg { width: 20px; height: 20px; stroke-width: 2; }
.pkg-band .kind { font-weight: 700; color: var(--g); margin-right: auto; }
.pop, .off { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .3rem; padding: .32rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.pop { background: var(--g, var(--accent)); color: #fff; }
.pop svg { width: 13px; height: 13px; }
.off { background: #fff; color: var(--mint); font-size: .9rem; box-shadow: 0 6px 14px -10px rgba(10, 122, 84, .6); }
.pkg-body { display: flex; flex-direction: column; gap: .85rem; flex: 1; padding: 1.1rem 1.15rem 1.15rem; }
.pkg h3 { font: 600 1.25rem/1.2 var(--display); letter-spacing: -.03em; }
.pkg .desc { color: var(--muted); font-size: .92rem; margin-top: -.5rem; }
.incl-h { display: flex; align-items: center; gap: .4rem; font-size: .86rem; font-weight: 700; }
.incl-h svg { width: 16px; height: 16px; color: var(--g); }
.tchips { list-style: none; margin: .55rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.tchips li { padding: .32rem .65rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; }
.tchips li.more { background: transparent; border-style: dashed; color: var(--muted); }
.pkg .hit { font-size: .88rem; color: var(--fg); background: #fff7cc; border-radius: 12px; padding: .45rem .7rem; }
.pkg .hit[hidden] { display: none; }
.price-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .45rem .8rem; margin-top: auto; padding-top: .95rem; border-top: 1px dashed var(--line-2); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; }
.price strong { font: 600 2.1rem/1 var(--display); letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.price strong small { font: 600 .82rem/1 var(--text); letter-spacing: 0; color: var(--muted); margin-left: .3rem; }
.price s { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .95rem; }
.save { padding: .32rem .7rem; border-radius: 999px; background: var(--mint-bg); color: var(--mint); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.pkg .acts { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: .5rem; }
.pkg .acts .btn { min-height: 48px; padding: 0 .9rem; }
.cmp { display: inline-flex; align-items: center; gap: .55rem; align-self: flex-start; min-height: 32px; margin-top: -.25rem; color: var(--muted); font-size: .88rem; font-weight: 600; cursor: pointer; }
.cmp input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .15s, border-color .15s; }
.cmp input::after { content: ""; width: 12px; height: 12px; background: #fff; transform: scale(0); transition: transform .15s; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.cmp input:checked { background: var(--accent); border-color: var(--accent); }
.cmp input:checked::after { transform: scale(1); }
.cmp input:checked + span { color: var(--ink); }
.cmp:hover input { border-color: var(--accent); }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1.25rem; align-content: start; }
.checklist.one { grid-template-columns: minmax(0, 1fr); }
.checklist li { display: flex; gap: .55rem; align-items: flex-start; font-size: .94rem; min-width: 0; }
.checklist li[hidden] { display: none; }
.checklist li::before { content: ""; width: 15px; height: 15px; flex: none; margin-top: .25rem; background: var(--g, var(--brand)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 560px) { .checklist { grid-template-columns: minmax(0, 1fr); } }
.offers-home .tabs { flex-wrap: nowrap; }

/* the tests of one package (sheet from the bottom on phones) */
.tests-sheet .m-head { align-items: center; background: linear-gradient(120deg, var(--g1), #fff 75%); }
.tests-sheet .pkg-ico { width: 50px; height: 50px; }
.tests-sheet .pkg-ico svg { width: 24px; height: 24px; }
.ts-kind { color: var(--g); font-weight: 700; font-size: .84rem; }
.tests-sheet .m-head p#tsMeta { margin-top: .2rem; }
.ts-search input { min-height: 46px; }
.tests-sheet .checklist li { padding: .3rem .4rem; border-radius: 10px; }
.tests-sheet .checklist li.match { background: #fff7cc; }
.ts-none { color: var(--muted); padding: .5rem 0 1rem; }
.tests-sheet .m-foot .price strong { font-size: 1.7rem; }
@media (max-width: 860px) {
  .picker { margin-top: -48px; border-radius: 26px; gap: .85rem; }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .who-btn { padding: .6rem .65rem; gap: .6rem; border-radius: 18px; }
  .who-ico { width: 40px; height: 40px; border-radius: 13px; }
  .picker-row .search, .picker-row .sort { flex: 1 1 100%; }
  .qts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -.25rem; padding: 0 .25rem 2px; }
  .qts::-webkit-scrollbar { display: none; }
  .qts > span { flex: none; }
  .qt { flex: none; }
  .how { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .how li { padding: .75rem .9rem; border-radius: 18px; }
  .list-tip { display: none; }
}

/* compare: tray + table */
.cmp-tray { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: flex; align-items: center; gap: .5rem; padding: .45rem .45rem .45rem 1.2rem; border-radius: 999px; background: var(--deep); color: #fff; box-shadow: 0 24px 50px -16px rgba(8, 28, 110, .7); transform: translateX(-50%); animation: tray-in .35s var(--ease); max-width: calc(100vw - 24px); }
.cmp-tray[hidden] { display: none; }
.cmp-tray span { font-weight: 700; font-size: .92rem; margin-right: .4rem; white-space: nowrap; }
.cmp-tray .btn-primary { background: #fff; color: var(--accent); }
@keyframes tray-in { from { opacity: 0; transform: translate(-50%, 24px); } }
.cmp-wrap { overflow-x: auto; margin: -.25rem -.25rem 0; }
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .93rem; }
.cmp-table th, .cmp-table td { padding: .6rem .7rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp-table thead th { position: sticky; top: 0; z-index: 1; background: var(--surface); vertical-align: bottom; font-weight: 700; min-width: 120px; }
.cmp-table thead th b { display: block; font: 600 1rem/1.25 var(--display); letter-spacing: -.02em; }
.cmp-table thead th span { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; margin-top: .2rem; }
.cmp-table tbody th { font-weight: 500; color: var(--fg); min-width: 140px; }
.cmp-table tr.sum th { font-weight: 700; }
.cmp-table tr.sum td { font-weight: 700; font-variant-numeric: tabular-nums; }
.cmp-table tr.sum td.best { color: var(--mint); }
.cmp-table tr.grp th { padding-top: 1.2rem; color: var(--ink); font-weight: 700; border-bottom: 1.5px solid var(--line-2); }
.cmp-table td.y::before, .cmp-table td.n::before { content: ""; display: block; width: 18px; height: 18px; }
.cmp-table td.y::before { background: var(--mint); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.cmp-table td.n::before { width: 12px; height: 2px; margin: 8px 3px; background: var(--line-2); border-radius: 2px; }
.cmp-table tfoot td { border-bottom: 0; padding-top: 1rem; }
.cmp-table tbody tr:not(.sum):not(.grp):hover { background: var(--surface-2); }

/* ---------- dialogs ---------- */
dialog.modal { width: min(640px, calc(100vw - 32px)); max-height: min(86vh, 860px); padding: 0; border: 0; border-radius: 28px; background: var(--surface); color: var(--fg); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .55); overflow: hidden; }
dialog.modal[open] { display: flex; flex-direction: column; animation: pop .4s var(--ease); }
dialog.modal::backdrop { background: rgba(11, 26, 69, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.m-head { display: flex; align-items: flex-start; gap: 1rem; padding: 1.45rem 1.5rem 1.15rem; border-bottom: 1px solid var(--line); }
.m-head h2 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -.035em; }
.m-head p { color: var(--muted); font-size: .93rem; margin-top: .3rem; }
.m-close { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.m-close:hover { border-color: var(--accent); color: var(--accent); }
.m-close svg { width: 18px; height: 18px; }
.m-body { padding: 1.25rem 1.5rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1.1rem; }
.m-body h3 { font-size: .95rem; color: var(--ink); }
.m-foot { padding: 1rem 1.5rem 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.m-foot .price { margin-right: auto; }
.m-foot .price strong { font-size: 1.5rem; }
body.modal-open { overflow: hidden; }
dialog.modal:focus, dialog.modal:focus-visible { outline: none; }
dialog.modal.wide { width: min(1100px, calc(100vw - 32px)); max-height: min(92vh, 940px); }

/* ---------- equipment ---------- */
.cat-block { padding-top: clamp(2.75rem, 5vw, 4rem); }
.cat-block[hidden] { display: none; }
.cat-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.35rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line-2); }
.cat-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); display: flex; align-items: center; gap: .9rem; }
.cat-head p { color: var(--muted); max-width: 60ch; }
.cat-head .lbl { color: var(--ink); font-weight: 600; font-size: .9rem; }
.dev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 1000px) { .dev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dev-grid { grid-template-columns: minmax(0, 1fr); } }
.dev-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.dev-card[hidden] { display: none; }
.dev-card .pic { height: 220px; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: #fff; display: grid; place-items: center; padding: 1.25rem; }
.dev-card .pic img { max-height: 176px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.dev-card.wide .pic img { max-height: 220px; }
.dev-card .body { padding: 1.25rem 1.4rem 1.45rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.dev-card .maker { color: var(--muted); font-size: .82rem; font-weight: 700; }
.dev-card h3 { font: 600 1.12rem/1.25 var(--display); letter-spacing: -.025em; }
.dev-card p { color: var(--muted); font-size: .93rem; }
.dev-card .tag { margin-top: auto; }
.dev-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.dev-card.wide .pic { height: auto; min-height: 250px; border-radius: calc(var(--radius) - 1px) 0 0 calc(var(--radius) - 1px); }
.dev-card.wide .body { justify-content: center; padding: 2rem; }
.dev-card.wide h3 { font-size: 1.5rem; }
@media (max-width: 700px) { .dev-card.wide { grid-template-columns: minmax(0, 1fr); } .dev-card.wide .pic { border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; min-height: 210px; } .dev-card.wide .body { padding: 1.25rem 1.4rem 1.45rem; } }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: 1.5rem; border-radius: 28px; background: var(--paper); margin-bottom: 1.25rem; }
.feature .pic { background: #fff; border-radius: 22px; padding: 1.25rem; display: grid; place-items: center; min-height: 250px; }
.feature .pic img { max-height: 290px; width: auto; }
.feature h3 { font-family: var(--display); font-weight: 500 !important; letter-spacing: -.035em; font-size: clamp(1.5rem, 2.6vw, 2rem) !important; line-height: 1.1; }
.benefits { display: grid; gap: .9rem; }
.benefit { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: .9rem; align-items: center; }
.benefit b { display: block; font-weight: 700; }
.benefit span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); } }

/* ---------- specialties ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 1000px) { .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .spec-grid { grid-template-columns: minmax(0, 1fr); } }
.spec .head { display: flex; align-items: center; gap: 1rem; }
.spec h3 { font: 600 1.12rem/1.25 var(--display); letter-spacing: -.025em; }
.spec .acts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .25rem; }
.spec[hidden] { display: none; }
.spec:hover { border-color: var(--line-2); box-shadow: var(--lift); }

/* ---------- Ekipi: the team in the sky, then one doctor at a time ---------- */
.team-hero .th-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2rem 3rem; }
.th-copy { display: flex; flex-direction: column; gap: 1.1rem; }
.team-hero h1 { max-width: 11ch; }
.th-fan { position: relative; height: clamp(260px, 30vw, 400px); }
@keyframes fan-in { from { opacity: 0; transform: translateY(-20%) scale(.9); } }
.th-fan img { position: absolute; top: 50%; left: calc(3% + var(--k) * 16%); width: 30%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 18%; border-radius: 22px; border: 5px solid #fff; box-shadow: 0 30px 50px -26px rgba(8, 36, 120, .75); transform: translateY(calc(-50% + (var(--k) - 2) * (var(--k) - 2) * 6%)) rotate(calc((var(--k) - 2) * 5deg)); animation: fan-in .9s var(--ease) backwards; animation-delay: calc(.1s + var(--k) * 90ms); }
.th-fan img:nth-child(3) { z-index: 3; }
.th-fan img:nth-child(2), .th-fan img:nth-child(4) { z-index: 2; }
.tm-sec { padding-top: clamp(3rem, 7vw, 5.5rem); }
.tm-pick { display: flex; gap: .6rem; margin: 0 -4px 1.75rem; padding: 4px; overflow-x: auto; scrollbar-width: none; }
.tm-pick::-webkit-scrollbar { display: none; }
.tm-av { flex: none; display: flex; align-items: center; gap: .7rem; padding: .4rem 1.1rem .4rem .4rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.tm-av img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 2px solid #fff; }
.tm-av b { display: block; font-size: .95rem; font-weight: 700; line-height: 1.2; }
.tm-av small { display: block; color: var(--muted); font-size: .78rem; }
.tm-av:hover { border-color: var(--accent); }
.tm-av[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.tm-av[aria-selected="true"] small { color: rgba(255, 255, 255, .8); }
.tm-profile { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.tm-profile + .tm-profile { margin-top: 3rem; }
.js .tm-profile:not(.on) { display: none; }
.js .tm-profile + .tm-profile { margin-top: 0; }
@keyframes tm-in { from { opacity: 0; transform: translateY(16px); } }
.tm-profile.on { animation: tm-in .6s var(--ease); }
.tm-photo { position: sticky; top: calc(var(--nav-h) + 1.5rem); aspect-ratio: 4 / 4.4; border-radius: 32px; overflow: hidden; background: var(--paper); box-shadow: var(--lift-hi); }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.tm-facts { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
@keyframes fact-in { from { opacity: 0; transform: translateY(12px) scale(.95); } }
.fact { padding: .5rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--accent); font-size: .86rem; font-weight: 700; box-shadow: 0 10px 22px -12px rgba(11, 26, 69, .65); animation: fact-in .6s var(--ease) backwards; animation-delay: calc(.25s + var(--j) * 100ms); }
.fact:first-child { background: var(--accent); color: #fff; }
.tm-info { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.tm-role { color: var(--accent); font-size: .9rem; font-weight: 700; }
.tm-info h3 { font: 500 clamp(2rem, 4vw, 3.3rem)/1 var(--display); letter-spacing: -.05em; }
.tm-info .lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.6; }
.tm-info h4 { margin-top: .6rem; font-size: .95rem; }
.tl { list-style: none; margin: 0; padding: 0 0 0 1.3rem; border-left: 2px solid var(--line); display: grid; gap: .9rem; }
.tl li { position: relative; color: var(--muted); font-size: .94rem; }
.tl li::before { content: ""; position: absolute; left: calc(-1.3rem - 7px); top: .4rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2.5px solid var(--accent); }
.tm-nav { display: flex; align-items: center; gap: .8rem; margin-top: .6rem; color: var(--muted); font-weight: 600; font-size: .9rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.pill { padding: .4rem .8rem; border-radius: 999px; background: var(--chip); color: var(--accent); font-size: .84rem; font-weight: 700; }
.tm-work { padding-block: clamp(4rem, 8vw, 6.5rem); }
.tm-work .sec-head h2 { color: #fff; }
.trust-cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
@media (max-width: 900px) {
  .team-hero .th-in { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .th-fan { height: clamp(170px, 46vw, 240px); }
  .th-fan img { width: 34%; left: calc(var(--k) * 16.5%); border-width: 4px; border-radius: 18px; }
  .tm-profile { grid-template-columns: minmax(0, 1fr); }
  .tm-photo { position: relative; top: auto; aspect-ratio: 4 / 3.8; }
  .trust-cards.three { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- rows, badges, open now (used on several pages) ---------- */
.row { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1rem 0; }
.row + .row { border-top: 1px solid var(--line); }
.ri { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--accent); display: grid; place-items: center; flex: none; }
.ri svg { width: 18px; height: 18px; }
.row .lbl { margin-bottom: .1rem; }
.row a, .row .val { color: var(--ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.row a:hover { text-decoration: underline; text-underline-offset: 3px; }
.open-now { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; padding: .4rem .85rem; border-radius: 999px; background: #fff; color: var(--accent); font-size: .84rem; font-weight: 700; }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16c47f; box-shadow: 0 0 0 4px rgba(22, 196, 127, .2); }
.open-now[hidden] { display: none; }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.badge-pop { background: var(--accent); color: #fff; }

/* ---------- Kontakt: hero with four ways to reach us ---------- */
.contact-hero .ch-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; gap: 2rem 4rem; }
.ch-copy { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-hero h1 { max-width: 11ch; }
.ch-actions { display: grid; gap: .6rem; }
@keyframes ch-in { from { opacity: 0; transform: translateY(18px); } }
.ch-act { display: grid; grid-template-columns: 48px minmax(0, 1fr) 20px; align-items: center; gap: .9rem; padding: .8rem 1rem .8rem .8rem; border-radius: 22px; background: rgba(255, 255, 255, .95); color: var(--ink); text-decoration: none; box-shadow: 0 18px 40px -24px rgba(8, 36, 120, .75); transition: transform .3s var(--ease), background-color .2s ease; animation: ch-in .8s var(--ease) backwards; animation-delay: calc(.15s + var(--i) * 80ms); }
.ch-act:hover { transform: translateX(5px); background: #fff; }
.ch-ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--chip); color: var(--accent); }
.ch-ico svg { width: 22px; height: 22px; }
.ch-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ch-t b { font-size: 1.04rem; font-weight: 700; }
.ch-t small { color: var(--muted); font-size: .86rem; overflow-wrap: anywhere; }
.ch-act .go { width: 18px; height: 18px; opacity: .55; transition: transform .3s var(--ease), opacity .2s; }
.ch-act:hover .go { transform: translateX(3px); opacity: 1; }
.ch-act.main { background: var(--accent); color: #fff; }
.ch-act.main .ch-ico { background: rgba(255, 255, 255, .18); color: #fff; }
.ch-act.main small { color: rgba(255, 255, 255, .82); }
.ch-act.main:hover { background: var(--accent-hi); }

/* ---------- Kontakt: a short chat with each department ---------- */
.talk-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: start; }
.talks { display: grid; gap: 1.4rem; }
.talk { display: flex; flex-direction: column; gap: .55rem; }
.bubble { max-width: 88%; padding: .85rem 1.15rem; border-radius: 24px; }
.bubble.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; font-weight: 600; box-shadow: 0 12px 24px -16px rgba(31, 79, 216, .8); }
.bubble.them { align-self: flex-start; display: flex; flex-direction: column; gap: .6rem; background: var(--paper); border-bottom-left-radius: 6px; }
.who { display: flex; align-items: center; gap: .7rem; }
.ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #fff; color: var(--accent); box-shadow: 0 6px 14px -10px rgba(11, 26, 69, .6); }
.ava svg { width: 20px; height: 20px; }
.who b { display: block; font-weight: 700; }
.who small { display: block; color: var(--accent); font-size: .78rem; font-weight: 700; }
.talk-acts { display: flex; flex-wrap: wrap; gap: .45rem; }
.talk-acts .btn-line { background: #fff; }
.week-card { position: sticky; top: calc(var(--nav-h) + 1.5rem); display: flex; flex-direction: column; gap: .9rem; padding: 1.6rem; border-radius: 30px; color: #fff; background: radial-gradient(90% 80% at 90% 0%, rgba(90, 150, 255, .55), transparent 70%), var(--dark); }
.week-card .lbl { color: rgba(255, 255, 255, .7); }
.week-card h3 { font: 500 1.7rem/1.12 var(--display); letter-spacing: -.035em; }
.week { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .35rem; }
.week li { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .75rem 0; border-radius: 14px; background: rgba(255, 255, 255, .1); font-size: .7rem; }
.week b { font-size: .92rem; }
.week span { color: rgba(255, 255, 255, .75); }
.week li.sun { background: transparent; border: 1px dashed rgba(255, 255, 255, .45); } /* Sunday: only the central lab */
.week li.today { background: #fff; color: var(--accent); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .5); }
.week li.today span { color: var(--accent); }
.week-note { font-size: .86rem; color: rgba(255, 255, 255, .78); }

/* ---------- Kontakt: the map and the list, side by side ---------- */
.loc-sec { background: var(--paper); } /* flat: a gradient over this long list is slow to draw on phones */
.loc-split { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: 2rem 2.5rem; align-items: start; }
.map-card { position: sticky; top: calc(var(--nav-h) + 1rem); padding: 1.1rem 1.1rem .6rem; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--lift); }
.map-hint { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .85rem; font-weight: 600; margin-bottom: .3rem; }
.map-hint svg { width: 16px; height: 16px; color: var(--accent); }
.loc-tools { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1rem; }
.loc-tools .search { flex: none; }
.loc-count b { font: 600 1.2rem/1.2 var(--display); letter-spacing: -.02em; }
.loc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.loc { display: flex; flex-direction: column; gap: .55rem; padding: 1.2rem; border-radius: 24px; background: #fff; border: 1px solid var(--line); min-width: 0; transition: border-color .2s ease, box-shadow .3s ease; }
.loc:hover { border-color: var(--line-2); box-shadow: var(--lift); }
.loc[hidden] { display: none; }
.loc .top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.loc .city { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .65rem; border-radius: 999px; background: var(--chip); color: var(--accent); font-size: .8rem; font-weight: 700; }
.loc .city svg { width: 14px; height: 14px; }
.loc h3 { font: 600 1.12rem/1.25 var(--display); letter-spacing: -.025em; }
.loc .addr { color: var(--muted); font-size: .92rem; }
.loc .hrs { display: flex; align-items: flex-start; gap: .4rem; font-size: .86rem; font-weight: 600; }
.loc .hrs svg { width: 15px; height: 15px; margin-top: .15rem; color: var(--accent); flex: none; }
.loc .acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; margin-top: auto; padding-top: .45rem; }
.ic-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; min-height: 60px; padding: .55rem .3rem; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .76rem; font-weight: 700; text-align: center; transition: border-color .2s, color .2s, transform .15s; }
.ic-btn svg { width: 19px; height: 19px; color: var(--accent); }
.ic-btn:hover { border-color: var(--accent); color: var(--accent); }
.ic-btn:active { transform: scale(.96); }
.ic-btn.go { background: var(--accent); border-color: var(--accent); color: #fff; }
.ic-btn.go svg { color: #fff; }
.loc.main { grid-column: 1 / -1; color: #fff; border: 0; background: radial-gradient(80% 90% at 95% 0%, rgba(90, 150, 255, .55), transparent 65%), var(--dark); }
.loc.main .city { background: rgba(255, 255, 255, .15); color: #fff; }
.loc.main .badge-pop { background: #fff; color: var(--accent); }
.loc.main .addr { color: rgba(255, 255, 255, .8); }
.loc.main .hrs svg { color: #fff; }
.loc.main .ic-btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.loc.main .ic-btn svg { color: #fff; }
.loc.main .ic-btn.go { background: #fff; color: var(--accent); }
.loc.main .ic-btn.go svg { color: var(--accent); }
.loc.main h3 { font-size: 1.4rem; }

/* ---------- Kontakt: social ---------- */
.social-sec { padding-top: 0; background: var(--paper); }
.social-band { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding: clamp(1.6rem, 4vw, 2.75rem); border-radius: 32px; color: #fff; background: #2f6fd8 url("../img/sky/fill.webp") center 35% / cover no-repeat; }
.social-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 44, 151, .75), rgba(14, 44, 151, .1)); }
.social-band .lbl { color: rgba(255, 255, 255, .8); }
.social-band h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.05; max-width: 17ch; margin-top: .4rem; }
.soc-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.soc { display: flex; align-items: center; gap: .8rem; min-width: 240px; padding: .7rem 1rem .7rem .7rem; border-radius: 22px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .3s var(--ease); }
.soc:hover { transform: translateY(-3px); }
.soc-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; flex: none; }
.soc-ico svg { width: 20px; height: 20px; }
.soc b { display: block; font-weight: 700; }
.soc small { color: var(--muted); font-size: .84rem; }
.soc .go { width: 18px; height: 18px; margin-left: auto; color: var(--accent); }
@media (max-width: 1000px) {
  .contact-hero .ch-in { grid-template-columns: minmax(0, 1fr); }
  .talk-grid { grid-template-columns: minmax(0, 1fr); }
  .week-card { position: static; }
  .loc-split { grid-template-columns: minmax(0, 1fr); }
  .map-card { position: static; max-width: 460px; width: 100%; margin-inline: auto; }
}
@media (max-width: 600px) {
  .contact-hero .page-hero-inner { padding-bottom: 6rem; }
  .ch-act { padding: .65rem .85rem .65rem .65rem; border-radius: 20px; }
  .ch-ico { width: 44px; height: 44px; border-radius: 14px; }
  .bubble { max-width: 94%; }
  .week li { padding: .6rem 0; }
  .week b { font-size: .82rem; }
  .week span { font-size: .62rem; }
  .loc-grid { grid-template-columns: minmax(0, 1fr); }
  .loc-tools .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .loc-tools .chips::-webkit-scrollbar { display: none; }
  .loc-tools .chip { flex: none; }
  .soc { min-width: 0; flex: 1 1 100%; }
}

/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 1000px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: minmax(0, 1fr); } }
.news-card { display: flex; flex-direction: column; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; min-width: 0; overflow: hidden; transition: transform .4s var(--ease), box-shadow .3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--lift-hi); }
.cover { position: relative; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; color: #fff; background: #2f6fd8 url("../img/sky/sky-m.webp") center 20% / cover no-repeat; }
.cover::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -2px; aspect-ratio: 6 / 1; background: url("../img/sky/clouds-strip-m.webp") center bottom / 100% 100% no-repeat; }
.cover .big { position: absolute; right: 10%; top: 44%; transform: translateY(-50%); width: 26%; height: auto; color: #fff; stroke-width: 1.2; filter: drop-shadow(0 12px 18px rgba(8, 36, 120, .35)); }
.cover .lbl { position: absolute; z-index: 1; left: 1.1rem; top: 1rem; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .36); padding: .3rem .7rem; border-radius: 999px; font-weight: 600; }
.cover.lg { aspect-ratio: 21 / 8; border-radius: 28px; }
.cover.lg .big { width: 14%; }
.news-card .body { padding: 1.3rem 1.45rem 1.55rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.news-card time { color: var(--muted); font-size: .85rem; font-weight: 600; }
.news-card h3 { font: 600 1.22rem/1.25 var(--display); letter-spacing: -.03em; }
.news-card p { color: var(--muted); font-size: .95rem; }
.news-card .link-arrow { margin-top: auto; }
.news-card:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- prose / documents ---------- */
.prose { font-size: 1.04rem; line-height: 1.72; max-width: 70ch; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin-top: 2.6rem; padding-top: .5rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.8rem; }
.prose h4 { font-size: 1rem; margin-top: 1.2rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .4rem; }
.prose li::marker { color: var(--muted); }
.prose strong { font-weight: 700; }
.prose a { text-underline-offset: 3px; }
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr) 300px; gap: 3rem; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: .2rem; }
.toc .lbl { margin-bottom: .5rem; font-weight: 700; color: var(--ink); }
.toc a { color: var(--muted); text-decoration: none; font-size: .9rem; padding: .4rem .8rem; border-left: 2px solid var(--line); line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--accent); border-left-color: var(--accent); font-weight: 700; }
.side { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 1rem; }
.side .card { padding: 1.45rem; gap: .75rem; background: var(--paper); border: 0; }
.side .card h3 { font-size: 1.15rem; }
.side .row { padding: .7rem 0; grid-template-columns: 38px minmax(0, 1fr); }
.side .row + .row { border-top-color: var(--line-2); }
.side .ri { width: 38px; height: 38px; background: #fff; }
@media (max-width: 1180px) { .doc-layout { grid-template-columns: minmax(0, 1fr) 300px; } .toc { display: none; } }
@media (max-width: 860px) { .doc-layout { grid-template-columns: minmax(0, 1fr); } .side { position: static; } }
.callout { padding: 1.3rem 1.45rem; border-radius: 18px; background: var(--paper); }
.callout h3 { color: var(--ink); margin-top: 0 !important; font-size: 1.05rem; }
.callout p { margin-top: .4rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem !important; }
.facts > div { padding: 1.1rem 1.2rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 860px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.steps-doc { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.steps-doc li { margin: 0 !important; padding: 1.15rem 1.2rem 1.15rem 3.9rem; position: relative; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); counter-increment: s; }
.steps-doc li::before { content: counter(s); position: absolute; left: 1.1rem; top: 1.1rem; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 600 .85rem/1 var(--display); }
.steps-doc b { display: block; }
@media (max-width: 600px) { .steps-doc { grid-template-columns: minmax(0, 1fr); } }
.article { max-width: 760px; margin: 0 auto; }
.article .prose { max-width: none; }

/* ---------- About: five reasons, told while you scroll ---------- */
.story-sec { padding-top: clamp(2rem, 5vw, 4rem); }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.story-vis { position: sticky; top: calc(var(--nav-h) + 5vh); height: min(74vh, 640px); border-radius: 34px; overflow: hidden; background: var(--paper); isolation: isolate; box-shadow: var(--lift-hi); }
.story-vis .sv { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity .7s ease, transform 1s var(--ease); }
.story-vis .sv.on { opacity: 1; transform: none; }
.sv-count { position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 3; padding: .4rem .8rem; border-radius: 999px; background: rgba(11, 26, 69, .55); color: rgba(255, 255, 255, .8); font: 500 .85rem/1 var(--display); }
.sv-count b { color: #fff; font-weight: 600; }
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; gap: 1.05rem; padding: 2rem 0; opacity: .25; transition: opacity .6s ease; }
.story-step.on { opacity: 1; }
.story-meta { display: flex; align-items: center; gap: .85rem; }
.story-meta .num { font: 600 .95rem/1 var(--display); color: var(--accent); }
.chip-s { padding: .4rem .85rem; border-radius: 999px; background: var(--chip); color: var(--accent); font-size: .82rem; font-weight: 700; }
.story-step h3 { font: 500 clamp(2rem, 3.8vw, 3.2rem)/1.03 var(--display); letter-spacing: -.045em; max-width: 15ch; }
.story-step .lead { font: 500 clamp(1.15rem, 1.6vw, 1.4rem)/1.4 var(--display); letter-spacing: -.015em; color: var(--ink); max-width: 38ch; }
.story-step p:not(.lead):not(.story-meta) { color: var(--muted); max-width: 52ch; }
.story-mob { display: none; }
@keyframes float-y { 50% { transform: translateY(-10px) rotate(-1.2deg); } }
@keyframes spin { to { transform: rotate(1turn); } }
/* 01 technology: a device floating in the sky */
.sv-tech { display: grid; place-items: center; background: #2f6fd8 url("../img/sky/sky.webp") center 30% / cover no-repeat; }
.sv-tech::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -2px; aspect-ratio: 6 / 1; background: url("../img/sky/clouds-strip.webp") center bottom / 100% 100% no-repeat; }
.sv-float { position: relative; z-index: 1; width: min(400px, 72%); margin-top: -8%; animation: float-y 6s ease-in-out infinite; perspective: 900px; }
.sv-card { display: grid; place-items: center; padding: 8% 7%; border-radius: 26px; background: #fff; box-shadow: 0 50px 80px -34px rgba(8, 36, 120, .7); transform: rotateY(-16deg) rotateX(7deg); }
.sv-card img { width: 100%; height: auto; }
/* 02 people: three portraits that fan out */
.sv-team { background: radial-gradient(70% 70% at 50% 62%, #d9e6ff 0%, #f2f5fb 70%); }
.sv-team img { position: absolute; left: 32%; top: 50%; width: 36%; height: auto; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: center 22%; border-radius: 24px; border: 6px solid #fff; box-shadow: 0 30px 50px -26px rgba(11, 26, 69, .55); transform: translateY(-50%); transition: transform .9s var(--ease); transition-delay: calc(var(--k) * 70ms); }
.sv-team img:nth-child(2) { z-index: 2; }
:is(.sv.on, .story-step.on .sv).sv-team img:nth-child(1) { transform: translate(-68%, -46%) rotate(-8deg); }
:is(.sv.on, .story-step.on .sv).sv-team img:nth-child(2) { transform: translate(0, -55%) scale(1.1); }
:is(.sv.on, .story-step.on .sv).sv-team img:nth-child(3) { transform: translate(68%, -46%) rotate(8deg); }
/* 03 range: the number itself, filled with sky */
.sv-num { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; background: #fff; text-align: center; }
.sv-num::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -2px; aspect-ratio: 6 / 1; opacity: .5; background: url("../img/sky/clouds-strip.webp") center bottom / 100% 100% no-repeat; }
.sv-num b { font: 700 clamp(5.5rem, 12vw, 10.5rem)/.85 var(--display); letter-spacing: -.075em; padding: 0 .05em .05em; background: #2f6fd8 url("../img/sky/fill.webp") center 35% / cover; -webkit-background-clip: text; background-clip: text; color: transparent; }
.sv-num span { font: 500 clamp(1rem, 1.6vw, 1.25rem)/1.2 var(--display); color: var(--ink); letter-spacing: -.02em; }
/* 04 quality: two certificates */
.sv-iso { display: flex; align-items: center; justify-content: center; gap: 4%; background: radial-gradient(70% 70% at 80% 10%, rgba(90, 150, 255, .55), transparent 65%), var(--dark); }
.iso { position: relative; width: 40%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); font: 600 clamp(.95rem, 1.6vw, 1.3rem)/1.1 var(--display); }
.iso::before { content: ""; position: absolute; inset: -9%; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .35); animation: spin 40s linear infinite; }
.iso:nth-child(2)::before { animation-direction: reverse; }
.iso b { display: block; font-size: 2.1em; letter-spacing: -.04em; line-height: 1; }
.iso small { display: block; margin-top: .45rem; font: 500 .74rem/1.3 var(--text); color: var(--on-dark-muted); padding-inline: 12%; }
/* 05 partners: lines from Tirana to Germany and Italy */
.sv-partner { background: #2f6fd8 url("../img/sky/fill.webp") center / cover no-repeat; }
.sv-partner svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sv-partner path { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; } /* still lines: an animated dash repaints every frame and is slow on phones */
.pt { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; padding: .7rem 1.1rem; border-radius: 18px; background: #fff; color: var(--accent); font: 600 clamp(1rem, 1.6vw, 1.25rem)/1.1 var(--display); letter-spacing: -.02em; box-shadow: 0 20px 40px -20px rgba(8, 36, 120, .7); }
.pt small { font: 500 .78rem/1.2 var(--text); color: var(--muted); letter-spacing: 0; margin-top: .2rem; }
.pt.a { left: 26%; top: 30.7%; } .pt.b { left: 74%; top: 30.7%; } .pt.c { left: 50%; top: 74%; background: var(--accent); color: #fff; }
.pt.c small { color: rgba(255, 255, 255, .8); }
.pt.c::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid #fff; animation: ping 2.4s var(--ease) infinite; pointer-events: none; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5, 1.8); opacity: 0; } }
@media (max-width: 860px) {
  .story { display: block; }
  .story-vis { display: none; }
  .story-step { min-height: 0; opacity: 1; padding: 0 0 3.2rem; gap: .85rem; }
  .story-mob { display: block; position: relative; height: clamp(240px, 64vw, 340px); border-radius: 26px; overflow: hidden; margin-bottom: .5rem; isolation: isolate; }
  .story-mob .sv { position: absolute; inset: 0; }
  .story-step h3 { font-size: clamp(1.7rem, 7.4vw, 2.2rem); }
  .sv-float { width: 62%; }
  .iso small { display: none; }
}

/* ---------- About: trust band (blue) ---------- */
.trust { position: relative; overflow: hidden; padding-block: 0 clamp(4rem, 9vw, 7rem); }
.marquee { overflow: hidden; padding: clamp(1.4rem, 3vw, 2.2rem) 0; border-bottom: 1px solid rgba(255, 255, 255, .2); margin-bottom: clamp(3rem, 7vw, 5rem); }
.mq-track { display: flex; align-items: center; width: max-content; animation: mq 42s linear infinite; will-change: transform; }
.mq-track span { font: 500 clamp(1.8rem, 4.2vw, 3.4rem)/1.1 var(--display); letter-spacing: -.045em; white-space: nowrap; padding: 0 clamp(1rem, 2.4vw, 2rem); }
.mq-track i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, #fff, #8fb6ff); }
@keyframes mq { to { transform: translateX(-50%); } }
.trust .sec-head h2 { color: #fff; }
.trust-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.glass { display: flex; flex-direction: column; gap: .95rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 28px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); }
.glass .ico { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); color: #fff; }
.glass h3 { font: 500 clamp(1.35rem, 2.2vw, 1.7rem)/1.15 var(--display); letter-spacing: -.03em; }
.glass p { color: var(--on-dark-muted); }
@media (max-width: 760px) { .trust-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- About: how a sample travels (LIS) ----------
   Desktop: the block pins and the five cards slide sideways while you scroll (site.js adds .pinned and sets --travel).
   Phones, reduced motion and no JS: the cards are a row you swipe. The active card is .on; its little scene plays only then. */
.lis { padding-block: 0 clamp(4rem, 9vw, 7rem); --edge: max(28px, calc((100vw - 1280px) / 2 + 28px)); }
.lis .marquee { margin-bottom: 0; }
.lis.idle *, .lis.idle *::before, .lis.idle *::after { animation-play-state: paused; }
.lis-stage { position: relative; padding-top: clamp(3rem, 7vw, 5rem); }
.lis-move { position: relative; }
.lis-intro { padding-inline: var(--edge); }
.lis-intro .sec-head { margin-bottom: 0; }
.lis-intro h2 { color: #fff; }
.lis-hint { display: flex; align-items: center; gap: .6rem; margin-top: 1.5rem; font: 500 .92rem/1 var(--display); color: rgba(255, 255, 255, .82); }
.lis-hint svg { width: 18px; height: 18px; animation: lis-nudge 1.8s var(--ease) infinite; }
.lis-hint .h-pin { display: none; }
@keyframes lis-nudge { 50% { transform: translateX(6px); } }
.lis-track { list-style: none; margin: 0; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding: 2.25rem var(--edge) 1rem; scroll-padding-inline: var(--edge); }
.lis-track::-webkit-scrollbar { display: none; }
.st { flex: 0 0 auto; width: min(380px, 80vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: 1.15rem; padding: 10px 10px 1.6rem; border-radius: 30px; background: #fff; color: var(--ink); box-shadow: 0 34px 60px -34px rgba(2, 10, 50, .8); transition: transform .6s var(--ease), opacity .5s ease; }
.lis-track.live .st:not(.on) { opacity: .5; transform: scale(.94); }
.st-txt { display: grid; gap: .45rem; padding: 0 .9rem; }
.st-n { display: flex; align-items: baseline; gap: .35rem; font: 600 .95rem/1 var(--display); color: var(--accent); }
.st-n i { font-style: normal; font-weight: 500; font-size: .8rem; color: var(--soft); }
.st h3 { font: 600 clamp(1.25rem, 1.8vw, 1.45rem)/1.15 var(--display); letter-spacing: -.03em; }
.st p { color: var(--muted); font-size: .96rem; line-height: 1.5; }
.st-vis { position: relative; height: 216px; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #f5f8fe, #e2eafb); }

/* 01: Albania, a dot per city */
.v-pick { display: flex; align-items: center; justify-content: center; gap: clamp(1.1rem, 3vw, 1.9rem); padding: 12px 1rem; }
.al { position: relative; height: 89%; flex: none; }
.al svg { display: block; width: 100%; height: 100%; overflow: visible; }
.al .land { fill: #cfdbf7; stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; }
.al circle { fill: var(--accent); stroke: #fff; stroke-width: 1.2; }
.al-ping { position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.st.on .al-ping { animation: lis-ping 2.2s ease-out infinite; }
@keyframes lis-ping { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.pk-num { display: grid; min-width: 0; }
.pk-num b { font: 600 clamp(2.4rem, 4vw, 3rem)/.95 var(--display); letter-spacing: -.055em; color: var(--ink); }
.pk-num span { margin-top: .2rem; max-width: 13ch; font-size: .82rem; line-height: 1.3; color: var(--muted); }
.pk-num span + b { margin-top: .8rem; }

/* 02: the tube gets its barcode */
.v-code { display: grid; place-items: center; }
.tube-h { display: flex; align-items: center; width: 84%; margin-top: -18px; transform: rotate(-7deg); }
.tube-h .cap { position: relative; z-index: 1; flex: none; width: 38px; height: 70px; border-radius: 10px; background: linear-gradient(90deg, #5b3fd0, #9479f2 55%, #5b3fd0); box-shadow: 0 12px 18px -10px rgba(60, 30, 160, .6); }
.tube-h .cap::after { content: ""; position: absolute; inset: 9px 7px; border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 2px, transparent 2px 6px); }
.tube-h .tg { position: relative; flex: 1; height: 56px; margin-left: -4px; border-radius: 0 30px 30px 0; background: linear-gradient(180deg, #fff, #edf1fa); border: 1px solid #cdd8ee; overflow: hidden; box-shadow: 0 18px 26px -18px rgba(11, 26, 69, .4); }
.tube-h .blood { position: absolute; top: 0; right: 0; bottom: 0; width: 30%; background: linear-gradient(180deg, #e04a60, #a3172f); }
.tube-h .lab { position: absolute; z-index: 1; left: 7%; top: 5px; bottom: 5px; width: 66%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 2px; padding: 5px 9px 4px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px #e1e7f2; overflow: hidden; }
.tube-h .bc { width: 100%; height: 100%; fill: var(--ink); }
.tube-h small { font: 600 .56rem/1 var(--display); letter-spacing: .16em; text-align: center; color: var(--ink); white-space: nowrap; }
.tube-h .scan { position: absolute; inset: 0; pointer-events: none; }
.tube-h .scan i { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #ff2d55; box-shadow: 0 0 8px 2px rgba(255, 45, 85, .6); }
.st.on .tube-h .scan { animation: lis-scan 1.8s ease-in-out infinite alternate; }
@keyframes lis-scan { to { transform: translateX(calc(100% - 2px)); } }
.v-code .ok { position: absolute; left: 50%; bottom: 16px; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem .45rem .5rem; border-radius: 999px; background: #fff; color: var(--mint); font: 600 .78rem/1 var(--display); white-space: nowrap; box-shadow: var(--lift); transform: translateX(-50%); transition: opacity .4s ease .5s, transform .5s var(--ease) .5s; }
.v-code .ok svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--mint-bg); stroke-width: 3; }
.lis-track.live .st:not(.on) .ok { opacity: 0; transform: translate(-50%, 8px); transition-delay: 0s; }

/* 03: tubes run through the analyser */
.v-run .an { position: absolute; z-index: 2; left: 50%; top: calc(50% - 88px); width: 156px; height: 112px; margin-left: -78px; display: grid; place-items: center; border-radius: 18px 18px 8px 8px; background: linear-gradient(180deg, #2a4192, #0b1a45); box-shadow: 0 18px 30px -16px rgba(11, 26, 69, .7); }
.an-scr { position: relative; display: grid; place-items: center; width: 100px; height: 50px; border-radius: 9px; background: #12369f; border: 1px solid rgba(255, 255, 255, .22); overflow: hidden; color: #fff; font: 600 1.05rem/1 var(--display); letter-spacing: .08em; }
.an-scr i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #7fb0ff; transform-origin: left center; transform: scaleX(.15); }
.st.on .an-scr i { animation: lis-load 2.4s var(--ease) infinite; }
@keyframes lis-load { to { transform: scaleX(1); } }
.an-led { position: absolute; top: 12px; right: 14px; width: 8px; height: 8px; border-radius: 50%; background: #39d98a; box-shadow: 0 0 8px #39d98a; }
.st.on .an-led { animation: lis-blink 1.2s steps(2) infinite; }
@keyframes lis-blink { 50% { opacity: .25; } }
.belt { position: absolute; left: 0; right: 0; top: calc(50% - 12px); height: 62px; overflow: hidden; }
.belt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; border-radius: 4px; background: #c2d0ee; }
.belt-in { display: flex; width: max-content; padding-top: 3px; }
.st.on .belt-in { animation: lis-belt 9s linear infinite; }
@keyframes lis-belt { to { transform: translateX(-50%); } }
.tb { flex: none; width: 16px; height: 50px; margin-right: 20px; border-radius: 4px 4px 8px 8px; background: linear-gradient(180deg, var(--c) 0 24%, #fbfcff 24% 48%, #c81e3a 48%); box-shadow: 0 0 0 1px rgba(11, 26, 69, .12); }
.mchips { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; padding: 0 10px; }
.mchips span { padding: .4rem .72rem; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font: 600 .74rem/1 var(--display); color: var(--ink); }

/* 04: a doctor validates */
.v-ok .sheet { position: absolute; left: 16px; top: 16px; bottom: -12px; width: 60%; display: grid; align-content: start; gap: 13px; padding: 14px 14px 0; border-radius: 16px; background: #fff; box-shadow: 0 14px 30px -18px rgba(11, 26, 69, .45); }
.sh-top { display: flex; align-items: center; justify-content: space-between; margin: 0; font: 600 .85rem/1 var(--display); }
.sh-top svg { width: 18px; height: 18px; color: var(--accent); }
.sheet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sheet li { display: grid; grid-template-columns: minmax(0, 1fr) 26px 18px; gap: 8px; align-items: center; }
.sheet .bar { width: var(--w); height: 8px; border-radius: 4px; background: #e3e9f5; }
.sheet .val { height: 8px; border-radius: 4px; background: #c6d4f2; }
.sheet .tick { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--mint-bg); color: var(--mint); transition: transform .4s cubic-bezier(.3, 1.5, .5, 1); transition-delay: calc(.25s + var(--d) * .22s); }
.sheet .tick svg { width: 12px; height: 12px; stroke-width: 3.2; }
.lis-track.live .st:not(.on) .tick { transform: scale(0); transition-delay: 0s; }
.v-ok .docs { position: absolute; right: 16px; top: 18px; display: flex; padding-left: 12px; }
.v-ok .docs img { width: 40px; height: 40px; margin-left: -12px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; object-position: center 20%; background: var(--paper); }
.docs-l { position: absolute; right: 16px; top: 66px; font: 500 .74rem/1.25 var(--text); color: var(--muted); text-align: right; }
.stamp { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .75rem; border: 2px solid var(--mint); border-radius: 12px; background: rgba(255, 255, 255, .94); color: var(--mint); font: 700 .78rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; transform: rotate(-8deg); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) 1.2s, opacity .2s ease 1.2s; }
.stamp svg { width: 16px; height: 16px; }
.lis-track.live .st:not(.on) .stamp { opacity: 0; transform: rotate(-8deg) scale(1.7); transition-delay: 0s; }

/* 05: the result lands on your phone */
.v-out .phone { position: absolute; left: 50%; top: 20px; width: 216px; height: 320px; margin-left: -108px; display: grid; align-content: start; gap: 8px; padding: 40px 10px 0; border-radius: 34px; background: linear-gradient(180deg, #1c2e6c, #0b1a45); box-shadow: 0 0 0 5px #fff, 0 24px 40px -20px rgba(11, 26, 69, .7); }
.v-out .phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 62px; height: 16px; margin-left: -31px; border-radius: 10px; background: #050b22; }
.nt { display: flex; align-items: center; gap: .55rem; padding: .5rem .55rem; border-radius: 14px; background: rgba(255, 255, 255, .96); transition: opacity .35s ease, transform .55s var(--ease); transition-delay: calc(.2s + var(--d) * .4s); }
.lis-track.live .st:not(.on) .nt { opacity: 0; transform: translateY(-12px) scale(.95); transition-delay: 0s; }
.nt > span:last-child { display: grid; min-width: 0; }
.nt b { font: 600 .78rem/1.15 var(--display); }
.nt small { font-size: .7rem; line-height: 1.25; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-ic { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: #fff; }
.nt-ic svg { width: 15px; height: 15px; }
.nt-ic.sms { background: #22a06b; }
.nt-ic.mail { background: var(--accent); }
.nt-ic.ed { background: #7c4ddb; }

/* the tracking bar under the cards */
.lis-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); margin-top: 1.25rem; }
.lt-code { display: inline-flex; align-items: center; gap: .7rem; padding: .55rem .85rem; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); }
.lt-code .bc { width: 70px; height: 24px; fill: #fff; }
.lt-code b { font: 600 .78rem/1 var(--display); letter-spacing: .14em; white-space: nowrap; }
.lis-line { position: relative; padding: 0 30px 28px; }
.lis-line::before, .lis-fill { content: ""; position: absolute; left: 40px; right: 40px; top: 9px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
.lis-fill { background: #fff; transform-origin: left center; transform: scaleX(0); }
.lis-nodes { position: relative; list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; }
.lis-nodes li { width: 20px; }
.lis-nodes button { position: relative; display: block; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: none; color: rgba(255, 255, 255, .62); cursor: pointer; }
.lis-nodes button::after { content: ""; position: absolute; inset: -12px -20px -32px; }
.lis-nodes i { position: absolute; inset: 0; border-radius: 50%; background: var(--dark); border: 2px solid rgba(255, 255, 255, .5); transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.lis-nodes span { position: absolute; top: 31px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 500 .8rem/1 var(--display); transition: color .3s ease; }
.lis-nodes .done i { background: #fff; border-color: #fff; }
.lis-nodes .cur i { box-shadow: 0 0 0 6px rgba(255, 255, 255, .2); }
.lis-nodes .cur button, .lis-nodes button:hover { color: #fff; }
.lis-nodes button:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.lt-status { display: grid; justify-items: end; gap: .35rem; min-width: 12.5rem; margin: 0; }
.lt-status small { font: 600 .7rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.lt-status b { display: inline-flex; align-items: center; gap: .5rem; font: 600 1rem/1.1 var(--display); color: #fff; white-space: nowrap; }
.lt-status b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ffd166; box-shadow: 0 0 0 4px rgba(255, 209, 102, .22); }
.fin .lt-status b::before { background: #39d98a; box-shadow: 0 0 0 4px rgba(57, 217, 138, .22); }

/* pinned on desktop */
@media (min-width: 900px) {
  .lis-pin.pinned { height: calc(100vh + var(--travel, 0px)); }
  .pinned .lis-stage { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(1.25rem, 4vh, 2.5rem); padding: calc(var(--nav-h) + 1rem) 0 1.5rem; overflow: hidden; }
  .pinned .lis-move { display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 5rem); width: max-content; padding-inline: var(--edge); will-change: transform; }
  .pinned .lis-intro { flex: none; width: min(470px, 36vw); padding: 0; }
  .pinned .lis-track { overflow: visible; padding: 0; gap: 18px; }
  .pinned .st { width: clamp(340px, 27vw, 410px); will-change: transform, opacity; }
  .pinned .st-vis { height: clamp(216px, 30vh, 280px); }
  .pinned .v-ok .sheet ul { gap: clamp(14px, 2.6vh, 22px); }
  .pinned .lis-bar { margin-top: 0; }
  .pinned .lis-hint .h-pin { display: inline; }
  .pinned .lis-hint .h-swipe { display: none; }
}
@media (max-width: 899px) {
  .lis-bar { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .lt-code { display: none; }
  .lt-status { order: -1; grid-auto-flow: column; justify-content: start; align-items: center; gap: .7rem; min-width: 0; }
}
/* phones and tablets: no big soft shadows, flat card backgrounds and no dimming, so swiping stays smooth */
@media (hover: none), (max-width: 899px) {
  .st { box-shadow: none; transition: none; }
  .st-vis { background: #eef3fc; }
  .lis-track.live .st:not(.on) { opacity: 1; transform: none; }
}
@media (max-width: 520px) {
  .lis { --edge: 16px; }
  .st { width: 84vw; }
  .lis-line { padding-inline: 24px; }
  .lis-line::before, .lis-fill { left: 34px; right: 34px; }
  .lis-nodes span { font-size: .72rem; }
}

/* the two guarantees */
.lis-more { margin-top: clamp(3.5rem, 8vw, 6rem); }
.lis-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.lb { display: flex; flex-direction: column; gap: .85rem; padding: 10px 10px clamp(1.5rem, 3vw, 2rem); border-radius: 30px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); }
.lb h3, .lb p { padding-inline: clamp(.75rem, 2vw, 1.25rem); }
.lb h3 { margin-top: .55rem; font: 500 clamp(1.35rem, 2.2vw, 1.7rem)/1.15 var(--display); letter-spacing: -.03em; }
.lb p { color: var(--on-dark-muted); }
.lb-vis { position: relative; height: 230px; border-radius: 22px; overflow: hidden; background: rgba(5, 20, 85, .38); border: 1px solid rgba(255, 255, 255, .1); }
.lb-backup .lb-vis { display: flex; align-items: center; justify-content: center; }
.mach { position: relative; width: 138px; display: grid; gap: 10px; padding: 12px 12px 14px; border-radius: 18px; background: linear-gradient(180deg, #fff, #dfe7fa); color: var(--ink); box-shadow: 0 22px 36px -20px rgba(0, 0, 0, .55); }
.mach.b { transform: translateY(12px); }
.m-scr { display: grid; align-content: center; gap: 6px; height: 56px; padding: 0 12px; border-radius: 9px; background: #12369f; }
.m-scr i { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .6); }
.m-scr i:nth-child(1) { width: 80%; }
.m-scr i:nth-child(2) { width: 50%; }
.m-scr i:nth-child(3) { width: 66%; }
.m-tray { display: flex; justify-content: center; gap: 7px; }
.m-tray i { width: 14px; height: 14px; border-radius: 50%; background: #7c5cf0; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15); }
.m-tray i:nth-child(2) { background: #e0364f; }
.m-tray i:nth-child(3) { background: #f2b400; }
.m-tray i:nth-child(4) { background: #4aa3ff; }
.mach b { font: 600 .8rem/1.2 var(--display); text-align: center; }
.m-ok { position: absolute; top: -9px; right: -9px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #2fc67f; color: #fff; box-shadow: 0 0 0 4px #1b3a9c; }
.m-ok svg { width: 14px; height: 14px; stroke-width: 3; }
.lb-link { position: relative; width: clamp(56px, 9vw, 96px); height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 6px, transparent 6px 12px); }
.lb-sync { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 0 0 6px rgba(255, 255, 255, .12); }
.lb-sync svg { width: 20px; height: 20px; animation: spin 7s linear infinite; }
.lb-net .net { position: absolute; left: 50%; top: 10px; width: 400px; height: 184px; margin-left: -200px; }
.net svg { display: block; width: 100%; height: 100%; overflow: visible; }
.net .spk line { stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.net .dts circle { fill: #fff; }
.net .hub { fill: #fff; }
.net text { font: 700 17px var(--display); letter-spacing: .06em; fill: var(--accent); }
.hub-ping { position: absolute; left: 200px; top: 92px; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: lis-hub 2.6s ease-out infinite; }
@keyframes lis-hub { from { transform: scale(1); opacity: .8; } to { transform: scale(2.2); opacity: 0; } }
.lb-out { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: .45rem; }
.lb-out span { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .75rem; border-radius: 999px; background: #fff; color: var(--ink); font: 600 .78rem/1 var(--display); }
.lb-out svg { width: 14px; height: 14px; color: var(--accent); }
@media (max-width: 760px) {
  .lis-bento { grid-template-columns: minmax(0, 1fr); }
  .lb-net .net { transform: scale(.8); }
}
@media (max-width: 400px) { .mach { width: 118px; } .lb-link { width: 44px; } }

/* ---------- About: the team, in pictures ---------- */
.team-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.tm { display: flex; flex-direction: column; gap: .3rem; color: var(--ink); text-decoration: none; min-width: 0; }
.tm .ph { aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: var(--paper); margin-bottom: .6rem; }
.tm img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .9s var(--ease); }
.tm:hover img { transform: scale(1.05); }
.tm b { font: 600 1.05rem/1.2 var(--display); letter-spacing: -.02em; }
.tm small { color: var(--muted); font-size: .85rem; }
@media (max-width: 860px) {
  .team-strip { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -28px; padding-inline: 28px; scroll-padding-inline: 28px; }
  .team-strip::-webkit-scrollbar { display: none; }
  .tm { flex: 0 0 58%; scroll-snap-align: start; }
}
@media (max-width: 520px) { .team-strip { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; } }

/* ---------- footer (black, giant wordmark) ---------- */
.foot { background: radial-gradient(80% 60% at 50% 100%, rgba(90, 150, 255, .35), transparent 70%), #0a2275; color: rgba(255, 255, 255, .72); padding-block: clamp(3.5rem, 7vw, 5rem) 1.75rem; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem; }
.foot .logo-l { display: none; }
.foot .logo-d { display: block; }
.foot h2 { margin: 0 0 1rem; color: #fff; font: 600 .95rem/1.2 var(--text); letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.foot a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s; }
.foot a:hover { color: #fff; }
.foot .blurb { margin-top: 1.1rem; max-width: 34ch; }
.social { display: flex; gap: .5rem; margin-top: 1.4rem; }
.social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .32); color: #fff; display: grid; place-items: center; }
.social a:hover { background: #fff; color: var(--accent); }
.social svg { width: 18px; height: 18px; }
.foot-word { margin: clamp(3rem, 7vw, 5rem) 0 0; text-align: center; white-space: nowrap; font: 700 min(18.2vw, 15.2rem)/.8 var(--display); letter-spacing: -.07em; padding-bottom: .04em; background: linear-gradient(180deg, #fff 25%, rgba(255, 255, 255, .2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.foot-bot { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .86rem; }
.foot-bot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
@media (max-width: 960px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot-top { grid-template-columns: minmax(0, 1fr); } .foot-word { font-size: 19vw; } }

/* ---------- map of Albania (Kontakt) ---------- */
.map-box { position: relative; width: 100%; }
.map-box svg { width: 100%; height: auto; display: block; }
.map-land { fill: #eaf0fb; stroke: var(--accent); stroke-width: 1.4; stroke-linejoin: round; }
.map-lake { fill: #cfe3ff; stroke: #6f9be6; stroke-width: .8; }
.map-sea { fill: var(--muted); font: italic 500 13px var(--text); letter-spacing: .22em; opacity: .75; }
.map-lead { stroke: var(--accent); stroke-width: 1; opacity: .35; }
.map-pin { fill: var(--brand); stroke: #fff; stroke-width: 2.5; cursor: pointer; transition: fill .2s; }
.map-town { fill: #3e4a6b; stroke: #fff; stroke-width: 1.5; }
.map-town-name { fill: var(--ink); font: 700 17px var(--text); paint-order: stroke; stroke: #eaf0fb; stroke-width: 4px; stroke-linejoin: round; }
.map-pin.on { fill: #0b1a45; stroke: #fff; }
.map-city { position: absolute; transform: translate(-100%, -50%); white-space: nowrap; min-height: 32px; padding: 0 .7rem; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 700 .8rem/1 var(--text); cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; transition: background-color .2s, color .2s, border-color .2s; }
.map-city.s { transform: translate(-50%, 0); } /* a city far from the west column: its button sits under the pin */
.map-city b { color: var(--brand); }
.map-city:hover { border-color: var(--accent); }
.map-city[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.map-city[aria-pressed="true"] b { color: #d6e4ff; }
@media (max-width: 600px) { .map-city { min-height: 26px; font-size: .7rem; padding: 0 .45rem; gap: .25rem; } .map-sea { display: none; } }

/* ================= phones & touch screens ================= */
/* long lists draw only what is on screen */
.dev-card, .spec, .news-card { content-visibility: auto; contain-intrinsic-size: auto 420px; }
/* the 21 points are drawn at once: drawing each one as it scrolls in was what stuttered */
.spec { contain-intrinsic-size: auto 230px; }
.pkg { content-visibility: auto; contain-intrinsic-size: auto 470px; }
.cv-off :is(.pkg, .dev-card, .spec, .news-card) { content-visibility: visible; }

@media (max-width: 860px) {
  .cmp-tray { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }

  .sec { padding-block: 3.5rem; }
  .sec-head { margin-bottom: 1.5rem; }
  .sec-head.row-head { flex-direction: column; align-items: stretch; }
  .sec-head.row-head .btn { align-self: flex-start; }

  /* filters: one row you swipe sideways */
  .toolbar { padding: .75rem; gap: .6rem; border-radius: 24px; }
  .toolbar .chips, .offers-home .tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; flex-basis: 100%; padding-bottom: 4px; margin-bottom: -4px; }
  .toolbar .chips::-webkit-scrollbar, .offers-home .tabs::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; }
  .toolbar .search { order: 0; flex-basis: 100%; }
  .toolbar .chips { order: 1; }
  .sort { order: 2; flex: 1 1 auto; }
  .result-count { order: 3; margin-left: auto; padding-inline: .25rem; }

  /* dialogs open as bottom sheets */
  dialog.modal, dialog.modal.wide { width: 100%; max-width: 100%; max-height: 92svh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  dialog.modal[open] { animation: none; } /* phones: the sheet opens at once; sliding a long list in made the first frames stutter */
  .m-foot { padding-bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px)); }
  .m-head { padding: 1.1rem 1.1rem .9rem; }
  .m-head h2 { font-size: 1.2rem; }
  .m-head > .ico { display: none; } .m-body { padding: 1rem 1.1rem calc(1rem + env(safe-area-inset-bottom, 0px)); } .m-foot { padding-inline: 1.1rem; }
  .cmp-table th, .cmp-table td { padding: .5rem .4rem; font-size: .84rem; }
  .cmp-table thead th { min-width: 74px; }
  .cmp-table thead th b { font: 700 .82rem/1.25 var(--text); letter-spacing: 0; }
  .cmp-table tbody th { min-width: 104px; }
}
@keyframes sheet { from { transform: translateY(60px); opacity: .4; } }
@media (max-width: 640px) { .price strong { font-size: 1.9rem; } }

/* touch screens: no pointer tilt, no blur (both cost a lot while scrolling) */
@media (hover: none), (max-width: 860px) {
  .tilt, .tilt.is-tilting { transform: none; transition: none; }
  .nav.solid { background: #fff; }
  .nav, .nav.solid, dialog.modal::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
  :root { --lift: 0 1px 2px rgba(11, 26, 69, .05), 0 8px 16px -12px rgba(11, 26, 69, .25); --lift-hi: 0 2px 4px rgba(11, 26, 69, .05), 0 12px 22px -14px rgba(11, 26, 69, .32); }
  .dev { filter: none; box-shadow: none; }
  .dev.is-front { box-shadow: 0 0 0 2px var(--accent); }
  .cine-hint::after { animation: none; }
  .dark::before, .sv-iso::before { display: none; } /* flat blue on phones: the soft light costs too much while scrolling */
  .sv-iso { background: var(--dark); }
  .reveal-img img { mix-blend-mode: normal; }
  .reveal-img { background: #fff; }
  .v-spec { background: var(--dark); }
  .loc.main, .week-card { background: var(--dark); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cine { height: auto; }
  .cine-stage { position: relative; }
  .cine-fog, .cine-word, .cine-hint { display: none; }
}
