/* Efficio — preview redesign (new.efficio.cz)
   Samostatný stylesheet pro /new/. Nesdílí pravidla s produkčním styles.css. */

@font-face { font-family: "Efficio Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Efficio Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Efficio Serif"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("/fonts/source-serif-4-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Efficio Serif"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("/fonts/source-serif-4-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Efficio Mono"; font-style: normal; font-weight: 100 700; font-display: swap; src: url("/fonts/roboto-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Efficio Mono"; font-style: normal; font-weight: 100 700; font-display: swap; src: url("/fonts/roboto-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f5f5f2;
  --card: #ffffff;
  --soft: #ecece7;
  --ink: #0c0c0b;
  --muted: #6a6a64;
  --line: #e2e2dc;
  --lime: #36fd12;
  --lime-deep: #0a7500;
  --dark: #0b0b0a;
  --dark-2: #161614;
  --dark-line: rgba(255, 255, 255, 0.12);
  --error: #c62828;
  --sans: "Efficio Sans", Arial, sans-serif;
  --serif: "Efficio Serif", Georgia, serif;
  --mono: "Efficio Mono", Consolas, monospace;
  --r-card: 1.75rem;
  --r-md: 1.1rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 1px 2px rgba(12, 12, 11, 0.04), 0 12px 32px -18px rgba(12, 12, 11, 0.18);
  --shadow-lift: 0 2px 4px rgba(12, 12, 11, 0.05), 0 28px 56px -24px rgba(12, 12, 11, 0.3);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.5; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 200; top: 10px; left: 10px; padding: 0.7rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* ---------- Typografie ---------- */
h1, h2 { font-weight: 700; letter-spacing: -0.045em; line-height: 0.98; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.035em; padding: 0 0.08em; background-image: linear-gradient(var(--lime), var(--lime)); background-repeat: no-repeat; background-position: 0 88%; background-size: 100% 0.3em; }

.kicker { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.1rem; padding: 0.38rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); font-size: 0.8rem; font-weight: 550; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(54, 253, 18, 0.22); }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0 0; }
.section-heading { max-width: 46rem; margin: 0 auto clamp(2.2rem, 4vw, 3.4rem); text-align: center; }
.section-heading-xl h2 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.heading-copy, .hero-lead, .statement-copy { text-wrap: balance; }
.heading-copy { max-width: 36rem; margin: 1.25rem auto 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.55; }
.footnote { max-width: 46rem; margin: 1.4rem auto 0; color: var(--muted); font-size: 0.82rem; line-height: 1.6; text-align: center; }

/* ---------- Tlačítka ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 46px; padding: 0 1.25rem; border: 1px solid transparent; border-radius: 999px; font-size: 0.95rem; font-weight: 650; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.2s, border-color 0.2s; }
.button > span { display: inline-block; transition: transform 0.35s var(--ease); }
.button:hover > span { transform: translateX(4px); }
.button:active { transform: scale(0.97); }
.button-lg { min-height: 56px; padding: 0 1.7rem; font-size: 1.06rem; }
.button-primary { background: var(--lime); color: var(--ink); box-shadow: 0 0 0 0 rgba(54, 253, 18, 0.5), 0 10px 24px -12px rgba(54, 253, 18, 0.9); }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(54, 253, 18, 0.18), 0 18px 32px -14px rgba(54, 253, 18, 0.95); }
.button-ghost { border-color: var(--line); background: var(--card); }
.button-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.button-ghost:hover > span { transform: translateY(3px); }

.pill-link { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 0.875rem; font-weight: 650; text-decoration: none; transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.3s var(--ease); }
.pill-link > span { transition: transform 0.3s var(--ease); }
.pill-link:hover { border-color: var(--ink); }
.pill-link:hover > span { transform: translateX(3px); }
.pill-solid { border-color: var(--ink); background: var(--ink); color: #fff; }
a.pill-solid:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }

/* ---------- Intro ---------- */
.fx-intro { display: none; }
html.intro-on { overflow: hidden; }
html.intro-on .fx-intro { position: fixed; z-index: 120; inset: 0; display: block; cursor: pointer; animation: intro-failsafe 0.01s 3.5s forwards; }
.fx-intro-lime, .fx-intro-panel { position: absolute; inset: 0; border-radius: 0 0 2.5rem 2.5rem; transition: transform 0.75s cubic-bezier(0.77, 0, 0.175, 1); }
.fx-intro-lime { background: var(--lime); transition-delay: 0.11s; }
.fx-intro-panel { display: grid; place-items: center; overflow: hidden; background: radial-gradient(60% 70% at 50% 55%, rgba(54, 253, 18, 0.16), rgba(54, 253, 18, 0) 70%), var(--dark); }
.fx-intro.is-leaving .fx-intro-lime, .fx-intro.is-leaving .fx-intro-panel { transform: translateY(-104%); }
.fx-intro-mark { position: relative; width: min(82vw, 52rem); animation: intro-zoom 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.fx-intro-logo { width: 100%; height: auto; animation: intro-logo 0.62s steps(1, end) both; }
.fx-intro-bar { position: absolute; inset: -8% -3%; background: var(--lime); transform: scaleX(0); animation: intro-bar 0.62s cubic-bezier(0.77, 0, 0.175, 1) both; }
@keyframes intro-logo { 0%, 49% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes intro-bar { 0% { transform: scaleX(0); transform-origin: 0 50%; } 50% { transform: scaleX(1); transform-origin: 0 50%; } 50.1% { transform: scaleX(1); transform-origin: 100% 50%; } 100% { transform: scaleX(0); transform-origin: 100% 50%; } }
@keyframes intro-zoom { from { transform: scale(0.94); } to { transform: scale(1.03); } }
@keyframes intro-failsafe { to { visibility: hidden; pointer-events: none; } }

.polaroid { padding: 0.6rem 0.6rem 2.4rem; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(12, 12, 11, 0.08), 0 22px 44px -18px rgba(12, 12, 11, 0.4); }

/* ---------- Navigace ---------- */
.site-header { position: fixed; z-index: 90; top: 14px; left: 50%; width: max-content; max-width: calc(100% - 24px); transform: translateX(-50%); }
.nav-pill { display: flex; align-items: center; gap: 0.35rem; min-height: 58px; padding: 0.4rem 0.4rem 0.4rem 1.15rem; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 999px; background: rgba(11, 11, 10, 0.92); color: #fff; box-shadow: 0 14px 34px -14px rgba(12, 12, 11, 0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: min-height 0.4s var(--ease), box-shadow 0.4s; }
.site-header.is-scrolled .nav-pill { min-height: 52px; box-shadow: 0 18px 40px -14px rgba(12, 12, 11, 0.7); }
.brand { display: inline-flex; align-items: center; margin-right: 0.6rem; }
.brand-logo { width: 92px; height: auto; }
.desktop-nav { display: flex; align-items: center; }
.desktop-nav a { display: inline-flex; align-items: center; height: 38px; padding: 0 0.8rem; border-radius: 999px; color: rgba(255, 255, 255, 0.78); font-size: 0.875rem; font-weight: 520; text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.desktop-nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.header-cta { display: inline-flex; align-items: center; gap: 0.45rem; height: 44px; margin-left: 0.5rem; padding: 0 1.1rem; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 0.875rem; font-weight: 680; text-decoration: none; white-space: nowrap; transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.header-cta:hover { box-shadow: 0 0 0 5px rgba(54, 253, 18, 0.22); }
.header-cta:active { transform: scale(0.96); }
.header-cta .cta-arrow { transition: transform 0.3s var(--ease); }
.header-cta:hover .cta-arrow { transform: translateX(3px); }
.menu-button { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.menu-button > span:not(.visually-hidden) { position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-button > span:nth-of-type(2) { top: 17px; }
.menu-button > span:nth-of-type(3) { top: 25px; }
.menu-button[aria-expanded="true"] > span:nth-of-type(2) { top: 21px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] > span:nth-of-type(3) { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: absolute; top: calc(100% + 8px); right: 0; left: 0; display: grid; gap: 0.15rem; padding: 0.6rem; border-radius: 1.5rem; background: var(--dark); box-shadow: 0 24px 50px -18px rgba(12, 12, 11, 0.7); animation: menu-in 0.3s var(--ease); }
.mobile-menu a:not(.button) { padding: 0.85rem 1rem; border-radius: 1rem; color: #fff; font-size: 1.05rem; font-weight: 600; text-decoration: none; }
.mobile-menu a:not(.button):active { background: rgba(255, 255, 255, 0.1); }
.mobile-menu .button { margin-top: 0.35rem; min-height: 52px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(7.5rem, 15vw, 10.5rem); text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; top: -18rem; left: 50%; width: min(70rem, 130vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(54, 253, 18, 0.2), rgba(54, 253, 18, 0) 62%); transform: translateX(-50%); pointer-events: none; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 1.5rem; padding: 0.42rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); font-size: 0.82rem; font-weight: 550; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(54, 253, 18, 0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(54, 253, 18, 0); } 100% { box-shadow: 0 0 0 0 rgba(54, 253, 18, 0); } }
.hero h1 { max-width: 100%; }
@media (min-width: 761px) { .hero h1 em { white-space: nowrap; } }
.hero-lead { max-width: 34rem; margin-top: 1.5rem; color: var(--muted); font-size: clamp(1.02rem, 1.7vw, 1.2rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 2rem; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.4rem; margin-top: 1.1rem; color: var(--muted); font-size: 0.875rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-facts b { color: var(--ink); font-weight: 650; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-lime { background: var(--lime); box-shadow: 0 0 0 3px rgba(54, 253, 18, 0.22); }
.dot-ink { background: var(--ink); }
.promise-note { margin-top: 0.9rem; color: var(--muted); font-size: 0.78rem; }

.hero-stage { position: relative; width: min(1080px, calc(100% - 32px)); height: clamp(13rem, 36vw, 27rem); margin: clamp(2.5rem, 5vw, 4rem) auto 0; }
.frame { overflow: hidden; border: 1px solid rgba(12, 12, 11, 0.1); border-radius: 0.9rem; background: #fff; box-shadow: var(--shadow-lift); }
.frame-bar { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #fafaf8; }
.frame-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d9d9d3; }
.frame-bar span { flex: 1; margin-right: 34px; color: #72726b; font-family: var(--mono); font-size: 0.62rem; text-align: center; }
picture { display: contents; }
.frame img { width: 100%; }
.phone { overflow: hidden; padding: 5px; border-radius: 1.5rem; background: var(--ink); box-shadow: var(--shadow-lift); }
.phone img { width: 100%; border-radius: 1.2rem; }
.hero-stage .frame, .hero-stage .phone { position: absolute; will-change: transform; }
.hero-stage .frame-main { z-index: 2; top: 0; left: 50%; width: 66%; transform: translate3d(-50%, calc(var(--py, 0) * -26px), 0); }
.hero-stage .frame-left { z-index: 1; top: 14%; left: 0; width: 44%; transform: translate3d(0, calc(var(--py, 0) * -62px), 0) rotate(-5deg); }
.hero-stage .phone-right { z-index: 3; top: 10%; right: 5%; width: 17%; transform: translate3d(0, calc(var(--py, 0) * -96px), 0) rotate(5deg); }

/* ---------- Statement + statistiky ---------- */
.statement { padding-top: clamp(4.5rem, 10vw, 8rem); text-align: center; }
.statement h2 { max-width: 15ch; margin-inline: auto; font-size: clamp(2.4rem, 6vw, 4.6rem); }
.statement-copy { max-width: 38rem; margin: 1.5rem auto 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.6; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; max-width: 64rem; margin: clamp(2.2rem, 4vw, 3.2rem) auto 0; }
.card.stat { align-items: flex-start; min-height: 11.5rem; padding: 1.3rem 1.35rem 1.6rem; border-radius: 1.5rem; text-align: left; }
.stat .chip-icon { margin-bottom: auto; transition: background-color 0.35s, color 0.35s, transform 0.5s var(--ease); }
.stat strong { display: block; margin-top: 1.6rem; font-size: clamp(1.45rem, 2.5vw, 2rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; white-space: nowrap; transition: color 0.4s; }
.stat-label { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 0.86rem; line-height: 1.35; transition: color 0.4s; }
.stat::after { content: ""; position: absolute; z-index: 1; bottom: 0; left: 1.35rem; width: 2.2rem; height: 4px; border-radius: 4px 4px 0 0; background: var(--lime); transition: width 0.6s var(--ease); }
@media (hover: hover) {
  .stat:hover::after { width: calc(100% - 2.7rem); }
  .stat.spot:hover .chip-icon { background: var(--lime); color: var(--ink); transform: rotate(-8deg) scale(1.12); }
  .stat.spot:hover .stat-label { color: #b9b9b2; }
  .stat-row:hover > .stat:not(:hover) { opacity: 0.55; }
}

/* ---------- Karty ---------- */
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease), border-color 0.3s; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1.4rem, 2.6vw, 2.1rem); }
.card-kicker { margin-bottom: 0.3rem; color: var(--lime-deep); font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 650; letter-spacing: -0.025em; }
.card-copy { margin-top: 0.8rem; color: var(--muted); font-size: 0.98rem; line-height: 1.55; }
.card-copy strong { color: inherit; }
.chip-icon { display: grid; width: 42px; height: 42px; margin-bottom: 1.2rem; place-items: center; border-radius: 50%; }
.chip-lime { background: rgba(54, 253, 18, 0.2); color: var(--lime-deep); }
.chip-ink { background: var(--soft); color: var(--ink); }
.step-no { display: inline-grid; min-width: 42px; height: 42px; margin-bottom: 1.2rem; padding: 0 0.6rem; place-items: center; border-radius: 999px; background: var(--soft); font-family: var(--mono); font-size: 0.8rem; font-weight: 600; }
.checks { display: grid; gap: 0.6rem; margin: 1.2rem 0 1.5rem; font-size: 0.95rem; }
.checks li { position: relative; padding-left: 1.75rem; }
.checks li::before { content: ""; position: absolute; top: 0.3em; left: 0.2rem; width: 0.42rem; height: 0.78rem; border: solid var(--lime-deep); border-width: 0 2px 2px 0; transform: rotate(42deg); }
.card-body > .pill-link, .card-body > .button { margin-top: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.2rem 0 1.4rem; }
.tags li { padding: 0.32rem 0.7rem; border-radius: 999px; background: var(--soft); color: #4c4c47; font-size: 0.78rem; font-weight: 550; }
.card-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }

.card-link:hover, .project:hover { transform: translateY(-6px); border-color: #cfcfc8; box-shadow: var(--shadow-lift); }
.card-hit { position: absolute; z-index: 1; inset: 0; border-radius: inherit; }
.card-link:hover .pill-solid { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.card-link:hover .pill-solid > span { transform: translateX(3px); }

/* Reference */
.project-grid { grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
.project-stage { position: relative; display: grid; height: clamp(8.5rem, 13vw, 11rem); padding: 1.1rem 1.1rem 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.project-stage .frame { width: 92%; border-radius: 0.6rem; transition: transform 0.9s var(--ease); }
.project-stage .frame-bar { height: 18px; padding: 0 8px; gap: 4px; }
.project-stage .frame-bar i { width: 5px; height: 5px; }
.project-stage .frame-bar span { margin-right: 22px; font-size: 0.5rem; }
.project-stage .phone { position: absolute; right: 6%; bottom: -46%; width: 24%; padding: 3px; border-radius: 0.9rem; transform: rotate(4deg); transition: transform 0.9s var(--ease); }
.project-stage .phone img { border-radius: 0.7rem; }
.project:hover .project-stage .frame { transform: translateY(-6px); }
.project:hover .project-stage .phone { transform: translateY(-16px) rotate(1deg); }
.project .card-body { padding: 1.1rem 1.15rem 1.2rem; }
.project .card-kicker { font-size: 0.8rem; letter-spacing: -0.01em; }
.project h3 { font-size: 1.2rem; }
.project .card-copy { margin: 0.5rem 0 1rem; font-size: 0.875rem; line-height: 1.5; }
.project .card-actions { gap: 0.3rem 1rem; }
.mini-link { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 32px; gap: 0.3rem; font-size: 0.84rem; font-weight: 650; text-decoration: none; }
.mini-link span { display: inline-block; transition: transform 0.3s var(--ease); }
.mini-link:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mini-link:hover span { transform: translateX(3px); }

.stars { color: var(--lime); letter-spacing: 0.1em; }
.rating { display: flex; align-items: center; gap: 1.1rem; width: fit-content; max-width: 100%; margin: 0 auto clamp(1.6rem, 3vw, 2.2rem); padding: 0.8rem 1rem 0.8rem 1.4rem; border-radius: 999px; background: var(--dark); color: #fff; text-decoration: none; box-shadow: 0 18px 40px -22px rgba(12, 12, 11, 0.7); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.rating:hover { transform: translateY(-3px); box-shadow: 0 0 0 5px rgba(54, 253, 18, 0.22), 0 24px 46px -22px rgba(12, 12, 11, 0.8); }
.rating strong { font-size: 2rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.rating-main { display: grid; gap: 0.1rem; text-align: left; }
.rating-main .stars { font-size: 1.05rem; line-height: 1.1; }
.rating-main b { color: #c9c9c2; font-size: 0.84rem; font-weight: 500; }
.rating-cta { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 40px; padding: 0 1rem; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 0.86rem; font-weight: 680; white-space: nowrap; }
.rating-cta span { transition: transform 0.3s var(--ease); }
.rating:hover .rating-cta span { transform: translate(2px, -2px); }
.hero-rating { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.5rem; padding: 0.5rem 1.1rem; border-radius: 999px; background: var(--dark); color: #c9c9c2; font-size: 0.95rem; text-decoration: none; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.hero-rating:hover { transform: translateY(-2px); box-shadow: 0 0 0 5px rgba(54, 253, 18, 0.2); }
.hero-rating b { color: #fff; font-weight: 700; }
.hero-rating .stars { font-size: 1.05rem; }
.project-stage-md { background: radial-gradient(120% 90% at 20% 0%, #1a2a52, #0a1228 70%); }
.project-stage-es { background: radial-gradient(120% 90% at 20% 0%, #ffd869, #f1b834 75%); }
.project-stage-lkmt { background: radial-gradient(120% 90% at 20% 0%, #1d4a55, #08161a 72%); }
.project-stage-vxv { background: radial-gradient(120% 90% at 20% 0%, #5a6a2c, #171c0d 74%); }



/* Postup + model */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step { align-items: flex-start; padding: clamp(1.3rem, 2.2vw, 1.7rem); }
.step h3 { font-size: 1.2rem; }
.step .card-copy { font-size: 0.92rem; }
.model { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: center; margin-top: 1rem; padding: clamp(1.3rem, 2.6vw, 2rem); border: 1px dashed #cfcfc8; border-radius: var(--r-card); scroll-margin-top: 96px; }
.model-head h3 { font-size: 1.25rem; }
.model-head p { margin-top: 0.5rem; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.model-list { display: grid; gap: 0.4rem; counter-reset: model; }
.model-list li::before { content: counter(model); color: #6c6c66; font-family: var(--mono); font-size: 0.75rem; }
.model-list b { color: #4c4c47; font-weight: 600; }
.model-list .is-main { border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.model-list .is-main b { color: var(--ink); }
.model-list .is-main::before { color: var(--lime-deep); }

/* Interaktivní karty: kroky + důvody */
.spot::before { content: ""; position: absolute; z-index: 0; inset: 0; border-radius: inherit; background: radial-gradient(20rem circle at var(--mx, 50%) var(--my, 0%), rgba(54, 253, 18, 0.34), rgba(54, 253, 18, 0) 62%); opacity: 0; transition: opacity 0.45s; pointer-events: none; }
.spot > * { position: relative; z-index: 1; }
.spot .step-no { transition: background-color 0.35s, color 0.35s, transform 0.5s var(--ease); }
.spot h3, .spot .card-copy { transition: color 0.4s; }
html.js .card.spot.reveal { transition: opacity 0.8s var(--ease), transform 0.6s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s, background-color 0.45s, color 0.45s; }

.step { min-height: 15rem; }
.step .step-no { min-width: 48px; height: 48px; font-size: 0.86rem; }
.step::after { content: ""; position: absolute; z-index: 1; top: calc(clamp(1.3rem, 2.2vw, 1.7rem) + 23px); right: clamp(1.3rem, 2.2vw, 1.7rem); left: calc(clamp(1.3rem, 2.2vw, 1.7rem) + 60px); height: 2px; border-radius: 2px; background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 0 / 0% 100%, var(--line); transition: background-size 0.9s var(--ease) 0.35s; }
html:not(.js) .step::after, .step.is-visible::after { background-size: 100% 100%, auto; }
.steps > .step:nth-child(2)::after { transition-delay: 0.6s; }
.steps > .step:nth-child(3)::after { transition-delay: 0.85s; }
.steps > .step:nth-child(4)::after { transition-delay: 1.1s; }
.step .card-copy { margin-top: 0.6rem; }
.step h3 { margin-top: 0.4rem; }

.benefit .card-body { padding-bottom: clamp(5rem, 9vw, 6.5rem); }
.benefit::after { content: attr(data-word); position: absolute; z-index: 0; right: 1.2rem; bottom: -0.2em; color: transparent; font-size: clamp(2.6rem, 4.4vw, 3.7rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; white-space: nowrap; -webkit-text-stroke: 1.5px #dcdcd5; transform: translateX(0.9rem); transition: transform 0.8s var(--ease), color 0.45s, -webkit-text-stroke-color 0.45s; pointer-events: none; }

.model-list li { display: grid; grid-template-columns: 1.6rem 9.5rem 1fr; align-items: baseline; gap: 0.6rem; padding: 0.7rem 0.95rem; border: 1px solid transparent; border-radius: 1rem; color: var(--muted); font-size: 0.9rem; line-height: 1.45; counter-increment: model; transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.model-list li::before { transition: color 0.3s; }
.model-list b { transition: color 0.3s; }

@media (hover: hover) {
  .spot:hover::before { opacity: 1; }
  .card.spot:hover, html.js .card.spot.reveal.is-visible:hover { border-color: #262624; background: var(--dark); color: #fff; box-shadow: 0 30px 60px -28px rgba(12, 12, 11, 0.65); transform: translateY(-8px); }
  .spot:hover .card-copy { color: #b9b9b2; }
  .spot:hover .step-no { background: var(--lime); color: var(--ink); transform: rotate(-8deg) scale(1.12); }
  .steps:hover > .step:not(:hover), .benefit-grid:hover > .benefit:not(:hover) { opacity: 0.55; }
  .step:hover::after { background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 0 / 100% 100%, rgba(255, 255, 255, 0.14); }
  .benefit:hover::after { color: var(--lime); -webkit-text-stroke-color: var(--lime); transform: translateX(0); }
  .model-list li:hover { border-color: var(--line); background: var(--card); color: var(--ink); box-shadow: var(--shadow-card); transform: translateX(8px); }
  .model-list li:hover b { color: var(--ink); }
  .model-list li:hover::before { color: var(--lime-deep); }
}

/* Dotyková zařízení: stejné stavy jako hover, ale řízené scrollem (třída .is-active z redesign.js) */
.spot.is-active::before { opacity: 1; }
.card.spot.is-active, html.js .card.spot.reveal.is-visible.is-active { border-color: #262624; background: var(--dark); color: #fff; box-shadow: 0 26px 50px -26px rgba(12, 12, 11, 0.65); transform: translateY(-4px); }
.spot.is-active .card-copy, .stat.spot.is-active .stat-label { color: #b9b9b2; }
.spot.is-active .step-no, .stat.spot.is-active .chip-icon { background: var(--lime); color: var(--ink); transform: rotate(-8deg) scale(1.12); }
.step.is-active::after { background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 0 / 100% 100%, rgba(255, 255, 255, 0.14); }
.benefit.is-active::after { color: var(--lime); -webkit-text-stroke-color: var(--lime); transform: translateX(0); }
.stat.is-active::after { width: calc(100% - 2.7rem); }
.model-list li.is-active { border-color: var(--line); background: var(--card); color: var(--ink); box-shadow: var(--shadow-card); transform: translateX(6px); }
.model-list li.is-active b { color: var(--ink); }
.model-list li.is-active::before { color: var(--lime-deep); }
.project.is-active { border-color: #cfcfc8; box-shadow: var(--shadow-lift); transform: translateY(-4px); }
html.js .card.project.reveal.is-visible.is-active { transform: translateY(-4px); }
.project.is-active .project-stage .frame { transform: translateY(-6px); }
.project.is-active .project-stage .phone { transform: translateY(-16px) rotate(1deg); }
.card-link.is-active { border-color: #cfcfc8; box-shadow: var(--shadow-lift); }
.card-link.is-active .pill-solid { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.card-link.is-active .chip-icon { transform: rotate(-8deg) scale(1.1); }
.card-link .chip-icon { transition: transform 0.5s var(--ease); }

@media (hover: none) {
  .card:active, .button:active, .pill-link:active, .choice-card:active, .rating:active, .hero-rating:active { transform: scale(0.975); transition-duration: 0.12s; }
  .hero-stage .phone-right { animation: float-phone 5s ease-in-out infinite; }
  .accordion summary:active { padding-left: 0.5rem; }
}
@keyframes float-phone { 50% { translate: 0 -10px; rotate: -2deg; } }

/* Hvězdy hodnocení naskakují po jedné */
html.js .rating .stars, html.js .hero-rating .stars { display: inline-block; max-width: 0; overflow: hidden; vertical-align: bottom; white-space: nowrap; }
html.js .rating.is-visible .stars, html.js .hero.is-in .hero-rating .stars { animation: stars-in 0.9s steps(5, end) 0.5s forwards; }
html.js .hero.is-in .hero-rating .stars { animation-delay: 1.1s; }
@keyframes stars-in { to { max-width: 6.2em; } }

/* Proč Efficio */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card.note { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; max-width: 60rem; margin: 1rem auto 0; padding: clamp(1.6rem, 4vw, 3.2rem); overflow: visible; }
.note-photo { justify-self: center; width: min(100%, 19rem); transform: rotate(calc(-7deg + var(--tilt, 0.4) * 8deg)); transition: transform 0.5s var(--ease); }
@media (hover: hover) { .note:hover .note-photo { transform: rotate(-1deg) scale(1.02); } }
.note-photo img { width: 100%; aspect-ratio: 0.86; object-fit: cover; object-position: 50% 15%; }
.note-photo figcaption { position: absolute; right: 0; bottom: 0.7rem; left: 0; white-space: nowrap; color: var(--muted); font-family: var(--serif); font-size: 0.95rem; font-style: italic; text-align: center; }
.note-photo { position: relative; }
.note-copy { display: grid; gap: 1rem; font-size: 1.05rem; line-height: 1.6; }
.note-lead { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.25; }
.note-copy .tags { margin: 0.2rem 0 0; }
.note-sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.note-sign h3 { font-family: var(--serif); font-size: 1.6rem; font-style: italic; font-weight: 500; }
.note-sign span { color: var(--muted); font-size: 0.85rem; }
html.js .note-line { opacity: var(--o, 1); transition: opacity 0.2s linear; }

/* ---------- Formulář ---------- */
.lead-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.lead-copy { position: sticky; top: 110px; }
.lead-copy .heading-copy { margin-inline: 0; }
.lead-promise { display: inline-flex; align-items: center; gap: 1rem; margin-top: 2rem; padding: 0.9rem 1.3rem 0.9rem 1.1rem; border: 1px solid var(--line); border-radius: 1.4rem; background: var(--card); }
.lead-promise strong { font-size: 3rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.lead-promise span { color: var(--muted); font-size: 0.88rem; line-height: 1.35; }
.form-shell { box-shadow: var(--shadow-card); scroll-margin-top: 96px; }
.form-invite { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem clamp(1.3rem, 2.6vw, 2rem); background: var(--dark); color: #fff; }
.form-invite > div { display: grid; gap: 0.2rem; }
.form-invite span { color: var(--lime); font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.form-invite strong { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.03em; }
.form-call-link { margin-top: 0.3rem; color: #b5b5ae; font-size: 0.85rem; text-underline-offset: 3px; }
.form-call-link:hover { color: #fff; }
.form-invite .form-invite-arrow { display: grid; flex: none; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-family: var(--sans); font-size: 1.1rem; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }
.form-surface { padding: clamp(1.3rem, 2.6vw, 2rem); }
.form-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.82rem; font-weight: 550; }
.form-topline > div { display: inline-flex; align-items: center; gap: 0.5rem; }
.preview-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(54, 253, 18, 0.22); }
.form-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0.9rem 0 1.6rem; }
.form-progress i { height: 5px; border-radius: 999px; background: var(--soft); transition: background-color 0.4s; }
.form-progress i.is-active { background: var(--lime); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-step.is-active, .form-step:not([hidden]) { animation: step-in 0.45s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } }
.form-question { display: block; margin-bottom: 1.1rem; font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.form-question span { color: var(--muted); font-size: 0.6em; font-weight: 500; letter-spacing: -0.01em; }
.form-question-hint { display: block; margin-top: 0.45rem; font-size: 0.9rem !important; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.choice-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; min-height: 11.5rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 1.3rem; background: var(--bg); text-align: left; transition: border-color 0.2s, background-color 0.2s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.choice-card:hover, .choice-card.is-selected { border-color: var(--ink); background: #fff; transform: translateY(-3px); box-shadow: var(--shadow-card); }
.choice-card.is-selected { box-shadow: 0 0 0 3px var(--lime); }
.choice-icon { display: grid; width: 38px; height: 38px; margin-bottom: 0.7rem; place-items: center; border-radius: 50%; background: var(--lime); font-size: 1.15rem; font-weight: 600; }
.choice-card strong { font-size: 1.1rem; font-weight: 650; letter-spacing: -0.025em; line-height: 1.2; }
.choice-card small { color: var(--muted); font-size: 0.84rem; line-height: 1.4; }
.choice-select { display: inline-flex; gap: 0.35rem; margin-top: auto; padding-top: 0.8rem; font-size: 0.84rem; font-weight: 650; }
.choice-select i { font-style: normal; transition: transform 0.3s var(--ease); }
.choice-card:hover .choice-select i { transform: translateX(4px); }
.form-input, .form-select { width: 100%; height: 58px; padding: 0 1.1rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--bg); font-size: 1.05rem; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.form-input::placeholder { color: #6c6c66; }
.form-input:focus, .form-select:focus { outline: 0; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(54, 253, 18, 0.35); }
.form-input[aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 1.3rem; margin-top: 0.4rem; color: var(--error); font-size: 0.84rem; }
.field-hint { margin-top: 0.5rem; color: var(--muted); font-size: 0.84rem; }
.source-label { display: block; margin: 0.6rem 0 0.5rem; font-size: 0.9rem; font-weight: 600; }
.source-label span { color: var(--muted); font-weight: 450; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; margin-top: 1.2rem; }
.back-button { min-height: 48px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 0.9rem; font-weight: 600; transition: border-color 0.2s; }
.back-button:hover { border-color: var(--ink); }
.next-button { min-height: 52px; padding: 0 1.5rem; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.98rem; font-weight: 650; transition: background-color 0.2s, color 0.2s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.next-button:hover { background: var(--lime); color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(54, 253, 18, 0.9); }
.next-button:disabled { opacity: 0.6; cursor: progress; transform: none; }
.turnstile-slot { margin-top: 1rem; }
.success-mark { display: grid; width: 52px; height: 52px; margin-bottom: 1rem; place-items: center; border-radius: 50%; background: var(--lime); font-size: 1.4rem; font-weight: 700; animation: pop 0.6s var(--ease); }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }
.success-step > p { color: var(--muted); }
.success-step > p.form-question { color: var(--ink); }
.success-choice { margin-top: 1rem; font-size: 0.9rem; }
.success-actions { display: grid; gap: 0.5rem; margin: 1rem 0 1.2rem; }
.success-action { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.3rem 1rem; padding: 0.95rem 1.1rem; border: 1px solid var(--line); border-radius: 1rem; text-decoration: none; transition: border-color 0.2s, transform 0.3s var(--ease); }
.success-action:hover { border-color: var(--ink); transform: translateX(4px); }
.success-action strong { font-weight: 650; }
.success-action span { color: var(--muted); font-size: 0.85rem; }
.success-action-primary { border-color: var(--lime); background: var(--lime); }
.success-action-primary span { color: var(--ink); }
.form-guarantee { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.9rem; }
.form-guarantee span { margin-right: 0.4rem; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgba(54, 253, 18, 0.22); color: #0a5c00; font-size: 0.74rem; font-weight: 650; }
.privacy-note { margin-top: 0.7rem; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq-layout { max-width: 48rem; }
.faq-intro { margin-bottom: 1.8rem; }
.faq-intro p { margin-top: 0.9rem; color: var(--muted); }
.faq-intro a { color: var(--ink); font-weight: 600; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: text-decoration-color 0.2s var(--ease); }
.text-link:hover { text-decoration-color: var(--ink); }
.card-hit ~ .card-body .text-link { position: relative; z-index: 2; }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.15rem 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; list-style: none; cursor: pointer; transition: padding-left 0.35s var(--ease); }
.accordion summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .accordion summary:hover { padding-left: 0.5rem; } }
.accordion summary span { display: grid; flex: none; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--soft); font-size: 1.1rem; font-weight: 400; transition: transform 0.4s var(--ease), background-color 0.25s; }
.accordion details[open] summary span { background: var(--lime); transform: rotate(45deg); }
.accordion details > div { padding: 0 3rem 1.3rem 0; color: var(--muted); line-height: 1.65; animation: step-in 0.4s var(--ease); }

/* ---------- Závěr ---------- */
.closing-section { padding-top: clamp(4.5rem, 9vw, 7.5rem); }
.closing-panel { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; padding: clamp(1.8rem, 5vw, 4rem); overflow: hidden; border-radius: var(--r-card); background: var(--dark); color: #fff; }
.closing-glow { position: absolute; top: -40%; right: -15%; width: 46rem; max-width: 110%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(54, 253, 18, 0.3), rgba(54, 253, 18, 0) 62%); animation: drift 12s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { to { transform: translate(-12%, 14%) scale(1.12); } }
.closing-heading, .closing-side { position: relative; }
.closing-eyebrow { margin-bottom: 1.2rem; color: #9b9b94; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.closing-eyebrow span { color: var(--lime); }
.closing-panel h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.closing-panel h2 em { background-image: none; color: var(--lime); padding: 0; }
.closing-heading > p:not(.closing-eyebrow) { max-width: 30rem; margin: 1.3rem 0 2rem; color: #b5b5ae; font-size: 1.05rem; line-height: 1.55; }
.closing-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.closing-facts > div { padding: 1rem; border: 1px solid var(--dark-line); border-radius: 1.1rem; background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(6px); }
.closing-facts dt { color: #9b9b94; font-size: 0.78rem; }
.closing-facts dd { margin-top: 0.3rem; font-size: 1.25rem; font-weight: 650; letter-spacing: -0.03em; }
.closing-guarantee { margin-top: 1.1rem; color: #b5b5ae; font-size: 0.92rem; line-height: 1.55; }
.closing-guarantee b { color: #fff; }
.closing-side small { display: block; margin-top: 0.9rem; color: #8b8b84; font-size: 0.74rem; line-height: 1.5; }

/* ---------- Patička ---------- */
.site-footer { padding: clamp(4rem, 8vw, 6.5rem) 0 1.25rem; }
.footer-card { padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--r-card); background: var(--dark-2); color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand-logo { width: 132px; }
.footer-brand p { max-width: 20rem; margin-top: 1.2rem; font-size: 1.1rem; font-weight: 550; letter-spacing: -0.02em; line-height: 1.35; }
.footer-brand > span { display: block; margin-top: 0.8rem; color: #8b8b84; font-size: 0.82rem; }
.footer-column { display: grid; align-content: start; justify-items: start; gap: 0.3rem; }
.footer-column h3 { margin-bottom: 0.4rem; color: #8b8b84; font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-column a:not(.button) { display: inline-flex; align-items: center; min-height: 28px; color: #d6d6cf; font-size: 0.95rem; text-decoration: none; transition: color 0.2s, transform 0.3s var(--ease); }
.footer-column a:not(.button):hover { color: var(--lime); transform: translateX(3px); }
.footer-column .footer-email { color: #fff; font-size: 1.15rem; font-weight: 650; letter-spacing: -0.02em; }
.footer-cta { margin-top: 0.7rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.5rem; margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid var(--dark-line); color: #8b8b84; font-size: 0.8rem; }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.footer-bottom a, .footer-bottom button { display: inline-flex; align-items: center; min-height: 28px; padding: 0; border: 0; background: none; color: inherit; font-size: inherit; text-decoration: none; }
.footer-bottom a:hover, .footer-bottom button:hover { color: #fff; }

/* ---------- Právní stránky ---------- */
.legal-main { padding: clamp(7rem, 13vw, 9.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.legal-document.card { display: block; max-width: 50rem; padding: clamp(1.6rem, 5vw, 3.6rem); }
.legal-document > header { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); padding-bottom: clamp(1.4rem, 3vw, 2rem); border-bottom: 1px solid var(--line); }
.legal-document h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.legal-updated { margin-top: 1rem; color: var(--muted); font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; text-transform: uppercase; }
.legal-document section + section { margin-top: clamp(1.6rem, 3vw, 2.2rem); }
.legal-document h2 { margin-bottom: 0.7rem; font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.2; }
.legal-document h3 { margin: 1.2rem 0 0.4rem; font-size: 1.05rem; }
.legal-document p, .legal-document li { color: #45453f; font-size: 1rem; line-height: 1.7; }
.legal-document p + p { margin-top: 0.8rem; }
.legal-document ul, .legal-document ol { display: grid; gap: 0.45rem; margin: 0.8rem 0; }
.legal-document ul li { position: relative; padding-left: 1.3rem; }
.legal-document ul li::before { content: ""; position: absolute; top: 0.68em; left: 0.15rem; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px var(--lime-deep); }
.legal-document ol { padding-left: 1.3rem; list-style: decimal; }
.legal-document a:not(.pill-link) { color: var(--ink); font-weight: 600; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.legal-document a:not(.pill-link):hover { background: rgba(54, 253, 18, 0.25); }
.legal-document code { padding: 0.12em 0.4em; border-radius: 6px; background: var(--soft); font-family: var(--mono); font-size: 0.86em; }
.legal-document strong { color: var(--ink); font-weight: 650; }
.legal-consent-button { margin-top: 1.1rem; cursor: pointer; }
button.pill-solid:hover { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.legal-nav a { color: rgba(255, 255, 255, 0.85); }
.legal-page .desktop-nav { display: flex; }
.footer-card-slim { padding: 1.4rem clamp(1.4rem, 4vw, 2.4rem); }
.footer-card-slim .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 560px) { .legal-page .header-cta { display: none; } .legal-page .nav-pill { padding-right: 1rem; } }

.footer-main.footer-wide { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.footer-contact { margin-top: 1.4rem; }
.footer-wide address { color: #8b8b84; font-size: 0.86rem; font-style: normal; line-height: 1.5; }
@media (max-width: 1100px) { .footer-main.footer-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer-wide .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .footer-main.footer-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Plovoucí prvky ---------- */
.mobile-lead-panel { display: none; position: fixed; z-index: 80; right: 12px; bottom: 12px; left: 12px; animation: rise-in 0.4s var(--ease); }
.mobile-lead-panel a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 54px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 680; text-decoration: none; box-shadow: 0 16px 34px -12px rgba(12, 12, 11, 0.5); }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } }
.consent-banner { position: fixed; z-index: 110; right: 14px; bottom: 14px; display: grid; gap: 1rem; width: min(26rem, calc(100% - 28px)); padding: 1.25rem; border: 1px solid var(--line); border-radius: 1.5rem; background: var(--card); box-shadow: var(--shadow-lift); animation: rise-in 0.5s var(--ease); }
.consent-label { color: var(--lime-deep); font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.consent-banner h2 { margin: 0.35rem 0 0.45rem; font-size: 1.2rem; letter-spacing: -0.03em; line-height: 1.15; }
.consent-banner p:not(.consent-label) { color: var(--muted); font-size: 0.86rem; line-height: 1.5; }
.consent-banner a { display: inline-block; margin-top: 0.5rem; font-size: 0.82rem; text-underline-offset: 3px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.consent-button { min-height: 44px; padding: 0 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 0.86rem; font-weight: 650; transition: border-color 0.2s, background-color 0.2s; }
.consent-button:hover { border-color: var(--ink); }
.consent-button-primary { border-color: var(--ink); background: var(--ink); color: #fff; }
.consent-button-primary:hover { border-color: var(--lime); background: var(--lime); color: var(--ink); }

/* ---------- Pohyb ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease), box-shadow 0.55s var(--ease), border-color 0.3s; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .card.reveal.is-visible:hover { transform: translateY(-6px); }
html.js .card-grid > .reveal:nth-child(2), html.js .steps > .reveal:nth-child(2), html.js .benefit-grid > .reveal:nth-child(2), html.js .stat-row > .reveal:nth-child(2) { transition-delay: 0.09s; }
html.js .steps > .reveal:nth-child(3), html.js .project-grid > .reveal:nth-child(3), html.js .benefit-grid > .reveal:nth-child(3), html.js .stat-row > .reveal:nth-child(3) { transition-delay: 0.18s; }
html.js .stat-row > .reveal:nth-child(4), html.js .project-grid > .reveal:nth-child(4), html.js .steps > .reveal:nth-child(4) { transition-delay: 0.27s; }
html.js .card.reveal.is-visible, html.js .stat.reveal.is-visible { transition-delay: 0s; }

html.js [data-split] .w { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(0.3em); transition: opacity 0.7s var(--ease), filter 0.7s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i) * 55ms); }
html.js [data-split].is-in .w { opacity: 1; filter: none; transform: none; }
html.js [data-split] em { background-size: 0% 0.3em; transition: background-size 0.9s var(--ease) 0.45s; }
html.js [data-split].is-in em { background-size: 100% 0.3em; }

html.js .hero .seq { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); }
html.js .hero.is-in .seq { opacity: 1; transform: none; }
html.js .hero.is-in .hero-lead { transition-delay: 0.35s; }
html.js .hero.is-in .hero-actions { transition-delay: 0.47s; }
html.js .hero.is-in .hero-rating { transition-delay: 0.55s; }
html.js .hero.is-in .hero-facts { transition-delay: 0.62s; }
html.js .hero.is-in .promise-note { transition-delay: 0.68s; }
html.js .hero .hero-stage { transform: translateY(70px); transition-duration: 1s, 1.3s; }
html.js .hero.is-in .hero-stage { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  html.js .reveal, html.js [data-split] .w, html.js .hero .seq { opacity: 1; filter: none; transform: none; }
  html.js .rating .stars, html.js .hero-rating .stars { max-width: none; }
  html.js [data-split] em { background-size: 100% 0.3em; }
}

/* ---------- Responsivita ---------- */
@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .site-header { width: calc(100% - 24px); }
  .nav-pill { justify-content: space-between; }
  .brand { margin-right: auto; }
  .benefit-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .model { grid-template-columns: 1fr; }
  .lead-layout { grid-template-columns: 1fr; }
  .lead-copy { position: static; text-align: center; }
  .lead-copy .heading-copy { margin-inline: auto; }
  .closing-panel { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 760px) {
  .card-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .rating { flex-wrap: wrap; justify-content: center; gap: 0.7rem 1rem; padding: 1rem 1.2rem; border-radius: 1.6rem; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .card.stat { min-height: 9.5rem; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .model-list li { grid-template-columns: 1.6rem 1fr; }
  .model-list li span { grid-column: 2; }
  .card.note { grid-template-columns: 1fr; gap: 1.6rem; padding: 1.6rem 1.3rem 1.5rem; }
  .note-photo { width: min(72%, 15rem); margin-top: 0.4rem; }
  .note-sign { flex-direction: column; align-items: stretch; gap: 1.1rem; }
  .note-sign .pill-link { justify-content: center; min-height: 50px; white-space: nowrap; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-stage { height: clamp(11rem, 50vw, 20rem); }
  .hero-stage .frame-main { width: 84%; }
  .hero-stage .frame-left { display: none; }
  .hero-stage .phone-right { right: 2%; width: 24%; }
  .hero-actions { width: 100%; }
  .hero-actions .button { flex: 1 1 100%; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 28px); }
  .header-cta { padding: 0 0.9rem; }
  .choice-grid { grid-template-columns: 1fr; }
  .stat strong { white-space: normal; }
  .project-grid { grid-template-columns: 1fr; }
  .project-stage { height: 10.5rem; }
  .choice-card { min-height: 0; }
  .footer-main { grid-template-columns: 1fr; }
  .form-actions { flex-wrap: wrap; }
  .next-button { flex: 1; }
  .accordion details > div { padding-right: 0; }
  .consent-banner { right: 10px; bottom: 10px; width: calc(100% - 20px); }
}


/* Návrh design/rozcestnik: jednoduché dlaždice služeb a krátký formulář. */
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.tile { align-items: flex-start; min-height: 15rem; padding: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--ink); text-decoration: none; scroll-margin-top: 96px; }
.tile h3 { margin: 0 0 0.5rem; font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.03em; }
.tile .card-copy { margin: 0; }
.tile-more { display: inline-flex; gap: 0.35rem; margin-top: auto; padding-top: 1.2rem; font-size: 0.9rem; font-weight: 650; }
.tile-more span { transition: transform 0.3s var(--ease); }
.tile:hover .tile-more span { transform: translateX(4px); }
.statement .stat-row { margin-top: clamp(2rem, 4vw, 3rem); }
.statement .stat strong { margin-top: 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.seo-lead-form { padding: clamp(1.2rem, 2.6vw, 1.9rem); border-radius: 1.5rem; background: var(--card); color: var(--ink); }
.seo-form-status { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; color: var(--muted); font-size: 0.82rem; font-weight: 550; }
.seo-form-status span { display: inline-flex; align-items: center; gap: 0.5rem; }
.seo-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.seo-form-field-wide { grid-column: 1 / -1; }
.seo-form-control { width: 100%; height: 54px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 0.95rem; background: var(--bg); font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.seo-form-control::placeholder { color: #6c6c66; }
.seo-form-control:focus { outline: 0; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(54, 253, 18, 0.35); }
.seo-form-control[aria-invalid="true"] { border-color: var(--error); }
.seo-form-error { min-height: 1.2rem; margin-top: 0.6rem; color: var(--error); font-size: 0.86rem; }
.seo-form-submit { display: flex; align-items: center; justify-content: center; gap: 0.6rem; width: 100%; min-height: 56px; margin-top: 0.4rem; border: 0; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 1.02rem; font-weight: 680; box-shadow: 0 10px 24px -12px rgba(54, 253, 18, 0.9); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.seo-form-submit:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(54, 253, 18, 0.18), 0 18px 32px -14px rgba(54, 253, 18, 0.95); }
.seo-form-submit:active { transform: scale(0.98); }
.seo-form-submit:disabled { opacity: 0.6; cursor: progress; transform: none; }
.seo-form-note { margin-top: 0.9rem; color: var(--muted); font-size: 0.78rem; line-height: 1.55; }
.seo-form-note a { color: var(--ink); }
.seo-lead-form.is-success > :not(.seo-form-success) { display: none; }
.seo-form-success { padding: 1rem 0.2rem; }
.seo-form-success h3 { margin: 0.4rem 0 0.8rem; font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.04em; }
.seo-form-success p { margin-bottom: 1.2rem; color: var(--muted); line-height: 1.6; }
.simple-form { padding: 0; background: transparent; }
.simple-form .seo-form-field > span small { color: var(--muted); font-weight: 500; }
.simple-form select.seo-form-control { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.6rem; }
.form-shell .simple-form { padding: clamp(1.2rem, 2.6vw, 1.9rem); }
@media (max-width: 980px) { .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tile-grid, .simple-form .seo-form-fields { grid-template-columns: 1fr; } .tile { min-height: 0; } }

/* Zjednodušené hover efekty: karta se jen jemně zvedne, nic se nepřebarvuje. */
.spot::before, .benefit::after { display: none; }
@media (hover: hover) {
  .card.spot:hover, html.js .card.spot.reveal.is-visible:hover, .card-link:hover, .project:hover, html.js .card.reveal.is-visible:hover { border-color: #cfcfc8; background: var(--card); color: var(--ink); box-shadow: var(--shadow-lift); transform: translateY(-4px); }
  .spot:hover .card-copy, .stat.spot:hover .stat-label { color: var(--muted); }
  .spot:hover .step-no { background: var(--soft); color: var(--ink); transform: none; }
  .stat:hover::after { width: 2.2rem; }
  .steps:hover > .step:not(:hover), .benefit-grid:hover > .benefit:not(:hover), .stat-row:hover > .stat:not(:hover) { opacity: 1; }
  .project:hover .project-stage .frame, .project:hover .project-stage .phone { transform: none; }
  .card-link:hover .chip-icon { transform: none; }
}

/* Poptávka: nadpis, formulář a kontakty pod sebou, na střed. */
.lead-simple { max-width: 46rem; }
.lead-simple .section-heading { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.lead-simple .form-shell { border-radius: var(--r-card); }

/* Tmavá varianta k porovnání: zapíná se atributem data-look="dark" na <html>. */
html[data-look="dark"] {
  --bg: #0e0e0d;
  --card: #171715;
  --soft: #242421;
  --ink: #f1f1eb;
  --muted: #a4a49c;
  --line: #2c2c29;
  --lime-deep: #36fd12;
  --dark: #1f1f1c;
  --on-lime: #0c0c0b;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -18px rgba(0, 0, 0, 0.7);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.4), 0 28px 56px -24px rgba(0, 0, 0, 0.85);
  color-scheme: dark;
}
html[data-look="dark"] ::selection { color: var(--on-lime); }
html[data-look="dark"] :is(.button-primary, .header-cta, .rating-cta, .mobile-lead-panel a, .seo-form-submit, a.pill-solid:hover, button.pill-solid:hover, .card-link:hover .pill-solid, .consent-button-primary:hover) { color: var(--on-lime); }
html[data-look="dark"] :is(.pill-solid, .next-button, .consent-button-primary, .skip-link) { border-color: var(--ink); background: var(--ink); color: var(--on-lime); }
html[data-look="dark"] :is(.choice-card:hover, .choice-card.is-selected, .form-input:focus, .form-select:focus, .seo-form-control:focus) { background: var(--card); }
html[data-look="dark"] :is(h1, h2) em, html[data-look="dark"].js [data-split] em, html[data-look="dark"].js [data-split].is-in em { color: var(--lime); background-size: 100% 0.08em; background-position: 0 96%; }
html[data-look="dark"] .nav-pill { border-color: rgba(255, 255, 255, 0.14); background: rgba(23, 23, 21, 0.86); }
html[data-look="dark"] .frame { border-color: rgba(255, 255, 255, 0.08); }
@media (hover: hover) {
  html[data-look="dark"] :is(.card.spot:hover, .card-link:hover, .project:hover), html[data-look="dark"].js .card.reveal.is-visible:hover { border-color: #3b3b37; }
}

/* Reference: web, automatizace, webová aplikace. */
.project-grid.project-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-own { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.project-stage-flow { place-items: center; padding: 1rem; background: radial-gradient(120% 90% at 20% 0%, #24451b, #0b140a 72%); }
.flow { display: grid; gap: 0.4rem; width: min(100%, 15rem); margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.flow li { position: relative; display: flex; align-items: center; gap: 0.55rem; padding: 0.38rem 0.75rem; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: #f1f1eb; font-size: 0.74rem; font-weight: 600; }
.flow li i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #36fd12; box-shadow: 0 0 0 3px rgba(54, 253, 18, 0.2); }
.project-stage-app { background: radial-gradient(120% 90% at 20% 0%, #2c2c28, #10100f 74%); }
.app-frame { background: #fafaf8; }
.app-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px; }
.app-board div { display: grid; align-content: start; gap: 4px; min-height: 5.5rem; padding: 5px; border-radius: 5px; background: #ecece7; }
.app-board b { color: #4c4c47; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.02em; }
.app-board i { display: block; height: 14px; border-radius: 3px; background: #fff; box-shadow: 0 1px 1px rgba(12, 12, 11, 0.06); }
.app-board div:first-child i:first-of-type { box-shadow: inset 3px 0 0 #36fd12, 0 1px 1px rgba(12, 12, 11, 0.06); }
.stage-note { position: absolute; z-index: 3; right: 0.7rem; bottom: 0.6rem; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgba(12, 12, 11, 0.78); color: #f1f1eb; font-size: 0.62rem; font-weight: 600; }
@media (max-width: 860px) { .project-grid.project-grid-3 { grid-template-columns: 1fr; } }


/* Hero: záložky pilířů. Panely leží na sobě, takže přepnutí nemění výšku stránky. */
.hv-tabs { margin-top: clamp(2.5rem, 5vw, 4rem); text-align: left; }
.pillar-tabs { position: relative; display: flex; justify-content: center; gap: 0.25rem; width: fit-content; max-width: 100%; margin: 0 auto 1rem; padding: 0.3rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); box-shadow: var(--shadow-card); }
.pt-indicator { position: absolute; z-index: 0; top: 0; left: 0; width: var(--iw, 0); height: var(--ih, 0); border-radius: 999px; background: var(--ink); transform: translate(var(--ix, 0), var(--iy, 0)); transition: transform 0.5s var(--ease), width 0.5s var(--ease), height 0.5s var(--ease); }
.pillar-tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 42px; padding: 0 1.05rem; overflow: hidden; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 0.9rem; font-weight: 650; cursor: pointer; transition: color 0.3s; }
.pillar-tabs button:hover { color: var(--ink); }
.pillar-tabs button[aria-selected="true"] { color: var(--bg); }
.pillar-tabs:not(.has-indicator) button[aria-selected="true"] { background: var(--ink); }
.pt-ico { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 0.72rem; transition: background-color 0.3s, color 0.3s; }
.pillar-tabs button[aria-selected="true"] .pt-ico { background: var(--lime); color: #0c0c0b; }
.pt-progress { position: absolute; right: 1.05rem; bottom: 5px; left: 1.05rem; height: 2px; border-radius: 2px; background: var(--lime); opacity: 0; transform: scaleX(0); transform-origin: left; }
.is-autoplay .pillar-tabs button[aria-selected="true"] .pt-progress { opacity: 1; animation: pillar-progress var(--pillar-ms, 4500ms) linear forwards; }
.is-autoplay.is-paused .pt-progress { animation-play-state: paused; }
@keyframes pillar-progress { to { transform: scaleX(1); } }

.pillar-stage { display: grid; }
.pillar-panel { display: grid; grid-area: 1 / 1; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.3rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); box-shadow: var(--shadow-card); opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0s linear 0.45s; }
.pillar-panel.is-active { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease), visibility 0s; }
.pp-copy { transition: transform 0.6s var(--ease); }
.pillar-panel:not(.is-active) .pp-copy { transform: translateY(10px); }
.pp-copy h3 { margin: 0 0 0.6rem; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.04em; line-height: 1.05; }
.pp-copy > p:not(.card-kicker) { margin: 0 0 1.4rem; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }
.pp-visual { position: relative; display: grid; place-items: center; min-height: clamp(15rem, 30vw, 24rem); padding: clamp(1rem, 2.5vw, 2rem); overflow: hidden; border-radius: var(--r-md); background: radial-gradient(90% 80% at 85% 0%, rgba(54, 253, 18, 0.16), transparent 60%), var(--soft); }
.pp-visual > * { transition: transform 0.7s var(--ease), opacity 0.5s var(--ease); }
.pillar-panel:not(.is-active) .pp-visual > * { opacity: 0; transform: translateY(14px) scale(0.98); }
.pp-visual .frame { width: 100%; box-shadow: var(--shadow-lift); }
.pp-phone { position: absolute; right: 4%; bottom: -12%; width: 19%; padding: 4px; border-radius: 1.1rem; background: var(--ink); box-shadow: var(--shadow-lift); transform: rotate(5deg); }
.pillar-panel:not(.is-active) .pp-visual > .pp-phone { transform: translateY(30px) rotate(5deg); }
.pp-phone img { display: block; border-radius: 0.85rem; }

.auto-card { width: min(100%, 22rem); padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--card); color: var(--ink); box-shadow: var(--shadow-lift); text-align: left; }
.auto-head { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.75rem; font-size: 0.92rem; font-weight: 700; letter-spacing: -0.01em; }
.auto-head i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(54, 253, 18, 0.25); }
.auto-card ul, .app-chip { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.auto-card li, .app-chip li { position: relative; padding: 0.48rem 0.7rem 0.48rem 2rem; border-radius: 0.65rem; background: var(--soft); font-size: 0.8rem; font-weight: 550; line-height: 1.3; }
.auto-card li::before, .app-chip li::before { content: ""; position: absolute; top: 50%; left: 0.78rem; width: 0.3rem; height: 0.6rem; border: solid var(--lime-deep); border-width: 0 2px 2px 0; transform: translateY(-60%) rotate(42deg); }
.app-chip { position: absolute; right: 5%; bottom: 7%; width: min(13.5rem, 46%); padding: 0.6rem; border: 1px solid var(--line); border-radius: 0.9rem; background: var(--card); color: var(--ink); box-shadow: var(--shadow-lift); }
.app-chip li { padding-block: 0.34rem; font-size: 0.72rem; }

.ai-chat { display: grid; gap: 0.6rem; width: min(100%, 24rem); }
.ai-msg { margin: 0; padding: 0.75rem 0.95rem; border-radius: 1rem; font-size: 0.9rem; line-height: 1.45; box-shadow: var(--shadow-card); }
.ai-msg-user { justify-self: end; max-width: 85%; border-bottom-right-radius: 0.3rem; background: var(--ink); color: var(--bg); }
.ai-msg-bot { max-width: 92%; border: 1px solid var(--line); border-bottom-left-radius: 0.3rem; background: var(--card); color: var(--ink); }
.ai-msg-bot b { display: block; margin-bottom: 0.2rem; color: var(--lime-deep); font-size: 0.74rem; }
.pp-visual .stage-note { right: 0.8rem; bottom: 0.8rem; }

/* Postupné odkrytí obsahu náhledu, když se panel zobrazí. */
@keyframes pillar-in { from { opacity: 0; transform: translateY(8px); } }
.pillar-panel.is-active .auto-card li, .pillar-panel.is-active .app-chip li, .pillar-panel.is-active .ai-msg { animation: pillar-in 0.5s var(--ease) both; }
.pillar-panel.is-active .auto-card li:nth-child(1), .pillar-panel.is-active .app-chip li:nth-child(1) { animation-delay: 0.25s; }
.pillar-panel.is-active .auto-card li:nth-child(2), .pillar-panel.is-active .app-chip li:nth-child(2) { animation-delay: 0.55s; }
.pillar-panel.is-active .auto-card li:nth-child(3), .pillar-panel.is-active .app-chip li:nth-child(3) { animation-delay: 0.85s; }
.pillar-panel.is-active .ai-msg-user { animation-delay: 0.2s; }
.pillar-panel.is-active .ai-msg-bot { animation-delay: 0.9s; }

@media (max-width: 860px) {
  .pillar-panel { grid-template-columns: 1fr; align-content: start; }
  .pp-visual { min-height: 0; }
}
@media (max-width: 560px) {
  .pillar-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 1.2rem; }
  .pillar-tabs button { justify-content: center; padding: 0 0.5rem; font-size: 0.84rem; }
  .pt-progress { right: 0.8rem; left: 0.8rem; }
  .pp-visual { height: clamp(14rem, 62vw, 17rem); min-height: 0; padding: 0.9rem; }
  .pp-visual .frame { width: 100%; }
  .app-chip { right: 4%; bottom: 5%; width: min(11rem, 58%); padding: 0.4rem; }
  .app-chip li { padding: 0.24rem 0.45rem 0.24rem 1.6rem; font-size: 0.64rem; }
  .app-chip li::before { left: 0.6rem; }
  .ai-msg { padding: 0.6rem 0.75rem; font-size: 0.8rem; }
  .pp-phone { width: 22%; bottom: -8%; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-indicator, .pillar-panel, .pp-copy, .pp-visual > * { transition: none; }
  .pillar-panel.is-active .auto-card li, .pillar-panel.is-active .app-chip li, .pillar-panel.is-active .ai-msg { animation: none; }
}
.is-autoplay.is-offscreen .pt-progress { animation-play-state: paused; }

/* Zkrácená patička: značka, kontakt, pět odkazů. */
.footer-main.footer-compact { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: 2rem clamp(1.5rem, 4vw, 3rem); }
.footer-main.footer-compact:has(> :nth-child(4)) { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 0.8fr); }
.footer-compact .footer-contact { margin-top: 0; }
.footer-compact address { color: #8b8b84; font-size: 0.86rem; font-style: normal; line-height: 1.5; }
.footer-compact .footer-cta { margin-top: 1.4rem; }
@media (max-width: 760px) { .footer-main.footer-compact, .footer-main.footer-compact:has(> :nth-child(4)) { grid-template-columns: 1fr 1fr; } .footer-compact .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-main.footer-compact, .footer-main.footer-compact:has(> :nth-child(4)) { grid-template-columns: 1fr; } }

/* Zakladatel: velká fotka a krátký příběh, bez karty. */
.founder { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; max-width: 72rem; margin: clamp(3.5rem, 7vw, 6rem) auto 0; }
.founder-photo { margin: 0; overflow: hidden; border-radius: var(--r-card); background: var(--soft); box-shadow: var(--shadow-lift); }
.founder-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.founder-copy { display: grid; justify-items: start; gap: 1.1rem; max-width: 36rem; text-align: left; }
.founder-eyebrow { display: flex; align-items: center; gap: 0.8rem; margin: 0; color: var(--muted); font-size: 0.9rem; font-weight: 550; }
.founder-eyebrow::before { content: ""; width: 2.4rem; height: 1px; background: var(--lime-deep); }
.founder-copy h3 { margin: 0 0 0.3rem; font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; text-wrap: balance; }
.founder-copy h3 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--lime-deep); }
.founder-copy > p:not(.founder-eyebrow) { margin: 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.7; }
.founder-copy strong { color: var(--ink); font-weight: 650; }
.founder-sign { display: grid; gap: 0.3rem; margin-top: 0.8rem; }
.founder-name { color: var(--lime-deep); font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-style: italic; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.founder-role { color: var(--muted); font-size: 0.9rem; }
html[data-look="dark"] .founder-copy h3 em { background: none; }
@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo img { aspect-ratio: 1; object-position: 50% 25%; }
}

/* Jak to probíhá: časová osa s výstupy a řádek čísel místo dvou řad karet. */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.4rem); margin: clamp(1rem, 3vw, 2rem) 0 0; padding: 0; list-style: none; text-align: left; }
.timeline::before { content: ""; position: absolute; top: 21px; right: 0; left: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--lime) 0%, var(--lime) 100%) no-repeat 0 0 / 100% 100%, var(--line); }
html.js .timeline.reveal::before { background-size: 0% 100%, auto; transition: background-size 1.4s var(--ease) 0.2s; }
html.js .timeline.reveal.is-visible::before { background-size: 100% 100%, auto; }
.timeline li { position: relative; display: grid; align-content: start; gap: 0.5rem; }
.tl-no { display: grid; width: 44px; height: 44px; margin-bottom: 0.9rem; place-items: center; border: 2px solid var(--lime); border-radius: 50%; background: var(--bg); font-family: var(--mono); font-size: 0.82rem; font-weight: 600; }
.timeline h3 { margin: 0; font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.03em; }
.timeline li > p:not(.tl-out) { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.tl-out { display: grid; gap: 0.15rem; margin: 0.6rem 0 0; padding: 0.75rem 0.9rem; border-left: 3px solid var(--lime); border-radius: 0 0.7rem 0.7rem 0; background: var(--card); font-size: 0.9rem; font-weight: 600; line-height: 1.4; }
.tl-out b { color: var(--lime-deep); font-family: var(--mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 1.8rem; padding-left: 3.6rem; }
  .timeline::before { top: 0; bottom: 0; left: 21px; right: auto; width: 2px; height: auto; background: var(--lime); }
  html.js .timeline.reveal::before, html.js .timeline.reveal.is-visible::before { background: var(--lime); }
  .tl-no { position: absolute; top: -0.2rem; left: -3.6rem; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { html.js .timeline.reveal::before { transition: none; background-size: 100% 100%, auto; } }

/* Výraznější hover efekty: každý typ prvku reaguje po svém, pořád jedním čistým pohybem. */
.tile::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 4px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.tile .chip-icon, .founder-photo img, .project-stage .frame img, .tl-no, .tl-out, .step-no { transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s; }
@media (hover: hover) {
  html .tile:hover, html.js .card.tile.reveal.is-visible:hover { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(54, 253, 18, 0.18), var(--shadow-lift); transform: translateY(-10px); }
  .tile:hover::after { transform: scaleX(1); }
  .tile:hover .chip-icon { background: var(--lime); color: #0c0c0b; transform: rotate(-12deg) scale(1.15); }
  .tile:hover .tile-more { color: var(--lime-deep); }
  .tile:hover .tile-more span { transform: translateX(8px); }

  html .project:hover, html.js .card.project.reveal.is-visible:hover { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(54, 253, 18, 0.18), var(--shadow-lift); transform: translateY(-10px); }
  .project:hover .project-stage .frame img { transform: scale(1.06); }
  .project:hover .flow li { border-color: rgba(54, 253, 18, 0.55); }

  html .benefit:hover, html.js .card.benefit.reveal.is-visible:hover { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(54, 253, 18, 0.18), var(--shadow-lift); transform: translateY(-10px); }
  .benefit:hover .step-no { background: var(--lime); color: #0c0c0b; transform: scale(1.1); }

  .timeline li:hover .tl-no { background: var(--lime); color: #0c0c0b; box-shadow: 0 0 0 6px rgba(54, 253, 18, 0.2); transform: scale(1.12); }
  .timeline li:hover .tl-out { transform: translateX(8px); }

  .founder:hover .founder-photo img { transform: scale(1.04); }
  .pillar-tabs button:not([aria-selected="true"]):hover { background: var(--soft); }
}
@media (prefers-reduced-motion: reduce) {
  .tile::after, .tile .chip-icon, .founder-photo img, .project-stage .frame img, .tl-no, .tl-out, .step-no { transition: none; }
}

/* Reference: obchodní výsledek jako nadpis, přínosy, vyšší náhledy. */
.project-grid-3 .project-stage { height: clamp(12rem, 17vw, 15rem); }
.project-name { color: var(--muted); font-weight: 550; }
.project-grid-3 .project h3 { font-size: clamp(1.25rem, 1.8vw, 1.45rem); letter-spacing: -0.03em; line-height: 1.15; }
.project-gains { margin: 0.9rem 0 1.2rem; gap: 0.4rem; font-size: 0.88rem; }
.project-auto { width: min(100%, 18rem); padding: 0.75rem 0.85rem 0.85rem; }
.project-auto .auto-head { margin-bottom: 0.5rem; font-size: 0.8rem; }
.project-auto li { padding-block: 0.32rem; font-size: 0.72rem; }
.project-stage-app { place-items: start center; }
.project-stage-app .frame { width: 86%; }
.project-chip { right: 4%; bottom: 6%; width: min(11.5rem, 52%); padding: 0.45rem; }
.project-chip li { padding: 0.26rem 0.5rem 0.26rem 1.7rem; font-size: 0.66rem; }
.project-chip li::before { left: 0.65rem; }
@media (max-width: 860px) { .project-grid-3 .project-stage { height: clamp(13rem, 52vw, 19rem); } }

/* Mobil a tablet: hlavička se nemačká, dotykové cíle mají aspoň 44 px. */
.menu-button { flex: none; }
@media (max-width: 400px) {
  .nav-pill .header-cta { display: none; }
  .nav-pill .brand-logo { width: 104px; }
}
@media (hover: none), (max-width: 760px) {
  .mini-link, .footer-column a:not(.button), .footer-bottom a, .footer-bottom button { min-height: 44px; }
  .founder-role .text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .site-header .brand { display: inline-flex; align-items: center; min-height: 44px; }
  .desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; }
}
.frame-bar span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .pp-visual .auto-card { padding: 0.7rem 0.75rem 0.75rem; }
  .pp-visual .auto-head { margin-bottom: 0.45rem; font-size: 0.78rem; }
  .pp-visual .auto-card ul { gap: 0.3rem; }
  .pp-visual .auto-card li { padding: 0.3rem 0.5rem 0.3rem 1.6rem; font-size: 0.68rem; }
  .pp-visual .auto-card li::before { left: 0.6rem; }
}
/* Proč Efficio: bez dekorativního slova v pozadí nepotřebuje karta prázdné místo dole; tablet 3 sloupce. */
.benefit .card-body { padding-bottom: clamp(1.4rem, 2.6vw, 2.1rem); }
@media (min-width: 600px) and (max-width: 980px) { .benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Tmavá verze záložek: tmavá lišta, aktivní záložka jako vystouplé tlačítko se zelenou září. */
html[data-look="dark"] .pillar-tabs { border-color: rgba(255, 255, 255, 0.07); background: #121210; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6); }
html[data-look="dark"] .pt-indicator { background: linear-gradient(180deg, #34342f, #232320); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 0 0 1px rgba(54, 253, 18, 0.28), 0 8px 22px -10px rgba(54, 253, 18, 0.55); }
html[data-look="dark"] .pillar-tabs:not(.has-indicator) button[aria-selected="true"] { background: #2a2a26; }
html[data-look="dark"] .pillar-tabs button { color: #8d8d86; }
html[data-look="dark"] .pillar-tabs button:hover, html[data-look="dark"] .pillar-tabs button[aria-selected="true"] { color: #f1f1eb; }
html[data-look="dark"] .pillar-tabs button:not([aria-selected="true"]):hover { background: rgba(255, 255, 255, 0.04); }
html[data-look="dark"] .pt-ico { border: 1px solid rgba(255, 255, 255, 0.12); background: transparent; color: #a4a49c; }
html[data-look="dark"] .pillar-tabs button[aria-selected="true"] .pt-ico { border-color: var(--lime); background: var(--lime); color: #0c0c0b; box-shadow: 0 0 12px rgba(54, 253, 18, 0.45); }
html[data-look="dark"] .pt-progress { right: 1.2rem; bottom: 3px; left: 1.2rem; box-shadow: 0 0 8px rgba(54, 253, 18, 0.6); }

/* Dotyková zařízení: stejný stav jako hover, rozsvítí se karta uprostřed obrazovky (.is-active z redesign.js). */
@media (hover: none) {
  html .tile.is-active, html.js .card.tile.reveal.is-visible.is-active,
  html .project.is-active, html.js .card.project.reveal.is-visible.is-active,
  html .benefit.is-active, html.js .card.benefit.spot.reveal.is-visible.is-active { border-color: var(--lime); background: var(--card); color: var(--ink); box-shadow: 0 0 0 4px rgba(54, 253, 18, 0.18), var(--shadow-lift); transform: translateY(-6px); }
  .tile.is-active::after { transform: scaleX(1); }
  .tile.is-active .chip-icon, .card-link.tile.is-active .chip-icon { background: var(--lime); color: #0c0c0b; transform: rotate(-12deg) scale(1.15); }
  .tile.is-active .tile-more { color: var(--lime-deep); }
  .tile.is-active .tile-more span { transform: translateX(8px); }
  .project.is-active .project-stage .frame img { transform: scale(1.06); }
  .project.is-active .project-stage .frame, .project.is-active .project-stage .phone { transform: none; }
  .project.is-active .flow li { border-color: rgba(54, 253, 18, 0.55); }
  .benefit.is-active .card-copy, .spot.benefit.is-active .card-copy { color: var(--muted); }
  .benefit.is-active .step-no, .spot.benefit.is-active .step-no { background: var(--lime); color: #0c0c0b; transform: scale(1.1); }
  .timeline li.is-active .tl-no { background: var(--lime); color: #0c0c0b; box-shadow: 0 0 0 6px rgba(54, 253, 18, 0.2); transform: scale(1.12); }
  .timeline li.is-active .tl-out { transform: translateX(8px); }
  .founder.is-active .founder-photo img { transform: scale(1.04); }
}
.why-heading { max-width: 58rem; }
.why-heading h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
textarea.seo-form-control { height: auto; min-height: 6.5rem; padding: 0.85rem 1rem; resize: vertical; line-height: 1.5; font: inherit; }

/* Landing pages (automatizace dokumentů, nabídky a fakturace). */
.lp-hero { text-align: left; padding-bottom: clamp(3rem, 6vw, 5rem); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lp-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.lp-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.lp-hero .hero-actions { justify-content: flex-start; }
.lp-note { max-width: 32rem; margin: 1.2rem 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.lp-visual { position: relative; display: grid; place-items: center; min-height: clamp(18rem, 32vw, 26rem); padding: clamp(1.2rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--r-card); background: radial-gradient(90% 80% at 85% 0%, rgba(54, 253, 18, 0.16), transparent 60%), var(--soft); }
.lp-visual .frame { width: 100%; box-shadow: var(--shadow-lift); }
.lp-auto { position: relative; width: min(100%, 23rem); padding-bottom: 2.6rem; }
.lp-auto .stage-note { right: 0.9rem; bottom: 0.8rem; }
.lp-chip { right: 6%; bottom: 8%; }
.lp-hero.is-in .lp-auto li, .lp-hero.is-in .lp-chip li { animation: pillar-in 0.5s var(--ease) both; }
.lp-hero.is-in .lp-auto li:nth-child(1), .lp-hero.is-in .lp-chip li:nth-child(1) { animation-delay: 0.7s; }
.lp-hero.is-in .lp-auto li:nth-child(2), .lp-hero.is-in .lp-chip li:nth-child(2) { animation-delay: 1s; }
.lp-hero.is-in .lp-auto li:nth-child(3), .lp-hero.is-in .lp-chip li:nth-child(3) { animation-delay: 1.3s; }
.lp-hero.is-in .lp-auto li:nth-child(4) { animation-delay: 1.6s; }

.ba { display: grid; gap: 0.6rem; max-width: 56rem; margin: 0 auto; padding: 0; list-style: none; }
.ba li { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.ba li > span { position: relative; padding: 1rem 1.1rem 1rem 2.7rem; border: 1px solid var(--line); border-radius: var(--r-md); font-size: 0.98rem; line-height: 1.45; }
.ba-before { background: var(--card); color: var(--muted); }
.ba-before::before { content: "×"; position: absolute; top: 0.95rem; left: 1.1rem; color: #c62828; font-weight: 700; }
.ba-after { border-color: rgba(54, 253, 18, 0.45) !important; background: var(--card); font-weight: 600; }
.ba-after::before { content: ""; position: absolute; top: 1.2rem; left: 1.25rem; width: 0.3rem; height: 0.6rem; border: solid var(--lime-deep); border-width: 0 2px 2px 0; transform: rotate(42deg); }
.ba .ba-head span { padding: 0 0 0 0.2rem; border: 0; background: none; color: var(--muted); font-family: var(--mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.ba .ba-head span::before { content: none; }
.ba .ba-head span:last-child { color: var(--lime-deep); }

.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.4rem); max-width: 60rem; margin: 0 auto; padding: clamp(1.3rem, 3vw, 2.2rem); }
.calc-inputs { display: grid; gap: 0.9rem; }
.calc-inputs label { display: grid; gap: 0.4rem; font-size: 0.9rem; font-weight: 600; }
.calc-inputs input { width: 100%; height: 52px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 0.95rem; background: var(--bg); color: var(--ink); font: inherit; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.calc-inputs input:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(54, 253, 18, 0.35); }
.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; align-content: center; }
.calc-result div { display: grid; gap: 0.3rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--soft); }
.calc-result span { color: var(--muted); font-size: 0.82rem; }
.calc-result strong { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc-result .calc-year { grid-column: 1 / -1; border: 1px solid rgba(54, 253, 18, 0.5); background: rgba(54, 253, 18, 0.12); }
.calc-result .calc-year strong { font-size: clamp(2rem, 4vw, 3rem); }

.lp-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 62rem; margin: 0 auto; }
.lp-proof .project-stage { height: auto; min-height: 18rem; border-right: 1px solid var(--line); border-bottom: 0; place-items: center; }
.lp-proof .project-stage .frame { width: 88%; }
.lp-proof h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.03em; }

@media (max-width: 860px) {
  .lp-hero-grid, .calc, .lp-proof { grid-template-columns: 1fr; }
  .lp-proof .project-stage { min-height: 14rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .lp-timeline { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ba li { grid-template-columns: 1fr; gap: 0.35rem; }
  .ba li + li { margin-top: 0.5rem; }
  .ba .ba-head { display: none; }
  .lp-visual { min-height: 0; }
  .lp-chip { position: static; width: 100%; margin-top: 0.7rem; }
  html.lp .nav-pill .header-cta { display: inline-flex; height: 40px; padding: 0 0.9rem; font-size: 0.8rem; }
  html.lp .nav-pill .header-cta .cta-arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lp-hero.is-in .lp-auto li, .lp-hero.is-in .lp-chip li { animation: none; } }

/* Tmavá verze pro celý web: vygenerované protějšky napevno zadaných světlých barev. */
html[data-look="dark"] .button-primary,
html[data-look="dark"] .card-link.is-active .pill-solid,
html[data-look="dark"] .card-link:hover .pill-solid,
html[data-look="dark"] .consent-button-primary:hover,
html[data-look="dark"] .form-invite .form-invite-arrow,
html[data-look="dark"] .header-cta,
html[data-look="dark"] .mobile-lead-panel a,
html[data-look="dark"] .next-button:hover,
html[data-look="dark"] .rating-cta,
html[data-look="dark"] .seo-card.spot.is-active > span,
html[data-look="dark"] .seo-card.spot:hover > span,
html[data-look="dark"] .seo-cta noscript .button,
html[data-look="dark"] .seo-form-submit,
html[data-look="dark"] .seo-related-card:hover::after,
html[data-look="dark"] .spot.is-active .step-no,
html[data-look="dark"] .spot:hover .step-no,
html[data-look="dark"] .stat.spot.is-active .chip-icon,
html[data-look="dark"] .stat.spot:hover .chip-icon,
html[data-look="dark"] ::selection,
html[data-look="dark"] a.pill-solid:hover,
html[data-look="dark"] button.pill-solid:hover { color: var(--on-lime); }
html[data-look="dark"] .consent-button-primary,
html[data-look="dark"] .next-button,
html[data-look="dark"] .pill-solid,
html[data-look="dark"] .skip-link { color: var(--on-lime); }
html[data-look="dark"] .choice-card.is-selected,
html[data-look="dark"] .choice-card:hover,
html[data-look="dark"] .form-input:focus,
html[data-look="dark"] .form-select:focus,
html[data-look="dark"] .seo-form-control:focus,
html[data-look="dark"] .seo-intent-option input:checked + span { background: var(--card); }
html[data-look="dark"] .form-guarantee span,
html[data-look="dark"] .form-input::placeholder,
html[data-look="dark"] .legal-document li,
html[data-look="dark"] .legal-document p,
html[data-look="dark"] .model-list b,
html[data-look="dark"] .model-list li::before,
html[data-look="dark"] .seo-answer-body,
html[data-look="dark"] .seo-decision-table td,
html[data-look="dark"] .seo-experience p,
html[data-look="dark"] .seo-form-control::placeholder,
html[data-look="dark"] .seo-person-copy,
html[data-look="dark"] .seo-prose li,
html[data-look="dark"] .seo-prose p,
html[data-look="dark"] .tags li { color: var(--muted); }
html[data-look="dark"] .form-guarantee span { color: var(--lime); }
html[data-look="dark"] :is(.choice-icon, .success-mark, .success-action-primary, .success-action-primary span, .success-action-primary strong, .seo-intent-option input:checked + span i) { color: var(--on-lime); }

/* Potvrzení po odeslání formuláře: stejný jazyk jako potvrzovací e-mail. */
.success-card { padding: 0.4rem 0.2rem 0.2rem; animation: success-in 0.6s var(--ease) both; }
.success-card .kicker { margin-bottom: 1rem; }
.success-card h3.success-title { margin: 0 0 1.4rem; font-size: clamp(2.1rem, 4.6vw, 3.2rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.success-title em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -0.035em; color: var(--lime-deep); background-image: linear-gradient(var(--lime), var(--lime)); background-repeat: no-repeat; background-position: 0 96%; background-size: 100% 0.08em; padding: 0 0.04em; }
.success-note { margin: 0 0 1.6rem; padding: 0.2rem 0 0.2rem 1rem; border-left: 3px solid var(--lime); font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.success-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin: 0 0 1.4rem; padding: 0; list-style: none; counter-reset: step; }
.success-steps li { position: relative; padding: 1.1rem 1rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--soft); counter-increment: step; }
.success-steps li::before { content: "0" counter(step); display: block; margin-bottom: 0.7rem; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; }
.success-steps li.is-done::before { content: "✓ hotovo"; color: var(--lime-deep); }
.success-steps li.is-next { border-color: var(--lime); }
.success-steps li.is-next::before { content: "02 · teď"; color: var(--lime-deep); }
.success-steps b { display: block; margin-bottom: 0.25rem; font-size: 1rem; letter-spacing: -0.02em; }
.success-steps span { display: block; color: var(--muted); font-size: 0.86rem; line-height: 1.45; overflow-wrap: anywhere; }
.success-steps strong { color: var(--ink); font-weight: 600; }
.success-fast { padding: 1.1rem 1.1rem 1.2rem; border-radius: var(--r-md); background: var(--soft); }
.success-fast p { margin: 0 0 0.8rem; color: var(--muted); font-size: 0.92rem; }
.success-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
@keyframes success-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .success-card { animation: none; } }
@media (max-width: 760px) {
  .success-steps { grid-template-columns: 1fr; gap: 0.45rem; }
  .success-steps li { padding: 0.8rem 0.95rem; }
  .success-steps li::before { margin-bottom: 0.35rem; }
  .success-actions .button { flex: 1 1 100%; }
}

/* Stránky služeb: seznam „co děláme“, oborové dlaždice, návody, aktivní položka menu. */
.desktop-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(54, 253, 18, 0.45); }
.mobile-menu a[aria-current="page"] { color: var(--lime-deep); }
.build-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; overflow: hidden; }
.build-list li { display: grid; gap: 0.35rem; padding: 1.5rem 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.build-list li:nth-child(3n) { border-right: 0; }
.build-list li:nth-last-child(-n + 3) { border-bottom: 0; }
.build-list b { position: relative; padding-left: 1.1rem; font-size: 1.08rem; letter-spacing: -0.02em; }
.build-list b::before { content: ""; position: absolute; top: 0.45em; left: 0; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--lime); }
.build-list span { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.niche-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.guide-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 550; }
.guide-list a::after { content: "→"; color: var(--muted); transition: transform 0.3s var(--ease), color 0.3s; }
.guide-list a:hover::after { transform: translateX(4px); color: var(--lime-deep); }
@media (max-width: 900px) {
  .build-list { grid-template-columns: 1fr 1fr; }
  .build-list li:nth-child(3n) { border-right: 1px solid var(--line); }
  .build-list li:nth-child(2n) { border-right: 0; }
  .build-list li:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .build-list li:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (max-width: 620px) {
  .build-list, .niche-grid, .guide-list { grid-template-columns: 1fr; }
  .build-list li, .build-list li:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .build-list li:last-child { border-bottom: 0; }
}

/* Kontakt a O Efficio */
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; text-align: left; }
.contact-card { display: grid; align-content: start; gap: 0.45rem; padding: 1.4rem; color: var(--ink); text-decoration: none; transition: border-color 0.3s, transform 0.35s var(--ease); }
.contact-card strong { font-size: 1.15rem; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.contact-card .card-kicker { margin: 0; font-size: 0.85rem; }
.contact-card .card-copy { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
@media (hover: hover) { .contact-card:hover { border-color: var(--lime); transform: translateY(-3px); } }
.about-photo { padding: 0; }
.about-photo img { width: 100%; height: 100%; max-height: 26rem; object-fit: cover; object-position: 50% 25%; border-radius: var(--r-md); }
@media (max-width: 980px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

/* Štítek s klíčovým slovem je součástí H1 (SEO), vzhled zůstává jako samostatný štítek. */
.h1-badged > .badge { display: flex; width: fit-content; margin-inline: auto; font-family: inherit; font-size: 0.82rem; font-style: normal; font-weight: 550; line-height: 1.4; letter-spacing: normal; text-transform: none; }
.h1-badged > .h1-line { display: block; }
.lp-hero .h1-badged > .badge { margin-inline: 0; }
