/* ==========================================================================
   TEMAQUA — pramenitá voda z Považského Inovca
   Hlavný štýl webu temaqua.eu

   Obsah:
   01  Písmo (Mg¹² + záložné Albert Sans)
   02  Farby a premenné (PANTONE 3591 C, 2925 C, 877 C, biela, čierna)
   03  Základ
   04  Typografia a pomocné triedy
   05  Tlačidlá a ovládacie prvky
   06  Hlavička a navigácia
   07  Úvod (hero)
   08  Q rám s fľašou
   09  Značka – Prirodzene…
   10  Pôvod – cesta do hĺbky
   11  Zloženie
   12  Produkty
   13  Pre firmy – kalkulačka pitného režimu
   14  Pre obchod a gastro
   15  Kontakt a formulár
   16  Päta
   17  Cookies
   18  Podstránky (právne informácie)
   19  Animácie a prístupnosť
   ========================================================================== */


/* 01  Písmo ----------------------------------------------------------------
   Mg¹² (atipo foundry) — hlavné písmo značky.
   1) local(): ak je písmo nainštalované v počítači, použije sa hneď.
   2) url(): webfont z webovej licencie (assets/fonts/Mg12-*.woff2 a .woff,
      licencia: jeden web, neobmedzená návštevnosť). Albert Sans (OFL) slúži
      len ako záloha počas načítania a pre znaky, ktoré Mg¹² nemá.
      Desktopové OTF súbory na web nepoužívajte — licencia to nedovoľuje. */
