/* ==========================================================
   vysivanitextilu.cz · v2 „Zelený rám"
   Brand: černá, bílá, zelená #0dad15, oranžová jako doplněk
   ========================================================== */

:root {
  --bg: #070807;
  --bg-2: #0d0f0d;
  --bg-3: #141714;
  --white: #f4f6f2;
  --white-2: #dfe4dc;
  --muted: rgba(244, 246, 242, 0.62);
  --muted-2: rgba(244, 246, 242, 0.38);
  --line: rgba(244, 246, 242, 0.12);
  --line-strong: rgba(244, 246, 242, 0.28);
  --green: #0dad15;
  --green-2: #23d232;
  --green-deep: #067a0e;
  --green-ink: #052b07;
  --orange: #ff8740;
  --on-green: #070807;
  --paper: #f4f6f2;
  --paper-ink: #070807;
  --dot: rgba(244, 246, 242, 0.11);
  --nav-bg: rgba(7, 8, 7, 0.78);
  --grain-o: 0.05;
  --display: "Unbounded", "Arial Black", Impact, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --radius: 6px;
  --nav-h: 80px;
  --gutter: clamp(16px, 4vw, 56px);
}

html[data-theme="light"] {
  --bg: #f4f6f1;
  --bg-2: #ffffff;
  --bg-3: #e6ebe3;
  --white: #0b0d0b;
  --white-2: #2b302b;
  --muted: rgba(11, 13, 11, 0.64);
  --muted-2: rgba(11, 13, 11, 0.42);
  --line: rgba(11, 13, 11, 0.1);
  --line-strong: rgba(11, 13, 11, 0.24);
  --green-2: #0a9a12;
  --dot: rgba(11, 13, 11, 0.16);
  --nav-bg: rgba(244, 246, 241, 0.82);
  --grain-o: 0.03;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.no-anim { scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--white); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.locked { overflow: hidden; }
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor summary { cursor: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
address { font-style: normal; }
::selection { background: var(--green); color: var(--bg); }
:focus-visible { outline: 2px solid var(--green-2); outline-offset: 4px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border: 2px solid var(--bg); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

.wrap { width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: clamp(80px, 12vw, 170px); position: relative; }
main { overflow-x: clip; }

/* Aida (děrované plátno) */
.aida { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--dot) 1px, transparent 1.2px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 100%); }
.aida--soft { opacity: 0.6; mask-image: radial-gradient(ellipse 60% 80% at 80% 50%, #000 20%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 50%, #000 20%, transparent 100%); }

/* Skip, progress, grain */
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--green); color: var(--on-green); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 16px; }
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px rgba(35,210,50,0.6); }
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: var(--grain-o); mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0,0);} 25% { transform: translate(-3%, 2%);} 50% { transform: translate(2%, -3%);} 75% { transform: translate(-1%, -1%);} 100% { transform: translate(0,0);} }

