/* =========================================================
   RENTEX: základné štýly (mobile first)
   ========================================================= */

:root {
    --white: #FFFFFF;
    --ink: #0A0A0A;
    --muted: #6B6B70;
    --line: #E6E6E8;
    --black: #0B0B0C;
    --black-card: #161618;
    --red: #D71920;
    --red-hover: #B5121A;
    --surface: #F4F4F5;

    --font-head: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --container: 1200px;
    --gutter: 20px;
    --header-h: 72px;
    --header-h-small: 60px;
    --section-y: clamp(72px, 12vw, 140px);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --dur: 400ms;
}

@media (min-width: 768px) {
    :root { --gutter: 32px; --header-h: 84px; --header-h-small: 66px; }
}

/* ---------- Reset ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h-small);
}
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body { overflow-x: clip; }
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 {
    margin: 0;
    overflow-wrap: break-word;
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}
.skip-link {
    position: absolute;
    left: var(--gutter);
    top: -100px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.section { padding-block: var(--section-y); }
.section--light { background: var(--white); color: var(--ink); }
.section--dark { background: var(--black); color: var(--white); }
.section--surface { background: var(--surface); color: var(--ink); }
.section--light + .section--light { border-top: 1px solid var(--line); }

.section-title {
    font-size: clamp(2rem, 6vw, 4rem);
    text-transform: uppercase;
}
.section--dark .accent, .accent { color: var(--red); }

/* ---------- Tlačidlá ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-hover); }
.btn--outline { border-color: currentColor; background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.section--dark .btn--outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.85rem; }

/* ---------- Placeholder fotky ---------- */
.ph {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    background:
        radial-gradient(circle at 70% 30%, rgba(215, 25, 32, .12), transparent 60%),
        var(--black-card);
    border: 1px solid #222226;
    color: #4A4A50;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    background: var(--black);
    color: var(--white);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease);
}
.site-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
    height: var(--header-h);
    transition: height var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: #1F1F22; }
.site-header.is-scrolled .site-header__inner { height: var(--header-h-small); }

.logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo__text {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.04em;
}
.logo img { height: 26px; width: auto; }
.site-footer .logo img { height: 34px; }
@media (min-width: 768px) { .logo img { height: 30px; } }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: clamp(16px, 1.9vw, 28px); }
.main-nav a, .header-phone {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .8);
    white-space: nowrap;
    transition: color 200ms var(--ease);
}
.main-nav a:hover, .header-phone:hover { color: var(--white); }

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}
.lang { display: flex; gap: 4px; }
.lang a {
    padding: 4px 6px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: rgba(255, 255, 255, .55);
}
.lang a:hover { color: var(--white); }
.lang a[aria-current] { color: var(--white); box-shadow: inset 0 -2px 0 var(--red); }

.lang-menu, .site-header__actions > .header-phone { display: none; }

/* Rozbaľovací výber jazyka v hlavičke */
.lang-menu { position: relative; }
.lang-menu__btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
    background: transparent; color: var(--white); font: inherit; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em;
    cursor: pointer; transition: border-color 200ms var(--ease);
}
.lang-menu__btn:hover, .lang-menu__btn[aria-expanded="true"] { border-color: rgba(255, 255, 255, .5); }
.lang-menu__btn svg { transition: transform 200ms var(--ease); }
.lang-menu__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-menu__list {
    position: absolute; top: calc(100% + 10px); right: 0; z-index: 20;
    min-width: 170px; padding: 6px; border-radius: 14px;
    background: #161618; border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.lang-menu__list a {
    display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px;
    font-size: 0.88rem; text-decoration: none; color: rgba(255, 255, 255, .8); white-space: nowrap;
}
.lang-menu__list a:hover { background: rgba(255, 255, 255, .06); color: var(--white); }
.lang-menu__list a[aria-current] { color: var(--white); }
.lang-menu__list a[aria-current] .lang-menu__code { color: var(--red); }
.lang-menu__code { width: 22px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; color: rgba(255, 255, 255, .5); }
.header-cta { display: none; }

/* Hamburger */
.burger {
    position: relative;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}
.burger__line {
    position: absolute;
    left: 11px;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 300ms var(--ease), top 300ms var(--ease);
}
.burger__line:nth-of-type(2) { top: 17px; }
.burger__line:nth-of-type(3) { top: 25px; }
.burger[aria-expanded="true"] .burger__line:nth-of-type(2) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-of-type(3) { top: 21px; transform: rotate(-45deg); }

/* Mobilné menu cez celú obrazovku */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    padding-top: var(--header-h);
    background: var(--black);
    overflow-y: auto;
    opacity: 0;
    transition: opacity 300ms var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    min-height: 100%;
    padding-block: 32px 40px;
}
.mobile-menu__links li { border-bottom: 1px solid #1F1F22; }
.mobile-menu__links a {
    display: block;
    padding: 16px 0;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.6rem, 8vw, 2.4rem);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -0.01em;
}
.mobile-menu__links a:hover { color: var(--red); }
.mobile-menu__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.mobile-menu__bottom .btn { width: 100%; }
.lang--mobile a { font-size: 1rem; padding: 6px 10px 6px 0; margin-right: 6px; }

/* site-header nad obsahom: odsadenie prvej sekcie */
main > .section:first-child { padding-top: calc(var(--section-y) + var(--header-h)); }

@media (min-width: 560px) {
    .header-cta { display: inline-flex; }
}
@media (min-width: 1080px) {
    .main-nav { display: block; margin-inline: auto; }
    .site-header__actions { margin-left: 0; }
    .lang-menu { display: block; }
    .burger, .mobile-menu { display: none; }
}
@media (min-width: 1400px) {
    .site-header__actions > .header-phone { display: inline; }
}

/* ---------- Hero ---------- */
.eyebrow {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
main > .hero:first-child { padding-block: calc(var(--header-h) + 40px) 88px; }

.hero__grid {
    display: grid;
    gap: 48px;
    align-items: center;
}
@media (max-width: 480px) { h1, h2, h3 { hyphens: auto; } }
.hero__grid > *, .cfg > *, .about__grid > *, .range__grid > *, .inquiry__grid > *, .contact__grid > * { min-width: 0; }
.hero__content { position: relative; z-index: 2; }
.hero__title {
    margin-top: 18px;
    font-size: clamp(2.8rem, 11vw, 5.25rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
}
.hero__lead {
    margin-top: 24px;
    max-width: 30em;
    font-size: 1.075rem;
    color: var(--muted);
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}
.hero__proof {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
}
.hero__proof p { display: grid; line-height: 1.25; }
.hero__proof strong { font-family: var(--font-head); font-size: 1.05rem; }
.hero__proof span { font-size: 0.8rem; color: var(--muted); }

/* Prekrývajúce sa farebné bodky (farby priadze) */
.yarn-dots { display: inline-flex; }
.yarn-dots > span {
    width: 36px;
    height: 36px;
    margin-left: -10px;
    border-radius: 50%;
    background: var(--c);
    border: 3px solid var(--surface);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}
.yarn-dots > span:first-child { margin-left: 0; }
.yarn-dots--sm > span { width: 18px; height: 18px; margin-left: -4px; border-width: 2px; border-color: var(--white); }

/* Stredný vizuál */
.hero__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 420px;
}
.hero__watermark {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(7rem, 34vw, 14rem);
    line-height: 1;
    letter-spacing: -0.06em;
    color: rgba(10, 10, 10, .045);
    pointer-events: none;
    user-select: none;
}
.hero__visual::before {
    content: "";
    position: absolute;
    inset: 10% 5%;
    background: radial-gradient(closest-side, rgba(215, 25, 32, .16), transparent);
    filter: blur(20px);
}
.hero__parallax { position: relative; width: min(100%, 420px); will-change: transform; }
.hero__img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; }
img.hero__img { aspect-ratio: auto; filter: drop-shadow(0 30px 40px rgba(10, 10, 10, .18)); }
.hero__parallax:has(img.hero__img) { width: min(118%, 640px); }

