/* ==========================================================================
   Hexacam – variant F "Sklo"
   Feeling of B (light, calm, Manrope + Inter), the glass look of the
   CV Design film, functionality of E, navigation/interaction of D.
   ========================================================================== */

:root {
  --navy: #111F33;
  --navy-2: #1B2C44;
  --navy-soft: #34445A;
  --muted: #536175;
  --cyan: #14B5CC;
  --cyan-ui: #19B8CF;
  --cyan-ink: #0B7385;          /* darker cyan for small text on white (AA) */
  --cyan-wash: #E6F6F9;
  --steel: #7FA9BF;
  --ice: #B9D7E3;
  --white: #FFFFFF;
  --base: #F7FAFC;              /* page "paper" behind glass header */
  --tint: #F2F7FA;
  --line: #E1E8EE;
  --line-strong: #CFD9E2;

  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-edge: rgba(255, 255, 255, .75);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 2px rgba(17, 31, 51, .05), 0 18px 40px -22px rgba(17, 31, 51, .28);

  --f-head: "Manrope", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --sec-pad: clamp(72px, 9vw, 112px);

  --shadow-md: 0 2px 4px rgba(17, 31, 51, .04), 0 12px 32px -10px rgba(17, 31, 51, .14);
  --shadow-lg: 0 4px 10px rgba(17, 31, 51, .04), 0 40px 70px -30px rgba(17, 31, 51, .34);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--f-body);
  font-size: 17.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd, address { margin: 0; }
address { font-style: normal; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 10px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, .94); }
  .header::before { background: rgba(247, 250, 252, .97) !important; }
  .callbar, .nav { background: #fff !important; }
}

/* ---------- Progress line ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 200; height: 3px; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--cyan), #5FD3E3);
  box-shadow: 0 0 10px rgba(20, 181, 204, .5);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--f-head); font-weight: 700; font-size: 16.5px; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease), transform .25s var(--ease);
}
.btn i { font-size: 20px; transition: transform .25s var(--ease); }
.btn:hover i.ti-arrow-right { transform: translateX(3px); }
.btn:hover i.ti-arrow-up-right { transform: translate(2px, -2px); }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 17px; }
.btn-sm { min-height: 46px; padding: 0 20px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--cyan); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(20, 181, 204, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-accent:hover { background: #2BC3D8; transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-glass {
  background: rgba(255, 255, 255, .7); color: var(--navy); border-color: rgba(17, 31, 51, .12);
  box-shadow: inset 0 1px 0 #fff, 0 6px 18px -12px rgba(17, 31, 51, .35);
}
.btn-glass:hover { background: #fff; border-color: rgba(17, 31, 51, .3); }
.play-mini { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -8px; border-radius: 50%; background: var(--navy); color: var(--cyan-ui); }
.play-mini i { font-size: 14px; margin-left: 2px; }

/* ---------- Header (glass) ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; isolation: isolate; }
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(247, 250, 252, .8);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 1px 0 rgba(17, 31, 51, .04);
  transition: box-shadow .3s, background-color .3s;
}
.header.scrolled::before { background: rgba(247, 250, 252, .86); box-shadow: 0 1px 0 rgba(17, 31, 51, .07), 0 12px 30px -24px rgba(17, 31, 51, .35); }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 48px; }
.logo-full { height: 36px; width: auto; aspect-ratio: 1680 / 460; }

.nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav > a {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: 999px;
  font-family: var(--f-head); font-weight: 600; font-size: 15.5px; color: var(--navy-soft);
  text-decoration: none; white-space: nowrap;
  transition: color .2s, background-color .25s, box-shadow .25s;
}
.nav > a:hover { color: var(--navy); background: rgba(17, 31, 51, .05); }
.nav > a.active { color: var(--navy); background: #fff; box-shadow: 0 0 0 1px rgba(17, 31, 51, .07), 0 4px 12px -6px rgba(17, 31, 51, .25); }
.new-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); flex: none; }
.new-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--cyan); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.nav-mobile-extra { display: none; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 48px; }
.hp-ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--cyan-wash); color: var(--cyan-ink); font-size: 19px; transition: background-color .2s, color .2s;
}
.header-phone:hover .hp-ico { background: var(--cyan); color: var(--navy); }
.hp-txt { display: flex; flex-direction: column; line-height: 1.2; }
.hp-txt small { font-size: 12.5px; color: var(--muted); }
.hp-txt b { font-family: var(--f-head); font-size: 16px; font-weight: 700; white-space: nowrap; }

.menu-btn {
  display: none; position: relative; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .8); cursor: pointer;
}
.menu-btn span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--navy);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 27px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

/* ---------- Language menu (filled by js/i18n.js): header on desktop, inside the menu panel on phones/tablets ---------- */
.lang { position: relative; flex: none; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 15px 0 12px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .7);
  font-family: var(--f-head); font-weight: 700; font-size: 14.5px; letter-spacing: .05em; color: var(--navy);
  cursor: pointer; transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.lang-btn .ti-world { font-size: 19px; color: var(--cyan-ink); }
.lang-btn:hover, .lang.open .lang-btn { background: #fff; border-color: rgba(20, 181, 204, .55); box-shadow: 0 6px 16px -10px rgba(17, 31, 51, .35); }
.lang-chev { display: none; }
.lang-name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 120; min-width: 210px; padding: 6px;
  border-radius: 18px; background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 1px rgba(17, 31, 51, .06), 0 26px 50px -24px rgba(17, 31, 51, .5);
}
.lang-menu[hidden] { display: none; }
.lang-item {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 8px 12px;
  border: 0; border-radius: 12px; background: none; cursor: pointer; text-align: left;
  font-family: var(--f-body); font-size: 15.5px; font-weight: 500; color: var(--navy-soft);
  transition: background-color .15s, color .15s;
}
.lang-item:hover, .lang-item:focus-visible { background: var(--tint); color: var(--navy); }
.lang-item:focus-visible { outline-offset: -2px; }
.lang-item-code { width: 24px; font-family: var(--f-head); font-weight: 800; font-size: 12.5px; letter-spacing: .06em; color: var(--muted); }
.lang-item .ti-check { margin-left: auto; font-size: 18px; color: var(--cyan-ink); visibility: hidden; }
.lang-item[aria-checked="true"] { color: var(--navy); font-weight: 600; background: var(--cyan-wash); }
.lang-item[aria-checked="true"] .lang-item-code { color: var(--cyan-ink); }
.lang-item[aria-checked="true"] .ti-check { visibility: visible; }
.lang-mob { display: none; }
@media (max-width: 1024px) {
  .lang-head { display: none; }
  .lang-mob { display: block; }
  .lang-mob .lang-btn { width: 100%; height: auto; min-height: 52px; padding: 0 18px 0 16px; gap: 10px; font-size: 16px; }
  .lang-mob .lang-name { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; font-family: var(--f-body); font-weight: 500; letter-spacing: 0; color: var(--navy-soft); }
  .lang-mob .lang-chev { display: inline; margin-left: auto; font-size: 18px; color: var(--muted); transition: transform .25s var(--ease); }
  .lang-mob.open .lang-chev { transform: rotate(180deg); }
  .lang-mob .lang-menu {
    position: static; min-width: 0; margin-top: 6px; padding: 4px;
    background: var(--tint); -webkit-backdrop-filter: none; backdrop-filter: none;
    border: 1px solid var(--line); box-shadow: none;
  }
  .lang-mob .lang-item { min-height: 48px; font-size: 16.5px; }
}

/* ---------- Section rail (desktop) ---------- */
.rail { display: none; }