/* Intro */
.intro { position: fixed; inset: 0; z-index: 400; background: var(--bg); display: grid; place-items: center; transition: transform 0.9s var(--ease-io), visibility 0s 0.9s; }
.intro.done { transform: translateY(-101%); visibility: hidden; }
.intro__stitch { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 200px; transform: translateY(-50%); }
.intro__stitch path { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 12 9; stroke-dashoffset: 2600; animation: introStitch 1.1s var(--ease) 0.1s forwards; }
@keyframes introStitch { to { stroke-dashoffset: 0; } }
.intro__logo { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 4vw, 42px); letter-spacing: -0.01em; text-transform: uppercase; background: var(--bg); padding: 0 20px; opacity: 0; animation: introLogo 0.6s var(--ease) 0.7s forwards; }
.intro__logo .g { color: var(--green); }
@keyframes introLogo { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
html.no-anim .intro { display: none; }

/* Custom cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; display: none; }
body.has-cursor .cursor { display: block; }
.cursor__dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--green-2); transition: transform 0.3s var(--ease), background 0.3s; box-shadow: 0 0 14px rgba(35,210,50,0.7); }
.cursor__needle { position: absolute; left: -60px; top: -8px; width: 64px; height: 16px; color: var(--white); transform-origin: 62px 8px; opacity: 0.9; transition: opacity 0.3s; }
.cursor__label { position: absolute; left: 14px; top: -10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; background: var(--green); color: var(--on-green); padding: 5px 9px; border-radius: 4px; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.3s var(--ease); }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-label .cursor__needle { opacity: 0; }
.cursor.is-link .cursor__dot { transform: scale(2.4); background: rgba(35,210,50,0.35); box-shadow: none; }
.cursor.is-hidden { opacity: 0; }

/* Typography */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.eyebrow .pin { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(13,173,21,0.22); }
.eyebrow--dark { color: rgba(5,43,7,0.7); }
.eyebrow--dark .pin { background: var(--green-ink); box-shadow: 0 0 0 4px rgba(5,43,7,0.15); }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -0.02em; max-width: 16ch; text-wrap: balance; }
.section__head { max-width: 900px; margin-bottom: clamp(44px, 6vw, 80px); }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; }
.section__lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 46ch; margin: 0; }

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.16em 0.06em 0.16em; margin: -0.16em -0.06em -0.16em; }
[data-split] .w > i { display: inline-block; font-style: normal; transform: translateY(110%) rotate(3deg); transform-origin: left bottom; transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 40ms); }
[data-split].in .w > i { transform: none; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-weight: 700; padding: 15px 24px; border-radius: 999px; overflow: hidden; isolation: isolate; transition: transform 0.4s var(--ease), color 0.35s var(--ease), border-color 0.35s; will-change: transform; border: 1.5px solid transparent; }
.btn::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; transform: translateY(102%); transition: transform 0.5s var(--ease); z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn svg { width: 20px; height: 20px; transition: transform 0.4s var(--ease); flex: 0 0 auto; }
.btn:hover svg { transform: translateX(4px); }
.btn--green { background: var(--green); color: var(--on-green); }
.btn--green::before { background: var(--white); }
.btn--black { background: #070807; color: #f4f6f2; }
.btn--black::before { background: #f4f6f2; }
.btn--black:hover { color: #070807; }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { color: var(--bg); border-color: var(--white); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--lg { padding: 18px 30px; font-size: 16.5px; }
.btn--full { width: 100%; }
.btn.is-loading .btn__label { opacity: 0.5; }

/* Logo */
.logo { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.logo .g { color: var(--green); }
.logo .cz { color: var(--white); }
.logo--footer { font-size: 17px; }

/* Přepínač verze */
.theme-switch { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--muted); transition: color 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.theme-switch svg { width: 18px; height: 18px; grid-area: 1 / 1; transition: opacity 0.3s, transform 0.5s var(--ease); }
.theme-switch:hover { color: var(--white); border-color: var(--white); transform: rotate(20deg); }
html[data-theme="dark"] .theme-switch__moon { opacity: 0; transform: scale(0.6); }
html[data-theme="light"] .theme-switch__sun { opacity: 0; transform: scale(0.6); }
.menu__theme { color: var(--green-2); font-weight: 600; margin-top: 8px; }
.footer__copy a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer__copy a:hover { color: var(--green-2); }

/* Světlá verze: doladění kontrastů a stínů */
html[data-theme="light"] .hero__visual::before { background: radial-gradient(circle, rgba(13,173,21,0.18), rgba(13,173,21,0.05) 45%, transparent 68%); }
html[data-theme="light"] .hoop__fabric { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15), 0 30px 70px rgba(11,13,11,0.22); }
html[data-theme="light"] .hoop__ring--outer { box-shadow: 0 0 0 1px rgba(255,255,255,0.6), inset 0 0 0 1px rgba(0,0,0,0.15), 0 20px 50px rgba(13,173,21,0.22); }
html[data-theme="light"] .hoop__ring--outer::after { border-color: rgba(255,255,255,0.75); }
html[data-theme="light"] .hoop__ring--text text { fill: rgba(11,13,11,0.55); }
html[data-theme="light"] .hero__title .satin { filter: drop-shadow(0 0 18px rgba(13,173,21,0.25)); }
html[data-theme="light"] .hero__tag { box-shadow: 0 16px 40px rgba(11,13,11,0.16); }
html[data-theme="light"] .label { box-shadow: 0 10px 30px rgba(11,13,11,0.1), inset 0 5px 0 var(--green); background: #ffffff; }
html[data-theme="light"] .label:hover { box-shadow: 0 30px 60px rgba(11,13,11,0.18), 0 0 0 2px var(--green); }
html[data-theme="light"] .services { background: var(--bg-3); }
html[data-theme="light"] .gitem { background: var(--bg-3); }
html[data-theme="light"] .step { background: var(--bg); }
html[data-theme="light"] .step.is-on { box-shadow: 0 0 0 1px var(--green), 0 24px 50px rgba(11,13,11,0.12); }
html[data-theme="light"] .ticket { background: #ffffff; box-shadow: 0 30px 70px rgba(11,13,11,0.16); }
html[data-theme="light"] .factor { background: #ffffff; }
html[data-theme="light"] .form { background: #ffffff; box-shadow: 0 30px 70px rgba(11,13,11,0.08); }
html[data-theme="light"] .field input, html[data-theme="light"] .field textarea { background: var(--bg); }
html[data-theme="light"] .form__ok { background: #ffffff; }
html[data-theme="light"] .why__hoop img { box-shadow: 0 30px 60px rgba(5,43,7,0.3); }
html[data-theme="light"] .progress span { box-shadow: none; }
html[data-theme="light"] .cursor__dot { box-shadow: 0 0 10px rgba(13,173,21,0.5); }
html[data-theme="light"] .steps__needle { filter: drop-shadow(0 0 6px rgba(13,173,21,0.45)); }
html[data-theme="light"] .sticky-cta__tel { background: rgba(11,13,11,0.9); border-color: transparent; }
html[data-theme="light"] .intro__stitch path { stroke: var(--green); }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: #cfd6cb; border-color: var(--bg); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 110; height: var(--nav-h); border-bottom: 1px solid transparent; transition: background 0.5s var(--ease), border-color 0.5s, transform 0.5s var(--ease); }
.nav.scrolled { background: var(--nav-bg); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav.hidden { transform: translateY(-100%); }
.nav__in { width: min(1440px, 100% - var(--gutter) * 2); margin-inline: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; gap: 32px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.nav__links a { position: relative; padding: 6px 0; transition: color 0.3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav__links a:hover, .nav__links a.active { color: var(--white); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 22px; flex: 0 0 auto; }
.nav__cta .btn { white-space: nowrap; }
.nav__links { flex: 0 0 auto; }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--muted); transition: color 0.3s; }
.nav__tel svg { width: 16px; height: 16px; color: var(--green); }
.nav__tel:hover { color: var(--white); }
.burger { display: none; width: 48px; height: 48px; position: relative; z-index: 130; border-radius: 50%; border: 1px solid var(--line-strong); }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--white); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 105; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 24px) var(--gutter) 40px; clip-path: circle(0 at calc(100% - 42px) 40px); transition: clip-path 0.8s var(--ease-io); visibility: hidden; }
.menu.open { clip-path: circle(150% at calc(100% - 42px) 40px); visibility: visible; }
.menu__links { position: relative; display: flex; flex-direction: column; gap: 10px; }
.menu__links a { font-family: var(--display); font-size: clamp(30px, 8.5vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 16px; opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.menu__links a small { font-family: var(--mono); font-size: 12px; color: var(--green); font-weight: 500; }
.menu.open .menu__links a { opacity: 1; transform: none; }
.menu.open .menu__links a:nth-child(1) { transition-delay: .25s } .menu.open .menu__links a:nth-child(2) { transition-delay: .3s } .menu.open .menu__links a:nth-child(3) { transition-delay: .35s } .menu.open .menu__links a:nth-child(4) { transition-delay: .4s } .menu.open .menu__links a:nth-child(5) { transition-delay: .45s } .menu.open .menu__links a:nth-child(6) { transition-delay: .5s }
.menu__foot { position: relative; display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 14px; color: var(--muted); }

/* ===================== HERO ===================== */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 30px) 0 32px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__in { position: relative; z-index: 2; width: min(1440px, 100% - var(--gutter) * 2); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(30px, 4vw, 70px); align-items: center; flex: 1; }
.hero__copy { pointer-events: none; }
.hero__copy a, .hero__copy .btn { pointer-events: auto; }
.hero__title { font-family: var(--display); font-weight: 900; font-size: clamp(52px, 8.2vw, 128px); line-height: 0.98; letter-spacing: -0.035em; }
.hero__title .line { display: block; overflow: hidden; padding: 0.08em 0.06em 0.16em; margin: -0.08em -0.06em -0.16em; }
.hero__title .word { display: inline-block; transform: translateY(115%) rotate(2deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); transition-delay: calc(0.15s + var(--i, 0) * 90ms); }
.hero__title.in .word { transform: none; }
.hero__title .satin { color: var(--green); background: repeating-linear-gradient(115deg, var(--green-2) 0 3px, var(--green) 3px 7px, var(--green-deep) 7px 8px); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% 200%; animation: satin 6s linear infinite; text-shadow: none; filter: drop-shadow(0 0 22px rgba(13,173,21,0.35)); }
@keyframes satin { to { background-position: 200% 0; } }
.hero__title .one { position: relative; display: inline-block; color: var(--bg); background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.18); padding: 0 0.16em; border-radius: 0.12em; line-height: 1; transform-origin: left bottom; }
.hero__lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); max-width: 50ch; margin-top: 30px; }
.hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero__hint { margin-top: 26px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.hero__hint-touch { display: none; }
@media (hover: none) { .hero__hint-desk { display: none; } .hero__hint-touch { display: inline; } }

/* Hoops */
.hero__visual { position: relative; aspect-ratio: 1; max-width: 620px; width: 100%; justify-self: end; perspective: 1400px; }
.hero__visual::before { content: ""; position: absolute; inset: -10%; border-radius: 50%; background: radial-gradient(circle, rgba(13,173,21,0.22), rgba(13,173,21,0.06) 45%, transparent 68%); filter: blur(10px); pointer-events: none; }
.hoop { position: absolute; aspect-ratio: 1; border-radius: 50%; transform-style: preserve-3d; transform: translate3d(var(--px, 0), var(--py, 0), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.7s var(--ease); opacity: 0; animation: hoopIn 1.4s var(--ease) forwards; }
@keyframes hoopIn { from { opacity: 0; transform: translate3d(0, 50px, 0) scale(0.9); } to { opacity: 1; transform: translate3d(var(--px, 0), var(--py, 0), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); } }
.hoop--main { width: 78%; left: 8%; top: 4%; animation-delay: 0.35s; z-index: 2; }
.hoop--small { width: 38%; left: -2%; bottom: 0; animation-delay: 0.6s; z-index: 3; }
.hoop--tiny { width: 28%; right: 0; bottom: 8%; animation-delay: 0.8s; z-index: 1; }
.hoop__fabric { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; background: var(--bg-3); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.4), 0 40px 90px rgba(0,0,0,0.6); }
.hoop__fabric img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.hoop:hover .hoop__fabric img { transform: scale(1); }
.hoop__ring--outer { position: absolute; inset: 0; border-radius: 50%; border: 5px solid var(--green); box-shadow: 0 0 0 1px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(0,0,0,0.5), 0 20px 60px rgba(13,173,21,0.18); z-index: 3; }
.hoop__ring--outer::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 2px dashed rgba(244,246,242,0.55); }
.hoop__screw { position: absolute; top: 6%; right: -3%; width: 14%; height: 8%; background: var(--green); border-radius: 3px; transform: rotate(45deg); box-shadow: 0 6px 16px rgba(0,0,0,0.5); }
.hoop__screw::before { content: ""; position: absolute; right: 10%; top: 25%; width: 30%; height: 50%; background: var(--bg); border-radius: 2px; }
.hoop__ring--text { position: absolute; inset: -14%; z-index: 4; animation: spin 40s linear infinite; pointer-events: none; }
.hoop__ring--text svg { width: 100%; height: 100%; }
.hoop__ring--text text { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; fill: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__tag { position: absolute; z-index: 5; background: var(--paper); color: var(--paper-ink); border: 1px solid rgba(7,8,7,0.08); padding: 10px 14px; border-radius: 8px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.hero__tag span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(7,8,7,0.6); }
.hero__tag strong { font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.hero__tag::before { content: ""; position: absolute; left: 12px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--bg); }
.hero__tag--a { right: 2%; top: 14%; }
.hero__tag--b { left: 34%; bottom: 10%; }

.hero__foot { position: relative; z-index: 2; width: min(1440px, 100% - var(--gutter) * 2); margin: 40px auto 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-top: 24px; border-top: 1px dashed var(--line-strong); }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero__scroll-needle { width: 34px; height: 2px; background: var(--green); position: relative; overflow: visible; }
.hero__scroll-needle::after { content: ""; position: absolute; right: -6px; top: -3px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--green); animation: needleMove 1.6s var(--ease-io) infinite; }
@keyframes needleMove { 0%,100% { transform: translateX(0);} 50% { transform: translateX(6px);} }
.hero__stats { display: flex; gap: clamp(20px, 3vw, 54px); }
.hero__stats li { display: flex; flex-direction: column; gap: 2px; }
.hero__stats strong { font-family: var(--display); font-size: clamp(18px, 1.7vw, 26px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.hero__stats span { font-size: 12.5px; color: var(--muted); }

/* ===================== MARQUEE ===================== */
.marquee { overflow: clip; }
.marquee__row { overflow: hidden; padding: 14px 0; }
.marquee__row--green { background: var(--green); color: var(--on-green); transform: rotate(-1.2deg) scale(1.02); margin-top: -8px; }
.marquee__row--outline { border-block: 1px dashed var(--line-strong); }
.marquee__track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee__track--rev { animation-direction: reverse; animation-duration: 70s; }
.marquee__row:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--display); font-size: clamp(18px, 2vw, 26px); font-weight: 800; letter-spacing: -0.01em; padding: 0 26px; position: relative; white-space: nowrap; }
.marquee__row--outline span { color: transparent; -webkit-text-stroke: 1px var(--white-2); }
.marquee__track span::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 2px solid currentColor; }
.marquee__row--outline span::after { border-color: var(--green); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===================== SLUŽBY · etikety ===================== */
.labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.label { position: relative; background: var(--paper); color: var(--paper-ink); border: 1px solid rgba(7,8,7,0.06); padding: 26px 24px 26px; display: flex; flex-direction: column; gap: 12px; min-height: 400px; border-radius: var(--radius); transform: rotate(var(--rot, 0deg)); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 5px 0 var(--green); }
.label:nth-child(1) { --rot: -1.2deg; } .label:nth-child(2) { --rot: 0.8deg; } .label:nth-child(3) { --rot: -0.6deg; } .label:nth-child(4) { --rot: 1.1deg; }
.label::before { content: ""; position: absolute; inset: 9px; border: 1.5px dashed rgba(7,8,7,0.35); border-radius: 3px; pointer-events: none; transition: border-color 0.4s; }
.label::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%; background: repeating-linear-gradient(90deg, transparent 0 6px, rgba(7,8,7,0.035) 6px 7px); pointer-events: none; border-radius: var(--radius); }
.label:hover { transform: rotate(0deg) translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 2px var(--green); }
.label:hover::before { border-color: var(--green); animation: dashRun 1s linear infinite; }
@keyframes dashRun { to { stroke-dashoffset: -20px; } }
.label__care { display: flex; gap: 8px; margin-bottom: 4px; }
.label__care svg { width: 22px; height: 22px; color: rgba(7,8,7,0.55); }
.label__num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--green-deep); position: absolute; right: 24px; top: 26px; }
.label h3 { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-top: 8px; position: relative; }
.label p { color: rgba(7,8,7,0.72); font-size: 15px; flex: 1; position: relative; }
.label__link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; width: fit-content; }
.label__link::after { content: "→"; transition: transform 0.4s var(--ease); }
.label__link:hover { color: var(--green-deep); }
.label__link:hover::after { transform: translateX(5px); }