@font-face {
  font-family: "Mg12";
  src: local("Mg¹² Regular"), local("Mg-Regular"),
       url("../fonts/Mg12-Regular.woff2") format("woff2"),
       url("../fonts/Mg12-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Mg12";
  src: local("Mg¹² Medium"), local("Mg-Medium"),
       url("../fonts/Mg12-Medium.woff2") format("woff2"),
       url("../fonts/Mg12-Medium.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Mg12";
  src: local("Mg¹² Bold"), local("Mg-Bold"),
       url("../fonts/Mg12-Bold.woff2") format("woff2"),
       url("../fonts/Mg12-Bold.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Mg12";
  src: local("Mg¹² Regular Italic"), local("Mg-RegularItalic"),
       url("../fonts/Mg12-RegularItalic.woff2") format("woff2"),
       url("../fonts/Mg12-RegularItalic.woff") format("woff");
  font-weight: 400; font-style: italic; font-display: swap;
}

/* Albert Sans — záložné písmo (Google Fonts, OFL), hostované lokálne kvôli GDPR */
@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans-latin-ext.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans-italic-latin-ext.woff2") format("woff2");
  font-weight: 400 500; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans-italic-latin.woff2") format("woff2");
  font-weight: 400 500; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* 02  Farby a premenné ----------------------------------------------------- */
:root {
  /* Značkové farby (PANTONE → sRGB) */
  --tq-blue: #142E7B;          /* PANTONE 3591 C — primárna modrá */
  --tq-sky: #009CDE;           /* PANTONE 2925 C — sekundárna, nesýtená */
  --tq-silver: #8A8D8F;        /* PANTONE 877 C — strieborná (metalíza) */
  --tq-white: #FFFFFF;
  --tq-black: #000000;

  /* Odvodené odtiene (tóny a tinty z farieb vyššie) */
  --blue-deep: #0D1F56;        /* 3591 C stmavená čiernou — hĺbka */
  --blue-night: #081438;
  --blue-soft: #E8ECF5;        /* 3591 C, 10 % */
  --sky-soft: #E0F2FB;         /* 2925 C, 12 % */
  --sky-ink: #0077AD;          /* 2925 C stmavená – malý text na bielej (kontrast AA) */
  --sky-light: #6CCBF2;        /* 2925 C zosvetlená – malý text na modrej (kontrast AA) */
  --silver-700: #5C5F61;       /* 877 C stmavená — čitateľný sekundárny text */
  --silver-400: #A9ABAD;
  --silver-300: #C6C8C9;
  --silver-200: #DCDDDE;
  --silver-100: #ECEDEE;
  --mist: #F3F5F7;             /* svetlé pozadie sekcií */
  --metal: linear-gradient(135deg, #B9BCBE 0%, #8A8D8F 38%, #D7D9DA 62%, #8A8D8F 100%); /* 877 C metalický lesk */

  /* Farby sýtenia (pásik na etikete) */
  --c-nesytena: #009CDE;       /* PANTONE 2925 C */
  --c-jemne: #00AA5A;          /* PANTONE 7482 C */
  --c-sytena: #EB1E32;         /* červená zo štítku sýtenej */

  /* Text */
  --ink: #0B0C0E;              /* čierna pre text */
  --ink-2: #393C40;
  --ink-3: var(--silver-700);
  --on-blue: #FFFFFF;
  --on-blue-2: rgba(255, 255, 255, .80);
  --on-blue-3: rgba(255, 255, 255, .62);
  --line: var(--silver-200);
  --line-blue: rgba(255, 255, 255, .18);

  /* Písmo */
  --font: "Mg12", "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Rozmery */
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(84px, 11vw, 168px);
  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 30px;
  --header-h: 64px;
  --header-top: 14px;

  /* Pohyb */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* Prepínač ?font=albert — náhľad, ako web vyzerá bez písma Mg¹² */
.font-fallback { --font: "Albert Sans", system-ui, sans-serif; }


/* 03  Základ --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--header-top) + 24px);
}

body {
  margin: 0;
  background: var(--tq-white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  font-feature-settings: "kern";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
sup, sub { font-size: .62em; line-height: 0; }
::selection { background: var(--tq-sky); color: #fff; }
:focus-visible { outline: 2px solid var(--tq-sky); outline-offset: 3px; border-radius: 4px; }

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

.section { position: relative; padding-block: var(--section-y); }
.section--mist { background: var(--mist); }
.section--blue { background: var(--tq-blue); color: var(--on-blue); }

/* Prechod medzi plochami v tvare skutočnej línie Váhu (z reliéfu v dizajn manuáli) */
.edge { position: absolute; left: 0; right: 0; height: clamp(34px, 6vw, 92px); color: var(--tq-blue); pointer-events: none; z-index: 1; }
.edge svg { width: 100%; height: 100%; }
.edge--top { bottom: calc(100% - 1px); }
.edge--bottom { bottom: -1px; transform: scaleX(-1); }
.edge--white { color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--tq-blue); color: #fff; padding: 12px 18px; border-radius: 999px;
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Údaje, ktoré treba doplniť alebo overiť pred spustením */
.todo {
  background: #FFF3B0; color: #3d3200; border-radius: 4px; padding: 0 .3em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.section--blue .todo, .site-footer .todo { background: rgba(255, 243, 176, .92); }


/* 04  Typografia ----------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: flex-start; gap: .7em; line-height: 1.35;
  font-size: clamp(.86rem, .8rem + .25vw, .98rem); font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
  color: var(--tq-blue);
}
.eyebrow::before {          /* malý „špendlík“ – symbol Q ako odrážka */
  content: ""; width: .62em; height: .62em; border-radius: 50%;
  border: 2px solid currentColor; flex: none; margin-top: .36em;   /* krúžok pri prvom riadku aj pri zalomení */
}
.section--blue .eyebrow, .on-blue .eyebrow { color: var(--on-blue-2); }

.h-display {
  font-size: clamp(2.6rem, 6.4vw, 6.4rem);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.h-section {
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--tq-blue);
  text-wrap: balance;
}
.section--blue .h-section { color: var(--on-blue); }
.h-sub {
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.01em;
}
.lead {
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 40em;
  text-wrap: pretty;
}
.section--blue .lead { color: var(--on-blue-2); }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; line-height: 1.5; }
p { text-wrap: pretty; }

/* Odseky: zarovnanie do bloku len tam, kde je stĺpec dosť široký.
   Celá šírka (text pod „Zdroj v číslach“, právne stránky) od 900 px šírky okna,
   stĺpce vedľa seba (kroky v Pôvode, produkty, výhody) až od 1200 px.
   Úzke stĺpce, úvodné odseky, tablety a mobil zostávajú zarovnané prirodzene vľavo,
   aby medzi slovami nevznikali veľké medzery. Pri zarovnaných odsekoch sa slová
   delia podľa jazyka stránky (aspoň 7 písmen, najmenej 3 pred a za spojovníkom). */
@media (min-width: 900px) {
  .comp__source, .origin__quality, .legal__body p, .legal__body li {
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 7 3 3;
  }
  .legal__body a { -webkit-hyphens: manual; hyphens: manual; }
}
@media (min-width: 1200px) {
  .step p, .trade__list span, .calc__note {
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 7 3 3;
  }
  .step p a { -webkit-hyphens: manual; hyphens: manual; }
}

.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 84px); max-width: 860px; }
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: end; gap: 28px clamp(32px, 6vw, 96px);
}
.section-head--split .eyebrow { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .section-head--split { grid-template-columns: minmax(0, 1fr); }
}


/* 05  Tlačidlá a ovládacie prvky ------------------------------------------ */
.btn {
  --btn-bg: var(--tq-blue); --btn-fg: #fff; --btn-bd: var(--tq-blue);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-size: 1rem; font-weight: 500; letter-spacing: .005em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { --btn-bg: var(--blue-deep); --btn-bd: var(--blue-deep); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--tq-blue); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--sky-soft); --btn-bd: var(--sky-soft); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-bd: #fff; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--tq-blue); --btn-bd: var(--silver-300); }
.btn--ghost:hover { --btn-bg: var(--blue-soft); --btn-bd: var(--tq-blue); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 500; color: var(--tq-blue);
  text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow:hover { color: var(--sky-ink); }

/* Prepínače v tvare „tabletky“ (radio/checkbox) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--silver-300); background: #fff; color: var(--ink-2);
  font-size: .95rem; font-weight: 500; line-height: 1.1;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover span { border-color: var(--tq-blue); }
.chip input:checked + span { background: var(--tq-blue); border-color: var(--tq-blue); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--tq-sky); outline-offset: 2px; }
.chip .swatch { width: 18px; height: 4px; border-radius: 2px; background: var(--sw, var(--tq-blue)); flex: none; }
.chip input:checked + span .swatch { box-shadow: 0 0 0 1.5px #fff; }


/* 06  Hlavička a navigácia ------------------------------------------------ */
.site-header {
  position: fixed; z-index: 100; left: 0; right: 0; top: var(--header-top);
  padding-inline: var(--gutter);
  pointer-events: none;
}
.site-header__bar {
  pointer-events: auto;
  max-width: var(--container); margin-inline: auto;
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 10px 0 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  box-shadow: 0 1px 0 rgba(20, 46, 123, .06), 0 10px 30px -18px rgba(8, 20, 56, .45);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.is-scrolled .site-header__bar { background: rgba(255, 255, 255, .94); box-shadow: 0 1px 0 rgba(20, 46, 123, .08), 0 14px 36px -16px rgba(8, 20, 56, .38); }
.site-header__logo { display: block; color: var(--tq-blue); flex: none; }
.site-header__logo .tq-logo { width: 148px; height: auto; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  position: relative; display: block; padding: 8px 0;
  font-size: .95rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: color .2s var(--ease);
}
.site-nav a::after {          /* aktívna sekcia — bod na mape */
  content: ""; position: absolute; left: 50%; bottom: -6px; width: 7px; height: 7px; margin-left: -3.5px;
  border-radius: 50%; border: 1.5px solid var(--tq-sky); opacity: 0; transform: translateY(-4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--tq-blue); }
.site-nav a[aria-current="true"]::after { opacity: 1; transform: none; }
.site-header__cta { flex: none; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--tq-blue); color: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle__icon { position: relative; width: 18px; height: 12px; }
.nav-toggle__icon::before, .nav-toggle__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle__icon::before { top: 1px; }
.nav-toggle__icon::after { top: 9px; }
.menu-open .nav-toggle__icon::before { top: 5px; transform: rotate(45deg); }
.menu-open .nav-toggle__icon::after { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--tq-blue); color: #fff;
  padding: calc(var(--header-h) + var(--header-top) + 36px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 28px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mobile-menu a.mobile-menu__link {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 500; line-height: 1.15; letter-spacing: -.02em;
  color: #fff; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line-blue);
}
.mobile-menu a.mobile-menu__link::after {   /* jemný krúžok namiesto poradových čísel */
  content: ""; flex: none; align-self: center; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--on-blue-3);
}
.mobile-menu__foot { margin-top: auto; display: grid; gap: 14px; color: var(--on-blue-2); font-size: .95rem; }
.mobile-menu__foot a:not(.btn) { color: #fff; }
.menu-open { overflow: hidden; }

/* Prepínač jazyka SK / EN */
.lang-switch {
  display: inline-flex; flex: none; gap: 2px; padding: 3px;
  border-radius: 999px; border: 1.5px solid var(--silver-300); background: #fff;
}
.lang-switch a {
  display: grid; place-items: center; min-width: 36px; height: 30px; padding: 0 8px; border-radius: 999px;
  font-size: .8rem; font-weight: 500; letter-spacing: .06em; line-height: 1;
  color: var(--ink-2); text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lang-switch a:hover { color: var(--tq-blue); background: var(--blue-soft); }
.lang-switch a[aria-current="true"] { background: var(--tq-blue); color: #fff; }

@media (max-width: 1080px) {
  .site-nav, .site-header__cta { display: none; }
  .lang-switch { margin-left: auto; }
  .nav-toggle { display: inline-flex; margin-left: 10px; }
  .site-header__bar { padding: 0 9px 0 20px; gap: 12px; }
}
@media (max-width: 380px) {
  .site-header__logo .tq-logo { width: 126px; }
  .lang-switch a { min-width: 32px; padding: 0 6px; }
}
@media (min-width: 1081px) {
  .mobile-menu { display: none; }
}


/* 07  Úvod (hero) ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 640px;
  height: 100svh;
  max-height: 1040px;
  background: var(--tq-blue);
  color: var(--on-blue);
  overflow: hidden;
  isolation: isolate;
}
.hero__scene { position: absolute; inset: 0; z-index: -1; }
.hero__scene svg { width: 100%; height: 100%; }
.scene__land { fill: #fff; }
.scene__mass { fill: var(--tq-blue); }
.scene__vah { fill: none; stroke: var(--tq-sky); stroke-width: 7; stroke-linejoin: round; stroke-linecap: round; }
.scene__flow {
  fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 40 960; stroke-dashoffset: 1000; opacity: .9;
  animation: vah-flow 14s linear infinite;
}
@keyframes vah-flow { to { stroke-dashoffset: 0; } }
.scene__pin-line { stroke: var(--tq-blue); stroke-width: 6; }
.scene__pin-head { fill: #fff; stroke: var(--tq-blue); stroke-width: 6; }
.scene__pin-label { fill: var(--tq-blue); font-family: var(--font); font-weight: 500; font-size: 58px; letter-spacing: .06em; }

.hero__inner {
  position: relative; height: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  align-items: end;
  padding-top: calc(var(--header-h) + var(--header-top) + 24px);
  padding-bottom: calc(clamp(34px, 6vw, 92px) + clamp(20px, 3vh, 40px));
}
.hero .edge { z-index: 2; }
.hero__copy { position: relative; z-index: 2; display: grid; gap: clamp(14px, 2.2vh, 26px); max-width: 640px; }
.hero__copy .eyebrow { color: var(--on-blue-2); }
/* veľkosť nadpisu závisí aj od výšky okna, aby sa text na nízkych displejoch zmestil do modrej plochy */
.hero__title { font-size: clamp(2.4rem, min(5.2vw, 9vh), 5.4rem); }
.hero__lead { font-size: clamp(1rem, min(1.3vw, 2.3vh), 1.25rem); line-height: 1.5; color: var(--on-blue-2); max-width: 32em; }
.hero__visual {
  position: absolute; z-index: 3;
  right: calc(clamp(8px, 7vw, 120px) - var(--visual-shift, 0px)); bottom: clamp(12px, 2.4vw, 36px);   /* posun: main.js, časť 5 */
  height: min(84%, 840px, calc(100% - var(--header-h) - var(--header-top) - 48px));
  aspect-ratio: 104 / 196;
}
/* Telefóny naležato (nízka obrazovka): text vľavo, fľaša vpravo, kompaktnejšie */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { height: 480px; min-height: 0; }
  .hero__inner { align-items: center; padding-top: calc(var(--header-h) + var(--header-top) + 8px); padding-bottom: calc(clamp(34px, 6vw, 92px) + 4px); }
  .hero__copy { gap: 12px; max-width: 58%; }
  .hero__title { font-size: clamp(1.8rem, 4.2vw, 2.4rem); }
  .hero__lead { font-size: .92rem; }
  .hero__copy .btn { min-height: 44px; padding: 0 18px; font-size: .92rem; }
  .hero__visual { right: clamp(8px, 5vw, 60px); bottom: 8px; height: calc(100% - var(--header-h) - var(--header-top) - 14px); }
}
/* Telefóny naležato: po kliknutí na odkaz sa preskočí horný okraj sekcie, aby bol obsah hneď pod lištou */
@media (orientation: landscape) and (max-height: 500px) {
  .section[id] { scroll-margin-top: calc(24px - var(--section-y)); }
}
/* Úvod pod sebou: mobily, menšie tablety a tablety na výšku
   (rovnaká podmienka je v main.js – premenná mqTall) */
@media (max-width: 1023px) and (min-height: 501px), (orientation: portrait) and (max-width: 1400px) {
  .hero { height: auto; max-height: none; min-height: 0; }
  .hero__scene { position: relative; z-index: 0; height: 64svh; min-height: 420px; max-height: 640px; }
  .hero__inner { position: static; display: block; height: auto; padding-top: 0; padding-bottom: calc(clamp(34px, 6vw, 92px) + 40px); }
  .scene__pin { display: none; }
  .hero__visual { right: 50%; transform: translateX(50%); top: calc(var(--header-h) + var(--header-top) + 18px); bottom: auto; height: calc(64svh - var(--header-h) - 30px); max-height: 560px; min-height: 330px; }
  .hero__copy { margin-top: -2px; padding-top: 28px; max-width: 34rem; }
}


/* 08  Q rám s fľašou -------------------------------------------------------
   Symbol Q z logotypu ako rám produktu (princíp key visualu).
   Horná časť krúžku je za fľašou, spodná časť a nožička pred ňou. */
/* Tieň vrhá celá skupina (Q aj fľaša) naraz – ako v kľúčovom vizuáli. Keby ho vrhala
   len fľaša, padal by aj na zadnú časť Q a na jeho bielej časti by vznikol šev. */
.qframe { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 26px 26px rgba(8, 20, 56, .24)); }
.qframe__ring {
  position: absolute; left: 0; width: 100%; top: 30%;
  color: var(--tq-blue);           /* Q je vždy PANTONE 3591 C alebo biele (identita značky) */
}
/* Úvod: Q v modrej značky pre online (RGB 0/0/200, #0000C8), mapa umiestnená ako
   v prvej verzii (main.js, časť 5). Tieň vrhá len fľaša, nie krúžok Q. */
.hero .qframe__ring { color: #0000C8; }
.hero .qframe { filter: none; }
.hero .qframe__bottle { filter: drop-shadow(0 30px 30px rgba(8, 20, 56, .28)); }
.qframe__ring svg { width: 100%; height: auto; overflow: visible; }
.qframe__ring--front { clip-path: inset(53% -10% -40% -10%); z-index: 2; }
.qframe__bottle {
  position: absolute; z-index: 1; left: 50%; bottom: 0;
  height: 100%; width: auto; max-width: none;
  transform: translateX(-50%);
}
.qframe--light .qframe__ring { color: #fff; }


/* 09  Značka — Prirodzene… -------------------------------------------------- */
.platform { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(40px, 6vw, 110px); align-items: end; }
.platform__lines { list-style: none; margin: 22px 0 0; padding: 0; }
.platform__lines li {
  font-size: clamp(1.9rem, 4.1vw, 4.1rem); line-height: 1.08; font-weight: 500; letter-spacing: -.025em;
  color: var(--silver-300);
  transition: color .7s var(--ease);
}
.platform__lines li b { font-weight: 500; color: inherit; }
.platform__lines li.is-lit { color: var(--tq-blue); }
.no-js .platform__lines li, .is-editing .platform__lines li { color: var(--tq-blue); }
.platform__text { display: grid; gap: 20px; padding-bottom: .6em; }
.platform__text p { color: var(--ink-2); }
.platform__claim { font-size: 1.15rem; font-weight: 500; color: var(--tq-blue); }

.benefits {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(72px, 9vw, 128px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line);
  list-style: none; padding-left: 0; margin-bottom: 0;
}
.benefit { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: center; }
.benefit .tq-icon { width: 112px; height: auto; color: var(--tq-blue); }
.tq-icon text { font-family: var(--font); font-weight: 500; }
.benefit h3 { font-size: 1.2rem; font-weight: 500; color: var(--tq-blue); line-height: 1.25; margin-bottom: 6px; }
.benefit p { font-size: .97rem; color: var(--ink-2); line-height: 1.5; }

@media (max-width: 980px) {
  .platform { grid-template-columns: minmax(0, 1fr); }
  .benefits { grid-template-columns: minmax(0, 1fr); }
}


/* 10  Pôvod — cesta do hĺbky ----------------------------------------------- */
.origin__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); }
.origin__intro { grid-column: 1 / -1; }
.origin__sticky { position: sticky; align-self: start; top: calc(var(--header-h) + var(--header-top) + 20px); height: calc(100svh - var(--header-h) - var(--header-top) - 44px); max-height: 860px; }

.depth {
  --p: 0;
  position: relative; height: 100%; border-radius: var(--radius-l); overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fff 15%, var(--silver-100) 15%, var(--silver-100) 20%,
              #D9DCE1 20%, #CBCFD5 34%, #BCC1C9 34.4%, #ADB3BD 51%, #9EA5B1 51.4%, #8F97A5 66%,
              var(--tq-blue) 66.3%, var(--blue-deep) 100%);
  box-shadow: inset 0 0 0 1px var(--line);
  isolation: isolate;
}
.depth__relief {      /* horizont Považského Inovca */
  position: absolute; left: 30%; right: 0; top: 0; height: 15%;
  background: url("../img/relief.webp") 30% 85% / 210% auto no-repeat;
  opacity: .85;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
  mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.depth__strata {      /* jemné vrstvenie dolomitu */
  position: absolute; left: 0; right: 0; top: 20%; height: 46.3%;
  background:
    repeating-linear-gradient(-8deg, rgba(255, 255, 255, .0) 0 22px, rgba(255, 255, 255, .28) 22px 23px, rgba(255, 255, 255, 0) 23px 46px),
    repeating-linear-gradient(172deg, rgba(20, 46, 123, 0) 0 31px, rgba(20, 46, 123, .07) 31px 33px);
  mix-blend-mode: soft-light;
}
.depth__water {       /* zvodnená vrstva — pomaly tečúce vlnky (2925 C a biela) */
  position: absolute; left: 0; right: 0; top: 66.3%; bottom: 0; overflow: hidden;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='30'%3E%3Cpath d='M0 15 Q 12 7 24 15 T 48 15 T 72 15 T 96 15' fill='none' stroke='%23009CDE' stroke-opacity='.6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='44'%3E%3Cpath d='M0 22 Q 17.5 14 35 22 T 70 22 T 105 22 T 140 22' fill='none' stroke='%23FFFFFF' stroke-opacity='.22' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 96px 30px, 140px 44px;
  background-position: 0 6px, 40px 21px;
  animation: waves 9s linear infinite;
}
@keyframes waves { to { background-position: 96px 6px, 180px 21px; } }
.depth__labels { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; }
.depth__labels li {
  position: absolute; left: 24px; display: flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); transition: color .4s var(--ease), opacity .4s var(--ease); opacity: .65;
}
.depth__labels li::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.depth__labels li:nth-child(1) { top: 16.3%; }
.depth__labels li:nth-child(2) { top: 22%; }
.depth__labels li:nth-child(3) { top: 68.5%; color: var(--on-blue-2); }
.depth__labels li:nth-child(4) { bottom: 22px; color: #fff; }
.depth__labels li.is-active { opacity: 1; color: var(--tq-blue); }
.depth__labels li:nth-child(3).is-active, .depth__labels li:nth-child(4).is-active { color: #fff; }

.depth__pin { position: absolute; left: 66%; top: 15%; bottom: 46px; width: 0; }
.depth__head {
  position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%;
  border: 6px solid var(--tq-blue); background: #fff; z-index: 2;
}
.depth__line {
  position: absolute; left: -3px; top: 8px; width: 6px; height: calc(var(--p) * (100% - 8px));
  background: var(--tq-blue); border-radius: 0 0 3px 3px;
}
.depth__line::after {     /* svetlá časť línie vo vode */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: max(0px, calc(100% - (var(--p) - .62) * 300%));
  background: var(--tq-sky); border-radius: inherit; opacity: calc((var(--p) - .62) * 4);
}
.depth__end {
  position: absolute; left: -11px; top: calc(var(--p) * (100% - 8px) + 2px); width: 22px; height: 22px; border-radius: 50%;
  background: var(--tq-sky); box-shadow: 0 0 0 6px rgba(0, 156, 222, .25), 0 0 26px 6px rgba(0, 156, 222, .5);
  opacity: calc(var(--p) * 6 - .2);
}
.depth__meter {
  position: absolute; left: 26px; top: 20px; text-align: left; z-index: 2;
  color: var(--tq-blue); line-height: 1;
}
.depth__meter b { display: block; font-size: clamp(2.6rem, 4.4vw, 4.2rem); font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.depth__meter span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.depth__scale { position: absolute; right: 0; top: 15%; bottom: 46px; width: 22px; list-style: none; margin: 0; padding: 0; }
.depth__scale li { position: absolute; right: 0; top: calc(var(--i) * 10%); width: 12px; height: 1.5px; background: rgba(11, 12, 14, .35); }
.depth__scale li:nth-child(odd) { width: 20px; }

.origin__intro { margin-bottom: clamp(36px, 5vw, 64px); }
.origin__steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 72svh; display: grid; align-content: center; gap: 14px; padding-block: 40px; opacity: .38; transition: opacity .5s var(--ease); }
.step.is-active, .no-js .step, .is-editing .step { opacity: 1; }
.step__depth { font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--sky-ink); }
.step h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.1; font-weight: 500; letter-spacing: -.015em; color: var(--tq-blue); }
.step p { color: var(--ink-2); max-width: 30em; }
.step:last-child { min-height: 64svh; }

.origin { padding-bottom: clamp(120px, 13vw, 190px); }
.origin__facts { margin-top: clamp(56px, 7vw, 100px); padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); display: grid; gap: 28px; }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; }
.facts-row li { padding: 4px clamp(14px, 2vw, 32px) 4px 0; display: grid; gap: 8px; align-content: start; }
.facts-row li + li { padding-left: clamp(14px, 2vw, 32px); border-left: 1px solid var(--line); }
.facts-row__value { font-size: clamp(2.4rem, 4.2vw, 3.8rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; color: var(--tq-blue); }
.facts-row__value small { font-size: .36em; font-weight: 400; letter-spacing: 0; color: var(--ink-3); margin-left: .3em; }
.facts-row li > p:last-child { font-size: .95rem; color: var(--ink-2); line-height: 1.45; max-width: 18em; }
.origin__quality { color: var(--ink-2); max-width: none; font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.65; }
@media (max-width: 900px) {
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .facts-row li:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 860px) {
  .origin__grid { grid-template-columns: 68px minmax(0, 1fr); gap: 18px; }
  .origin__intro { grid-column: 1 / -1; }
  .origin__sticky { height: calc(100svh - var(--header-h) - var(--header-top) - 60px); }
  .depth { border-radius: 999px; }
  .depth__relief, .depth__labels, .depth__scale { display: none; }
  .depth__pin { left: 50%; top: 40px; bottom: 34px; }
  .depth__head { width: 22px; height: 22px; left: -11px; top: -11px; border-width: 5px; }
  .depth__meter { right: auto; left: 0; width: 100%; top: auto; bottom: 46%; text-align: center; color: #fff; }
  /* štítok s hĺbkou: čitateľný nad čiarou, horninou aj vodou (bez miešania farieb) */
  .depth__meter b {
    display: inline-block; font-size: .95rem; letter-spacing: 0; padding: 4px 8px; border-radius: 999px;
    background: var(--tq-blue); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85);
  }
  .depth__meter span { display: none; }
  .step { min-height: 66svh; }
}


/* 11  Zloženie -------------------------------------------------------------- */
.composition__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.composition__bg::before {  /* reliéf ako jemná textúra v pozadí */
  content: ""; position: absolute; right: -8%; top: -4%; width: 70%; aspect-ratio: 2601 / 1429;
  background: url("../img/relief.webp") center / contain no-repeat;
  filter: brightness(0) invert(1); opacity: .06;
}
.composition .container { position: relative; }
.stat-tiles {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--line-blue); border-radius: var(--radius); overflow: hidden;
  margin-bottom: clamp(48px, 6vw, 80px); list-style: none; padding: 0;
}
.stat {
  background: var(--tq-blue); padding: clamp(22px, 2.6vw, 34px);
  display: grid; gap: 10px; align-content: start; min-height: 190px;
}
.stat__label { font-size: .95rem; color: var(--on-blue-2); display: flex; align-items: center; gap: 10px; }
.stat__value { font-size: clamp(2.6rem, 4.4vw, 4rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; color: #fff; }
.stat__value small { font-size: .38em; font-weight: 400; letter-spacing: 0; color: var(--on-blue-2); margin-left: .25em; }
.stat__note { font-size: .88rem; color: var(--on-blue-3); line-height: 1.45; }
.hexa { width: 30px; height: 26px; flex: none; color: #fff; }
.hexa text { font-family: var(--font); font-size: 10px; font-weight: 500; fill: currentColor; }

.comp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.comp__tables { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.comp-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.comp-table caption .unit { text-transform: none; letter-spacing: .04em; }
.comp-table caption { text-align: left; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-blue-3); padding-bottom: 12px; }
.comp-table th, .comp-table td { padding: 0; border-bottom: 1px solid var(--line-blue); text-align: left; font-weight: 400; }
.comp-table tr:first-child th, .comp-table tr:first-child td { border-top: 1px solid var(--line-blue); }
.comp-table td.num { text-align: right; padding-right: 4px; color: #fff; white-space: nowrap; }
.comp-table .ion-btn {
  width: 100%; display: grid; grid-template-columns: 4.2em minmax(0, 1fr); align-items: baseline; gap: 10px;
  background: none; border: 0; padding: 12px 4px; text-align: left; color: var(--on-blue-2);
  transition: color .2s var(--ease);
}
.comp-table .ion-btn b { font-weight: 500; color: #fff; }
.comp-table tr { transition: background-color .2s var(--ease); }
.comp-table tr:hover, .comp-table tr.is-selected, .comp-table tr:has(.ion-radio:checked) { background: rgba(255, 255, 255, .07); }
.comp-table tr.is-selected .ion-btn, .comp-table tr:has(.ion-radio:checked) .ion-btn { color: #fff; }
.comp-table tr.is-selected td.num, .comp-table tr:has(.ion-radio:checked) td.num { color: var(--sky-light); }
.comp-table--totals { margin-top: 26px; }
.comp-table--totals th { padding: 12px 4px; color: var(--on-blue-2); }

.ion-detail {
  position: sticky; top: calc(var(--header-h) + var(--header-top) + 30px);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 36px);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-blue);
  display: grid; gap: 14px; min-height: 260px;
}
.ion-detail__sym { font-size: 1rem; color: var(--sky-light); font-weight: 500; letter-spacing: .04em; }
.ion-detail__name { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.1; font-weight: 500; }
.ion-detail__value { font-size: clamp(2.4rem, 3.6vw, 3.4rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.ion-detail__value small { font-size: .4em; color: var(--on-blue-2); font-weight: 400; letter-spacing: 0; }
.ion-detail p { color: var(--on-blue-2); }
.ion-static > div { gap: 14px; }   /* hlavička zložky bez JavaScriptu (časť 21) */
.comp__source { margin-top: 28px; font-size: .86rem; color: var(--on-blue-3); max-width: 60em; }

@media (max-width: 1100px) {
  .stat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comp { grid-template-columns: minmax(0, 1fr); }
  .ion-detail {
    position: sticky; top: auto; bottom: 12px; z-index: 2; min-height: 0;
    background: #223A83; box-shadow: 0 -10px 30px -14px rgba(4, 12, 40, .7);
  }
}
@media (max-width: 680px) {
  .comp__tables { grid-template-columns: minmax(0, 1fr); }
  .ion-detail { gap: 6px; padding: 14px 18px 16px; }
  .ion-detail .ion-detail__sym { font-size: .85rem; }
  .ion-detail .ion-detail__name { font-size: 1.3rem; }
  .ion-detail .ion-detail__value { font-size: 1.7rem; }
  .ion-detail [data-ion-text], .ion-detail .ion-texts p { font-size: .92rem; line-height: 1.45; }
  .ion-static > div { gap: 6px; }
  .stat { min-height: 0; }
  .stat-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat__value { font-size: 2.3rem; }
}


/* 12  Produkty -------------------------------------------------------------- */
.products__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.product-stage {
  position: relative; height: clamp(520px, 72vh, 760px);
  border-radius: var(--radius-l); background: var(--mist); overflow: hidden; isolation: isolate;
}
.product-stage::before {   /* „hladina“ — jemný prechod do striebornej */
  content: ""; position: absolute; inset: auto 0 0 0; height: 32%;
  background: linear-gradient(180deg, rgba(138, 141, 143, 0), rgba(138, 141, 143, .14));
}
.product-stage__frame { position: absolute; left: 50%; bottom: 7%; height: 84%; aspect-ratio: 104 / 196; transform: translateX(-50%); }
.product-stage .qframe { transform-origin: 50% 100%; transition: transform .6s var(--ease); }
/* 0,5 l: celý rám (Q aj fľaša) sa zmenší v pomere výšok fliaš 901 : 1400,
   takže Q rámuje malú fľašu rovnako ako veľkú a pomer veľkostí zostáva skutočný */
[data-volume="05"] .product-stage .qframe { transform: scale(.644); }
.product-stage .qframe__bottle { transition: opacity .35s var(--ease), transform .55s var(--ease); }
.product-stage .qframe__bottle[hidden] { display: block; opacity: 0; transform: translateX(-50%) translateY(18px) scale(.98); pointer-events: none; }
.product-stage__tag {
  position: absolute; left: 24px; top: 22px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: #fff;
  font-size: .85rem; font-weight: 500; color: var(--tq-blue); box-shadow: 0 6px 20px -12px rgba(8, 20, 56, .4);
}
.product-stage__tag i { width: 16px; height: 4px; border-radius: 2px; background: var(--sw, var(--c-nesytena)); }

.bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bubbles span {
  position: absolute; bottom: -24px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  border: 1.5px solid rgba(0, 156, 222, .5); background: rgba(255, 255, 255, .55);
  opacity: 0; animation: bubble var(--d) linear var(--delay) infinite;
}
.bubbles span:nth-child(n+6) { display: var(--more, none); }
[data-variant="nesytena"] .bubbles { display: none; }
[data-variant="sytena"] .bubbles { --more: block; }
@keyframes bubble {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  12% { opacity: .9; }
  60% { transform: translate3d(10px, -60vh, 0); }
  100% { transform: translate3d(-6px, -110vh, 0); opacity: 0; }
}

.product-info { display: grid; gap: 28px; }
.control-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.product-info .lead { font-size: 1.15rem; }
.control-group { display: grid; gap: 12px; }
.control-group > span, .control-group legend { font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); padding: 0; }
.variant-text { display: grid; gap: 8px; min-height: 7.5em; }
.variant-text[hidden] { display: none; }
.variant-text h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 500; color: var(--tq-blue); line-height: 1.15; }
.variant-text p { color: var(--ink-2); max-width: 30em; }
.spec { display: grid; grid-template-columns: minmax(0, 9em) minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line); }
.spec dt, .spec dd { padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--ink-3); font-size: .95rem; }
.spec dd { color: var(--ink); font-size: .98rem; }
.spec dd[hidden] { display: none; }

.products { padding-bottom: clamp(48px, 5.5vw, 80px); }
.lineup {
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 2.4vw, 34px);
  margin: clamp(56px, 7vw, 96px) 0 0; padding: clamp(40px, 5vw, 72px) 8px 0; border-top: 1px solid var(--line);
  list-style: none; overflow-x: auto; scrollbar-width: thin;
}
.lineup li { flex: none; }
.lineup button {
  display: grid; justify-items: center; gap: 10px; background: none; border: 0; padding: 8px 6px 4px; border-radius: 14px;
  color: var(--ink-3); font-size: .78rem; font-weight: 500; letter-spacing: .02em; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lineup button:hover { background: var(--mist); color: var(--tq-blue); }
.lineup button[aria-pressed="true"] { color: var(--tq-blue); }
.lineup button[aria-pressed="true"] img { transform: translateY(-6px); }
.lineup img { width: auto; transition: transform .35s var(--ease); }
.lineup .is-15 img { height: 150px; }
.lineup .is-05 img { height: 97px; }
.lineup b { font-weight: 500; display: flex; align-items: center; gap: 6px; }
.lineup b i { width: 12px; height: 3px; border-radius: 2px; background: var(--sw); }

@media (max-width: 900px) {
  .products__grid { grid-template-columns: minmax(0, 1fr); }
  .product-stage { height: 520px; }
  /* vycentrované, a keby sa rad nezmestil, dá sa posúvať do strany */
  .lineup { justify-content: flex-start; }
  .lineup li:first-child { margin-left: auto; }
  .lineup li:last-child { margin-right: auto; }
}
@media (max-width: 560px) {
  /* mobil: všetkých 6 fliaš vedľa seba bez posúvania */
  .lineup { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; padding-inline: 0; overflow: visible; }
  .lineup li { margin: 0 !important; display: flex; justify-content: center; align-items: flex-end; }
  .lineup button { width: 100%; padding: 6px 0 4px; gap: 8px; }
  .lineup .is-15 img { height: 118px; }
  .lineup .is-05 img { height: 76px; }
  .lineup b { font-size: .7rem; gap: 4px; white-space: nowrap; }
  .lineup b i { width: 8px; }
}


/* 13  Pre firmy — kalkulačka ----------------------------------------------- */
.business__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); list-style: none; margin: 0 0 clamp(56px, 7vw, 96px); padding: 0; }
.point { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--tq-blue); }
.point h3 { font-size: 1.2rem; font-weight: 500; color: var(--tq-blue); line-height: 1.25; }
.point p { color: var(--ink-2); font-size: .98rem; }

.calc {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  border-radius: var(--radius-l); overflow: hidden; background: #fff;
  box-shadow: 0 1px 0 rgba(20, 46, 123, .05), 0 30px 70px -40px rgba(8, 20, 56, .45);
}
.calc__inputs { padding: clamp(26px, 4vw, 56px); display: grid; gap: 30px; align-content: start; }
.calc__inputs h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 500; line-height: 1.12; color: var(--tq-blue); letter-spacing: -.015em; }
.field { display: grid; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: .98rem; font-weight: 500; color: var(--ink); padding: 0; }
.field__label output, .field__label .field__value { font-size: 1.05rem; color: var(--tq-blue); white-space: nowrap; }
.field__hint { font-size: .85rem; color: var(--ink-3); }

