/* ==========================================================================
   Zeraya demo
   Palette comes from the brand's own packaging (dusty rose box, white bag) and logo.
   Shape rule: media frames and panels 20px, buttons and pills fully round, nothing else rounded.
   z-index scale: fab 40, nav 50, menu 60, loader 100.
   ========================================================================== */

/* metric-matched stand-in while Jost loads (measured against Arial), so text does not jump when the real font swaps in */
@font-face {
  font-family: "Jost Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 92.5%;
  ascent-override: 115.7%;
  descent-override: 41.1%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/jost-latin-ext-wght-normal.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
  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: "Jost";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/jost-latin-ext-wght-italic.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/jost-latin-wght-italic.woff2") format("woff2");
  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;
}

:root {
  --bg: #FAF6F5;            /* porcelain with a rose tint */
  --surface: #F2E9E7;       /* blush surface */
  --rose: #D9A5A3;          /* dusty rose of the Zeraya box */
  --rose-loader: #A47864;   /* mocha (client's wish 2026-10-13) */
  --loader-ink: #2E1F1A;  /* dark brown */
  --mauve: #8A5558;         /* accent that passes AA on --bg (5.5:1) */
  --ink: #2A1E20;           /* aubergine near-black */
  --ink-2: #645A5C;         /* secondary text, 6.2:1 on --bg */
  --line: rgba(42, 30, 32, .13);
  --line-strong: rgba(42, 30, 32, .28);
  --white: #FFFDFC;

  --r: 20px;
  --max: 1360px;
  --pad: clamp(20px, 4vw, 56px);
  --gap: clamp(16px, 1.8vw, 24px);
  --section: clamp(5rem, 11vw, 10rem);
  --nav-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: only light;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Jost", "Jost Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }   /* the hidden attribute must win over display rules on classes */
h1, h2, h3, h4, p, figure, dl, dd, ul, fieldset { margin: 0; }
ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--rose); color: var(--ink); }
:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; border-radius: 4px; }

/* Without motion (reduced-motion preference) nothing transitions or animates. */
html:not(.motion) *, html:not(.motion) *::before, html:not(.motion) *::after {
  transition-duration: .01ms !important;
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 110; padding: .7rem 1rem; background: var(--ink); color: var(--bg); border-radius: 999px; text-decoration: none; }
.skip:focus { top: 1rem; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 28px; pointer-events: none; }

.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }

/* ---------- Background strands ---------- */
.strands {
  position: fixed;
  inset: 0 0 0 var(--rail, 0px);
  width: calc(100% - var(--rail, 0px));
  height: 100vh; /* for browsers without lvh */
  height: 100lvh;
  z-index: 0;
  pointer-events: none;
  /* a faint warm wash so the page is never a flat white sheet, even before the lines draw */
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(217, 165, 163, .2), rgba(217, 165, 163, 0) 70%),
    radial-gradient(50% 45% at 6% 92%, rgba(217, 165, 163, .12), rgba(217, 165, 163, 0) 70%);
}
main, .footer { position: relative; z-index: 1; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mauve);
}
.h2 {
  font-size: clamp(2.1rem, 4.3vw, 3.9rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.7rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.005em;
}
.prose { display: grid; gap: 1.1rem; max-width: 36rem; color: var(--ink-2); }

/* SplitText line masks: reserve room so descenders (y, j, p) are never clipped */
.split-line-mask { padding-bottom: .16em; margin-bottom: -.16em; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  --btn-hover: var(--mauve);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .45s var(--ease), border-color .45s var(--ease), scale .2s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: var(--btn-hover);
  border-radius: inherit;
  transform: translateY(102%);
  transition: transform .55s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; transition: transform .5s var(--ease); }
.btn:active { scale: .98; }
@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); }
  .btn:hover svg { transform: translate(2px, -2px); }
}
.btn:focus-visible::before { transform: translateY(0); }
.btn--sm { padding: .68rem 1.15rem; font-size: .95rem; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-hover: var(--ink); border-color: var(--line-strong); }
@media (hover: hover) { .btn--ghost:hover { color: var(--bg); border-color: var(--ink); } }
.btn--ghost:focus-visible { color: var(--bg); }

.link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link svg { width: 1.1em; height: 1.1em; }
@media (hover: hover) { .link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--mauve); } }