/* ===================== PROČ MY · zelený blok ===================== */
.why { background: var(--green); color: var(--green-ink); overflow: hidden; }
.why .h2 { color: #070807; }
.why__kinetic { position: absolute; left: 0; top: 30px; white-space: nowrap; font-family: var(--display); font-weight: 900; font-size: clamp(90px, 16vw, 240px); line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(5,43,7,0.28); pointer-events: none; }
.why__kinetic span { display: inline-block; will-change: transform; }
.why__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; padding-top: clamp(40px, 8vw, 120px); }
.why__sticky { position: sticky; top: calc(var(--nav-h) + 30px); }
.why__text { margin-top: 26px; max-width: 46ch; font-size: 17.5px; color: rgba(5,43,7,0.85); }
.why__sticky .btn { margin-top: 32px; }
.why__hoop { position: relative; width: min(300px, 60%); aspect-ratio: 1; margin-top: 48px; border-radius: 50%; overflow: visible; }
.why__hoop img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 30px 60px rgba(5,43,7,0.35); }
.why__hoop-ring { position: absolute; inset: -6%; border-radius: 50%; border: 5px solid #070807; pointer-events: none; }
.why__hoop-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 2px dashed rgba(244,246,242,0.7); }
.why__hoop-ring::after { content: ""; position: absolute; top: 6%; right: -3%; width: 14%; height: 8%; background: #070807; border-radius: 3px; transform: rotate(45deg); }
.why__hoop figcaption { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; background: #070807; color: #f4f6f2; padding: 6px 10px; border-radius: 4px; }
.why__list { display: grid; }
.why__item { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 30px 0; border-top: 1.5px dashed rgba(5,43,7,0.35); align-items: start; }
.why__item:last-child { border-bottom: 1.5px dashed rgba(5,43,7,0.35); }
.why__big { font-family: var(--display); font-weight: 900; font-size: 48px; line-height: 1; letter-spacing: -0.04em; color: #070807; }
.why__item h3 { font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: #070807; margin-bottom: 8px; }
.why__item p { color: rgba(5,43,7,0.85); font-size: 15.5px; }

/* ===================== GALERIE ===================== */
.gallery { position: relative; background: var(--bg); overflow: clip; }
.gallery__sticky { position: relative; }
.gallery__head { padding: clamp(80px, 10vw, 140px) 0 36px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.gallery__meta { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.gallery__hint { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.gallery__hint-desk { display: none; }
.gallery__thread { display: none; width: 220px; height: 2px; background: var(--line); position: relative; }
.gallery__thread span { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--green); box-shadow: 0 0 10px rgba(35,210,50,0.6); }
.gallery__track { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto; padding-bottom: clamp(80px, 10vw, 140px); }
.gitem { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.gitem::after { content: ""; position: absolute; inset: 8px; border: 1.5px dashed transparent; border-radius: 3px; pointer-events: none; transition: border-color 0.4s; }
.gitem:hover::after { border-color: var(--green-2); }
.gitem button, .gitem a { display: block; width: 100%; height: 100%; }
.gitem img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; transition: transform 1.2s var(--ease), filter 0.6s; filter: saturate(0.92); }
.gitem:hover img { transform: scale(1.06); filter: saturate(1.05); }
.gitem figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 1px; padding: 10px 12px; color: #f4f6f2; background: rgba(7,8,7,0.78); backdrop-filter: blur(8px); border-radius: 4px; pointer-events: none; transform: translateY(8px); opacity: 0; transition: opacity 0.4s, transform 0.5s var(--ease); }
.gitem figcaption b { font-family: var(--display); font-size: 13px; font-weight: 700; }
.gitem figcaption span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #23d232; }
.gitem:hover figcaption { opacity: 1; transform: none; }
.gitem--cta a { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; background: var(--green); color: var(--on-green); aspect-ratio: 4/5; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.1; letter-spacing: -0.02em; transition: background 0.4s; }
.gitem--cta a:hover { background: var(--green-2); }
.gitem--cta em { font-family: var(--mono); font-style: normal; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.gitem--cta em::after { content: " →"; }

.gallery.is-horizontal .gallery__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.gallery.is-horizontal .gallery__head { padding: calc(var(--nav-h) + 16px) 0 26px; width: min(1320px, 100% - var(--gutter) * 2); }
.gallery.is-horizontal .gallery__hint-desk { display: inline; }
.gallery.is-horizontal .gallery__hint-touch { display: none; }
.gallery.is-horizontal .gallery__thread { display: block; }
.gallery.is-horizontal .gallery__track { display: flex; gap: 16px; width: max-content; padding: 0 var(--gutter); margin: 0; align-items: flex-start; will-change: transform; height: min(52vh, 500px); }
.gallery.is-horizontal .gitem { height: 100%; flex: 0 0 auto; width: auto; }
.gallery.is-horizontal .gitem button, .gallery.is-horizontal .gitem a { height: 100%; width: auto; }
.gallery.is-horizontal .gitem img { height: 100%; width: auto; aspect-ratio: auto; }
.gallery.is-horizontal .gitem--tall img { aspect-ratio: 3/4; }
.gallery.is-horizontal .gitem--wide img { aspect-ratio: 5/4; }
.gallery.is-horizontal .gitem:not(.gitem--tall):not(.gitem--wide):not(.gitem--cta) img { aspect-ratio: 1; }
.gallery.is-horizontal .gitem--cta a { aspect-ratio: 3/4; height: 100%; width: auto; }

/* ===================== POSTUP · jehla po stehu ===================== */
.steps { background: var(--bg-2); overflow: hidden; }
.steps__stage { position: relative; }
.steps__wave { position: relative; height: 160px; margin-bottom: 10px; }
.steps__path { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.steps__path path { fill: none; stroke-linecap: round; stroke-width: 2.5; }
.steps__path-bg { stroke: var(--line-strong); stroke-dasharray: 6 8; }
.steps__path-fg { stroke: var(--green); }
.steps__knot { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--line-strong); transition: background 0.4s, border-color 0.4s, box-shadow 0.4s; }
.steps__knot.is-on { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 6px rgba(13,173,21,0.2); }
.steps__needle { position: absolute; left: 0; top: 0; width: 64px; height: 16px; color: var(--white); transform: translate(-40px, 72px); z-index: 2; pointer-events: none; filter: drop-shadow(0 0 8px rgba(35,210,50,0.7)); }
.steps__needle svg { width: 100%; height: 100%; }
.steps__list { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); }
.step { position: relative; padding: 30px 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); transition: transform 0.6s var(--ease), border-color 0.5s, box-shadow 0.5s; }
.step.is-on { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 30px 60px rgba(0,0,0,0.5); transform: translateY(-6px); }
.step__num { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--green-2); margin-bottom: 18px; padding: 6px 10px; border: 1px dashed var(--line-strong); border-radius: 999px; transition: background 0.4s, color 0.4s; }
.step.is-on .step__num { background: var(--green); color: var(--on-green); border-color: var(--green); }
.step h3 { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ===================== CENA · zakázkový lístek ===================== */
.price__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.price__text > p { color: var(--muted); margin-top: 26px; max-width: 56ch; }
.factors { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.factor { background: var(--bg-2); border: 1px solid var(--line); padding: 22px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; transition: border-color 0.4s, transform 0.5s var(--ease); }
.factor:hover { border-color: var(--green); transform: translateY(-4px); }
.factor svg { width: 30px; height: 30px; color: var(--green-2); }
.factor strong { font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.factor span { color: var(--muted); font-size: 14.5px; }
.partner { margin-top: 18px; display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border: 1.5px dashed var(--green); border-radius: var(--radius); background: rgba(13,173,21,0.06); }
.partner .badge { flex: 0 0 auto; white-space: nowrap; margin-top: 2px; }
.partner p { color: var(--muted); font-size: 15px; }
.partner strong { color: var(--white); }
.badge { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; background: var(--green); color: var(--on-green); padding: 5px 9px; border-radius: 4px; font-weight: 700; }
.ticket { position: sticky; top: calc(var(--nav-h) + 24px); background: var(--paper); color: var(--paper-ink); border: 1px solid rgba(7,8,7,0.06); border-radius: 10px; padding: 28px 30px 0; box-shadow: 0 40px 80px rgba(0,0,0,0.5); transform: rotate(1deg); }
.ticket::before { content: ""; position: absolute; inset: 8px 8px auto 8px; height: 1.5px; border-top: 1.5px dashed rgba(7,8,7,0.3); }
.ticket__head { display: flex; justify-content: space-between; margin-bottom: 20px; }
.ticket__mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(7,8,7,0.6); }
.ticket__title { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 22px; }
.ticket__list { display: grid; gap: 10px; padding-bottom: 26px; }
.ticket__list li { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 15.5px; }
.ticket__list li::before { content: ""; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%23070807' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: 16px; background-position: center; background-repeat: no-repeat; }
.ticket__tear { position: relative; height: 24px; margin: 0 -30px; background: radial-gradient(circle at 0 50%, var(--bg) 11px, transparent 12px), radial-gradient(circle at 100% 50%, var(--bg) 11px, transparent 12px); background-size: 100% 100%; }
.ticket__tear::after { content: ""; position: absolute; left: 24px; right: 24px; top: 50%; border-top: 2px dashed rgba(7,8,7,0.3); }
.ticket__foot { padding: 4px 0 28px; }
.ticket__foot > p { margin-top: 14px; font-size: 14px; color: rgba(7,8,7,0.65); text-align: center; }
.ticket__foot > p a { font-weight: 700; color: var(--bg); text-decoration: underline; text-underline-offset: 3px; }
.stamp { position: absolute; right: -14px; top: -22px; width: 118px; height: 118px; border-radius: 50%; border: 3px solid var(--orange); color: var(--orange); display: grid; place-items: center; text-align: center; font-family: var(--display); font-size: 13px; font-weight: 800; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.02em; transform: rotate(-14deg) scale(1.8); opacity: 0; transition: transform 0.5s cubic-bezier(0.2, 1.6, 0.4, 1) 0.5s, opacity 0.3s 0.5s; mix-blend-mode: multiply; }
.stamp::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed var(--orange); }
.ticket.in .stamp { transform: rotate(-14deg) scale(1); opacity: 0.9; }

/* ===================== FAQ ===================== */
.faq { background: var(--bg-2); }
.faq__in { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + 24px); }
.faq__head > p { color: var(--muted); margin-top: 22px; }
.faq__head a { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--green); }
.faq__item { border-top: 1px dashed var(--line-strong); }
.faq__item:last-child { border-bottom: 1px dashed var(--line-strong); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--display); font-size: clamp(16px, 1.5vw, 21px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; transition: color 0.3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--green-2); }
.faq__plus { position: relative; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-strong); transition: transform 0.5s var(--ease), background 0.3s, border-color 0.3s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--green); border-color: var(--green); color: var(--on-green); }
.faq__body { overflow: hidden; }
.faq__body p { color: var(--muted); padding: 0 60px 26px 0; max-width: 62ch; }

/* ===================== KALKULACE ===================== */
.quote { overflow: hidden; }
.quote__in { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.quote__text > p { color: var(--muted); margin-top: 24px; max-width: 48ch; }
.quote__contact { margin-top: 36px; display: grid; }
.quote__contact a { display: flex; flex-direction: column; font-family: var(--display); font-size: clamp(20px, 1.9vw, 27px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; padding: 20px 0; border-top: 1px dashed var(--line-strong); transition: color 0.3s; word-break: break-word; }
.quote__contact a small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; font-weight: 500; }
.quote__contact a:hover { color: var(--green-2); }
.form { position: relative; display: grid; gap: 16px; padding: clamp(24px, 3vw, 40px); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; }
.form::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed var(--line); border-radius: 4px; pointer-events: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; color: var(--white); font: inherit; font-size: 16px; transition: border-color 0.3s, box-shadow 0.3s; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,173,21,0.22); }
.field.is-invalid input { border-color: var(--orange); }
.field textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; }
.form__note { font-size: 12.5px; color: var(--muted-2); text-align: center; position: relative; }
.form__ok { position: absolute; inset: 0; z-index: 2; background: var(--bg-2); border-radius: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 14px; padding: 40px; }
.form__ok[hidden] { display: none; }
.form__check { width: 72px; height: 72px; color: var(--green-2); }
.form__check circle { animation: spin 20s linear infinite; transform-origin: center; }
.form__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: checkDraw 0.6s var(--ease) 0.2s forwards; }
@keyframes checkDraw { to { stroke-dashoffset: 0; } }
.form__ok strong { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.form__ok span { color: var(--muted); max-width: 40ch; }
.form__ok a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ===================== KONTAKT ===================== */
.contact { border-top: 1px dashed var(--line-strong); }
.contact__in { display: grid; grid-template-columns: 1fr 1.2fr 0.8fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.contact__addr { margin-top: 30px; font-size: 18px; line-height: 1.5; display: flex; flex-direction: column; gap: 4px; }
.contact__addr strong { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-2); margin-bottom: 8px; }
.contact__map { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; font-size: 15px; color: var(--white); width: fit-content; border-bottom: 1.5px solid var(--green); padding-bottom: 2px; transition: gap 0.3s var(--ease); }
.contact__map:hover { gap: 12px; }
.contact__map svg { width: 16px; height: 16px; }
.contact__block--big { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.contact__big { display: flex; flex-direction: column; font-family: var(--display); font-size: clamp(22px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; word-break: break-word; transition: color 0.3s; }
.contact__big small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); font-weight: 500; margin-bottom: 8px; }
.contact__big:hover { color: var(--green-2); }
.contact__person { color: var(--muted); font-size: 15px; margin-top: 8px; }
.contact__block--legal { font-size: 14.5px; color: var(--muted); display: grid; gap: 12px; padding-top: 8px; }
.contact__block--legal strong { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); }