.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--silver-300); background: #fff; color: var(--tq-blue);
  font-size: 1.35rem; line-height: 1; display: grid; place-items: center; flex: none;
}
.stepper button:hover { border-color: var(--tq-blue); }
.stepper input[type="number"] {
  width: 5.6em; height: 44px; border-radius: 12px; border: 1.5px solid var(--silver-300); text-align: center;
  font-size: 1.15rem; font-weight: 500; color: var(--tq-blue); -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input[type="range"] { flex: 1; min-width: 0; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; height: 28px; background: transparent; width: 100%;
  --fill: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--tq-blue) 0 var(--fill), var(--silver-200) var(--fill) 100%);
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--silver-200); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--tq-blue); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%;
  background: #fff; border: 6px solid var(--tq-blue); box-shadow: 0 2px 8px rgba(8, 20, 56, .25);
}
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--tq-blue); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(0, 156, 222, .45); }

.work-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.work-type { position: relative; }
.work-type input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.work-type span {
  display: grid; gap: 4px; height: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--silver-300);
  font-size: .95rem; font-weight: 500; color: var(--ink); line-height: 1.25; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.work-type small { font-weight: 400; color: var(--ink-3); font-size: .82rem; }
.work-type:hover span { border-color: var(--tq-blue); }
.work-type input:checked + span { border-color: var(--tq-blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--tq-blue); }
.work-type input:focus-visible + span { outline: 2px solid var(--tq-sky); outline-offset: 2px; }