/* ---------- Media frames ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--r); background: var(--surface); }
.frame > img, .frame > video, .frame > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame--parallax > img { inset: -9% 0; height: 118%; }

/* ---------- Loader ---------- */
.loader { display: none; }
.motion .loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--rose-loader);
  color: var(--loader-ink);
  /* failsafe: never trap the visitor behind the loader */
  animation: loader-failsafe 1ms linear 7s forwards;
  /* a finger on the loader must not scroll the page underneath it */
  touch-action: none;
}
@keyframes loader-failsafe { to { visibility: hidden; } }
/* starts wiped shut, the same state the script animates from, so it never shows, vanishes and wipes in again */
.loader__logo { width: min(58vw, 300px); height: auto; clip-path: inset(0% 100% 0% 0%); }
.loader__bar { position: absolute; left: 50%; bottom: 16vh; width: min(40vw, 170px); height: 1px; background: rgba(46, 31, 26, .25); transform: translateX(-50%); overflow: hidden; }
.loader__bar i { position: absolute; inset: 0; background: var(--loader-ink); transform: scaleX(0); transform-origin: left; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  transition: transform .6s var(--ease), background-color .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(250, 246, 245, .84);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
/* Phones: blurring whatever scrolls under a fixed bar is one of the most expensive things a phone GPU can be asked to do */
.lite .nav.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(250, 246, 245, .96); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav__logo { display: block; flex-shrink: 0; }
.nav__logo svg { width: 108px; height: auto; }
.nav__links { display: flex; gap: clamp(1rem, 2.1vw, 2.1rem); }
.nav__links a {
  position: relative;
  padding: .4rem 0;
  font-size: .97rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
@media (hover: hover) { .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 2rem;
  padding: calc(var(--nav-h) + 1.5rem) var(--pad) calc(2rem + env(safe-area-inset-bottom));
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s .45s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.menu__links { display: grid; align-content: center; gap: .2rem; }
.menu__links a {
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -.02em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .06s; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .11s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .16s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .21s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .26s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: .31s; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
html.menu-open, html.menu-open body { overflow: hidden; }
.menu__tel { text-decoration: none; font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--nav-h) + 1.25rem);
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.hero__copy { grid-column: 1 / span 7; }
.hero__title {
  margin-top: 1.4rem;
  font-size: clamp(2.6rem, calc((100vw - var(--rail, 0px)) * .051), 4.9rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.024em;
}
.hero__title em { font-style: italic; white-space: nowrap; }
.hero__lead { margin-top: 1.6rem; max-width: 33rem; font-size: clamp(1.08rem, 1.35vw, 1.25rem); line-height: 1.55; color: var(--ink-2); }
.hero__cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__media { grid-column: 8 / -1; position: relative; display: flex; justify-content: flex-end; }
.hero__video {
  position: relative;
  width: min(100%, calc(74dvh * .8));
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}
.hero__video video { width: 100%; height: 100%; object-fit: cover; }
.hero__tile {
  position: absolute;
  left: max(-16%, -4.5rem);
  bottom: -5%;
  width: clamp(120px, 34%, 200px);
  aspect-ratio: 3 / 4;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 28px 60px -28px rgba(74, 40, 44, .55);
}
.hero__tile img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- O nás ---------- */
.about { padding-block: var(--section); }
.about__statement {
  max-width: 21em;
  font-size: clamp(1.75rem, 3.7vw, 3.4rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.016em;
}
.about__row { margin-top: clamp(3rem, 7vw, 6rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.about__img { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.about__text { grid-column: 7 / -1; max-width: 33rem; display: grid; gap: 1.2rem; font-size: clamp(1.08rem, 1.3vw, 1.2rem); color: var(--ink-2); }

/* ---------- Invisible tapes ---------- */
.tapes { padding-block: var(--section); background: rgba(242, 233, 231, .8); }
.tapes .frame { background: var(--bg); }
.tapes__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.tapes__media { grid-column: 1 / span 5; position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.tapes__media .frame { aspect-ratio: 3 / 4; max-height: calc(100dvh - var(--nav-h) - 3rem); width: 100%; }
.tapes__body { grid-column: 7 / -1; }
.tapes__body .prose { margin-top: 1.8rem; }
.tapes__sub { margin-top: clamp(3rem, 6vw, 4.5rem); }
.benefits { margin-top: 1.6rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); }
.benefit { padding: 1.35rem 0; border-top: 1px solid var(--line); }
.benefit h4, .benefit h3 { font-size: 1.12rem; font-weight: 500; line-height: 1.3; }
.benefit p { margin-top: .35rem; font-size: 1rem; color: var(--ink-2); }

/* ---------- Typy vlasov ---------- */
.types { padding-block: var(--section); }
.types__grid { margin-top: clamp(2.5rem, 5vw, 4.5rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.type:nth-child(1) { grid-column: 1 / span 5; }
.type:nth-child(2) { grid-column: 7 / span 5; margin-top: clamp(3rem, 9vw, 8rem); }
.type__media { aspect-ratio: 4 / 5; }
/* The clip fades in over its still photo only once it is really playing; until then (slow data, battery saver) the photo shows. */
.type__media video { opacity: 0; transition: opacity .8s var(--ease); }
.type__media video.is-playing, html:not(.motion) .type__media video { opacity: 1; }
.type__body { margin-top: 1.6rem; display: grid; gap: .7rem; max-width: 31rem; }
.type__body p { color: var(--ink-2); }
.type__body .type__origin { color: var(--mauve); font-weight: 500; }
.type__body .type__lengths { color: var(--ink); font-weight: 500; }

/* ---------- Dĺžky ---------- */
.length { padding-block: var(--section); background: rgba(242, 233, 231, .8); }
.length__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.length__figure { grid-column: 2 / span 4; aspect-ratio: 2 / 3; }
.length__veil {
  position: absolute;
  inset: 0;
  transform: translateY(calc(var(--y) * 1%));
  background: linear-gradient(to bottom, rgba(242, 233, 231, 0) 0, rgba(242, 233, 231, .88) 2.6rem, rgba(242, 233, 231, .96) 100%);
  transition: transform .9s var(--ease);
  pointer-events: none;
}
.length__marker {
  position: absolute;
  inset: 0;
  transform: translateY(calc(var(--y) * 1%));
  transition: transform .9s var(--ease);
  pointer-events: none;
}
.length__marker::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--rose); }
.length__marker b {
  position: absolute;
  top: .75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .35rem .9rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
}
.length__panel { grid-column: 7 / -1; }
.length__intro { margin-top: 1.2rem; color: var(--ink-2); font-size: clamp(1.08rem, 1.3vw, 1.2rem); }
.pills { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span {
  display: inline-flex;
  padding: .68rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
@media (hover: hover) { .pill:hover span { border-color: var(--ink); } }
.pill input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--mauve); outline-offset: 3px; }
.length__facts { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem var(--gap); max-width: 34rem; }
.length__facts dt { font-size: .95rem; color: var(--ink-2); }
.length__facts dd { margin-top: .15rem; font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 400; line-height: 1.25; }
.length__facts dd.is-off { color: var(--ink-2); }
.length__tip { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line-strong); max-width: 34rem; color: var(--ink-2); }

/* ---------- Cenník ---------- */
.pricing { padding-block: var(--section); }
.pricing__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.pricing__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + 2rem); }
.pricing__head p { margin-top: 1rem; color: var(--ink-2); }
.pricing__body { grid-column: 6 / -1; min-width: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.4rem; }
.tab {
  appearance: none;
  padding: .62rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
@media (hover: hover) { .tab:hover { border-color: var(--ink); } }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tabpanel[hidden] { display: none; }
.tabpanel:focus-visible { outline-offset: 8px; }
.tabpanel + .tabpanel { margin-top: 3rem; }           /* no-JS: panels simply stack */
.js .tabpanel + .tabpanel { margin-top: 0; }
.tabpanel__title { font-size: clamp(1.5rem, 2.3vw, 2.1rem); font-weight: 300; letter-spacing: -.01em; line-height: 1.2; }
.tabpanel__note { margin-top: .35rem; color: var(--ink-2); }
.price-list { margin-top: 1.4rem; }
.price-row { display: flex; align-items: baseline; gap: .9rem; padding: .62rem 0; }
.price-row .name { min-width: 0; }
.price-row .name small { margin-left: .5rem; font-size: .9rem; color: var(--ink-2); white-space: nowrap; }
.price-row .dots { flex: 1; min-width: 1.5rem; border-bottom: 1px dotted var(--line-strong); transform: translateY(-.3em); }
.price-row .price { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-group { padding: .62rem 0 .15rem; }
.price-group > .name { font-weight: 500; }
.price-group ul { padding-left: 1.2rem; }
.price-group .price-row { padding: .38rem 0; color: var(--ink-2); }
.price-group .price-row .price { color: var(--ink); }

/* ---------- Výrobný proces ---------- */
.process { position: relative; }
.process__inner { position: relative; min-height: min(100dvh, 860px); display: grid; align-items: end; color: var(--white); overflow: hidden; }
.process__media { position: absolute; inset: 0; }
.process__media img { position: absolute; inset: -7% 0; width: 100%; height: 114%; object-fit: cover; }
.process__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(30, 18, 20, .5) 0%, rgba(30, 18, 20, 0) 62%),
    linear-gradient(to top, rgba(30, 18, 20, .86) 0%, rgba(30, 18, 20, .5) 48%, rgba(30, 18, 20, .16) 100%);
}
.process__content { position: relative; padding-block: clamp(3rem, 8vw, 6rem); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.process__text { grid-column: 1 / span 6; display: grid; gap: 1.1rem; }
.process__text p { max-width: 36rem; color: rgba(255, 253, 252, .86); }
.process__text .h2 { margin-bottom: .6rem; }
.process__stat { grid-column: 9 / -1; }
.stat__num { font-size: clamp(3.4rem, 7.6vw, 6.6rem); font-weight: 300; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.stat__label { margin-top: .9rem; max-width: 19rem; color: rgba(255, 253, 252, .86); }

/* ---------- Marquee ---------- */
.marquee { padding-block: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
/* Phones: the strip is moved by a CSS animation, which runs off the main thread, and only while it is on screen */
@keyframes marquee-run { to { transform: translate3d(-50%, 0, 0); } }
.marquee__track.is-auto { animation: marquee-run 36s linear infinite; }
.marquee__track.is-auto.is-paused { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item { padding-inline: .32em; font-size: clamp(2.6rem, 7.4vw, 6.8rem); font-weight: 300; line-height: 1.15; letter-spacing: -.025em; white-space: nowrap; }
.marquee__item em { font-style: italic; }
.marquee__sep { width: clamp(1.4rem, 3.4vw, 3.2rem); height: auto; flex-shrink: 0; color: var(--rose); }

/* ---------- Kontakt ---------- */
.contact { padding-block: clamp(2rem, 5vw, 4rem) var(--section); }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(3rem, 6vw, 5rem); align-items: start; }
.contact__lead { grid-column: 1 / span 6; }
.contact__lead > p { margin-top: 1.2rem; color: var(--ink-2); font-size: clamp(1.08rem, 1.3vw, 1.2rem); }
.contact__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.info { grid-column: 8 / -1; display: grid; gap: 1.9rem; }
.info dt { font-size: .95rem; color: var(--ink-2); }
.info dd { margin-top: .3rem; font-size: 1.15rem; line-height: 1.6; }
.info__social { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
/* Google map of the salon; loaded only when the visitor gets near it */
.contact__map { grid-column: 1 / -1; aspect-ratio: 16 / 6; min-height: 300px; }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .contact__map { grid-column: 1; aspect-ratio: 4 / 3; min-height: 0; } }

.collab {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: clamp(1.6rem, 3.2vw, 2.6rem);
  border-radius: var(--r);
  background: var(--surface);
  scroll-margin-top: 1.5rem;
}
.collab p { margin-top: .4rem; color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer { padding-block: 2.6rem; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.footer__logo svg { width: 120px; height: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.footer__links a { text-decoration: none; font-size: .97rem; }
@media (hover: hover) { .footer__links a:hover { color: var(--mauve); } }
.footer__legal { width: 100%; font-size: .9rem; color: var(--ink-2); }

/* ---------- Mobile booking shortcut ---------- */
.fab { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav { z-index: 50; }
  .fab {
    display: inline-flex;
    position: fixed;
    left: 50%;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 40;
    translate: -50% 0;
    transform: translateY(180%);
    box-shadow: 0 16px 36px -14px rgba(42, 30, 32, .55);
    transition: transform .7s var(--ease), color .45s var(--ease), scale .2s var(--ease);
  }
  .fab.is-visible { transform: translateY(0); }
}

@media (max-width: 900px) {
  /* Hero: video on top, copy rising into a soft fade (no hard edge between video and page) */
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + .25rem); padding-bottom: 3.5rem; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { grid-column: 1; grid-row: 1; justify-content: center; }
  /* svh, not dvh: the frame must not change height (and push the page) each time the phone's browser bar hides or returns */
  .hero__video { width: 100%; max-height: 64vh; max-height: 64svh; border-radius: var(--r) var(--r) 0 0; }
  .hero__video::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px 0;
    height: 44%;
    background: linear-gradient(to top, var(--bg) 18%, rgba(250, 246, 245, 0));
    pointer-events: none;
  }
  .hero__tile { display: none; }
  .hero__copy { grid-column: 1; grid-row: 2; position: relative; z-index: 1; margin-top: -3.4rem; }
  .hero__title { margin-top: 1rem; }

  .about__row, .tapes__grid, .types__grid, .length__grid, .pricing__grid, .process__content, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .about__img, .about__text,
  .tapes__media, .tapes__body,
  .type:nth-child(1), .type:nth-child(2),
  .length__figure, .length__panel,
  .pricing__head, .pricing__body,
  .process__text, .process__stat,
  .contact__lead, .info, .collab { grid-column: 1; }

  .about__img { aspect-ratio: 4 / 5; }
  .about__text { margin-top: 2rem; }
  .tapes__media { position: static; }
  .tapes__media .frame { aspect-ratio: 4 / 5; max-height: none; }
  .tapes__body { margin-top: 2.5rem; }
  .type:nth-child(2) { margin-top: 3.5rem; }
  /* Length guide on phones: choices sit directly above the photo so both stay in view while tapping */
  .length__panel { display: contents; }
  .length__panel > .h2 { order: 1; }
  .length__intro { order: 2; }
  .pills { order: 3; }
  .length__figure { order: 4; width: min(100%, 21rem); margin: 1.8rem auto 0; }
  .length__facts { order: 5; }
  .length__tip { order: 6; }
  .pricing__head { position: static; }
  .pricing__body { margin-top: 2rem; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); padding-bottom: .4rem; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .process__inner { min-height: 0; }
  .process__content { padding-top: 46vh; row-gap: 2.5rem; }
  .info { gap: 1.6rem; }
}

@media (max-width: 600px) {
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .length__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1rem; }
  .price-row .name small { display: block; margin-left: 0; }
  .hero__cta .btn { flex: 1 1 auto; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* links from the home sections to their subpages */
.sec-more { margin-top: 2rem; }
.sec-more--top { margin: -0.6rem 0 1.6rem; }
.sec-more .link svg, .process__stat .sec-more .link svg { vertical-align: -0.15em; }
.process__stat .sec-more { margin-top: 1.2rem; }
.process__stat .sec-more .link { color: var(--white); background-image: linear-gradient(var(--white), var(--white)); }

/* map placeholder: the Google map loads only on request */
.mapbox { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .9rem; text-align: center; padding: 1.5rem; background: var(--surface) radial-gradient(circle at 30% 30%, rgba(217, 165, 163, .35), transparent 55%); }
.mapbox__addr { font-weight: 500; line-height: 1.4; }
.mapbox__note { font-size: .85rem; color: var(--ink-2); }
.contact__map iframe[hidden] { display: none; }

/* cookie choice bar */
.consent { position: fixed; z-index: 90; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(100% - 2rem, 640px); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.2rem; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r); box-shadow: 0 20px 50px -20px rgba(42, 30, 32, .4); }
.consent__text { flex: 1 1 280px; font-size: .95rem; color: var(--ink-2); }
.consent__btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer__cookies { border: 0; background: none; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 900px) { .consent { bottom: calc(5.4rem + env(safe-area-inset-bottom)); } }

/* legal text */
.legal { max-width: 42rem; display: grid; gap: .9rem; color: var(--ink-2); }
.legal .h3 { color: var(--ink); margin-top: 1.2rem; }
.legal__list { display: grid; gap: .5rem; padding-left: 1.2rem; list-style: disc; }
.legal__date { font-size: .9rem; margin-top: 1rem; }
.info__note { color: var(--ink-2); font-size: .92rem; }