/* ===================== FOOTER, sticky CTA, lightbox ===================== */
.footer { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.footer__links a:hover { color: var(--green-2); }
.footer__copy { font-family: var(--mono); font-size: 12px; color: var(--muted-2); width: 100%; }

.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 100; display: none; gap: 8px; transform: translateY(120%); transition: transform 0.5s var(--ease); }
.sticky-cta.show { transform: none; }
.sticky-cta a { flex: 1; display: grid; place-items: center; padding: 15px; border-radius: 999px; font-weight: 700; font-size: 15px; }
.sticky-cta__tel { background: rgba(20,23,20,0.9); color: #f4f6f2; border: 1px solid var(--line-strong); backdrop-filter: blur(10px); }
.sticky-cta__btn { background: var(--green); color: var(--on-green); flex: 1.4 !important; }

.lightbox { position: fixed; inset: 0; z-index: 150; color: #f4f6f2; background: rgba(4, 5, 4, 0.94); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.35s; }
.lightbox[hidden] { display: none; }
.lightbox.show { opacity: 1; }
.lightbox__fig { max-width: min(92vw, 1100px); max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lightbox__frame { position: relative; padding: 10px; border-radius: 8px; }
.lightbox__frame::before { content: ""; position: absolute; inset: 0; border: 3px solid var(--green); border-radius: 8px; pointer-events: none; }
.lightbox__frame::after { content: ""; position: absolute; inset: 5px; border: 1.5px dashed rgba(244,246,242,0.5); border-radius: 5px; pointer-events: none; }
.lightbox__frame img { max-width: 100%; max-height: 76vh; width: auto; height: auto; border-radius: 3px; transition: opacity 0.3s, transform 0.4s var(--ease); display: block; }
.lightbox__frame img.swap { opacity: 0; transform: scale(0.97); }
.lightbox__fig figcaption { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244,246,242,0.65); text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(244,246,242,0.3); display: grid; place-items: center; font-size: 26px; line-height: 1; background: rgba(7,8,7,0.6); transition: background 0.3s, border-color 0.3s, color 0.3s; }
.lightbox__close { top: 20px; right: 20px; font-size: 18px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--green); border-color: var(--green); color: var(--on-green); }
.lightbox__count { position: absolute; left: 24px; top: 30px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: rgba(244,246,242,0.65); }

/* ===================== Reduced motion / noanim ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, [data-split] .w > i, .hero__title .word { opacity: 1; transform: none; transition: none; }
  .hoop { animation: none; opacity: 1; }
  .marquee__track, .grain, .hoop__ring--text, .hero__scroll-needle::after, .hero__title .satin, .form__check circle { animation: none; }
  .intro { display: none; }
  .stamp { transform: rotate(-14deg); opacity: 0.9; transition: none; }
}
html.no-anim .reveal, html.no-anim [data-split] .w > i, html.no-anim .hero__title .word { opacity: 1; transform: none; transition: none; }
html.no-anim .hoop { animation: none; opacity: 1; }
html.no-anim .marquee__track, html.no-anim .grain, html.no-anim .hoop__ring--text, html.no-anim .hero__title .satin { animation: none; }
html.no-anim .hero__canvas { display: none; }
html.no-anim .stamp { transform: rotate(-14deg); opacity: 0.9; transition: none; }
html.no-anim .steps__path-fg { stroke-dashoffset: 0 !important; }

/* ===================== Responsive ===================== */
@media (max-width: 1180px) {
  .nav__tel { display: none; }
  .nav__links { gap: 22px; }
  .labels { grid-template-columns: repeat(2, 1fr); }
  .label { min-height: 0; }
  .contact__in { grid-template-columns: 1fr 1fr; }
  .contact__block--legal { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .hero { padding-top: calc(var(--nav-h) + 16px); }
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; justify-self: center; margin-top: 30px; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .hero__stats { flex-wrap: wrap; gap: 18px 30px; }
  .section__head--split { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .why__in, .price__in, .faq__in, .quote__in { grid-template-columns: 1fr; }
  .why__sticky, .faq__head, .ticket { position: static; }
  .why__hoop { display: none; }
  .partner { flex-direction: column; gap: 12px; }
  .ticket { transform: none; margin-top: 10px; }
  .steps__list { grid-template-columns: 1fr; gap: 16px; }
  .steps__wave { display: none; }
  .step.is-on { transform: none; }
  .sticky-cta { display: flex; }
  .footer { padding-bottom: 110px; }
  .why__kinetic { top: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__title { font-size: clamp(46px, 14.5vw, 72px); }
  .hero__actions .btn { width: 100%; }
  .hero__hint { display: none; }
  .hero__visual { max-width: 360px; }
  .hero__tag--a { right: -4%; top: 6%; }
  .hero__tag--b { left: 30%; bottom: 4%; }
  .hero__stats li:nth-child(4) { display: none; }
  .labels { grid-template-columns: 1fr; }
  .factors { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .contact__in { grid-template-columns: 1fr; }
  .gallery__track { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gitem figcaption { opacity: 1; transform: none; left: 8px; right: 8px; bottom: 8px; padding: 7px 9px; }
  .gitem figcaption b { font-size: 11px; }
  .lightbox__nav { width: 44px; height: 44px; top: auto; bottom: 20px; transform: none; }
  .faq__body p { padding-right: 0; }
  .h2 { max-width: none; }
  .why__item { grid-template-columns: 56px 1fr; }
  .why__big { font-size: 34px; }
  .stamp { width: 96px; height: 96px; font-size: 11px; right: -8px; top: -16px; }
  .marquee__row--green { transform: rotate(-2deg) scale(1.04); }
}