/* ---------- Shared section bits ---------- */
.section { position: relative; padding: var(--sec-pad) 0; isolation: isolate; }
.section-tint { background: linear-gradient(180deg, var(--tint), #F7FAFC 60%, var(--tint)); }

.sec-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; align-items: end;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.sec-head .label { grid-column: 1 / -1; }
.label {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-family: var(--f-head); font-weight: 700; font-size: 14.5px; letter-spacing: .02em; color: var(--muted);
  margin-bottom: 16px;
}
.label-n {
  display: inline-flex; align-items: center; gap: 12px; color: var(--cyan-ink); font-variant-numeric: tabular-nums;
}
.label-n::after { content: ""; width: 28px; height: 1px; background: var(--line-strong); }
h2 { font-size: clamp(32px, 3.7vw, 50px); font-weight: 800; letter-spacing: -0.035em; max-width: 18ch; }
h2 .c { color: #0E9FB4; }
.sec-lead { font-size: 18.5px; color: var(--muted); max-width: 48ch; }
.sec-head .sec-lead { padding-bottom: 6px; }
.h3 { font-size: clamp(26px, 2.5vw, 34px); font-weight: 800; letter-spacing: -0.03em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--base);
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(32px, 4vw, 48px);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); }
.hero-bg, .glass-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.field { position: absolute; display: block; border-radius: 50%; will-change: transform; }
.field-1 {
  width: min(80vw, 1150px); aspect-ratio: 1; right: -16%; top: -38%;
  background: radial-gradient(closest-side, rgba(127, 169, 191, .7), rgba(127, 169, 191, .28) 55%, rgba(127, 169, 191, 0));
  animation: drift1 28s ease-in-out infinite alternate;
}
.field-2 {
  width: min(62vw, 900px); aspect-ratio: 1; left: -18%; bottom: -55%;
  background: radial-gradient(closest-side, rgba(20, 181, 204, .34), rgba(127, 169, 191, .16) 60%, rgba(127, 169, 191, 0));
  animation: drift2 34s ease-in-out infinite alternate;
}
.field-3 {
  width: min(46vw, 680px); aspect-ratio: 1; left: 38%; top: 18%;
  background: radial-gradient(closest-side, rgba(185, 215, 227, .75), rgba(185, 215, 227, 0));
  animation: drift3 24s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(-7%, 9%, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(12%, -10%, 0) scale(1.12); } }
@keyframes drift3 { to { transform: translate3d(-14%, 12%, 0) scale(.92); } }
.ribbons { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero .ribbons { animation: sway 22s ease-in-out infinite alternate; transform-origin: 70% 40%; }
@keyframes sway { to { transform: translate3d(-1.5%, 1.2%, 0) rotate(-1.2deg); } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 4.5vw, 64px); align-items: center; }
.teaser {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  padding: 6px 16px 6px 6px; margin-bottom: 26px; border-radius: 999px;
  font-family: var(--f-head); font-weight: 600; font-size: 15.5px; color: var(--navy); text-decoration: none;
  transition: transform .3s var(--ease), background-color .3s;
}
.teaser:hover { background: rgba(255, 255, 255, .85); transform: translateY(-1px); }
.teaser-tag { padding: 6px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.teaser i { color: var(--cyan-ink); font-size: 18px; transition: transform .25s var(--ease); }
.teaser:hover i { transform: translate(2px, -2px); }
.hero-title { font-size: clamp(42px, 5.4vw, 74px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.03; max-width: 13ch; }
.hero-title em { font-style: normal; color: #0E9FB4; }
.lead { margin-top: 24px; font-size: clamp(18.5px, 1.45vw, 20.5px); color: var(--navy-soft); max-width: 40ch; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.props { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px 28px; margin-top: 32px; }
.props li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--navy-soft); font-weight: 500; }
.props i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(20, 181, 204, .14); color: var(--cyan-ink); font-size: 14px; flex: none; }

.hero-visual { position: relative; padding: 36px 0 44px; }
.tilt-stage { perspective: 1800px; }
.window {
  position: relative; border-radius: 18px; overflow: hidden;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(17, 31, 51, .06), 0 60px 90px -40px rgba(17, 31, 51, .42), 0 30px 50px -36px rgba(17, 31, 51, .3);
  transform-style: preserve-3d;
  transition: transform .9s var(--ease);
  will-change: transform;
}
.tilt[data-tilt="hover"] { transform: rotateY(-13deg) rotateX(6deg) rotateZ(.6deg); }
.tilt[data-tilt="hover"]:hover, .tilt[data-tilt="hover"]:focus-within { transform: none; }
.tilt[data-tilt="scroll"] { --t: 1; transform: rotateX(calc(var(--t) * 14deg)) rotateY(calc(var(--t) * 7deg)) scale(calc(1 - var(--t) * .04)); transition: transform .35s linear; }
.tilt[data-tilt="scroll"]:hover { --t: 0 !important; transition: transform .7s var(--ease); }
.window-bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; background: rgba(240, 245, 249, .85); border-bottom: 1px solid rgba(17, 31, 51, .07); color: var(--muted); }
.wb-dots { display: inline-flex; gap: 6px; flex: none; }
.wb-dots i { width: 10px; height: 10px; border-radius: 50%; background: #C9D3DD; }
.wb-dots i:first-child { background: var(--cyan); }
.wb-url {
  flex: 1; min-width: 0; max-width: 360px; margin: 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 26px; padding: 0 12px; border-radius: 8px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(17, 31, 51, .07);
  font-size: 12.5px; color: var(--navy-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wb-url i { color: var(--cyan-ink); font-size: 13px; }
.wb-tag { flex: none; padding: 4px 10px; border-radius: 6px; background: var(--navy); color: #fff; font-family: var(--f-head); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.hchip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border-radius: 18px; line-height: 1.25;
  animation: float 7s ease-in-out infinite alternate;
}
.hchip b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 15.5px; color: var(--navy); }
.hchip small { display: block; font-size: 13.5px; color: var(--muted); }
.hchip-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--navy); color: var(--cyan-ui); font-size: 21px; flex: none; }
.hchip-1 { left: -28px; top: 0; }
.hchip-2 { right: -12px; bottom: 0; animation-delay: -3.5s; }
@keyframes float { to { transform: translate3d(0, -8px, 0); } }

/* video player (shared by hero + Novinka) */
.vplayer { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #DDE7EE; isolation: isolate; }
/* the poster is a frame of the film (a tilted app window): zoom in so its own address bar and edges stay hidden */
.vp-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; z-index: -2; cursor: pointer; transform: scale(1.15); transform-origin: 40% 88%; transition: transform 1s var(--ease); }
.vplayer:hover .vp-poster { transform: scale(1.19); }
.vp-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 50% 50%, rgba(247, 250, 252, .0) 30%, rgba(17, 31, 51, .18) 100%), linear-gradient(180deg, transparent 55%, rgba(17, 31, 51, .5)); }
.vp-chip {
  position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .9);
  font-family: var(--f-head); font-weight: 700; font-size: 13px; color: var(--navy); pointer-events: none;
}
.vp-chip i { color: var(--cyan-ink); font-size: 14px; }
.vp-play {
  position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(20, 181, 204, .95); color: var(--navy); font-size: 34px;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .35), 0 20px 50px -10px rgba(17, 31, 51, .5); transition: transform .35s var(--ease), background-color .25s;
}
.vp-play i { margin-left: 5px; }
.vp-play:hover { transform: scale(1.08); background: #3FCADD; }
.vp-play:focus-visible { outline: 4px solid var(--navy); outline-offset: 8px; border-radius: 50%; }
.vp-ring { position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); animation: ring 2.6s var(--ease) infinite; pointer-events: none; }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.vp-caption {
  position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); pointer-events: none;
  padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .9);
  font-size: 14.5px; color: var(--navy-soft);
}
.vp-caption b { color: var(--navy); font-family: var(--f-head); }

/* ---------- Product strip ---------- */
.brands {
  display: flex; align-items: center; gap: 32px;
  margin-top: clamp(40px, 5vw, 64px); padding: 20px 28px; border-radius: 20px;
}
.brands-label { flex-shrink: 0; max-width: 21ch; font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.brands-list { flex: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; }
.brands-list li { font-family: var(--f-head); font-weight: 800; font-size: 15.5px; letter-spacing: .12em; color: #6E7D90; transition: color .25s; }
.brands-list li:hover { color: var(--navy); }

/* ---------- 3 Needs: choice cards (from D) ---------- */
.quiz-label { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-family: var(--f-head); font-weight: 700; font-size: 15.5px; color: var(--muted); }
.quiz-label i { color: var(--cyan-ink); font-size: 21px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.choice {
  position: relative; display: flex; align-items: center; gap: 22px;
  padding: 24px 24px 24px 22px; min-height: 148px;
  background: linear-gradient(160deg, #FFFFFF, #F7FBFD); border: 1px solid var(--line); border-radius: var(--r-lg);
  text-decoration: none; color: var(--navy);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(17, 31, 51, .04);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s, background-color .25s;
}
.choice:hover { transform: translateY(-4px); border-color: rgba(20, 181, 204, .55); box-shadow: var(--shadow-md); }
.choice-ico {
  width: 72px; height: 72px; border-radius: 22px; flex: none; display: grid; place-items: center;
  background: linear-gradient(145deg, #EEF5F9, #D8EEF3); color: var(--cyan-ink); font-size: 34px;
  box-shadow: inset 0 1px 0 #fff;
  transition: background .3s, color .3s, transform .35s var(--ease);
}
.choice:hover .choice-ico { transform: rotate(-5deg) scale(1.04); }
.choice-body { flex: 1; min-width: 0; }
.choice-body b { display: block; font-family: var(--f-head); font-size: 20px; line-height: 1.25; letter-spacing: -.015em; margin-bottom: 4px; }
.choice-body > span { display: block; color: var(--muted); font-size: 16.5px; line-height: 1.5; }
.choice-to { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--cyan-ink); }
.choice-go {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--cyan-ink); font-size: 20px; background: #fff;
  transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease);
}
.choice:hover .choice-go { background: var(--cyan); border-color: var(--cyan); color: var(--navy); transform: translateX(3px); }
.choice.chosen { border-color: var(--cyan); background: #F3FBFD; box-shadow: 0 0 0 5px rgba(20, 181, 204, .16), var(--shadow-md); }
.choice.chosen .choice-ico { background: var(--navy); color: var(--cyan-ui); }
.choice.chosen .choice-go { background: var(--navy); border-color: var(--navy); color: #fff; }

/* highlight target after a choice */
.flash { position: relative; }
.flash::after {
  content: ""; position: absolute; inset: -10px; border-radius: calc(var(--r-lg) + 8px); pointer-events: none;
  border: 2px solid var(--cyan); box-shadow: 0 0 0 6px rgba(20, 181, 204, .18), 0 0 40px rgba(20, 181, 204, .35);
  animation: flash 2s var(--ease) 1 forwards;
}
@keyframes flash { 0% { opacity: 0; transform: scale(.98); } 15% { opacity: 1; transform: none; } 70% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- 4 Products: tabs (from E) ---------- */
.prod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: stretch; }
.prod-tabs { display: flex; flex-direction: column; gap: 10px; }
.ptab {
  position: relative; flex: 1; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; align-items: center; text-align: left;
  padding: 16px 18px; border-radius: var(--r-md); cursor: pointer;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(17, 31, 51, .07);
  transition: background-color .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.ptab:hover { background: rgba(255, 255, 255, .9); }
.ptab[aria-selected="true"] { background: #fff; border-color: rgba(20, 181, 204, .5); box-shadow: inset 0 1px 0 #fff, 0 14px 30px -20px rgba(17, 31, 51, .35); }
.ptab-ico { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--tint); color: var(--navy-soft); font-size: 24px; transition: background-color .3s, color .3s; }
.ptab[aria-selected="true"] .ptab-ico { background: var(--navy); color: var(--cyan-ui); }
.ptab-t b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 19px; line-height: 1.2; letter-spacing: -.01em; }
.ptab-t small { display: block; font-size: 15px; color: var(--muted); }
.ptab-p { grid-column: 2; margin-top: 2px; font-family: var(--f-head); font-size: 12.5px; font-weight: 800; letter-spacing: .1em; color: var(--cyan-ink); }

.prod-panels { display: grid; }
.ppanel { display: grid; grid-template-rows: minmax(240px, 1fr) auto; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid rgba(17, 31, 51, .07); box-shadow: var(--shadow-md); }
.ppanel + .ppanel { margin-top: 24px; }
.js .ppanel { grid-area: 1 / 1; margin: 0; }
.js .ppanel:not(.is-active) { visibility: hidden; opacity: 0; }
.js .ppanel.is-active { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
.ppanel:focus-visible { outline-offset: 4px; border-radius: var(--r-lg); }
.pp-img { position: relative; overflow: hidden; min-height: 240px; }
.pp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-chip { position: absolute; left: 16px; top: 16px; padding: 8px 14px; border-radius: 999px; font-family: var(--f-head); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: var(--navy); }
.pp-body { display: grid; align-content: start; gap: 8px; padding: 24px 28px 28px; }
.pp-body h3 { font-size: clamp(23px, 2vw, 28px); }
.pp-body > p { color: var(--muted); }
.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--tint); font-size: 15.5px; line-height: 1.4; font-weight: 500; }
.checks i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 0; border-radius: 50%; background: var(--cyan); color: var(--navy); font-size: 14px; }
.text-link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 8px 0; font-family: var(--f-head); font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* compare slider (from E, restyled light) */
.cmp-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: clamp(56px, 7vw, 88px); }
.cmp-text .h3 { margin-bottom: 14px; }
.cmp-text > p { color: var(--muted); }
.cmp-hint { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 15.5px; font-weight: 600; color: var(--navy-soft) !important; }
.cmp-hint i { font-size: 20px; color: var(--cyan-ink); }
.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #F8FBFD;
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-lg); user-select: none; -webkit-user-select: none;
}
.cmp-layer { position: absolute; inset: 0; }
.cmp-photo img { width: 100%; height: 100%; object-fit: cover; }
.cmp-cad { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cad { width: 100%; height: 100%; display: block; }
.js .cad .ln { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.js .compare.in .cad .ln { stroke-dashoffset: 0; }
.cmp-label { position: absolute; bottom: 14px; z-index: 3; padding: 7px 14px; border-radius: 999px; font-family: var(--f-head); font-weight: 700; font-size: 13.5px; color: var(--navy); pointer-events: none; }
.cmp-label.l { left: 14px; }
.cmp-label.r { right: 14px; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(20, 181, 204, .6), 0 0 18px rgba(20, 181, 204, .6); pointer-events: none; }
.knob {
  position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--navy); font-size: 26px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 6px rgba(20, 181, 204, .2), 0 12px 30px rgba(17, 31, 51, .3); transition: transform .25s var(--ease), box-shadow .25s;
}
.cmp-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; touch-action: pan-y; }
.cmp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 72px; height: 100vh; cursor: ew-resize; }
.cmp-range::-moz-range-thumb { width: 72px; height: 100vh; border: 0; cursor: ew-resize; }
.compare:hover .knob, .cmp-range:active ~ .cmp-handle .knob { transform: scale(1.08); }
.cmp-range:focus-visible ~ .cmp-handle .knob { box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--navy), 0 12px 30px rgba(17, 31, 51, .3); }