.ph--light {
    background: radial-gradient(circle at 50% 45%, rgba(215, 25, 32, .08), transparent 65%), #E9E9EB;
    border: 0;
    border-radius: 24px;
    color: #A3A3A9;
}

/* Plávajúca kartička */
.hero-card {
    position: absolute;
    left: 0;
    bottom: 8%;
    z-index: 2;
    display: grid;
    gap: 2px;
    width: 196px;
    padding: 16px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 18px 40px -18px rgba(10, 10, 10, .35);
    text-decoration: none;
    transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.hero-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -18px rgba(10, 10, 10, .4); }
.hero-card strong { font-family: var(--font-head); font-size: 0.95rem; }
.hero-card__text { font-size: 0.75rem; color: var(--muted); }
.hero-card__row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.hero-card__go {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    transition: background-color 200ms var(--ease);
}
.hero-card:hover .hero-card__go { background: var(--red-hover); }
.hero-card__go svg { width: 16px; height: 16px; }

.hero__script {
    position: absolute;
    right: 0;
    top: 6%;
    z-index: 2;
    max-width: 7em;
    font-family: 'Caveat', cursive;
    font-weight: 600;
    font-size: clamp(1.5rem, 5vw, 2.1rem);
    line-height: 1.05;
    transform: rotate(-8deg);
}

/* Výhody vpravo */
.hero__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    position: relative;
    z-index: 2;
}
.hero__features li { display: flex; gap: 12px; align-items: flex-start; }
.hero__features li > span:last-child { min-width: 0; hyphens: auto; overflow-wrap: break-word; }
.hero__features strong { display: block; font-size: 0.9rem; line-height: 1.3; }
.hero__features small { display: block; margin-top: 2px; font-size: 0.78rem; color: var(--muted); line-height: 1.4; }
.hero__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    color: var(--red);
    box-shadow: 0 0 0 1px var(--line);
}

/* Šípka dole */
.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 24px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(10, 10, 10, .2);
    animation: nudge 2s var(--ease) infinite;
}
.hero__scroll:hover { color: var(--red); }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (min-width: 900px) {
    .hero__grid { grid-template-columns: 1fr 1fr; }
    .hero__visual { min-height: 560px; }
    .hero__features { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
    .hero-card { left: -24px; }
}
@media (min-width: 1200px) {
    .hero__grid { grid-template-columns: 1.05fr 1fr 210px; gap: 32px; }
    .hero__features { grid-column: auto; grid-template-columns: 1fr; gap: 28px; }
    .hero__visual { min-height: 600px; }
    .hero-card { left: -16px; }
}

/* =========================================================
   Spoločné prvky sekcií
   ========================================================= */
.section--dark { --text-muted: rgba(255, 255, 255, .66); --border: #26262A; }
.section--light, .section--surface { --text-muted: var(--muted); --border: var(--line); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .section-title { margin-top: 14px; }
.section-head .eyebrow + .section-title { margin-top: 14px; }
.section-lead {
    margin-top: 20px;
    max-width: 38em;
    font-size: 1.075rem;
    color: var(--text-muted);
}
.section-cta { margin-top: 48px; display: flex; justify-content: center; }

.btn--ghost { background: transparent; color: inherit; border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.btn--ghost:hover { color: var(--red); }
.btn:disabled { opacity: .6; cursor: wait; }

.link-btn {
    padding: 0;
    background: none;
    border: 0;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}
.link-btn:hover { color: var(--red-hover); }
.section--dark .link-btn { color: #FF4B52; }
.link-btn--muted { color: var(--text-muted); }
.link-plain { padding: 0; background: none; border: 0; cursor: pointer; text-align: left; }

/* =========================================================
   O nás + počítadlá
   ========================================================= */
.about { padding-bottom: 0; }
.about__grid { display: grid; gap: 56px; align-items: center; }
.about__text { display: grid; gap: 18px; }
.about__text .section-title { margin-bottom: 8px; }
.about__text p:not(.eyebrow) { color: var(--muted); max-width: 36em; }
.about__text .about__lead { font-size: 1.15rem; color: var(--ink); }
.about__media { position: relative; margin: 0 16px 16px 0; }
.about__media::before {
    content: "";
    position: absolute;
    inset: 16px -16px -16px 16px;
    border: 2px solid var(--red);
}
.about__media > * { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.stats { margin-top: var(--section-y); padding-block: clamp(48px, 7vw, 80px); }
.stats__list { display: grid; gap: 36px; }
.stats__item { display: grid; gap: 6px; }
.stats__num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2.8rem, 7vw, 4.75rem);
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
.stats__label { color: rgba(255, 255, 255, .66); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.12em; }

@media (min-width: 640px) {
    .stats__list { grid-template-columns: repeat(3, 1fr); }
    .stats__item + .stats__item { border-left: 1px solid #26262A; padding-left: 32px; }
}
@media (min-width: 900px) {
    .about__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* =========================================================
   Zákazková výroba: karty
   ========================================================= */
.custom__grid { display: grid; gap: 20px; }
.card {
    display: flex;
    flex-direction: column;
    background: var(--black-card);
    border-bottom: 2px solid #26262A;
    transition: border-color 300ms var(--ease);
}
.card:hover { border-bottom-color: var(--red); }
.card__media { overflow: hidden; aspect-ratio: 4 / 5; background: #F3F3F5; }
.card__media > * {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: auto;
    border: 0;
    transition: transform 600ms var(--ease);
}
.card:hover .card__media > * { transform: scale(1.04); }
.card__body { display: grid; gap: 10px; padding: 28px 24px 32px; }
.card__num { color: var(--red); font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; }
.card__title { font-size: clamp(1.4rem, 3vw, 1.75rem); text-transform: uppercase; }
.card__text { color: rgba(255, 255, 255, .66); }

@media (min-width: 720px) {
    .custom__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .card__body { padding: 28px 28px 34px; }
}
@media (min-width: 1100px) {
    .custom__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .card__body { padding: 24px 22px 30px; }
    .card__title { font-size: 1.3rem; }
    .card__text { font-size: 0.92rem; }
}
.card { border-radius: 20px; overflow: hidden; }

/* =========================================================
   Sortiment a materiál
   ========================================================= */
.range__layout { display: grid; gap: 40px; align-items: start; }
.range__photo { position: relative; margin: 0; }
.range__photo-img { overflow: hidden; border-radius: 24px; }
.range__photo-img > * {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 70%;
    border-radius: 0;
    transition: transform 1600ms var(--ease-out), clip-path 1300ms var(--ease-out);
}
.range__photo:hover .range__photo-img > * { transform: scale(1.04); }
.js .range__photo.reveal:not(.is-visible) .range__photo-img > * { transform: scale(1.18); clip-path: inset(100% 0 0 0); }
.range__badge {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    max-width: 380px;
    padding: 14px 18px 14px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -20px rgba(10, 10, 10, .35);
    transition: translate 900ms var(--ease-out) 600ms, opacity 900ms var(--ease-out) 600ms;
}
.js .range__photo.reveal:not(.is-visible) .range__badge { opacity: 0; translate: 0 20px; }
.range__badge-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--red);
    color: var(--white);
}
.range__badge strong { display: block; font-family: var(--font-head); font-size: 0.98rem; }
.range__badge small { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.4; }

.range__list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.range__list li {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    cursor: default;
}
.range__num {
    flex-shrink: 0;
    width: 2em;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--red);
    letter-spacing: 0.06em;
}
.range__name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.15rem, 2.1vw, 1.45rem);
    letter-spacing: -0.01em;
    transition: translate 400ms var(--ease-out), color 300ms var(--ease);
}
.range__list li:hover .range__name { translate: 8px 0; color: var(--red); }

@media (min-width: 960px) {
    .range__layout { grid-template-columns: 1.05fr 1fr; gap: 64px; }
    .range__photo { position: sticky; top: calc(var(--header-h-small) + 32px); }
    .range__photo-img > * { aspect-ratio: 4 / 5; }
    .range__badge { left: 24px; bottom: 24px; right: auto; }
    .range__list { grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 0; }
    .range__list li:nth-child(-n + 2) { border-top: 1px solid var(--line); }
}

.range__side { display: grid; gap: 28px; }
.range__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 24px 24px 28px;
    border-radius: 20px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    transition: background-color 300ms var(--ease), transform 500ms var(--ease-out);
}
.range__cta:hover { background: var(--red); transform: translateY(-4px); }
.range__cta strong { display: block; font-family: var(--font-head); font-size: 1.25rem; }
.range__cta small { display: block; margin-top: 4px; font-size: 0.9rem; color: rgba(255, 255, 255, .7); }
.range__cta-go { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--red); transition: background-color 300ms var(--ease), transform 400ms var(--ease-out); }
.range__cta:hover .range__cta-go { background: var(--black); transform: rotate(-45deg); }

/* Materiál */
.mat { margin-top: clamp(64px, 9vw, 120px); }
.mat__head { display: grid; gap: 16px; margin-bottom: 32px; }
.mat__title { font-size: clamp(1.8rem, 4vw, 2.8rem); text-transform: uppercase; }
.mat__text { max-width: 40em; color: var(--muted); font-size: 1.05rem; }
@media (min-width: 900px) {
    .mat__head { grid-template-columns: 1fr 1.4fr; align-items: end; gap: 48px; }
}

.materials { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.material {
    position: relative;
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 24px 20px 26px;
    border-radius: 20px;
    background: var(--surface);
    overflow: hidden;
    transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out), background-color 400ms var(--ease);
}
.material:hover { transform: translateY(-6px); background: var(--white); box-shadow: 0 30px 50px -30px rgba(10, 10, 10, .35), 0 0 0 1px var(--line); }
.material__swatch {
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .75), transparent 42%),
        repeating-linear-gradient(62deg, rgba(0, 0, 0, .07) 0 2px, transparent 2px 6px),
        repeating-linear-gradient(-28deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 7px),
        var(--c);
    box-shadow: inset -6px -8px 14px rgba(0, 0, 0, .12), 0 10px 20px -10px rgba(0, 0, 0, .3);
    transition: transform 900ms var(--ease-out);
}
.material:hover .material__swatch { transform: rotate(140deg) scale(1.06); }
.material h4 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; }
.material p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 900px) { .materials { grid-template-columns: repeat(4, 1fr); gap: 16px; } .material { padding: 28px 24px 30px; } }