.calc__result {
  position: relative; overflow: hidden;
  background: var(--tq-blue); color: #fff; padding: clamp(26px, 4vw, 56px);
  display: grid; gap: 26px; align-content: start;
}
.calc__result::after {     /* veľké Q v rohu */
  content: ""; position: absolute; right: -90px; bottom: -120px; width: 320px; height: 380px; opacity: .08;
  background: url("../img/q-symbol-white.svg") center / contain no-repeat; pointer-events: none;
}
.calc__label { font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-blue-2); }
.calc__hero { display: grid; gap: 4px; }
.calc__hero b { font-size: clamp(3.6rem, 7vw, 6rem); font-weight: 500; line-height: .95; letter-spacing: -.03em; }
.calc__hero span { font-size: 1.1rem; color: var(--on-blue-2); }
.calc__rows { display: grid; margin: 0; border-top: 1px solid var(--line-blue); }
.calc__rows div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line-blue); }
.calc__rows dt { color: var(--on-blue-2); }
.calc__rows dd { margin: 0; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.calc__person { display: grid; gap: 12px; }
.calc__glyphs { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; min-height: 52px; }
.calc__glyphs svg { width: 18px; height: auto; color: #fff; }
.calc__glyphs svg.is-15 { width: 22px; }
.calc__person p { font-size: .95rem; color: var(--on-blue-2); }
.calc__note { font-size: .82rem; color: var(--on-blue-3); line-height: 1.5; }
.calc__result .btn { justify-self: start; }
.calc__peek { display: none; }

@media (max-width: 980px) {
  .business__points { grid-template-columns: minmax(0, 1fr); }
  .calc { grid-template-columns: minmax(0, 1fr); overflow: clip; }   /* clip: zaoblené rohy a prilepený pruh */
  /* výsledok je až pod voľbami – kým sa voľby menia, mesačný odhad ostáva na spodku obrazovky */
  .calc__peek {
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin: 0;
    position: sticky; bottom: 12px; z-index: 2;
    padding: 12px 18px 14px; border-radius: 16px; background: var(--tq-blue); color: #fff;
    box-shadow: 0 14px 30px -12px rgba(8, 20, 56, .55);
  }
  .calc__peek > span:first-child { width: 100%; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-blue-2); }
  .calc__peek b { font-size: 1.7rem; font-weight: 500; line-height: 1.05; letter-spacing: -.02em; }
  .calc__peek span { font-size: .95rem; color: var(--on-blue-2); }
}
@media (max-width: 560px) {
  .work-types { grid-template-columns: minmax(0, 1fr); }
}


/* 14  Pre obchod a gastro --------------------------------------------------- */
.trade { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.trade__visual {
  position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 5 / 4;
  background: var(--tq-blue);
  display: flex; align-items: flex-end; justify-content: center; gap: 2%; padding: 0 6% 7%;
}
.trade__visual::before {
  content: ""; position: absolute; inset: 0; background: url("../img/relief.webp") 70% 0 / 160% auto no-repeat;
  filter: brightness(0) invert(1); opacity: .14;
}
.trade__visual img { position: relative; height: 82%; width: auto; filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .35)); }
.trade__visual img:nth-child(2) { height: 88%; }
.trade__visual .tq-emblem { position: absolute; right: 5%; top: 6%; width: 22%; color: #fff; opacity: .9; }
.trade__list { list-style: none; margin: 30px 0 34px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.trade__list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.trade__list b { display: block; font-weight: 500; color: var(--tq-blue); margin-bottom: 2px; }
.trade__list span { color: var(--ink-2); font-size: .98rem; }
.trade__list svg { width: 22px; height: 22px; color: var(--tq-sky); margin-top: 3px; }
.trade__list span { display: block; }
.trade__partners { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.trade__partners p { font-weight: 500; color: var(--tq-blue); }

@media (max-width: 900px) {
  .trade { grid-template-columns: minmax(0, 1fr); }
  .trade__visual { order: -1; }
}


/* 15  Kontakt a formulár --------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__info { display: grid; gap: 26px; position: sticky; top: calc(var(--header-h) + var(--header-top) + 30px); }
.contact__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.contact__list .k { font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.contact__list a { color: var(--tq-blue); font-weight: 500; text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__list .big { font-size: 1.35rem; }

.form {
  background: #fff; border-radius: var(--radius-l); padding: clamp(24px, 4vw, 52px);
  display: grid; gap: 22px;
  box-shadow: 0 1px 0 rgba(20, 46, 123, .05), 0 30px 70px -40px rgba(8, 20, 56, .45);
}
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ff { display: grid; gap: 8px; min-width: 0; }
.ff label, .ff .ff__label { font-size: .92rem; font-weight: 500; color: var(--ink); }
.ff label i { font-style: normal; font-weight: 400; color: var(--ink-3); }
.ff input, .ff textarea {
  width: 100%; border: 1.5px solid var(--silver-300); border-radius: 14px; background: #fff;
  padding: 13px 16px; font-size: 1rem; line-height: 1.4; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.ff textarea { min-height: 140px; resize: vertical; }
.ff input:hover, .ff textarea:hover { border-color: var(--silver-400); }
.ff input:focus, .ff textarea:focus { outline: none; border-color: var(--tq-blue); box-shadow: 0 0 0 4px rgba(0, 156, 222, .18); }
.ff input:user-invalid, .ff textarea:user-invalid { border-color: var(--c-sytena); }
.ff [hidden] { display: none; }
.ff__error { font-size: .85rem; color: #B5121F; }

.calc-summary {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start;
  padding: 16px 18px; border-radius: 14px; background: var(--blue-soft); color: var(--tq-blue); font-size: .92rem; line-height: 1.5;
}
.calc-summary[hidden] { display: none; }
.calc-summary b { display: block; font-weight: 500; margin-bottom: 2px; }
.calc-summary [data-calc-summary-text] { display: block; white-space: pre-line; }
.calc-summary button { border: 0; background: #fff; color: var(--tq-blue); width: 32px; height: 32px; border-radius: 50%; font-size: 1.1rem; line-height: 1; }

.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .9rem; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--tq-blue); }
.consent a { color: var(--tq-blue); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__status { font-size: .95rem; min-height: 1.4em; }
.form__status:empty { display: none; }
.form__status.is-ok, .form__status.is-err, .form__status.is-info {
  display: block; padding: 14px 18px; border-radius: 14px; line-height: 1.5;
}
.form__status.is-ok { background: #E7F6EE; color: #0A5A33; }
.form__status.is-err { background: #FDECEE; color: #8C0E19; }
.form__status.is-info { background: var(--sky-soft); color: var(--blue-deep); }
.form__status a { color: inherit; font-weight: 500; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

@media (max-width: 900px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__info { position: static; }
}

/* Rozšírené kontakty: osoby v zozname a obchodní zástupcovia podľa regiónov */
.contact--team .contact__info { position: static; }
.contact__person { font-weight: 500; color: var(--ink); }
.contact__person small { display: block; font-weight: 400; font-size: .88rem; color: var(--ink-3); }
.contact__list a.contact__more { font-size: .92rem; margin-top: 2px; }
.contact-team { margin-top: clamp(48px, 6vw, 80px); scroll-margin-top: calc(var(--header-h) + var(--header-top) + 24px); }
.contact-team__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 22px; }
.contact-team__head h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 500; line-height: 1.15; color: var(--tq-blue); }
.contact-team__head p { color: var(--ink-3); }
.reps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.rep {
  display: grid; gap: 6px; align-content: start; padding: 24px 24px 22px; border-radius: var(--radius); background: #fff;
  box-shadow: 0 1px 0 rgba(20, 46, 123, .05), 0 18px 40px -30px rgba(8, 20, 56, .45);
}
.rep__region { font-size: 1.1rem; font-weight: 500; line-height: 1.25; color: var(--tq-blue); margin-bottom: 10px; }
.rep__name { font-weight: 500; color: var(--ink); }
.rep a { color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.rep a:hover { color: var(--tq-blue); text-decoration: underline; }
.rep a[href^="mailto:"] { color: var(--tq-blue); }
@media (max-width: 1100px) { .reps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .form__row { grid-template-columns: minmax(0, 1fr); }
}


/* 16  Päta ------------------------------------------------------------------ */
.site-footer { position: relative; background: var(--tq-blue); color: var(--on-blue-2); }
main + .site-footer, .legal + .site-footer { margin-top: 0; }
.site-footer__edge { position: absolute; left: 0; right: 0; bottom: 100%; height: clamp(40px, 6vw, 90px); color: var(--tq-blue); }
.site-footer__edge svg { width: 100%; height: 100%; }
.site-footer__main {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px);
  padding-block: clamp(48px, 6vw, 80px) clamp(40px, 5vw, 64px);
}
.site-footer__brand { display: grid; gap: 20px; align-content: start; }
.site-footer__brand .tq-logo { width: 210px; color: #fff; }
.site-footer__claim { font-size: 1.25rem; line-height: 1.35; color: #fff; max-width: 16em; }
.site-footer__brand .tq-emblem { width: 96px; color: rgba(255, 255, 255, .8); margin-top: 6px; }
.site-footer h2 { font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-blue-3); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.link-button { background: none; border: 0; padding: 0; color: #fff; text-align: left; font-size: inherit; }
.link-button:hover { text-decoration: underline; }
.site-footer__bottom { background: var(--tq-black); color: rgba(255, 255, 255, .62); font-size: .85rem; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 18px; }
.site-footer__bottom .metal { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 500; letter-spacing: .12em; }

@media (max-width: 980px) {
  .site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-footer__main { grid-template-columns: minmax(0, 1fr); }
}


/* 17  Cookies --------------------------------------------------------------- */
.cookie-banner {
  position: fixed; z-index: 150; left: 50%; bottom: 16px; transform: translateX(-50%);
  width: min(1100px, calc(100vw - 2 * var(--gutter)));
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 18px 18px 18px 24px;
  box-shadow: 0 24px 60px -24px rgba(8, 20, 56, .55), 0 0 0 1px rgba(20, 46, 123, .08);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 24px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.05rem; font-weight: 500; color: var(--tq-blue); white-space: nowrap; }
.cookie-banner p { font-size: .88rem; color: var(--ink-2); line-height: 1.45; }
.cookie-banner a { color: var(--tq-blue); }
.cookie-banner .btn-row { gap: 8px; flex-wrap: nowrap; }
@media (max-width: 1080px) {
  .cookie-banner { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .cookie-banner .btn-row { flex-wrap: wrap; }
  .cookie-banner .btn { flex: 1 1 auto; }
}

.cookie-dialog {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 32px);
  border: 0; border-radius: var(--radius-l); padding: 0; color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(8, 20, 56, .6);
}
.cookie-dialog::backdrop { background: rgba(8, 20, 56, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.cookie-dialog form { padding: clamp(22px, 4vw, 34px); display: grid; gap: 18px; }
.cookie-dialog h2 { font-size: 1.5rem; font-weight: 500; color: var(--tq-blue); }
.cookie-dialog p { color: var(--ink-2); font-size: .95rem; }
.cookie-cat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.cookie-cat b { font-weight: 500; }
.cookie-cat p { grid-column: 1 / -1; font-size: .88rem; color: var(--ink-3); }
.switch { position: relative; width: 50px; height: 30px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--silver-300); transition: background-color .2s var(--ease); }
.switch span::after { content: ""; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--tq-blue); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 2px solid var(--tq-sky); outline-offset: 2px; }


/* 18  Podstránky (právne informácie) ---------------------------------------- */
.page-hero {
  position: relative; background: var(--tq-blue); color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + var(--header-top) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 110px);
}
.page-hero::after {
  content: ""; position: absolute; right: -6%; top: 0; width: 64%; height: 100%;
  background: url("../img/relief.webp") 0 30% / cover no-repeat; filter: brightness(0) invert(1); opacity: .08; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; display: grid; gap: 18px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.02; font-weight: 500; letter-spacing: -.02em; max-width: 18em; }
.page-hero p { color: var(--on-blue-2); max-width: 44em; }
.breadcrumb { font-size: .85rem; color: var(--on-blue-3); }
.breadcrumb a { color: var(--on-blue-2); }

.legal { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(56px, 8vw, 110px); }
.legal__toc { position: sticky; top: calc(var(--header-h) + var(--header-top) + 30px); align-self: start; }
.legal__toc h2 { font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.legal__toc ol { margin: 0; padding: 0 0 0 1.2em; display: grid; gap: 8px; font-size: .92rem; color: var(--ink-3); }
.legal__toc a { color: var(--ink-2); text-decoration: none; }
.legal__toc a:hover { color: var(--tq-blue); text-decoration: underline; }
.legal__body { max-width: 760px; }
.legal__body > * + * { margin-top: 1.05em; }
.legal__body h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 500; color: var(--tq-blue); line-height: 1.2; margin-top: 2.2em; scroll-margin-top: 110px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 1.1rem; font-weight: 500; margin-top: 1.6em; }
.legal__body p, .legal__body li { color: var(--ink-2); }
.legal__body ul, .legal__body ol { padding-left: 1.3em; display: grid; gap: .45em; }
.legal__body a { color: var(--tq-blue); }
.legal__body table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal__body th, .legal__body td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.legal__body th { font-weight: 500; color: var(--ink); }
.legal__body .table-wrap { overflow-x: auto; }
.legal__body .card { background: var(--mist); border-radius: var(--radius); padding: 22px 24px; }
.legal__body dl.facts { display: grid; grid-template-columns: minmax(0, 12em) minmax(0, 1fr); border-top: 1px solid var(--line); }
.legal__body dl.facts dt, .legal__body dl.facts dd { padding: 13px 0; border-bottom: 1px solid var(--line); margin: 0; }
.legal__body dl.facts dt { color: var(--ink-3); }
.legal__updated { font-size: .88rem; color: var(--ink-3); }

@media (max-width: 860px) {
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { position: static; }
  .legal__body dl.facts { grid-template-columns: minmax(0, 1fr); }
  .legal__body dl.facts dt { border-bottom: 0; padding-bottom: 0; }
}

.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 80px; background: var(--tq-blue); color: #fff; }
.notfound .tq-q { width: 90px; margin: 0 auto 28px; color: #fff; }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 18px; }
.notfound p { color: var(--on-blue-2); margin-bottom: 30px; }


/* 19  Animácie a prístupnosť ------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.is-editing .reveal { opacity: 1 !important; transform: none !important; }

.hero .hero__copy > * { animation: rise 1s var(--ease) both; }
.hero .hero__copy > *:nth-child(2) { animation-delay: .08s; }
.hero .hero__copy > *:nth-child(3) { animation-delay: .16s; }
.hero .hero__copy > *:nth-child(4) { animation-delay: .24s; }
.hero__visual { animation: rise-big 1.4s var(--ease) .1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rise-big { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@media (max-width: 1023px) and (min-height: 501px), (orientation: portrait) and (max-width: 1400px) {
  @keyframes rise-big { from { opacity: 0; transform: translate(50%, 50px); } to { opacity: 1; transform: translateX(50%); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .bubbles, .scene__flow { display: none; }
}

@media (forced-colors: active) {
  .chip input:checked + span, .work-type input:checked + span { outline: 2px solid CanvasText; }
  .depth__line, .depth__end { background: CanvasText; }
}

@media print {
  .site-header, .cookie-banner, .hero__scroll, .mobile-menu, .calc, .form, .bubbles { display: none !important; }
  .hero { height: auto; color: #000; background: none; }
  .section--blue { background: none; color: #000; }
  .section--blue .h-section, .stat__value, .comp-table td.num { color: #000; }
}


/* 20  Bez JavaScriptu --------------------------------------------------------
   Niektoré náhľady súborov v mobile (príloha v e-maile, WhatsApp, aplikácia
   Súbory) nespúšťajú JavaScript. Menu, prepínač produktov a hĺbka v Pôvode
   vtedy fungujú len cez CSS. Na webe s JavaScriptom sa tieto pravidlá nepoužijú. */

/* Menu: tlačidlo je odkaz na #mobilne-menu, menu sa ukáže cez :target */
.nav-toggle--close { display: none !important; }
.nav-toggle--close .nav-toggle__icon::before { top: 5px; transform: rotate(45deg); }
.nav-toggle--close .nav-toggle__icon::after { top: 5px; transform: rotate(-45deg); }
@media (max-width: 1080px) {
  .no-js .mobile-menu:target { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .no-js body:has(#mobilne-menu:target) .nav-toggle:not(.nav-toggle--close) { display: none; }
  .no-js body:has(#mobilne-menu:target) .nav-toggle--close { display: inline-flex !important; }
}

/* Produkty: fľaša, text, balenie a bublinky podľa zvolených prepínačov */
.no-js .product-stage__tag { display: none; }
.no-js .product-stage .qframe__bottle { opacity: 0; }
.no-js [data-product]:has([name="variant"][value="nesytena"]:checked):has([name="volume"][value="15"]:checked) [data-bottle="15-nesytena"],
.no-js [data-product]:has([name="variant"][value="jemne-sytena"]:checked):has([name="volume"][value="15"]:checked) [data-bottle="15-jemne-sytena"],
.no-js [data-product]:has([name="variant"][value="sytena"]:checked):has([name="volume"][value="15"]:checked) [data-bottle="15-sytena"],
.no-js [data-product]:has([name="variant"][value="nesytena"]:checked):has([name="volume"][value="05"]:checked) [data-bottle="05-nesytena"],
.no-js [data-product]:has([name="variant"][value="jemne-sytena"]:checked):has([name="volume"][value="05"]:checked) [data-bottle="05-jemne-sytena"],
.no-js [data-product]:has([name="variant"][value="sytena"]:checked):has([name="volume"][value="05"]:checked) [data-bottle="05-sytena"] {
  display: block; opacity: 1; transform: translateX(-50%);
}
.no-js [data-product]:has([name="volume"][value="05"]:checked) .product-stage .qframe { transform: scale(.644); }
.no-js [data-product]:has([name="variant"][value="jemne-sytena"]:checked) [data-variant-text="jemne-sytena"],
.no-js [data-product]:has([name="variant"][value="sytena"]:checked) [data-variant-text="sytena"] { display: grid; }
.no-js [data-product]:not(:has([name="variant"][value="nesytena"]:checked)) [data-variant-text="nesytena"] { display: none; }
.no-js [data-product]:has([name="volume"][value="05"]:checked) [data-volume-text="05"] { display: block; }
.no-js [data-product]:has([name="volume"][value="05"]:checked) [data-volume-text="15"] { display: none; }
.no-js [data-product]:has([name="variant"][value="jemne-sytena"]:checked) .bubbles,
.no-js [data-product]:has([name="variant"][value="sytena"]:checked) .bubbles { display: block; }
.no-js [data-product]:has([name="variant"][value="sytena"]:checked) .bubbles { --more: block; }
.no-js .lineup button { pointer-events: none; }

/* Pôvod: špendlík klesá od povrchu po prameň podľa posúvania stránky
   (animácia viazaná na posúvanie; staršie prehliadače ukážu rovno 250 m) */
@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }
.no-js .depth { --p: 1; }
.no-js .depth__labels li { opacity: 1; }
@keyframes tq-depth { from { --p: 0; } to { --p: 1; } }
@supports (animation-timeline: view()) and (timeline-scope: --a) {
  .no-js .origin__grid { timeline-scope: --tq-origin; }
  .no-js .origin__steps { view-timeline: --tq-origin block; }
  .no-js .depth { animation: tq-depth linear both; animation-duration: auto; animation-timeline: --tq-origin; animation-range: contain 0% contain 100%; }
  /* počítadlo metrov bez JavaScriptu Safari neprekresľuje – vtedy ho radšej skryjeme */
  .no-js .depth__meter { display: none; }
}
/* Druhý kontakt v tom istom bloku (napr. Výroba) – oddelený malou medzerou */
.contact__list a.contact__next { margin-top: 10px; }


/* 21  Zloženie a kalkulačka bez JavaScriptu ------------------------------------
   Riadky tabuľky zloženia sú prepínače (input + label), panel ukáže zvolenú zložku
   aj bez skriptu. Kalkulačka bez skriptu: počet ľudí sa vyberá z ponuky a výsledky
   počíta CSS rovnakým vzorcom ako main.js (časť 10) – fľaše za deň, týždeň a mesiac
   sa zaokrúhľujú nahor. Na webe s JavaScriptom sa tieto pravidlá nepoužijú. */
.ion-radio { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.comp-table th { position: relative; }
.comp-table .ion-btn { cursor: pointer; }
.ion-radio:focus-visible + .ion-btn { outline: 2px solid var(--sky-light); outline-offset: -2px; border-radius: 4px; }
.ion-static, .calc-nojs, .calc-css { display: none; }

.no-js .ion-detail > [data-ion-sym], .no-js .ion-detail > [data-ion-name],
.no-js .ion-detail > .ion-detail__value, .no-js .ion-detail > [data-ion-text] { display: none; }
.no-js .ion-static, .no-js .ion-texts { display: contents; }
.no-js .ion-static > div, .no-js .ion-texts > p { display: none; }
.no-js .comp:has(#ion-ca:checked) [data-ion-static="ca"],
.no-js .comp:has(#ion-mg:checked) [data-ion-static="mg"],
.no-js .comp:has(#ion-na:checked) [data-ion-static="na"],
.no-js .comp:has(#ion-k:checked) [data-ion-static="k"],
.no-js .comp:has(#ion-nh4:checked) [data-ion-static="nh4"],
.no-js .comp:has(#ion-hco3:checked) [data-ion-static="hco3"],
.no-js .comp:has(#ion-so4:checked) [data-ion-static="so4"],
.no-js .comp:has(#ion-no3:checked) [data-ion-static="no3"],
.no-js .comp:has(#ion-cl:checked) [data-ion-static="cl"],
.no-js .comp:has(#ion-f:checked) [data-ion-static="f"],
.no-js .comp:has(#ion-no2:checked) [data-ion-static="no2"],
.no-js .comp:has(#ion-rl:checked) [data-ion-static="rl"],
.no-js .comp:has(#ion-ph:checked) [data-ion-static="ph"] { display: grid; }
.no-js .comp:has(#ion-ca:checked) [data-ion-text-for="ca"],
.no-js .comp:has(#ion-mg:checked) [data-ion-text-for="mg"],
.no-js .comp:has(#ion-na:checked) [data-ion-text-for="na"],
.no-js .comp:has(#ion-k:checked) [data-ion-text-for="k"],
.no-js .comp:has(#ion-nh4:checked) [data-ion-text-for="nh4"],
.no-js .comp:has(#ion-hco3:checked) [data-ion-text-for="hco3"],
.no-js .comp:has(#ion-so4:checked) [data-ion-text-for="so4"],
.no-js .comp:has(#ion-no3:checked) [data-ion-text-for="no3"],
.no-js .comp:has(#ion-cl:checked) [data-ion-text-for="cl"],
.no-js .comp:has(#ion-f:checked) [data-ion-text-for="f"],
.no-js .comp:has(#ion-no2:checked) [data-ion-text-for="no2"],
.no-js .comp:has(#ion-rl:checked) [data-ion-text-for="rl"],
.no-js .comp:has(#ion-ph:checked) [data-ion-text-for="ph"] { display: block; }

@property --tq-cd { syntax: '<integer>'; inherits: true; initial-value: 0; }
@property --tq-cw { syntax: '<integer>'; inherits: true; initial-value: 0; }
@property --tq-cm { syntax: '<integer>'; inherits: true; initial-value: 0; }
@property --tq-lt { syntax: '<integer>'; inherits: true; initial-value: 0; }
@property --tq-nh { syntax: '<integer>'; inherits: true; initial-value: 0; }
@property --tq-n { syntax: '<integer>'; inherits: true; initial-value: 0; }
@property --tq-nk { syntax: '<integer>'; inherits: true; initial-value: 0; }
@property --tq-nr { syntax: '<integer>'; inherits: true; initial-value: 0; }
@property --tq-nbig { syntax: '<integer>'; inherits: true; initial-value: 0; }
@counter-style tq-pad3 { system: extends decimal; pad: 3 "0"; }

.no-js .calc .stepper, .no-js .calc .field:has(#calc-liters), .no-js .calc [data-out], .no-js [data-calc-send] { display: none; }
.no-js .calc-nojs { display: flex; }
.no-js .calc__hero .calc-css, .no-js .calc__rows .calc-css { display: block; }
.no-js .calc__peek .calc-css { display: inline; }
.no-js .calc-send-nojs { display: inline-flex; }

.no-js .calc {
  --tq-p: 25; --tq-l: 1; --tq-b: .5; --tq-d: 5; --tq-size: 12; --tq-size-t: "12";
  --tq-bl: "0,5\a0l"; --tq-sep: "\a0"; --tq-dec: ","; --tq-bottles: "fliaš"; --tq-of: "po"; --tq-pcs: "ks";
}
.no-js .calc:lang(en) { --tq-bl: "0.5\a0l"; --tq-sep: ","; --tq-dec: "."; --tq-bottles: "bottles"; --tq-of: "of"; --tq-pcs: "pcs"; }
.no-js .calc:has([name="calc-people-preset"][value="10"]:checked) { --tq-p: 10; }
.no-js .calc:has([name="calc-people-preset"][value="50"]:checked) { --tq-p: 50; }
.no-js .calc:has([name="calc-people-preset"][value="100"]:checked) { --tq-p: 100; }
.no-js .calc:has([name="calc-people-preset"][value="250"]:checked) { --tq-p: 250; }
.no-js .calc:has([name="calc-work"][value="1.5"]:checked) { --tq-l: 1.5; }
.no-js .calc:has([name="calc-work"][value="2.5"]:checked) { --tq-l: 2.5; }
.no-js .calc:has([name="calc-bottle"][value="1.5"]:checked) { --tq-b: 1.5; --tq-size: 6; --tq-size-t: "6"; --tq-bl: "1,5\a0l"; }
.no-js .calc:lang(en):has([name="calc-bottle"][value="1.5"]:checked) { --tq-bl: "1.5\a0l"; }
.no-js .calc:has([name="calc-days"][value="6"]:checked) { --tq-d: 6; }
.no-js .calc:has([name="calc-days"][value="7"]:checked) { --tq-d: 7; }

/* fľaše za deň, týždeň a mesiac (celé číslo nahor) */
.no-js .calc {
  --tq-cd: calc(var(--tq-p) * var(--tq-l) / var(--tq-b) + .4999);
  --tq-cw: calc(var(--tq-p) * var(--tq-l) / var(--tq-b) * var(--tq-d) + .4999);
  --tq-cm: calc(var(--tq-p) * var(--tq-l) / var(--tq-b) * var(--tq-d) * 52 / 12 + .4999);
}
.no-js .calc-num[data-n="month"] { --tq-n: var(--tq-cm); }
.no-js .calc-num[data-n="week"] { --tq-n: var(--tq-cw); }
.no-js .calc-num[data-n="day"] { --tq-n: var(--tq-cd); }
.no-js .calc-num[data-n="cartons"] { --tq-n: calc(var(--tq-cm) / var(--tq-size) + .4999); }
.no-js [data-css="liters"] { --tq-lt: calc(var(--tq-cm) * var(--tq-b) - .4999); --tq-nh: calc(var(--tq-cm) * var(--tq-b) * 2 - var(--tq-lt) * 2); }
.no-js .calc-num[data-n="liters"] { --tq-n: var(--tq-lt); }
/* zápis čísla: do 999 priamo, od 1 000 s oddelením tisícok (1 084 / 1,084) */
.no-js .calc-num { --tq-nk: calc((var(--tq-n) - 500) / 1000); --tq-nbig: clamp(0, var(--tq-n) - 999, 1); --tq-nr: calc(var(--tq-n) - var(--tq-nk) * 1000); }
.no-js .calc-num::before { content: counter(tq-a); counter-reset: tq-a var(--tq-n); font-size: calc(1em * (1 - var(--tq-nbig))); }
.no-js .calc-num::after { content: counter(tq-k) var(--tq-sep) counter(tq-r, tq-pad3); counter-reset: tq-k var(--tq-nk) tq-r var(--tq-nr); font-size: calc(1em * var(--tq-nbig)); }
.no-js .calc-half::before { content: var(--tq-dec) "5"; font-size: calc(1em * var(--tq-nh)); }
.no-js [data-u="month"]::before { content: var(--tq-bottles) " " var(--tq-of) " " var(--tq-bl); }
.no-js [data-u="cartons"]::before { content: " × " var(--tq-size-t) "\a0" var(--tq-pcs); }
.no-js [data-u="week"]::before, .no-js [data-u="day"]::before { content: " " var(--tq-bottles); }
.no-js [data-u="liters"]::before { content: "\a0l"; }
/* na osobu a deň: text a fľaše pre zvolený druh práce a veľkosť fľaše */
.no-js .calc:has([name="calc-work"][value="1"]:checked):has([name="calc-bottle"][value="0.5"]:checked) [data-combo="1-0.5"],
.no-js .calc:has([name="calc-work"][value="1.5"]:checked):has([name="calc-bottle"][value="0.5"]:checked) [data-combo="1.5-0.5"],
.no-js .calc:has([name="calc-work"][value="2.5"]:checked):has([name="calc-bottle"][value="0.5"]:checked) [data-combo="2.5-0.5"],
.no-js .calc:has([name="calc-work"][value="1"]:checked):has([name="calc-bottle"][value="1.5"]:checked) [data-combo="1-1.5"],
.no-js .calc:has([name="calc-work"][value="1.5"]:checked):has([name="calc-bottle"][value="1.5"]:checked) [data-combo="1.5-1.5"],
.no-js .calc:has([name="calc-work"][value="2.5"]:checked):has([name="calc-bottle"][value="1.5"]:checked) [data-combo="2.5-1.5"] { display: grid; gap: 12px; }