/* add-ons */
.addons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(40px, 5vw, 56px); }
.addon { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .72); border: 1px solid rgba(17, 31, 51, .07); box-shadow: inset 0 1px 0 #fff; }
.addon-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 14px; background: var(--cyan-wash); color: var(--cyan-ink); font-size: 24px; }
.addon-k { font-family: var(--f-head); font-weight: 800; font-size: 12.5px; letter-spacing: .12em; color: var(--cyan-ink); }
.addon h3 { font-size: 20px; }
.addon p { color: var(--muted); font-size: 16.5px; }
.addon-cta { justify-content: center; background: linear-gradient(150deg, rgba(20, 181, 204, .14), rgba(255, 255, 255, .8)); border-color: rgba(20, 181, 204, .3); }
.addon-cta b { font-family: var(--f-head); font-size: 20px; letter-spacing: -.01em; }
.addon-cta .btn { align-self: flex-start; margin-top: 10px; }

/* ---------- 5 Novinka ---------- */
.novinka { background: linear-gradient(180deg, #EEF5F9 0%, #E6F0F5 45%, #F1F7FA 100%); overflow: hidden; }
.novinka .glass-bg::before, .contact-sec .glass-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 88% 12%, rgba(127, 169, 191, .45), transparent 70%),
    radial-gradient(35% 45% at 6% 60%, rgba(20, 181, 204, .2), transparent 70%),
    radial-gradient(30% 35% at 60% 95%, rgba(185, 215, 227, .7), transparent 70%);
}
.novinka .ribbons { height: 70%; top: 2%; }
.new-pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; letter-spacing: .02em; }
.new-pill .new-dot { background: var(--cyan-ui); }
.novinka h2 { max-width: 16ch; }