.suppliers {
    display: grid;
    gap: 14px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.suppliers__label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.suppliers ul { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; padding: 0; list-style: none; }
.suppliers li { display: grid; line-height: 1.2; }
.suppliers strong { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.35rem); letter-spacing: 0.02em; color: #9A9AA0; transition: color 300ms var(--ease); }
.suppliers li:hover strong { color: var(--ink); }
.suppliers small { font-size: 0.75rem; color: var(--muted); }
@media (min-width: 900px) { .suppliers { grid-template-columns: auto 1fr; align-items: center; gap: 40px; } .suppliers ul { justify-content: space-between; } }

/* Stroje ANGE */
.machines {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: clamp(48px, 7vw, 80px);
    padding: 28px;
    border-radius: 24px;
    background: var(--black);
    color: var(--white);
    overflow: hidden;
}
.machines__icon { display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--red); }
.machines__icon svg { animation: spin 12s linear infinite; }
.machines p { position: relative; z-index: 1; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.05rem, 2.2vw, 1.5rem); line-height: 1.3; max-width: 34em; }
.machines__brand {
    position: absolute;
    right: -10px;
    bottom: -0.28em;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(5rem, 14vw, 10rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .14);
    pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 720px) { .machines { padding: 36px 40px; gap: 28px; } }

/* =========================================================
   Konfigurátor
   ========================================================= */
.cfg { display: grid; gap: 32px; align-items: start; }
.cfg__stage {
    position: sticky;
    top: var(--header-h-small);
    z-index: 5;
    margin-inline: calc(-1 * var(--gutter));
    padding: 12px var(--gutter);
    background: var(--black);
}
.cfg__preview {
    display: grid;
    place-items: center;
    height: 34vh;
    min-height: 220px;
    border-radius: 20px;
    background:
        radial-gradient(60% 50% at 50% 45%, rgba(215, 25, 32, .10), transparent 70%),
        radial-gradient(circle at 50% 40%, #FAFAFB, #E2E2E6);
    overflow: hidden;
}
.cfg__preview { position: relative; }
.cfg__svg { width: 100%; height: 100%; padding: 4%; transition: opacity 500ms var(--ease); }
.cfg__preview.is-ready .cfg__svg { visibility: hidden; position: absolute; inset: 0; pointer-events: none; }
.cfg__preview:not(.is-ready) .cfg__canvas { opacity: 0; }
.cfg__canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    cursor: grab;
    touch-action: pan-y;
}
.cfg__canvas.is-grabbing { cursor: grabbing; }
.cfg__hint { transition: opacity 400ms var(--ease); }
.cfg__preview.was-dragged .cfg__hint { opacity: 0; }
@keyframes fadeIn3d { from { opacity: 0; scale: .96; } to { opacity: 1; scale: 1; } }
.cfg__views {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 2;
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .4);
    translate: -50% 0;
}
.cfg__views button {
    padding: 7px 14px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--ink);
    font: 500 0.8rem var(--font-body);
    cursor: pointer;
    transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
.cfg__views button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.cfg__hint {
    position: absolute;
    top: 14px;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    translate: -50% 0;
    font-size: 0.75rem;
    color: #6B6B70;
    white-space: nowrap;
    pointer-events: none;
}
.cfg__note { margin-top: 10px; font-size: 0.78rem; color: rgba(255, 255, 255, .55); }
.cfg__credit { margin-top: 4px; font-size: 0.7rem; color: rgba(255, 255, 255, .38); }
.cfg__credit a { color: inherit; }

.cfg__panel { display: grid; gap: 4px; }
.cfg-step {
    margin: 0;
    padding: 24px 0;
    border: 0;
    border-top: 1px solid #26262A;
    min-width: 0;
}
.cfg-step legend {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin-bottom: 16px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    float: left;
    width: 100%;
}
.cfg-step legend + * { clear: both; }
.cfg-step__num { color: var(--red); font-size: 0.85rem; letter-spacing: 0.1em; }
.cfg-sub { margin-top: 16px; }
.cfg-sub--2 { display: grid; gap: 16px; }
.cfg-label { margin: 18px 0 10px; font-size: 0.82rem; color: rgba(255, 255, 255, .66); }
.cfg-hint { margin-top: 10px; font-size: 0.78rem; color: rgba(255, 255, 255, .5); }
.cfg-error { margin-top: 8px; font-size: 0.85rem; color: #FF6066; }

/* Segmentové prepínače */
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.segmented--4 { grid-template-columns: repeat(2, 1fr); }
.segmented--5 { grid-template-columns: repeat(5, 1fr); }
.segmented label { position: relative; }
.segmented input, .zone input, .swatch input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.segmented span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 8px 10px;
    border: 1px solid #2E2E33;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.25;
    cursor: pointer;
    transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.segmented span:hover { border-color: #55555C; }
.segmented input:checked + span { border-color: var(--red); background: rgba(215, 25, 32, .14); }
.segmented input:focus-visible + span, .zone input:focus-visible + .zone__dot, .swatch input:focus-visible + span {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}
@media (min-width: 560px) { .segmented--4 { grid-template-columns: repeat(4, 1fr); } }

/* Zóny ponožky */
.zones { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.zones.is-disabled { opacity: .45; pointer-events: none; }
.zone {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    border: 1px solid #2E2E33;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;
}
.zone:has(input:checked) { border-color: var(--red); background: rgba(215, 25, 32, .14); }
.zone__dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--c, #fff);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}

/* Paleta farieb */
/* Farebnica Rentexu (C003–C901): hustá mriežka s posúvaním */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(28px, 1fr)); gap: 7px; margin-top: 12px; max-height: 196px; overflow-y: auto; padding: 4px 6px 4px 4px; scrollbar-width: thin; }
.swatches--sm { max-height: 150px; }
.swatch[hidden] { display: none; }
.swatch-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; }
.swatch-filter__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch-filter .chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16);
    background: transparent; color: inherit; font: inherit; font-size: .78rem; cursor: pointer;
    transition: background 150ms var(--ease), border-color 150ms var(--ease);
}
.swatch-filter .chip[style]::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.swatch-filter .chip:hover { border-color: rgba(255, 255, 255, .4); }
.swatch-filter .chip.is-active { background: var(--white); color: var(--black); border-color: var(--white); }
.swatch-filter__code {
    width: 140px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .04); color: inherit; font: inherit; font-size: .8rem;
}
.swatch-filter__code:focus { outline: none; border-color: var(--red); }
.swatch-picked { margin: 8px 0 0; font-size: .8rem; opacity: .75; font-variant-numeric: tabular-nums; }
.calc__label { margin: 14px 0 4px; }
.swatch { position: relative; cursor: pointer; }
.swatch span:not(.visually-hidden) {
    display: block;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--c);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
    transition: transform 150ms var(--ease);
}
.swatch:hover span:not(.visually-hidden) { transform: scale(1.1); }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--black), 0 0 0 4px var(--white); }

/* Prepínač (switch) */
.toggle { display: inline-flex; align-items: center; gap: 12px; font-size: 0.9rem; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__ui {
    position: relative;
    flex-shrink: 0;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #3A3A40;
    transition: background-color 200ms var(--ease);
}
.toggle__ui::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--white);
    transition: transform 200ms var(--ease);
}
.toggle input:checked + .toggle__ui { background: var(--red); }
.toggle input:checked + .toggle__ui::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle__ui { outline: 2px solid var(--red); outline-offset: 2px; }
.toggle input:disabled + .toggle__ui { opacity: .6; }

/* Posuvníky */
.range-field { display: grid; gap: 8px; font-size: 0.85rem; color: rgba(255, 255, 255, .75); }
.range-field span { display: flex; justify-content: space-between; }
.range-field output { color: var(--white); font-weight: 500; }
input[type="range"] { width: 100%; accent-color: var(--red); }

/* Logo */
.logo-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.logo-upload .btn { cursor: pointer; }
.logo-upload .btn:focus-within { outline: 2px solid var(--red); outline-offset: 3px; }
.logo-upload__name { font-size: 0.85rem; color: rgba(255, 255, 255, .6); overflow-wrap: anywhere; }