.nov-top { display: grid; grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr); gap: 28px; align-items: center; }
.window-lg { border-radius: 20px; }
.window-lg .vplayer { aspect-ratio: 16 / 9.4; }
.window-lg .vp-play { width: 104px; height: 104px; margin: -52px 0 0 -52px; font-size: 40px; }
.benefits { display: grid; gap: 10px; }
.benefit { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border-radius: var(--r-md); transition: transform .3s var(--ease), background-color .3s; }
.benefit:hover { transform: translateX(4px); background: rgba(255, 255, 255, .82); }
.b-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: var(--cyan-ui); font-size: 22px; }
.benefit h3 { font-size: 17.5px; line-height: 1.25; margin-bottom: 2px; letter-spacing: -.01em; }
.benefit p { font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.langs span { padding: 2px 9px; border-radius: 6px; border: 1px solid rgba(11, 115, 133, .35); background: #fff; color: var(--navy); font-family: var(--f-head); font-size: 13px; font-weight: 700; letter-spacing: .06em; }

.nov-steps-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px 56px; align-items: end; margin: clamp(56px, 7vw, 80px) 0 22px; }
.nov-steps-head p { color: var(--muted); }
.nov-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: n; }
.nstep { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .68); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--glass-shadow); }
.nstep:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -13px; width: 10px; height: 10px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); transform: rotate(45deg); z-index: 1; }
.nstep-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.nstep-n { font-family: var(--f-head); font-weight: 800; font-size: 14px; color: var(--cyan-ink); letter-spacing: .06em; }
.nstep-top i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--cyan-wash); color: var(--cyan-ink); font-size: 22px; }
.nstep b { font-family: var(--f-head); font-weight: 800; font-size: 21px; letter-spacing: .04em; }
.nstep > span:last-child { color: var(--muted); font-size: 16px; line-height: 1.5; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 56px); }
.shot { position: relative; border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 16px 34px -24px rgba(17, 31, 51, .45); }
.shot-wide { grid-column: span 2; }
.shot-img { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(180deg, #E9EEF3, #D3DCE5); }
.shot-wide .shot-img { aspect-ratio: 16 / 9; }
.shot-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover .shot-img img { transform: scale(1.04); }
.shot figcaption { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14.5px; font-weight: 600; color: var(--navy); }
.tag { padding: 3px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--f-head); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.nov-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; margin-top: clamp(32px, 4vw, 44px); padding: 26px 30px; border-radius: var(--r-xl); }
.nov-cta p { flex: 1 1 360px; max-width: 52ch; color: var(--muted); font-size: 17.5px; }
.nov-cta p b { display: block; font-family: var(--f-head); font-size: 23px; line-height: 1.2; color: var(--navy); letter-spacing: -.015em; margin-bottom: 2px; }
.nov-cta .actions { margin-top: 0; }

/* ---------- 6 Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps-line { position: absolute; left: 34px; right: calc(33.333% - 34px); top: 34px; height: 2px; border-radius: 2px; background: var(--line); }
.steps-line span { display: block; height: 100%; width: 0; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), #5FD3E3); transition: width .2s linear; }
.step { position: relative; padding-right: 16px; }
.step-badge {
  position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line-strong); font-size: 28px; color: var(--navy);
  box-shadow: 0 0 0 8px #fff; margin-bottom: 26px;
  transition: background-color .4s, color .4s, border-color .4s, transform .4s var(--ease);
}
.step.lit .step-badge { background: var(--navy); color: var(--cyan-ui); border-color: var(--navy); transform: translateY(-2px); }
.step-k { display: block; font-family: var(--f-head); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-ink); margin-bottom: 8px; }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 32ch; }

/* ---------- 7 Training ---------- */
.train { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.train-text h2 { margin-bottom: 16px; }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 32px 0 34px; }
.feat { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .78); border: 1px solid rgba(17, 31, 51, .06); box-shadow: inset 0 1px 0 #fff; }
.feat-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--cyan-wash); color: var(--cyan-ink); font-size: 23px; }
.feat b { display: block; font-family: var(--f-head); font-size: 17.5px; line-height: 1.3; margin-bottom: 2px; }
.feat div > span { display: block; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.feat.flash::after { border-radius: calc(var(--r-md) + 8px); }
.train-media { position: relative; padding-bottom: 28px; }
.tm-main { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
.tm-main img { width: 100%; height: 100%; object-fit: cover; }
.tm-chip { left: -28px; bottom: 0; }

/* ---------- 8 FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.faq-side h2 { margin-bottom: 14px; }
.ask { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 20px; border-radius: var(--r-lg); background: linear-gradient(150deg, rgba(230, 246, 249, .9), rgba(255, 255, 255, .7)); }
.ask-ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 15px; background: var(--navy); color: var(--cyan-ui); font-size: 23px; }
.ask b { display: block; font-family: var(--f-head); font-size: 18px; }
.ask p { color: var(--muted); font-size: 16px; }
.ask-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 6px 0; font-family: var(--f-head); font-weight: 800; font-size: 19px; text-decoration: none; border-bottom: 2px solid rgba(20, 181, 204, .4); }
.ask-link:hover { border-color: var(--cyan); }
.ask-link i { color: var(--cyan-ink); }
.faq-list { display: grid; gap: 12px; }
.qa { background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.qa[open] { border-color: rgba(20, 181, 204, .45); box-shadow: var(--shadow-md); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 16px 12px 14px; font-family: var(--f-head); font-size: 18.5px; font-weight: 700; color: var(--navy); border-radius: var(--r-md); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { background: #FAFDFE; }
.q-t { flex: 1; min-width: 0; }
.q-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--tint); color: var(--cyan-ink); font-size: 21px; }
.toggle { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: 19px; background: var(--tint); color: var(--navy); transition: transform .3s var(--ease), background-color .25s; }
.qa[open] .toggle { transform: rotate(45deg); background: var(--cyan); }
.qa .a { padding: 0 24px 22px 70px; color: var(--muted); }
.qa[open] .a { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- 9 Contact ---------- */
.contact-sec { background: linear-gradient(180deg, #F3F8FB, #E9F2F7); overflow: hidden; }
.contact-sec .ribbons { top: 8%; }
.contact { border-radius: var(--r-xl); background: rgba(255, 255, 255, .66); overflow: hidden; }
.contact-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; align-items: center; padding: clamp(32px, 5vw, 56px); }
.contact-main h2 { margin-bottom: 16px; max-width: 14ch; }
.contact-call { padding: 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 20px 40px -28px rgba(17, 31, 51, .4); }
.cc-label { display: block; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.big-phone {
  display: inline-flex; align-items: center; gap: 14px; margin: 6px 0 18px; padding: 6px 0;
  font-family: var(--f-head); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.035em; line-height: 1.05;
  text-decoration: none; color: var(--navy); transition: color .25s;
}
.big-phone:hover { color: var(--cyan-ink); }
.bp-ico { display: grid; place-items: center; flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--cyan); color: var(--navy); font-size: 26px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hours { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--f-head); font-weight: 700; color: var(--navy-soft); }
.hours i { color: var(--cyan-ink); font-size: 20px; }
.company { display: grid; grid-template-columns: 1fr 1fr 1.2fr; border-top: 1px solid rgba(17, 31, 51, .08); background: rgba(255, 255, 255, .5); }
.co-item { padding: 24px clamp(24px, 3vw, 40px); font-size: 16px; color: var(--navy-soft); line-height: 1.55; }
.co-item + .co-item { border-left: 1px solid rgba(17, 31, 51, .08); }
.co-k { display: block; margin-bottom: 8px; font-family: var(--f-head); font-weight: 800; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-ink); }
.co-item b { color: var(--navy); font-family: var(--f-head); }
.co-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 0; font-family: var(--f-head); font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.co-link i { color: var(--cyan-ink); }
.co-ids div { display: flex; gap: 10px; }
.co-ids dt { min-width: 62px; color: var(--muted); }
.co-ids dd { font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }

/* ---------- Footer ---------- */
.footer { background: #FFFFFF; padding: 64px 0 36px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .logo-full { height: 40px; }
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: 16.5px; max-width: 30ch; }
.f-h { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 12px; }
.footer li { font-size: 16.5px; }
.footer li a { display: inline-block; padding: 5px 0; text-decoration: none; transition: color .2s; }
.footer li a:hover { color: var(--cyan-ink); }
.footer address { margin-top: 12px; font-size: 16px; color: var(--muted); line-height: 1.55; }
.footer-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.to-top { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; color: var(--navy); }

/* ---------- Floating call (desktop) / call bar (phones) ---------- */
.float-call {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: flex; align-items: center; gap: 12px;
  padding: 7px 22px 7px 7px; border-radius: 999px;
  background: var(--navy); color: #fff; text-decoration: none;
  box-shadow: 0 18px 40px -14px rgba(17, 31, 51, .6), 0 0 0 4px rgba(255, 255, 255, .65);
  transition: transform .35s var(--ease), opacity .35s var(--ease), visibility 0s;
}
.float-call:hover { transform: translateY(-3px); }
.fc-ico { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cyan-ui); color: var(--navy); font-size: 23px; }
.fc-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cyan-ui); animation: ring 2.6s ease-out infinite; }
.fc-text { line-height: 1.25; }
.fc-text b { display: block; font-family: var(--f-head); font-size: 16.5px; }
.fc-text small { color: #B9E9F1; font-size: 14px; font-weight: 500; }
.js .float-call:not(.show) { opacity: 0; transform: translateY(24px); pointer-events: none; visibility: hidden; transition: transform .35s var(--ease), opacity .35s var(--ease), visibility 0s .35s; }
.callbar { display: none; }

/* ---------- Video modal ---------- */
.vmodal { width: min(1040px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--r-lg); background: rgba(255, 255, 255, .96); color: var(--navy); box-shadow: 0 40px 100px rgba(17, 31, 51, .45); overflow: auto; }
.vmodal::backdrop { background: rgba(17, 31, 51, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vmodal[open] { animation: modalIn .35s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.vmodal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 22px; border-bottom: 1px solid var(--line); }
.vmodal-head h2 { font-size: 19px; max-width: none; letter-spacing: -.01em; line-height: 1.2; }
.vmodal-close { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; font-size: 22px; transition: background-color .2s; }
.vmodal-close:hover { background: var(--cyan); }
.vm-frame { position: relative; aspect-ratio: 16 / 9; background: #0B1524; }
.vm-frame iframe, .vm-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vm-soon { display: grid; justify-items: center; gap: 12px; padding: clamp(32px, 6vw, 56px) clamp(20px, 5vw, 48px); text-align: center; }
.vm-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--cyan-wash); color: var(--cyan-ink); font-size: 34px; }
.vm-soon h3 { font-size: clamp(26px, 3vw, 34px); }
.vm-soon p { max-width: 50ch; color: var(--muted); }
.vm-soon .actions { justify-content: center; margin-top: 8px; }
body.modal-open { overflow: hidden; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .static .reveal, .static .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
/* the Novinka window keeps its own 3D transform; reveal it with opacity only */
.js .tilt-stage.reveal { transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1200px) {
    .rail {
    display: block; position: fixed; right: 18px; top: 50%; z-index: 80; transform: translateY(-50%);
    padding: 10px 0;
  }
  .rail-track { position: absolute; right: 5px; top: 22px; bottom: 22px; width: 2px; border-radius: 2px; background: rgba(17, 31, 51, .1); }
  .rail-fill { display: block; width: 100%; height: 100%; border-radius: 2px; background: var(--cyan); transform-origin: 50% 0; transform: scaleY(0); }
  .rail ol { position: relative; display: flex; flex-direction: column; gap: 6px; }
  .rail a { position: relative; display: flex; justify-content: flex-end; align-items: center; width: 40px; height: 26px; text-decoration: none; }
  .rail-dot { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid rgba(17, 31, 51, .25); transition: transform .3s var(--ease), background-color .3s, border-color .3s; }
  .rail a:hover .rail-dot { border-color: var(--navy); }
  .rail a.passed .rail-dot { border-color: var(--cyan); }
  .rail a.active .rail-dot { background: var(--cyan); border-color: var(--cyan); transform: scale(1.35); box-shadow: 0 0 0 4px rgba(20, 181, 204, .2); }
  .rail-label {
    position: absolute; right: 22px; top: 50%;
    writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
    font-family: var(--f-head); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; white-space: nowrap; color: var(--navy);
    padding: 8px 3px; border-radius: 8px; background: rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px rgba(17, 31, 51, .06);
    opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .rail a.active .rail-label { opacity: 1; }
  .rail:hover a.active:not(:hover) .rail-label { opacity: 0; }
  .rail a:hover .rail-label, .rail a:focus-visible .rail-label { opacity: 1; }
  .rail a:focus-visible { outline-offset: 0; }
}

@media (max-width: 1280px) {
  .hp-txt { display: none; }
}

@media (max-width: 1100px) {
  .header-btn { display: none; }
  .nav > a { padding: 9px 11px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .menu-btn { display: block; }
  .header-in { justify-content: space-between; gap: 12px; }
  .header-cta { gap: 10px; }
  .nav {
    position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 6px);
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 10px;
    border-radius: 22px; background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 30px 60px -30px rgba(17, 31, 51, .45);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
    max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav > a { min-height: 54px; padding: 12px 16px; font-size: 18.5px; color: var(--navy); border-radius: 14px; }
  .nav > a::after { left: auto; right: 18px; top: 50%; bottom: auto; margin: -3px 0 0; width: 7px; height: 7px; }
  .nav-mobile-extra { display: grid; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-title { max-width: 15ch; }
  .hero-visual { max-width: 720px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .prod { grid-template-columns: minmax(0, 1fr); }
  .prod-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp-row { grid-template-columns: minmax(0, 1fr); }
  .nov-top { grid-template-columns: minmax(0, 1fr); }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-lang { grid-column: 1 / -1; }
  .nov-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nstep:nth-child(2)::after { display: none; }
  .nov-steps-head { grid-template-columns: minmax(0, 1fr); }
  .train { grid-template-columns: minmax(0, 1fr); }
  .train-media { max-width: 560px; }
  .tm-main { aspect-ratio: 4 / 3; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .contact-top { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-call { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 17px; padding-bottom: 84px; }
  .hp-ico { width: 48px; height: 48px; }
  .logo-full { height: 31px; }
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero-title { font-size: clamp(38px, 11vw, 54px); }
  .teaser { font-size: 14.5px; margin-bottom: 20px; }
  .actions .btn, .contact-actions .btn { flex: 1 1 100%; }
  .btn { white-space: normal; text-align: center; line-height: 1.2; }
  .props { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-visual { padding: 18px 0 64px; }
  .tilt[data-tilt="hover"] { transform: rotateY(-7deg) rotateX(4deg); }
  .hchip { padding: 8px 14px 8px 8px; border-radius: 15px; }
  .hchip-ico { width: 36px; height: 36px; font-size: 18px; border-radius: 11px; }
  .hchip b { font-size: 14.5px; }
  .hchip small { font-size: 12.5px; }
  .hchip-1 { left: -6px; top: -4px; }
  .hchip-2 { right: -6px; bottom: 6px; }
  .vp-play { width: 70px; height: 70px; margin: -35px 0 0 -35px; font-size: 28px; }
  .vp-caption { display: none; }
  .wb-url { font-size: 11.5px; }
  .brands { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 20px; }
  .brands-label { max-width: none; }
  .brands-list { justify-content: flex-start; gap: 8px 18px; }
  .brands-list li { font-size: 14px; }

  h2 { font-size: clamp(30px, 8.4vw, 40px); }
  .sec-lead { font-size: 17.5px; }
  .choices { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .choice { align-items: flex-start; gap: 16px; padding: 18px; min-height: 0; }
  .choice-ico { width: 56px; height: 56px; border-radius: 17px; font-size: 27px; }
  .choice-body b { font-size: 18.5px; padding-right: 44px; }
  .choice-go { position: absolute; right: 14px; top: 16px; width: 40px; height: 40px; }

  .prod-tabs { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ptab { padding: 12px 14px; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; }
  .ptab-ico { width: 44px; height: 44px; font-size: 21px; border-radius: 13px; }
  .ptab-t b { font-size: 17.5px; }
  .ptab-t small { font-size: 14.5px; }
  .ppanel { grid-template-rows: 200px auto; }
  .pp-img { min-height: 200px; }
  .pp-body { padding: 20px; }
  .checks { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .checks li { padding: 10px 12px; }
  .compare { aspect-ratio: 4 / 3; }
  .cmp-label { font-size: 12.5px; padding: 6px 11px; bottom: 10px; }
  .cmp-label.l { left: 10px; }
  .cmp-label.r { right: 10px; }
  .addons { grid-template-columns: minmax(0, 1fr); gap: 12px; }

  .window-lg .vplayer { aspect-ratio: 4 / 3; }
  .window-lg .vp-play { width: 80px; height: 80px; margin: -40px 0 0 -40px; font-size: 32px; }
  .wb-tag { display: none; }
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .nov-steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .nstep::after { display: none; }
  .nstep { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 16px 18px; }
  .nstep-top { grid-row: span 2; flex-direction: column-reverse; align-items: flex-start; gap: 6px; margin: 0; }
  .nstep b { font-size: 18px; }
  .nstep > span:last-child { font-size: 15.5px; }
  .shot:not(.shot-wide) .tag { display: none; }
  .shot:not(.shot-wide) figcaption { padding: 5px 12px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shot-wide { grid-column: 1 / -1; }
  .shot figcaption { left: 8px; bottom: 8px; font-size: 13.5px; }
  .nov-cta { padding: 22px 20px; }
  .nov-cta .actions { width: 100%; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps-line { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .steps-line span { width: 100% !important; height: var(--fill, 0%); transition: height .2s linear; }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; padding: 0; }
  .step-badge { width: 56px; height: 56px; border-radius: 18px; font-size: 24px; margin: 0; grid-row: span 3; box-shadow: 0 0 0 6px #fff; }
  .step h3 { font-size: 21px; margin-bottom: 4px; }

  .feats { grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 24px 0 26px; }
  .feat { padding: 14px; }
  .tm-chip { left: 10px; }
  .train-text .btn { width: 100%; }

  .qa summary { font-size: 17px; gap: 12px; padding: 10px 12px 10px 10px; }
  .q-ico { width: 38px; height: 38px; font-size: 19px; }
  .qa .a { padding: 0 18px 20px 18px; }
  .ask { flex-direction: row; }

  .contact { border-radius: var(--r-lg); }
  .contact-top { padding: 26px 20px; gap: 24px; }
  .contact-call { padding: 20px; }
  .big-phone { font-size: clamp(26px, 8vw, 36px); }
  .bp-ico { display: none; }
  .company { grid-template-columns: minmax(0, 1fr); }
  .co-item { padding: 18px 20px; }
  .co-item + .co-item { border-left: 0; border-top: 1px solid rgba(17, 31, 51, .08); }

  .footer { padding: 48px 0 28px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .to-top { margin-left: 0; }

  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    background: rgba(247, 250, 252, .86); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
    border-top: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 -10px 30px -16px rgba(17, 31, 51, .3);
  }
  .callbar .btn { min-height: 54px; }
}

@media (max-width: 380px) {
  .header-cta { gap: 8px; }
  .logo-full { height: 28px; }
  .hchip small { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .field, .hero .ribbons, .hchip { animation: none !important; transform: none !important; }
  .tilt, .tilt[data-tilt="hover"], .tilt[data-tilt="scroll"] { transform: none !important; }
  .js .cad .ln { stroke-dashoffset: 0; }
}

/* Novinka: static app screenshot inside the window */
.app-shot { position: relative; aspect-ratio: 16 / 9.4; overflow: hidden; background: #DDE7EE; }
.app-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; transform: scale(1.15); transform-origin: 40% 88%; }
.app-shot .vp-caption { z-index: 1; }
@media (max-width: 700px) { .app-shot { aspect-ratio: 4 / 3; } }

/* section snapping is done in js/main.js ("section snap") – CSS snap could not lock reliably */


/* ==========================================================================
   Moving glass background (hero, Novinka, Kontakt)
   - Light fields: several independent CSS animations per field on different
     properties (transform drift, scale breath with an off-centre origin,
     opacity) with incommensurate periods -> organic, never-repeating drift,
     all ease-in-out + alternate, so there is no loop jump. Compositor only.
   - Ribbon SVGs: slow sweep (transform) + breath (scale) here; the curve
     undulation and the travelling edge sheen are done in js/main.js
     ("glass motion"). Scroll parallax is written by JS into the individual
     `translate` property, which composes with the keyframed transform.
   - .bg-idle (JS: section off-screen or tab hidden) pauses everything.
   ========================================================================== */
.ribbons { overflow: visible; }

.field-1 {
  transform-origin: 30% 70%;
  animation: fieldDriftA 29s ease-in-out -11s infinite alternate,
             fieldBreathA 37s ease-in-out -5s infinite alternate,
             fieldGlowA 23s ease-in-out -8s infinite alternate;
}
.field-2 {
  transform-origin: 70% 30%;
  animation: fieldDriftB 34s ease-in-out -20s infinite alternate,
             fieldBreathB 26s ease-in-out -3s infinite alternate,
             fieldGlowB 31s ease-in-out -14s infinite alternate;
}
.field-3 {
  transform-origin: 20% 40%;
  animation: fieldDriftC 21s ease-in-out -7s infinite alternate,
             fieldBreathA 33s ease-in-out -19s infinite alternate,
             fieldGlowA 18s ease-in-out -2s infinite alternate;
}
@keyframes fieldDriftA { from { transform: translate3d(3%, -4%, 0); } to { transform: translate3d(-12%, 10%, 0); } }
@keyframes fieldDriftB { from { transform: translate3d(-4%, 5%, 0); } to { transform: translate3d(16%, -12%, 0); } }
@keyframes fieldDriftC { from { transform: translate3d(9%, -7%, 0); } to { transform: translate3d(-17%, 13%, 0); } }
@keyframes fieldBreathA { from { scale: .94; } to { scale: 1.13; } }
@keyframes fieldBreathB { from { scale: 1.1; } to { scale: .92; } }
@keyframes fieldGlowA { from { opacity: 1; } to { opacity: .72; } }
@keyframes fieldGlowB { from { opacity: .8; } to { opacity: 1; } }

/* hero ribbons (and their separately rasterised blurred shadow) sweep + breathe together */
.hero .ribbons {
  transform-origin: 62% 46%;
  animation: ribbonSweep 26s ease-in-out -9s infinite alternate,
             ribbonBreath 39s ease-in-out -16s infinite alternate;
}
@keyframes ribbonSweep {
  from { transform: translate3d(1.6%, -1.4%, 0) rotate(.9deg); }
  to   { transform: translate3d(-2.2%, 1.8%, 0) rotate(-1.8deg); }
}
@keyframes ribbonBreath { from { scale: 1; } to { scale: 1.045; } }

/* Novinka / Kontakt: same language, calmer */
.novinka .ribbons, .contact-sec .ribbons {
  transform-origin: 50% 40%;
  animation: ribbonSweepCalm 32s ease-in-out -12s infinite alternate,
             ribbonBreath 44s ease-in-out -6s infinite alternate;
}
.contact-sec .ribbons { animation-delay: -27s, -30s; }
@keyframes ribbonSweepCalm {
  from { transform: translate3d(1.2%, -1%, 0) rotate(.6deg); }
  to   { transform: translate3d(-1.6%, 1.2%, 0) rotate(-1.1deg); }
}
.novinka .glass-bg::before, .contact-sec .glass-bg::before {
  inset: -12%;
  will-change: transform;
  animation: glassFieldDrift 36s ease-in-out -13s infinite alternate,
             fieldBreathA 28s ease-in-out -4s infinite alternate;
}
.contact-sec .glass-bg::before { animation-delay: -31s, -17s; }
@keyframes glassFieldDrift {
  from { transform: translate3d(3%, 2.5%, 0); }
  to   { transform: translate3d(-4%, -3.5%, 0); }
}

/* paused while off-screen / tab hidden (class toggled by js/main.js) */
.bg-idle .field, .bg-idle .ribbons, .bg-idle::before { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .field, .ribbons, .glass-bg::before { animation: none !important; transform: none !important; translate: none !important; scale: none !important; }
}
/* ======================= end moving glass background ===================== */

/* === Product tabs v2 ===
   Richer but compact panels: lead + "Pre koho" + 2-col capability list + chips + official link.
   Only adds classes used inside #produkty (.pp-lead, .pp-who, .pp-feats, .pp-split, .pp-foot, .pp-tags, .pp-more). */
.ppanel { grid-template-rows: minmax(160px, 1fr) auto; }
.pp-img { min-height: 160px; }
.pp-body { gap: 0; padding: 22px 26px 20px; }
.pp-body h3 { margin-bottom: 6px; }
.pp-body .pp-lead { color: var(--navy-soft); font-size: 16px; line-height: 1.5; max-width: 64ch; }
.pp-who { margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.pp-who > span, .pp-tags > span, .pp-grp-h, .pp-foot-k {
  font-family: var(--f-head); font-weight: 800; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-ink);
}
.pp-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.pp-feats li { display: flex; gap: 11px; align-items: flex-start; padding: 5px 0; min-width: 0; }
.pp-feats i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--cyan-wash); color: var(--cyan-ink); font-size: 18px; }
.pp-feats b { display: block; font-family: var(--f-head); font-weight: 700; font-size: 15px; line-height: 1.3; letter-spacing: -.005em; color: var(--navy); }
.pp-feats small { display: block; margin-top: 1px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.pp-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.pp-split .pp-feats { grid-template-columns: minmax(0, 1fr); margin-top: 4px; padding-top: 0; border-top: 0; }
.pp-grp-h { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pp-grp-h small { font-family: var(--f-body); font-weight: 500; font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.pp-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.pp-tags { flex: 1 1 280px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pp-tags > span { margin-right: 4px; }
.pp-who > span { margin-right: 8px; }
.pp-tags em { font-style: normal; font-size: 13px; font-weight: 500; line-height: 1.3; padding: 4px 10px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); color: var(--navy-soft); white-space: nowrap; }
.pp-more {
  position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 6px 0;
  font-family: var(--f-head); font-weight: 700; font-size: 14.5px; color: var(--navy); white-space: nowrap;
  text-decoration: underline; text-decoration-color: rgba(20, 181, 204, .55); text-decoration-thickness: 2px; text-underline-offset: 5px;
  transition: color .2s, text-decoration-color .2s;
}
.pp-more:hover { color: var(--cyan-ink); text-decoration-color: var(--cyan); }
.pp-more i { font-size: 15px; color: var(--cyan-ink); }
.pp-more-in { margin-left: auto; color: var(--navy-soft); }
.pp-foot-k { margin-right: -8px; }
.pp-more .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  .ppanel { grid-template-rows: minmax(170px, 1fr) auto; }
  .pp-img { min-height: 170px; }
  .pp-body { padding: 20px 18px 18px; }
  .pp-body .pp-lead { font-size: 15.5px; }
  .pp-feats, .pp-split { grid-template-columns: minmax(0, 1fr); }
  .pp-split .pp-grp + .pp-grp { margin-top: 10px; }
  .pp-tags { flex-basis: 100%; }
  .pp-tags em { white-space: normal; }
  .pp-more-in { margin-left: 0; }
}
@media (max-width: 480px) {
  /* phones: the machine chips repeat the list above – drop them to keep the panel short */
  .pp-tags { display: none; }
  .pp-feats li { padding: 4px 0; }
  .pp-foot { gap: 2px 16px; }
}
/* === end Product tabs v2 === */

/* === FAQ v2: one answer at a time, floating over the next questions (no page shift) === */
.faq-list { position: relative; }
.qa { position: relative; }
.qa[open] { z-index: 6; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom-color: transparent; }
.qa .a {
  position: absolute; left: -1px; right: -1px; top: 100%; z-index: 6;
  padding: 2px 24px 22px 70px; margin-top: -1px;
  background: rgba(255, 255, 255, .96); border: 1px solid rgba(20, 181, 204, .45); border-top: 0;
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: 0 24px 40px -18px rgba(17, 31, 51, .35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.qa .a::before { content: ""; position: absolute; left: 70px; right: 24px; top: 0; height: 1px; background: var(--line); }
.qa .a p { padding-top: 14px; }
@media (max-width: 700px) { .qa .a { padding: 2px 16px 18px 16px; } .qa .a::before { left: 16px; right: 16px; } }

/* === product strip: names link to their product === */
.brands-list a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 2px; color: inherit; text-decoration: none; border-bottom: 2px solid transparent; transition: color .25s, border-color .25s; }
.brands-list a:hover, .brands-list a:focus-visible { color: var(--navy); border-bottom-color: var(--cyan); }

/* === Alignment / clarity pass === */
/* product strip: names as clean, clearly clickable chips */
.brands-label span { color: var(--cyan-ink); white-space: nowrap; }
.brands-list { justify-content: flex-start; gap: 10px; }
.brands-list li { letter-spacing: .08em; }
.brands-list a {
  gap: 6px; min-height: 42px; padding: 0 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(17, 31, 51, .1);
  color: var(--navy-soft); font-size: 14.5px;
  transition: color .2s, border-color .2s, background-color .2s, transform .2s, box-shadow .2s;
}
.brands-list a i { font-size: 15px; color: var(--cyan-ink); opacity: .55; transition: opacity .2s, transform .2s; }
.brands-list a:hover, .brands-list a:focus-visible {
  color: var(--navy); background: #fff; border-color: rgba(20, 181, 204, .55);
  box-shadow: 0 8px 18px -12px rgba(17, 31, 51, .45); transform: translateY(-1px);
}
.brands-list a:hover i, .brands-list a:focus-visible i { opacity: 1; transform: translate(1px, 1px); }

/* product tabs: a chevron shows each one can be opened */
.ptab { position: relative; padding-right: 46px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.ptab-go { position: absolute; right: 16px; top: 50%; margin-top: -11px; font-size: 22px; color: rgba(17, 31, 51, .3); transition: color .2s, transform .25s var(--ease); }
.ptab:hover { border-color: rgba(20, 181, 204, .45); }
.ptab:hover .ptab-go { color: var(--cyan-ink); transform: translateX(3px); }
.ptab[aria-selected="true"] .ptab-go { color: var(--cyan-ink); transform: translateX(3px); }

/* floating call: a compact round button that opens its label on hover, so it never hides content */
.float-call { padding: 7px; gap: 0; }
.float-call .fc-text { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .35s var(--ease), opacity .25s, padding .35s var(--ease); }
.float-call:hover .fc-text, .float-call:focus-visible .fc-text { max-width: 220px; opacity: 1; padding: 0 16px 0 12px; }

@media (max-width: 760px) {
  /* hero: the first chip covered the window's address bar */
  .hchip-1 { display: none; }
  /* Novinka steps: the number sat under the icon – the order is clear without it */
  .nstep-n { display: none; }
  .nstep-top { flex-direction: row; }
  /* footer: page + product links side by side */
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .brands-label span { display: block; white-space: normal; }
  .brands-list a { min-height: 40px; padding: 0 12px; font-size: 13.5px; }
}

/* strip: label above, all product chips on one line */
.brands { flex-direction: column; align-items: flex-start; gap: 12px; }
.brands-label { max-width: none; }

/* ==========================================================================
   === Phone redesign ===
   Phones only (max-width: 760px, a few extra rules at 400px). Desktop and
   tablet (761px and wider) are untouched. Two helpers are created by
   js/main.js ("phone helpers") and are hidden on larger screens:
   .pp-toggle (show all capabilities) and .gal-dots (gallery position).
   ========================================================================== */
.pp-toggle, .gal-dots { display: none; }

@media (max-width: 760px) {
  :root { --gutter: 20px; --sec-pad: 56px; --header-h: 64px; }
  body { font-size: 17px; line-height: 1.6; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

  /* ---------- type scale + rhythm ---------- */
  h2 { font-size: clamp(28px, 7.8vw, 32px); line-height: 1.12; letter-spacing: -0.03em; }
  .h3 { font-size: 23px; line-height: 1.18; }
  .sec-lead { font-size: 17px; line-height: 1.55; }
  .sec-head { margin-bottom: 24px; row-gap: 10px; }
  .sec-head .sec-lead { padding-bottom: 0; }
  .label { margin-bottom: 4px; font-size: 14px; gap: 10px; }
  .btn { min-height: 52px; padding: 0 20px; font-size: 16.5px; }
  .btn-lg { min-height: 56px; padding: 0 22px; font-size: 17px; }
  /* touch screens: no hover lift that "sticks" after a tap, a short press feedback instead */
  .choice:hover, .benefit:hover, .btn-accent:hover, .btn-dark:hover { transform: none; }
  .btn:active, .choice:active, .ptab:active, .pp-toggle:active { transform: scale(.98); }

  /* ---------- header + menu ---------- */
  .logo-full { height: 30px; }
  .nav { left: 10px; right: 10px; top: calc(var(--header-h) + 6px); padding: 8px; background: rgba(255, 255, 255, .97); }
  .nav > a { min-height: 52px; font-size: 18px; }
  .nav-mobile-extra { margin-top: 6px; padding-top: 8px; }
  /* dim the page under the open menu (tap on it closes the menu, see js) */
  .header:has(.nav.open)::after {
    content: ""; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: -1;
    background: rgba(17, 31, 51, .34); animation: dimIn .25s var(--ease);
  }
  @keyframes dimIn { from { opacity: 0; } }

  /* ---------- 1 hero: headline, lead, one clear action, framed film ---------- */
  .hero { padding: calc(var(--header-h) + 18px) 0 28px; }
  .hero-grid { gap: 20px; }
  .teaser { min-height: 44px; margin-bottom: 16px; padding: 5px 14px 5px 5px; gap: 10px; font-size: 14.5px; }
  .teaser-tag { padding: 5px 10px; font-size: 12px; }
  .hero-title { font-size: clamp(34px, 9.8vw, 40px); line-height: 1.06; letter-spacing: -0.04em; max-width: none; }
  .lead { margin-top: 14px; font-size: 17.5px; line-height: 1.55; }
  .hero .actions { margin-top: 22px; gap: 2px; }
  .hero .actions .btn-glass {
    min-height: 48px; background: none; border-color: transparent; box-shadow: none;
    font-size: 16px; color: var(--navy-soft);
  }
  .hero .actions .btn-glass i { color: var(--cyan-ink); font-size: 18px; }

  .hero-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 0; max-width: none; }
  .hero-visual .tilt-stage { grid-column: 1 / -1; }
  .tilt-stage { perspective: none; }
  .tilt, .tilt[data-tilt="hover"], .tilt[data-tilt="scroll"] { transform: none !important; transition: none; }
  .window { border-radius: 20px; will-change: auto; box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(17, 31, 51, .06), 0 26px 40px -26px rgba(17, 31, 51, .5); }
  .hero .window-bar { display: none; }
  .hero .vplayer { aspect-ratio: 16 / 9; }
  .vp-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; font-size: 26px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .35), 0 16px 36px -10px rgba(17, 31, 51, .5); }
  .vp-play i { margin-left: 4px; }
  .vp-ring { inset: -10px; }
  .vp-chip { right: 10px; top: 10px; padding: 6px 11px; font-size: 12.5px; }
  .vp-caption { display: block; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 6px 11px; border-radius: 10px; font-size: 13px; }
  /* trust chips: a calm row under the film instead of floating over it */
  .hero-visual .hchip, .hero-visual .hchip-1 {
    position: relative; left: auto; right: auto; top: auto; bottom: auto; display: flex;
    min-width: 0; padding: 8px 10px 8px 8px; gap: 10px; border-radius: 16px; animation: none;
  }
  .hchip-ico { width: 36px; height: 36px; border-radius: 11px; font-size: 18px; }
  .hchip b { font-size: 14px; line-height: 1.25; }
  .hchip small { font-size: 12.5px; line-height: 1.3; }

  /* ---------- 2 product strip: one swipeable row ---------- */
  .brands { margin-top: 24px; padding: 0; gap: 8px; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .brands-label { font-size: 14px; }
  .brands-label span { display: inline; }
  .brands-list {
    flex-wrap: nowrap; width: auto; align-self: stretch; gap: 8px; overflow-x: auto;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px;
    scroll-snap-type: x proximity; scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 32px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 32px), transparent);
  }
  .brands-list::-webkit-scrollbar { display: none; }
  .brands-list li { flex: none; scroll-snap-align: start; }
  .brands-list a { min-height: 44px; padding: 0 14px; font-size: 13.5px; background: rgba(255, 255, 255, .88); }
  .brands-list a:hover, .brands-list a:focus-visible { transform: none; }

  /* ---------- 3 needs: compact, tappable rows ---------- */
  .quiz-label { margin-bottom: 12px; font-size: 14.5px; }
  .choices { gap: 10px; }
  .choice { align-items: center; gap: 14px; min-height: 80px; padding: 14px; border-radius: 18px; }
  .choice-ico { width: 48px; height: 48px; border-radius: 14px; font-size: 24px; }
  .choice-body b { padding-right: 0; margin-bottom: 2px; font-size: 17px; line-height: 1.25; }
  .choice-body > span { font-size: 15px; line-height: 1.45; }
  .choice-to { display: none; }
  .choice-go { position: static; width: 36px; height: 36px; font-size: 18px; }

  /* ---------- 4 products: 2×2 tab tiles right above a condensed panel ---------- */
  .prod { gap: 12px; }
  .prod-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ptab {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px;
    padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .8);
  }
  .ptab-ico { width: 36px; height: 36px; border-radius: 11px; font-size: 19px; }
  .ptab-t b { font-size: 15.5px; line-height: 1.22; }
  .ptab-t small, .ptab-p, .ptab-go { display: none; }
  .ptab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 14px 26px -16px rgba(17, 31, 51, .7); }
  .ptab[aria-selected="true"] .ptab-ico { background: rgba(255, 255, 255, .12); color: var(--cyan-ui); }

  .js .ppanel:not(.is-active) { display: none; }   /* panel box = the active panel only */
  .ppanel { grid-template-rows: 150px auto; border-radius: 20px; }
  .pp-img { min-height: 150px; }
  .pp-chip { left: 12px; top: 12px; padding: 6px 12px; font-size: 12px; }
  .pp-body { padding: 18px 18px 12px; }
  .pp-body h3 { margin-bottom: 6px; font-size: 21px; line-height: 1.2; }
  .pp-body .pp-lead { font-size: 16px; line-height: 1.5; }
  .pp-who { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--tint); font-size: 15px; line-height: 1.45; }
  .pp-who > span { display: block; margin: 0 0 2px; }
  .pp-feats, .pp-split { margin-top: 12px; padding-top: 6px; gap: 0; border-top: 0; }
  .pp-split .pp-feats { margin-top: 2px; }
  .pp-split .pp-grp + .pp-grp { margin-top: 8px; }
  .pp-feats li { gap: 12px; padding: 7px 0; }
  .pp-feats i { width: 34px; height: 34px; }
  .pp-feats b { font-size: 15.5px; }
  .pp-feats small { font-size: 14px; }
  .ppanel:not(.feats-open) .pp-feats > li:nth-child(n+4),
  .ppanel:not(.feats-open) .pp-split .pp-feats > li:nth-child(n+3) { display: none; }
  .pp-toggle {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 8px;
    border-radius: 14px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer;
    font-family: var(--f-head); font-weight: 700; font-size: 15.5px; color: var(--navy);
    transition: background-color .2s, border-color .2s;
  }
  .pp-toggle i { font-size: 18px; color: var(--cyan-ink); transition: transform .25s var(--ease); }
  .pp-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
  .pp-foot { margin-top: 8px; padding-top: 0; gap: 0 18px; border-top: 0; }
  .pp-more { min-height: 44px; font-size: 15px; }

  /* compare slider */
  .cmp-row { gap: 16px; margin-top: 44px; }
  .cmp-text .h3 { margin-bottom: 8px; }
  .cmp-text > p { font-size: 16px; line-height: 1.55; }
  .cmp-hint { margin-top: 10px; font-size: 15px; }
  .compare { aspect-ratio: 4 / 3; border-radius: 20px; }
  .knob { width: 52px; height: 52px; margin: -26px 0 0 -26px; font-size: 24px; }
  .cmp-label { bottom: 10px; padding: 6px 12px; font-size: 13px; }

  /* add-ons: icon beside the text */
  .addons { gap: 10px; margin-top: 28px; }
  .addon { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: start; padding: 16px; border-radius: 18px; }
  .addon-ico { grid-row: 1 / span 3; width: 44px; height: 44px; margin: 0; border-radius: 13px; font-size: 22px; }
  .addon h3 { font-size: 18px; line-height: 1.25; }
  .addon p { font-size: 15.5px; line-height: 1.5; }
  .addon-cta { display: flex; gap: 4px; padding: 18px; }
  .addon-cta b { font-size: 19px; }
  .addon-cta .btn { align-self: stretch; margin-top: 12px; }

  /* ---------- 5 Novinka: compact tiles, numbered list, swipe gallery ---------- */
  .novinka h2 { max-width: none; }
  .nov-top { gap: 12px; }
  .window-lg { border-radius: 20px; }
  .window-bar { height: 32px; gap: 8px; padding: 0 10px; }
  .wb-dots { gap: 5px; }
  .wb-dots i { width: 8px; height: 8px; }
  .wb-url { height: 22px; padding: 0 10px; font-size: 11.5px; }
  .app-shot { aspect-ratio: 16 / 10; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .benefit { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; }
  .b-ico { width: 38px; height: 38px; border-radius: 12px; font-size: 19px; flex: none; }
  .benefit h3 { margin-bottom: 2px; font-size: 15.5px; line-height: 1.25; }
  .benefit p { font-size: 14.5px; line-height: 1.4; }
  .benefit-lang { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; }
  .langs { margin-top: 6px; }

  .nov-steps-head { gap: 6px; margin: 40px 0 14px; }
  .nov-steps-head p { font-size: 16px; }
  .nov-steps {
    gap: 0; padding: 4px 16px; border-radius: 20px;
    background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--glass-shadow);
  }
  .nstep { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 0; padding: 14px 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .nstep + .nstep { border-top: 1px solid rgba(17, 31, 51, .08); }
  .nstep-top { display: block; grid-row: 1 / span 2; margin: 0; }
  .nstep-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--cyan-ui); font-size: 13.5px; letter-spacing: .02em; }
  .nstep-top i { display: none; }
  .nstep b { padding-top: 7px; font-size: 16px; line-height: 1.35; letter-spacing: .06em; }
  .nstep > span:last-child { font-size: 15.5px; line-height: 1.45; }

  .gallery {
    display: flex; gap: 12px; overflow-x: auto;
    margin: 28px calc(var(--gutter) * -1) 0; padding: 4px var(--gutter) 12px;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .shot, .shot-wide { flex: 0 0 84%; border-radius: 16px; scroll-snap-align: start; box-shadow: 0 14px 26px -20px rgba(17, 31, 51, .5); }
  .shot-img, .shot-wide .shot-img { aspect-ratio: 16 / 10; }
  .js .gallery .reveal { opacity: 1; transform: none; }  /* off-screen slides must not wait for a reveal */
  .shot:not(.shot-wide) .tag { display: inline; }
  .shot figcaption, .shot:not(.shot-wide) figcaption { left: 10px; bottom: 10px; gap: 8px; padding: 5px 12px 5px 5px; font-size: 13.5px; }
  .gal-dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
  .gal-dots span { width: 7px; height: 7px; border-radius: 99px; background: rgba(17, 31, 51, .2); transition: width .3s var(--ease), background-color .3s; }
  .gal-dots span.on { width: 22px; background: var(--cyan-ink); }

  .nov-cta { gap: 16px; margin-top: 28px; padding: 20px 18px; border-radius: 22px; }
  .nov-cta p { flex-basis: 100%; font-size: 16px; line-height: 1.5; }
  .nov-cta p b { margin-bottom: 4px; font-size: 20px; }
  .nov-cta .actions { gap: 8px; }
  .nov-cta .btn { padding: 0 16px; }

  /* ---------- 6 steps ---------- */
  .steps { gap: 24px; }
  .steps-line { left: 25px; top: 26px; bottom: 26px; }
  .step { column-gap: 16px; }
  .step-badge { width: 52px; height: 52px; border-radius: 16px; font-size: 22px; }
  .step-k { margin-bottom: 2px; font-size: 12.5px; }
  .step h3 { margin-bottom: 2px; font-size: 19px; }
  .step p { font-size: 16px; line-height: 1.5; }
  /* the line ends at the last badge (the last step's text is taller than its badge) */
  .step:last-child::after { content: ""; position: absolute; left: 22px; top: 52px; bottom: -4px; width: 8px; background: #fff; }

  /* ---------- 7 training: photo right under the heading, then the list ---------- */
  .train { gap: 0; }
  .train-text { display: contents; }
  .train-text h2 { order: 1; margin-bottom: 10px; }
  .train-text .sec-lead { order: 2; }
  .train-media { order: 3; max-width: none; margin-top: 22px; padding-bottom: 0; }
  .feats { order: 4; gap: 8px; margin: 14px 0 18px; }
  .train-text > .btn { order: 5; }
  .tm-main { aspect-ratio: 16 / 9; border-radius: 20px; box-shadow: var(--shadow-md); }
  .tm-chip { left: 10px; bottom: 10px; animation: none; }
  .feat { align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; }
  .feat-ico { width: 40px; height: 40px; border-radius: 12px; font-size: 20px; }
  .feat b { font-size: 16.5px; }
  .feat div > span { font-size: 15px; }

  /* ---------- 8 FAQ: questions first, "ask us" after them ---------- */
  .faq { gap: 0; }
  .faq-side { display: contents; }
  .faq-side h2 { order: 1; margin-bottom: 10px; }
  .faq-side .sec-lead { order: 2; margin-bottom: 22px; }
  .faq-list { order: 3; gap: 10px; }
  .ask { order: 4; align-items: center; gap: 14px; margin-top: 18px; padding: 16px; border-radius: 18px; }
  .ask-ico { width: 44px; height: 44px; border-radius: 13px; font-size: 21px; }
  .ask b { font-size: 17px; }
  .ask p { font-size: 15.5px; }
  .ask-link { margin-top: 2px; font-size: 18px; }
  .qa summary { min-height: 60px; gap: 12px; padding: 8px 10px; font-size: 17px; line-height: 1.3; }
  .q-ico { width: 38px; height: 38px; border-radius: 12px; font-size: 19px; }
  .toggle { width: 36px; height: 36px; font-size: 18px; }
  .qa .a { font-size: 16px; line-height: 1.55; }

  /* ---------- 9 contact: one card, no card inside the card ---------- */
  .contact { border-radius: 24px; }
  .contact-top { gap: 18px; padding: 24px 20px; }
  .contact-main h2 { margin-bottom: 8px; }
  .contact-call { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .big-phone { margin: 2px 0 14px; padding: 4px 0; font-size: clamp(28px, 8.4vw, 34px); }
  .contact-actions { gap: 8px; }
  .hours { margin-top: 14px; font-size: 16px; }

  /* ---------- footer ---------- */
  .footer { padding: 40px 0 24px; }
  .footer-grid { gap: 22px 16px; }
  .footer-brand .logo-full { height: 34px; }
  .footer-brand p { margin-top: 10px; font-size: 15.5px; }
  .f-h { margin-bottom: 2px; }
  .footer li { display: flex; align-items: center; min-height: 44px; font-size: 16px; }
  .footer li a { display: flex; align-items: center; min-height: 44px; padding: 0; }
  .footer-bottom { align-items: center; gap: 4px 20px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
  .to-top { min-height: 44px; margin-left: auto; }

  /* ---------- bottom call bar ---------- */
  .callbar { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
  .callbar .btn { min-height: 52px; }
}

@media (max-width: 400px) {
  .ptab-t b { font-size: 15px; }
  .hchip small { display: none; }
}
@media (max-width: 374px) {
  /* small phones: give the text more room */
  .choice { gap: 12px; padding: 14px 12px 14px 14px; }
  .choice-ico { width: 44px; height: 44px; font-size: 22px; }
  .choice-go { width: 22px; height: 36px; border: 0; background: none; font-size: 20px; }
  .benefit { padding: 12px; }
  .benefit p { font-size: 14px; }
  .nov-cta { padding: 18px 14px; }
  .nov-cta .btn { padding: 0 12px; font-size: 15.5px; }
}
/* === end Phone redesign === */

/* long e-mail address: keep the contact buttons inside the card on phones */
@media (max-width: 760px) {
  .contact-actions .btn { width: 100%; min-width: 0; padding: 0 14px; font-size: 15.5px; }
  .contact-actions .btn i { flex: none; }
}
@media (max-width: 374px) { .contact-actions .btn { font-size: 14.5px; } }

/* === Novinka steps v2 (tablet/desktop): one compact card, numbered circles, no floating arrows === */
@media (min-width: 761px) {
  .nov-steps {
    gap: 0; padding: 22px 6px; border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .68); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .nstep { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-items: center;
    padding: 2px 22px; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .nstep::after, .nstep:not(:last-child)::after { display: none; }
  .nstep + .nstep { border-left: 1px solid rgba(17, 31, 51, .08); }
  .nstep-top { display: block; margin: 0; }
  .nstep-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
    background: var(--navy); color: var(--cyan-ui); font-size: 13px; letter-spacing: .02em; }
  .nstep-top i { display: none; }
  .nstep b { font-size: 15.5px; letter-spacing: .07em; line-height: 1.3; }
  .nstep > span:last-child { grid-column: 2; font-size: 15px; line-height: 1.45; }
}
@media (min-width: 761px) and (max-width: 1080px) {
  .nov-steps { row-gap: 18px; }
  .nstep:nth-child(3) { border-left: 0; }
}
@media (min-width: 761px) {
  .nstep { align-items: start; align-content: start; }
  .nstep b { display: flex; align-items: center; min-height: 32px; }
}

/* header without call buttons: menu sits on the right next to the logo side */
@media (min-width: 761px) { .header .nav { margin: 0 0 0 auto; } .header-cta:empty, .header-cta { display: contents; } }

/* === Novinka: "Vyskúšať demo" chip on the corner of the app picture (replaces the demo box) === */
.nov-top .tilt-stage { position: relative; }
.nov-demo { right: -18px; bottom: -22px; text-decoration: none; color: inherit; animation-delay: -2s;
  transition: box-shadow .25s, border-color .25s; }
.nov-demo b { display: inline-flex; align-items: center; gap: 4px; }
.nov-demo b i { font-size: 16px; color: var(--cyan-ink); transition: transform .25s var(--ease); }
.nov-demo:hover, .nov-demo:focus-visible { border-color: rgba(20, 181, 204, .6); box-shadow: 0 18px 36px -16px rgba(17, 31, 51, .45); }
.nov-demo:hover b i, .nov-demo:focus-visible b i { transform: translate(2px, -2px); }
@media (max-width: 760px) {
  .nov-demo { position: relative; right: auto; bottom: auto; display: inline-flex; margin-top: 12px; animation: none; }
  .nov-demo small { display: block !important; }
}

/* === "Vyskúšať demo" chip: living glass – the frosted tint slowly drifts and a glass ribbon
       reflection (like in the CV Design film) glides across it every few seconds === */
.nov-demo {
  isolation: isolate; overflow: hidden;
  background: linear-gradient(120deg, rgba(255, 255, 255, .82) 0%, rgba(222, 243, 248, .74) 30%,
              rgba(255, 255, 255, .86) 55%, rgba(206, 236, 244, .72) 80%, rgba(255, 255, 255, .82) 100%);
  background-size: 260% 260%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(20, 181, 204, .12), 0 14px 32px -18px rgba(17, 31, 51, .4);
  animation: float 9s ease-in-out infinite alternate, demoTint 9s ease-in-out infinite;
}
.nov-demo > :not(.sr) { position: relative; z-index: 1; }
.nov-demo::before {            /* the glass ribbon reflection */
  content: ""; position: absolute; top: -60%; bottom: -60%; left: -10%; width: 85%; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg,
    rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .0) 22%,
    rgba(255, 255, 255, .85) 30%, rgba(255, 255, 255, .25) 38%,
    rgba(185, 233, 243, .45) 50%, rgba(255, 255, 255, .7) 60%,
    rgba(255, 255, 255, 0) 72%);
  filter: blur(2px); opacity: .9;
  transform: translateX(-130%) rotate(8deg);
  animation: demoRibbon 4.8s cubic-bezier(.45, .05, .25, 1) infinite;
}
.nov-demo::after {             /* soft refraction glow at the edge the ribbon leaves */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(120% 140% at 100% 50%, rgba(20, 181, 204, .14), rgba(20, 181, 204, 0) 60%);
  opacity: 0; animation: demoRefract 4.8s ease-in-out infinite;
}
@keyframes demoTint { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes demoRibbon { 0%, 30% { transform: translateX(-130%) rotate(8deg); } 80%, 100% { transform: translateX(190%) rotate(8deg); } }
@keyframes demoRefract { 0%, 55% { opacity: 0; } 75% { opacity: 1; } 100% { opacity: 0; } }
.nov-demo:hover::before, .nov-demo:focus-visible::before { animation-duration: 2.6s; }
@media (max-width: 760px) { .nov-demo { animation: demoTint 9s ease-in-out infinite; } }
@media (prefers-reduced-motion: reduce) {
  .nov-demo, .nov-demo::before, .nov-demo::after { animation: none !important; }
  .nov-demo::before, .nov-demo::after { display: none; }
}

/* longer headlines in other languages: a bit smaller so they never touch the video window */
@media (min-width: 1081px) { html:not([lang="sk"]) .hero-title { font-size: clamp(40px, 4.8vw, 66px); max-width: 14ch; } }