/* Formulárové polia */
.field { display: grid; gap: 8px; font-size: 0.85rem; font-weight: 500; }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    font: 400 1rem/1.4 var(--font-body);
    transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(10, 10, 10, .08);
}
.field .is-invalid, .field input.is-invalid { border-color: var(--red); }
.field__error { font-style: normal; font-size: 0.8rem; font-weight: 400; color: var(--red); min-height: 0; }
.field__error:empty { display: none; }
.field--dark { margin-top: 18px; color: rgba(255, 255, 255, .75); }
.field--dark input {
    background: #0F0F11;
    border-color: #2E2E33;
    color: var(--white);
}
.field--dark input:focus { border-color: var(--white); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
.field--dark input.is-invalid { border-color: #FF4B52; }

/* Kalkulačka */
.calc {
    margin-top: 12px;
    padding: 24px;
    border-radius: 20px;
    background: var(--black-card);
}
.calc__title { font-size: 1.35rem; text-transform: uppercase; }
.calc__qty { display: grid; gap: 4px; }
.calc__qty .field--dark { margin-top: 12px; }
.calc__sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.calc__sizes .field--dark { margin-top: 0; }
.calc__sum { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 0.85rem; color: rgba(255, 255, 255, .66); }
.calc__sum .is-error { color: #FF6066; }
.calc__result { display: grid; gap: 10px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid #2E2E33; }
.calc__result div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc__result dt { color: rgba(255, 255, 255, .66); font-size: 0.9rem; }
.calc__result dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.calc__big dd { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
}
.calc__note { margin-top: 14px; font-size: 0.78rem; color: rgba(255, 255, 255, .5); }
.cfg__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }

@media (min-width: 1000px) {
    .cfg { grid-template-columns: 1.1fr 1fr; gap: 56px; }
    .cfg__stage { top: calc(var(--header-h-small) + 24px); margin: 0; padding: 0; background: none; }
    .cfg__preview { height: auto; aspect-ratio: 4 / 5; max-height: calc(100vh - var(--header-h-small) - 110px); width: 100%; }
    .cfg__note { font-size: 0.85rem; }
}

/* =========================================================
   Ako prebieha spolupráca: časová os
   ========================================================= */
.timeline { position: relative; margin-top: clamp(40px, 6vw, 72px); --p: 0; }
.timeline__list { display: grid; gap: 40px; list-style: none; }
.timeline__track {
    position: absolute;
    left: 27px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: var(--line);
}
.timeline__fill {
    position: absolute;
    inset: 0;
    background: var(--red);
    transform-origin: top;
    transform: scaleY(var(--p));
    transition: transform 120ms linear;
}
.timeline__step { position: relative; padding-left: 80px; }
.timeline__num {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: inset 0 0 0 2px var(--line);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--red);
    transition: background-color 300ms var(--ease), color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.timeline__step.is-active .timeline__num { background: var(--red); color: var(--white); box-shadow: none; }
.timeline__step h3 { font-size: 1.3rem; text-transform: uppercase; padding-top: 14px; }
.timeline__step p { margin-top: 10px; color: var(--muted); }

@media (min-width: 900px) {
    .timeline__list { grid-template-columns: repeat(3, 1fr); gap: 32px; }
    /* čiara od prvého po posledný (3.) krok: končí v strede posledného krúžku */
    .timeline__track { left: 42px; right: calc((100% - 64px) / 3 - 42px); top: 41px; bottom: auto; width: auto; height: 2px; }
    .timeline__fill { transform-origin: left; transform: scaleX(var(--p)); }
    .timeline__step { padding-left: 0; }
    .timeline__num { position: relative; width: 84px; height: 84px; font-size: 1.6rem; }
    .timeline__step h3 { padding-top: 28px; }
}

/* =========================================================
   Video
   ========================================================= */
.video {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(90vh, 760px);
    overflow: hidden;
    text-align: center;
}
.video__bg { position: absolute; inset: 0; }
.video__poster, .video__loop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: auto;
    border: 0;
}
.video__loop { opacity: 0; transition: opacity 800ms var(--ease); }
.video__loop.is-playing { opacity: 1; }
.video__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 60% at 50% 50%, rgba(11, 11, 12, .45), rgba(11, 11, 12, .85)),
        linear-gradient(rgba(11, 11, 12, .3), rgba(11, 11, 12, .3));
}
.video__content { position: relative; display: grid; justify-items: center; }
.video__content .section-title { font-size: clamp(2.6rem, 9vw, 6rem); }
.video__content .section-lead { margin-inline: auto; color: rgba(255, 255, 255, .8); }
.video__play {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    margin-top: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(215, 25, 32, .5);
    animation: pulse 2.4s var(--ease) infinite;
    transition: background-color 200ms var(--ease), transform 200ms var(--ease);
}
.video__play svg { margin-left: 4px; }
.video__play:hover { background: var(--red-hover); transform: scale(1.05); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(215, 25, 32, .5); } 70%, 100% { box-shadow: 0 0 0 22px rgba(215, 25, 32, 0); } }

/* =========================================================
   Modálne okná a lightbox
   ========================================================= */
.modal {
    width: min(1100px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--white);
    overflow: visible;
}
.modal::backdrop { background: rgba(5, 5, 6, .9); }
.modal__close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}
.modal__close:hover { background: var(--red); }
.modal--video video { width: 100%; max-height: calc(100vh - 100px); background: #000; }
.modal[open] { animation: fadeIn 250ms var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }

.lightbox__figure { margin: 0; }
.lightbox__media > * { width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox__media .ph { aspect-ratio: 1; max-width: 640px; margin-inline: auto; }
.lightbox__media .gallery__sample { aspect-ratio: 4 / 5; width: min(100%, 520px); max-height: calc(100vh - 140px); margin-inline: auto; border-radius: 22px; background: radial-gradient(circle at 50% 40%, #FAFAFB, #E4E4E8); }
.lightbox figcaption { margin-top: 14px; text-align: center; color: rgba(255, 255, 255, .8); }
.lightbox__nav {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-top: -40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    cursor: pointer;
}
.lightbox__nav:hover { background: var(--red); }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }

/* =========================================================
   Portfólio: automatický slider
   ========================================================= */
.portfolio { overflow: hidden; }
.portfolio__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.portfolio__head .section-head { margin-bottom: 0; }
.carousel__nav { display: flex; gap: 10px; }
.carousel__arrow {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    transition: background-color 250ms var(--ease), border-color 250ms var(--ease), color 250ms var(--ease), transform 250ms var(--ease-out);
}
.carousel__arrow:hover { background: var(--red); border-color: var(--red); color: var(--white); transform: scale(1.06); }

.carousel { --edge: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.carousel__track {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0 var(--edge) 8px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--edge);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel__track.is-dragging * { pointer-events: none; }
.carousel__item { flex: 0 0 min(78vw, 400px); scroll-snap-align: start; }
@media (min-width: 900px) { .carousel__item { flex-basis: min(32vw, 420px); } .carousel__track { gap: 28px; } }

.gallery__btn {
    display: grid;
    gap: 16px;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    color: inherit;
    cursor: inherit;
}
.gallery__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 22px;
    background:
        radial-gradient(60% 50% at 50% 45%, rgba(215, 25, 32, .08), transparent 70%),
        radial-gradient(circle at 50% 40%, #FAFAFB, #E4E4E8);
}
.gallery__media > img, .gallery__sample {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1300ms var(--ease-out);
}
.gallery__sample { display: grid; place-items: center; padding: 12% 10%; }
.gallery__sample svg { width: 100%; height: 100%; }
.gallery__btn:hover .gallery__media > img, .gallery__btn:hover .gallery__sample { transform: scale(1.06); }
.js .gallery__item.reveal:not(.is-visible) .gallery__media > :first-child { transform: scale(1.2); }
.gallery__zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .4);
    opacity: 0;
    transform: scale(.7);
    transition: opacity 300ms var(--ease), transform 400ms var(--ease-out), background-color 200ms var(--ease);
}
.gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.gallery__btn:hover .gallery__zoom { background: var(--red); color: var(--white); }
.gallery__caption { display: flex; gap: 12px; align-items: baseline; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.gallery__num { flex-shrink: 0; font-size: 0.78rem; color: var(--red); letter-spacing: 0.06em; }

.carousel__progress { position: relative; height: 2px; margin-top: 32px; background: var(--line); overflow: hidden; border-radius: 2px; }
.carousel__progress span {
    position: absolute;
    inset: 0;
    background: var(--red);
    transform-origin: left;
    transform: scaleX(var(--p, .2));
    transition: transform 400ms var(--ease-out);
}

/* =========================================================
   Referencie
   ========================================================= */
.slider { margin-top: clamp(32px, 5vw, 56px); }
.slider__viewport { overflow: hidden; }
.slider__track { display: flex; transition: transform 500ms var(--ease); }
.quote { flex: 0 0 100%; margin: 0; padding-right: 8px; }
.quote__mark {
    display: block;
    height: 0.62em;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(6rem, 14vw, 10rem);
    line-height: 1;
    color: var(--red);
}
.quote blockquote { margin: 0; max-width: 900px; }
.quote blockquote p {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.35rem, 3.4vw, 2.3rem);
    line-height: 1.25;
    letter-spacing: -0.015em;
}
.quote figcaption { display: grid; gap: 2px; margin-top: 28px; }
.quote figcaption span { color: rgba(255, 255, 255, .6); font-size: 0.9rem; }
.slider__controls { display: flex; align-items: center; gap: 20px; margin-top: 40px; }
.slider__arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid #2E2E33;
    border-radius: 50%;
    background: none;
    color: var(--white);
    cursor: pointer;
    transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.slider__arrow:hover { border-color: var(--red); background: var(--red); }
.slider__dots { display: flex; gap: 8px; }
.slider__dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #3A3A40;
    cursor: pointer;
    transition: width 300ms var(--ease), background-color 300ms var(--ease);
}
.slider__dots button[aria-current] { width: 28px; background: var(--red); }

/* =========================================================
   Dopyt
   ========================================================= */
.inquiry__grid { display: grid; gap: 48px; align-items: start; }
.inquiry__how { margin-top: 40px; font-size: 1.1rem; text-transform: uppercase; }
.inquiry__steps { display: grid; gap: 16px; margin: 18px 0 0; padding: 0; list-style: none; }
.inquiry__steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.inquiry__steps li span {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.85rem;
}
.inquiry__call { margin-top: 32px; color: var(--muted); }
.inquiry__call a { display: block; margin-top: 4px; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--ink); text-decoration: none; }
.inquiry__call a:hover { color: var(--red); }

.inquiry__box {
    padding: clamp(20px, 4vw, 40px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 30px 60px -40px rgba(10, 10, 10, .25);
}
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
.form__error { padding: 12px 16px; border-radius: 12px; background: rgba(215, 25, 32, .08); color: var(--red-hover); font-size: 0.9rem; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form__required { font-size: 0.8rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.check input { flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); }
.check a { color: var(--ink); }
.dropzone {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1.5px dashed #C9C9CE;
    border-radius: 12px;
    font-weight: 400;
    color: var(--muted);
    cursor: pointer;
    transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.dropzone svg { flex-shrink: 0; color: var(--red); }
.dropzone:hover, .dropzone.is-over, .dropzone:focus-within { border-color: var(--red); background: rgba(215, 25, 32, .04); }
.filelist { display: grid; gap: 4px; font-size: 0.82rem; font-weight: 400; color: var(--muted); }
.filelist li::before { content: "📎 "; }

.summary {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 16px;
    background: var(--surface);
}
.summary__img img { width: 100%; border-radius: 10px; }
.summary__title { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; }
.summary__list { display: grid; gap: 4px; margin: 8px 0 0; font-size: 0.82rem; }
.summary__list div { display: grid; grid-template-columns: auto 1fr; gap: 6px; }
.summary__list dt { color: var(--muted); }
.summary__list dt::after { content: ":"; }
.summary__list dd { margin: 0; overflow-wrap: anywhere; }
.summary__price { margin-top: 10px; font-size: 0.88rem; }
.summary__price span { color: var(--muted); }
.summary__actions { display: flex; gap: 16px; margin-top: 10px; }

.success { display: grid; justify-items: start; gap: 14px; padding: 12px 0; }
.success:focus { outline: none; }
.success__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
}
.success h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.success p { color: var(--muted); }

@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .inquiry__grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }

/* =========================================================
   Kontakt
   ========================================================= */
.contact__grid { display: grid; gap: 48px; }
.contact__map { min-height: 360px; background: var(--black-card); }
.contact__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    filter: grayscale(1) invert(.92) contrast(.9) brightness(.95);
}
.contact__info { display: grid; gap: 28px; align-content: start; }
.contact__info .section-title { margin-top: -14px; }
.contact__block { display: grid; gap: 8px; padding-top: 24px; border-top: 1px solid #26262A; }
.contact__block h3 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); font-family: var(--font-body); font-weight: 500; }
.contact__block p { color: rgba(255, 255, 255, .8); }
.contact__block a { text-decoration: none; }
.contact__block a:hover { color: var(--red); }
.contact__block .link-btn { justify-self: start; text-decoration: underline; }
.contact__big { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.35; color: var(--white) !important; overflow-wrap: anywhere; }
.contact__ids { display: grid; gap: 4px; margin: 0; font-size: 0.92rem; }
.contact__ids div { display: flex; gap: 8px; }
.contact__ids dt { color: rgba(255, 255, 255, .55); min-width: 7em; }
.contact__ids dd { margin: 0; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1.15fr 1fr; gap: 72px; } }

/* =========================================================
   Pätička
   ========================================================= */
.site-footer { padding-block: 64px 32px; border-top: 1px solid #1F1F22; }
.site-footer__top { display: grid; gap: 40px; }
.site-footer__brand { display: grid; gap: 14px; justify-items: start; }
.site-footer__tagline { color: rgba(255, 255, 255, .66); }
.social {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #2E2E33;
    border-radius: 50%;
    transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}
.social:hover { background: var(--red); border-color: var(--red); }
.site-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.site-footer__nav ul { display: grid; gap: 10px; align-content: start; }
.site-footer__nav a, .site-footer__nav button {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
    font-size: 0.9rem;
}
.site-footer__nav a:hover, .site-footer__nav button:hover { color: var(--white); }
.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #1F1F22;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, .45);
}
.site-footer__credit { margin-top: 12px; font-size: 0.72rem; color: rgba(255, 255, 255, .32); }
.site-footer__credit a { color: inherit; }
.site-footer__credit a:hover { color: rgba(255, 255, 255, .6); }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .72); text-decoration: none; }
.to-top:hover { color: var(--red); }
@media (min-width: 900px) {
    .site-footer__top { grid-template-columns: 1fr 1.2fr; }
}

/* =========================================================
   Cookie lišta
   ========================================================= */
.cookie {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 150;
    max-width: 560px;
    padding: 20px;
    border-radius: 18px;
    background: var(--black-card);
    color: var(--white);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .5);
    border: 1px solid #26262A;
}
.cookie__inner { display: grid; gap: 16px; }
.cookie__text { font-size: 0.88rem; color: rgba(255, 255, 255, .8); }
.cookie__text a { color: var(--white); }
.cookie__prefs { display: grid; gap: 12px; }
.toggle--block { align-items: flex-start; }
.toggle--block strong { display: block; font-size: 0.9rem; }
.toggle--block small { display: block; font-size: 0.8rem; color: rgba(255, 255, 255, .6); }
.cookie__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.cookie .btn--outline { color: var(--white); }
.cookie .btn--outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.cookie .link-btn { color: rgba(255, 255, 255, .8); }
@media (min-width: 600px) { .cookie { left: 24px; bottom: 24px; right: auto; } }

/* =========================================================
   Podstránky (obchodné podmienky, GDPR)
   ========================================================= */
.page-main { padding-block: calc(var(--header-h) + 64px) var(--section-y); }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); text-transform: uppercase; margin-bottom: 32px; }
.prose p { margin-top: 16px; color: #3A3A3F; }
.prose .back { display: inline-flex; margin-top: 40px; }

/* =========================================================
   Animácie
   ========================================================= */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }

/* Reveal pri scrolle. Používa vlastnosť translate, aby transform ostal voľný pre hover. */
.js .reveal {
    opacity: 0;
    translate: 0 36px;
    transition: opacity 800ms var(--ease-out), translate 1000ms var(--ease-out);
    transition-delay: var(--delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; translate: none; }

/* Nadpisy sekcií sa odkryjú zdola (animuje sa vnútorný obal, aby ho IntersectionObserver videl) */
.js .section-title.reveal { opacity: 1; translate: none; }
.js .section-title.reveal .st-inner {
    display: block;
    translate: 0 40%;
    clip-path: inset(0 -5% 100% -5%);
    transition: clip-path 1100ms var(--ease-out), translate 1100ms var(--ease-out);
    transition-delay: var(--delay, 0ms);
}
.js .section-title.reveal.is-visible .st-inner { translate: none; clip-path: inset(-20% -5% -25% -5%); }

/* Červená linka pred malým nadpisom */
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    margin-right: 12px;
    vertical-align: middle;
    background: currentColor;
    transform-origin: left;
    transition: transform 900ms var(--ease-out) calc(var(--delay, 0ms) + 250ms);
}
.js .eyebrow.reveal:not(.is-visible)::before { transform: scaleX(0); }

/* Hero: nadpis po slovách */
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero__title .word > span { display: inline-block; }
.js .hero__title .word > span {
    translate: 0 110%;
    animation: wordUp 1100ms var(--ease-out) forwards;
    animation-delay: calc(var(--i) * 90ms + 120ms);
}
@keyframes wordUp { to { translate: 0 0; } }

/* Hero: fotka, kartička, 1990 a ručný text */
.js .hero__float { animation: heroIn 1400ms var(--ease-out) 250ms both, float 7s ease-in-out 1700ms infinite; }
.js .hero-card { animation: cardIn 1000ms var(--ease-out) 900ms both, float 6s ease-in-out 2s infinite; }
.js .hero__watermark { animation: fadeScale 1800ms var(--ease-out) 100ms both; }
.js .hero__script { animation: write 1600ms var(--ease-out) 1300ms both; }
.js .hero__visual::before { animation: glow 6s ease-in-out infinite alternate; }
@keyframes heroIn { from { opacity: 0; transform: translateY(60px) scale(.94) rotate(-2deg); } to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; translate: -30px 20px; } to { opacity: 1; translate: 0 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes fadeScale { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }
@keyframes write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -5% 0 0); } }
@keyframes glow { from { opacity: .7; scale: .92; } to { opacity: 1; scale: 1.08; } }
.hero__watermark { transition: translate 100ms linear; }

/* Bežiaci pás textu */
.marquee { overflow: hidden; padding-block: 22px; border-block: 1px solid #1F1F22; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item {
    padding-inline: 28px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.5rem, 4vw, 2.6rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.marquee__item:nth-child(4n + 3) { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); }
.marquee__sep { color: var(--red); font-size: clamp(1rem, 2.5vw, 1.6rem); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Postupný progres scrollu v headeri */
.scroll-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 3;
    height: 2px;
    background: var(--red);
    transform-origin: left;
    transform: scaleX(var(--scroll, 0));
}

/* Fotky sa odkryjú s priblížením */
.about__media > *, .range__media > * {
    transition: clip-path 1300ms var(--ease-out) calc(var(--delay, 0ms) + 100ms), transform 1800ms var(--ease-out) calc(var(--delay, 0ms) + 100ms);
}
.js .about__media.reveal:not(.is-visible) > * { clip-path: inset(100% 0 0 0); transform: scale(1.18); }
.about__media > * { overflow: hidden; }
.about__media::before { transition: inset 1000ms var(--ease-out) 700ms, opacity 600ms ease 700ms; }
.js .about__media.reveal:not(.is-visible)::before { inset: 0; opacity: 0; }

.card__media > * { transition: transform 1300ms var(--ease-out); }
.js .card.reveal:not(.is-visible) .card__media > * { transform: scale(1.2); }

/* Karty sa pri hoveri nadvihnú */
.card { transition: border-color 300ms var(--ease), transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8); }

/* Tlačidlá: šípka a lesk */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn svg { transition: transform 300ms var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--red::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 800ms var(--ease-out);
}
.btn--red:hover::after { transform: translateX(120%); }

/* Časová os: pomalé vypĺňanie a postupné rozsvecovanie krokov */
.timeline__fill { transition: transform 900ms var(--ease-out); }
.timeline__step h3 { color: #B9B9BE; transition: color 700ms var(--ease-out); }
.timeline__step p { transition: color 700ms var(--ease-out); }
.timeline__step:not(.is-active) p { color: #A3A3A8; }
.timeline__step.is-active h3 { color: var(--ink); }
.timeline__num::after {
    content: "";
    position: absolute;
    inset: -2px;
    border: 2px solid var(--red);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}
.timeline__step.is-active .timeline__num { animation: pop 700ms var(--ease-out); }
.timeline__step.is-active .timeline__num::after { animation: ring 1400ms var(--ease-out); }
@keyframes pop { 0% { scale: .8; } 55% { scale: 1.12; } 100% { scale: 1; } }
@keyframes ring { 0% { opacity: .9; scale: 1; } 100% { opacity: 0; scale: 1.7; } }

/* Video: pomalý zoom */
.video__poster, .video__loop { animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { scale: 1; } to { scale: 1.1; } }

/* Referencie: neaktívny slajd stmavne */
.quote { transition: opacity 700ms var(--ease-out); }
.quote[aria-hidden="true"] { opacity: .15; }
.quote__mark { transition: transform 900ms var(--ease-out); }
.quote[aria-hidden="true"] .quote__mark { transform: scale(.6) rotate(-10deg); }

/* Počítadlá: červená linka pod číslom */
.stats__item::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 10px;
    background: var(--red);
    transform-origin: left;
    transition: transform 1000ms var(--ease-out) calc(var(--delay, 0ms) + 400ms);
}
.js .stats__item.reveal:not(.is-visible)::after { transform: scaleX(0); }

/* Konfigurátor: ponožka sa pri zmene jemne „cvakne“ */
.cfg__svg.is-bump { animation: bump 500ms var(--ease-out); }
@keyframes bump { 0% { scale: .96; opacity: .75; } 100% { scale: 1; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
        animation-duration: 0.01ms !important;
        animation-delay: 0ms !important;
        animation-iteration-count: 1 !important;
    }
    .js .reveal, .js .section-title.reveal .st-inner { opacity: 1; translate: none; clip-path: none; }
    .hero__scroll, .video__play, .marquee__track, .video__poster, .video__loop,
    .js .hero__visual::before, .js .hero__float, .js .hero-card, .machines__icon svg { animation: none !important; }
}

/* ---------- Konfigurátor: vzory a vrstvy (logá, obrázky, texty) ---------- */
.segmented--wrap { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.cfg-sub .toggle { display: flex; margin-top: 12px; }
.cfg-sub .logo-upload { margin-bottom: 4px; }
.layer-add { display: flex; flex-wrap: wrap; gap: 10px; }
.layer-add .btn[disabled], .layer-add input[disabled] + svg { opacity: .4; pointer-events: none; }
.layers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.layers:empty { display: none; }
.layer {
    display: inline-flex; align-items: center; max-width: 100%;
    border: 1px solid #2E2E33; border-radius: 999px; overflow: hidden;
}
.layer.is-active { border-color: var(--red); background: rgba(215, 25, 32, .14); }
.layer__pick, .layer__del { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
.layer__pick { padding: 7px 4px 7px 14px; font-size: .82rem; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.layer__del { padding: 7px 12px 7px 8px; font-size: 1rem; line-height: 1; opacity: .6; }
.layer__del:hover { opacity: 1; color: var(--red); }
.layer-edit { margin-top: 16px; padding: 16px; border: 1px solid #2E2E33; border-radius: 16px; background: rgba(255, 255, 255, .02); }
.layer-edit .field--dark:first-child { margin-top: 0; }
.field--dark select {
    width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 12px; border: 1px solid #2E2E33;
    background: #0F0F11; color: var(--white); font: inherit; font-size: .9rem;
}
.field--dark select option { color: #0A0A0A; }
.side-buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 8px; }
@media (min-width: 560px) { .side-buttons { grid-template-columns: repeat(4, 1fr); } }
.side-buttons button {
    padding: 9px 8px; border-radius: 10px; border: 1px solid #2E2E33; background: transparent;
    color: inherit; font: inherit; font-size: .8rem; cursor: pointer;
}
.side-buttons button:hover { border-color: #55555C; }
.side-buttons button[aria-pressed="true"] { border-color: var(--red); background: rgba(215, 25, 32, .14); }
@media (min-width: 560px) { .layer-edit .cfg-sub--2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Editor návrhu (2D) a prepínač 3D / 2D ---------- */
.cfg__flat { position: absolute; inset: 0; z-index: 3; background: radial-gradient(circle at 50% 40%, #FAFAFB, #E6E6EA); }
.cfg__flat canvas { display: block; width: 100%; height: calc(100% - 96px); touch-action: none; }
.cfg__flat-hint { margin: 0; padding: 0 16px; text-align: center; font-size: .72rem; color: #6B6B70; }
.cfg__preview.is-2d .cfg__views, .cfg__preview.is-2d .cfg__hint { display: none; }
.cfg__mode {
    position: absolute; top: 12px; right: 12px; z-index: 4; display: flex; gap: 3px; padding: 3px;
    border-radius: 999px; background: rgba(255, 255, 255, .85);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .4);
}
.cfg__mode button {
    padding: 6px 12px; border: 0; border-radius: 999px; background: none; color: var(--ink);
    font: 600 .75rem var(--font-body); cursor: pointer;
}
.cfg__mode button[aria-pressed="true"] { background: var(--red); color: var(--white); }
.cfg__preview.is-2d .cfg__hint { opacity: 0; }
.cfg__flat.is-dragging canvas { cursor: grabbing !important; }

/* v editore je prepínač dole, aby nezakrýval popisy strán */
.cfg__preview.is-2d .cfg__mode { top: auto; bottom: 10px; right: 50%; translate: 50% 0; }

/* veľkosti: 1. rad tri, 2. rad (alternatívne číslovanie) dve */
.calc__sizes--3 { grid-template-columns: repeat(3, 1fr); }
.calc__sizes--2 { grid-template-columns: repeat(2, 1fr); }
.calc__alt { margin: 14px 0 8px; }

/* =========================================================
   Cieľové SEO podstránky (landing.php)
   ========================================================= */
.lp-hero { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px)); }
.lp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.lp-crumbs a { color: inherit; }
.lp-crumbs a:hover { color: var(--red); }
.lp-hero__title { max-width: 22ch; margin-top: 20px; font-size: clamp(2rem, 6vw, 4.4rem); line-height: 1.02; text-transform: uppercase; overflow-wrap: break-word; text-wrap: balance; }
.lp-hero__lead { max-width: 640px; margin-top: 24px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: #3A3A3F; }
.lp-hero__img { display: none; width: 100%; max-width: 420px; height: auto; justify-self: end; border-radius: 24px; }
@media (min-width: 900px) { .lp-hero__img { display: block; } }
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.lp-intro { display: grid; gap: 48px; }
.lp-intro__text { display: grid; gap: 16px; max-width: 680px; font-size: 1.05rem; color: #3A3A3F; }
.lp-uses { padding-left: 16px; border-left: 3px solid var(--red); color: var(--ink); }
.lp-benefits { display: grid; gap: 28px; padding: 0; list-style: none; }
.lp-benefits li { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.lp-benefits__num { color: var(--red); font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; }
.lp-benefits h2 { font-size: 1.25rem; text-transform: uppercase; }
.lp-benefits p { color: var(--muted); }

.lp-split { display: grid; gap: 56px; }
.lp-split .section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 28px; }
.lp-specs { display: grid; margin: 0; }
.lp-specs div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid #26262A; }
.lp-specs dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.lp-specs dd { margin: 0; }
.lp-steps { display: grid; gap: 24px; padding: 0; list-style: none; counter-reset: lp; }
.lp-steps li { display: grid; gap: 6px; padding-left: 52px; position: relative; counter-increment: lp; }
.lp-steps li::before { content: "0" counter(lp); position: absolute; left: 0; top: 2px; color: var(--red); font-family: var(--font-head); font-weight: 800; }
.lp-steps h3 { font-size: 1.1rem; text-transform: uppercase; }
.lp-steps p { color: rgba(255, 255, 255, .66); }

.lp-work { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; margin-top: 36px; }
.lp-work img { width: 100%; height: auto; border-radius: 20px; background: #F3F3F5; }

.lp-faq > * { max-width: 860px; }
.lp-faq .section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 24px; }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; transition: transform 200ms var(--ease); }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { padding-bottom: 20px; color: #3A3A3F; }

.lp-cta p { max-width: 620px; margin-top: 16px; color: rgba(255, 255, 255, .72); }
.lp-cta .section-title { font-size: clamp(2rem, 5vw, 3.2rem); }
.lp-more { margin-top: 56px; padding-top: 28px; border-top: 1px solid #26262A; }
.lp-more p { margin: 0 0 12px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.lp-more ul { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.lp-more a { display: inline-block; padding: 10px 16px; border: 1px solid #36363B; border-radius: 999px; color: var(--white); text-decoration: none; font-size: 0.9rem; }
.lp-more a:hover { border-color: var(--red); color: var(--red); }

/* odkazy na riešenia v pätičke a na kartách */
.site-footer__solutions { margin-top: 40px; }
.site-footer__solutions p { margin: 0 0 12px; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.site-footer__solutions ul { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; list-style: none; }
.site-footer__solutions a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: 0.9rem; }
.site-footer__solutions a:hover { color: var(--white); }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: #FF4B52; font-weight: 500; text-decoration: none; }
.card__more:hover { text-decoration: underline; }

@media (min-width: 900px) {
    .lp-hero__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
    .lp-intro { grid-template-columns: 1.1fr 1fr; align-items: start; }
    .lp-benefits { grid-template-columns: 1fr 1fr; }
    .lp-split { grid-template-columns: 1fr 1fr; gap: 80px; }
}
