/* Manrope — self-hosted woff2 (GDPR + perf; was Google Fonts). Files in assets/fonts/ */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-500-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-500-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: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-500-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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600-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: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600-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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-700-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-700-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: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-700-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: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-800-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-800-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-800-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: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-800-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;
}

/* ============================================================
   DT účetnictví Praha — one-page site
   Style: cool porcelain + deep forest green (finance / trust)
   ============================================================ */

:root {
  --cream: #EEF0EE;
  --cream-soft: #F5F7F5;
  --white: #FFFFFF;
  --ink: #1B2A22;
  --ink-70: rgba(27, 42, 34, .76);
  --ink-50: rgba(27, 42, 34, .68);
  --accent: #235943;
  --accent-deep: #16382A;
  --dark: #16382A;
  --green-rich: #1F4A37;
  --green-darkest: #0F2A20;
  --mint-glow: rgba(110, 184, 148, .30);
  --sage-glow: rgba(143, 191, 154, .14);
  --tint: #DDE7DD;
  --tint-soft: #EBF1E8;
  --line: rgba(27, 42, 34, .12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-card: 0 2px 6px rgba(22, 56, 42, .06), 0 18px 44px -18px rgba(22, 56, 42, .22);
  --shadow-pop: 0 24px 60px -20px rgba(11, 33, 24, .34);
  --font: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
[hidden] { display: none !important; } /* keep the hidden attribute reliable even when an element sets display */

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.cta-banner :focus-visible, .marquee :focus-visible { outline-color: var(--cream); }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

section { padding: clamp(72px, 9vw, 120px) 0; }

/* ---------- Typography ---------- */

h1, h2, h3 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; }

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { margin-top: 16px; color: var(--ink-70); font-size: 1.1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent-deep);
  background: var(--tint);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 20px;
}

.accent { color: var(--accent); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 30px;
  border-radius: 999px;
  transition: transform .18s var(--ease-out), box-shadow .25s var(--ease-out), background .25s var(--ease-out);
  white-space: nowrap;
}

.btn svg { flex: none; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-pop);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-ghost { padding: 12px 20px; color: var(--ink-70); font-weight: 600; }
.btn-ghost:hover { color: var(--ink); }
.btn:active { transform: scale(.97); }

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease;
}
.header.scrolled {
  background: rgba(245, 247, 245, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; }
.logo-mark {
  width: 42px; height: 42px;
  color: var(--ink);
  display: grid; place-items: center;
  flex: none;
}
.logo-mark svg { width: 100%; height: 100%; }
.logo span small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-50); line-height: 1.2; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-70); transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: rgba(27,42,34,.05); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: flex;
  background: rgba(27,42,34,.06);
  border-radius: 999px;
  padding: 4px;
  font-size: .82rem;
  font-weight: 700;
}
.lang-switch a { padding: 6px 12px; border-radius: 999px; color: var(--ink-50); }
.lang-switch a.active { background: var(--white); color: var(--ink); box-shadow: 0 1px 4px rgba(27,42,34,.12); }

.header .btn-primary { padding: 12px 22px; font-size: .92rem; box-shadow: none; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; z-index: 110; }
.burger span {
  position: absolute; left: 11px; width: 22px; height: 2.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
}
.hero-bg::before {
  content: "";
  position: absolute;
  width: 720px; height: 720px;
  right: -240px; top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35,89,67,.10), transparent 65%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  left: -200px; bottom: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35,89,67,.07), transparent 65%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.hero-grid > *, .about-grid > *, .contact-grid > * { min-width: 0; }

.hero h1 { margin: 0 0 22px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }

.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-70); max-width: 520px; margin-bottom: 32px; }

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 34px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink-70);
}
.trust-chip svg { color: var(--accent); }

/* Hero visual — invoice mock + floating chips */

.hero-visual { position: relative; min-height: 460px; }

.invoice-card {
  position: relative;
  z-index: 2;
  width: min(380px, 100%);
  margin: 48px auto 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  padding: 30px;
}
.invoice-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.invoice-head strong { font-size: 1.05rem; letter-spacing: -0.01em; }
.invoice-head span { font-size: .8rem; color: var(--ink-50); }
.invoice-status {
  background: #E3F6E8; color: #14803C;
  font-size: .76rem; font-weight: 700;
  border-radius: 999px; padding: 6px 12px;
}
.invoice-rows { display: grid; gap: 14px; margin-bottom: 22px; }
.invoice-row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--ink-70); }
.invoice-row b { color: var(--ink); font-weight: 700; }
.invoice-row .bar { flex: 1; border-bottom: 2px dotted rgba(27,42,34,.14); margin: 0 12px 5px; }
.invoice-total {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--tint-soft);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-weight: 800;
}
.invoice-total span { font-size: .85rem; font-weight: 700; color: var(--accent-deep); }
.invoice-total b { font-size: 1.3rem; letter-spacing: -0.02em; }

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 12px 18px;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
}
.float-chip .dot {
  width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--tint); color: var(--accent-deep);
  flex: none;
}
.float-chip small { display: block; font-size: .72rem; font-weight: 600; color: var(--ink-50); }
.chip-1 { top: 0; left: -4%; }
.chip-2 { bottom: 14%; right: -2%; }
.chip-3 { bottom: -2%; left: 8%; background: var(--accent); color: var(--white); border: none; box-shadow: var(--shadow-pop); }
.chip-3 small { color: rgba(255,255,255,.75); }

.hero-blob {
  position: absolute; z-index: 1;
  width: 320px; height: 320px;
  right: 4%; top: 12%;
  border-radius: 46% 54% 60% 40% / 50% 44% 56% 50%;
  background: linear-gradient(135deg, #CBDFCD, #9FBFA8);
}

/* ---------- Marquee ---------- */

.marquee {
  padding: 16px 0;
  background: var(--accent);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 0; will-change: transform; animation: marquee 28s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 18px; padding-right: 18px; font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.marquee i { font-style: normal; color: rgba(255, 255, 255, .55); font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Numbers strip ---------- */

.numbers { padding: clamp(56px, 7vw, 88px) 0; }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.number-card {
  padding: 6px 24px 6px 0;
}
.number-card + .number-card { border-left: 1px solid var(--line); padding-left: 24px; }
.number-card .num { font-size: clamp(2.1rem, 3.2vw, 2.9rem); font-weight: 800; letter-spacing: -0.03em; color: var(--accent); line-height: 1.05; }
.number-card .num sup { font-size: .55em; }
.number-card p { margin-top: 8px; font-size: .92rem; color: var(--ink-70); font-weight: 600; }

/* ---------- Services ---------- */

.services { background: var(--cream-soft); border-block: 1px solid var(--line); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); } }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--tint);
  color: var(--accent-deep);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.service-card p { font-size: .92rem; color: var(--ink-70); }

.service-card.featured {
  grid-column: span 2;
  background: var(--tint);
  border-color: transparent;
  display: flex;
  flex-direction: column;
}
.service-card.featured .service-icon { width: 60px; height: 60px; background: var(--white); }
.service-card.featured .service-icon svg { width: 28px; height: 28px; }
.service-card.featured h3 { font-size: 1.35rem; }
.service-card.featured p { font-size: 1rem; max-width: 48ch; }

.services-extra {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.services-extra li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-70);
}
.services-extra li::before { content: "+ "; color: var(--accent); font-weight: 800; }

/* ---------- Pricing ---------- */

.pricing-tabs {
  display: inline-flex;
  background: rgba(27,42,34,.06);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 40px;
}
.pricing-tab {
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink-50);
  transition: color .2s;
}
.pricing-tab.active { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(27,42,34,.12); }

.pricing-panel { display: none; }
.pricing-panel.active { display: block; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pricing-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); } }
.price-card.featured { background: var(--dark); color: var(--white); border-color: transparent; }
.price-card.featured .price-name, .price-card.featured .price-value { color: var(--white); }
.price-card.featured .price-list li { color: rgba(255,255,255,.82); }
.price-card.featured .price-list li::before { color: rgba(255, 255, 255, .65); }
.price-card.featured .price-note { color: rgba(255,255,255,.6); }

.price-badge {
  position: absolute; top: -13px; left: 28px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: .74rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 14px;
}
.price-name { font-size: 1rem; font-weight: 800; margin-bottom: 14px; }
.price-value { font-size: clamp(1.9rem, 2.6vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-value small { font-size: .42em; font-weight: 700; color: inherit; opacity: .6; letter-spacing: 0; }
.price-note { font-size: .84rem; color: var(--ink-50); margin: 10px 0 22px; }
.price-list { display: grid; gap: 10px; margin-bottom: 28px; flex: 1; }
.price-list li { font-size: .92rem; color: var(--ink-70); padding-left: 26px; position: relative; }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.price-card .btn { width: 100%; padding: 14px 20px; font-size: .95rem; }
.price-card.featured .btn-secondary { background: var(--white); border-color: transparent; }

.pricing-foot { margin-top: 28px; display: flex; align-items: center; gap: 10px; color: var(--ink-70); font-size: .95rem; font-weight: 600; }
.pricing-foot svg { color: var(--accent); flex: none; }

/* ---------- About / Why us ---------- */

.about { background: var(--cream-soft); border-block: 1px solid var(--line); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.about-visual { position: relative; }
.about-photo {
  aspect-ratio: 4 / 4.6;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #CBDFCD 0%, #A9C7B1 60%, #8FB59A 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.about-photo picture { display: block; width: 100%; height: 100%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-card {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
}
.about-card strong { display: block; font-size: 1.05rem; }
.about-card span { font-size: .85rem; color: var(--ink-70); }

.why-list { display: grid; gap: 14px; margin-top: 32px; }
.why-item {
  display: flex; gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.why-icon {
  width: 46px; height: 46px; flex: none;
  border-radius: 14px;
  background: var(--tint);
  color: var(--accent-deep);
  display: grid; place-items: center;
}
.why-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.why-item p { font-size: .9rem; color: var(--ink-70); }

/* ---------- Steps ---------- */

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 800;
  margin-bottom: 20px;
}
.step-card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.step-card p { font-size: .94rem; color: var(--ink-70); }

/* ---------- Video / media ---------- */

.video-sec { background: var(--cream-soft); border-block: 1px solid var(--line); }
.video-embed {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--tint);
  cursor: pointer;
}
.video-embed picture, .video-embed img, .video-embed iframe {
  width: 100%; height: 100%; display: block; border: 0;
}
.video-embed img { object-fit: cover; transition: transform .4s var(--ease-out); }
.video-embed::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,33,24,.10), rgba(11,33,24,.28));
  pointer-events: none; transition: opacity .3s ease;
}
.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 84px; height: 84px; border-radius: 999px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; z-index: 1;
  box-shadow: var(--shadow-pop);
  transition: transform .18s var(--ease-out), background .2s var(--ease-out);
}
.video-play svg { margin-left: 4px; }
@media (hover: hover) and (pointer: fine) {
  .video-embed:hover img { transform: scale(1.03); }
  .video-embed:hover .video-play { transform: scale(1.07); background: var(--accent-deep); }
}
.video-embed[data-loaded] { cursor: default; background: #000; }
.video-embed[data-loaded]::after { opacity: 0; }

/* ---------- CTA banner ---------- */

.cta-banner {
  background:
    radial-gradient(120% 130% at 86% 6%, var(--mint-glow), transparent 58%),
    linear-gradient(140deg, var(--green-rich) 0%, var(--accent-deep) 52%, var(--green-darkest) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 72px);
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sage-glow), transparent 70%);
  pointer-events: none;
}
.cta-banner::before { width: 460px; height: 460px; top: -230px; left: -120px; }
.cta-banner::after { width: 400px; height: 400px; bottom: -220px; right: -100px; }
.cta-banner h2 { margin-bottom: 16px; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto 32px; position: relative; z-index: 1; }
.cta-banner .btn-primary { position: relative; z-index: 1; background: var(--cream); color: var(--accent-deep); box-shadow: 0 18px 48px -12px rgba(0,0,0,.45); }
.cta-banner .btn-primary:hover { background: var(--white); }
.cta-banner .cta-meta { margin-top: 18px; font-size: .88rem; color: rgba(255,255,255,.6); position: relative; z-index: 1; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 820px; display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-x {
  width: 32px; height: 32px; flex: none;
  border-radius: 999px;
  background: var(--tint);
  color: var(--accent-deep);
  display: grid; place-items: center;
  font-size: 1.2rem; font-weight: 600;
  transition: transform .3s ease;
}
.faq-item[open] summary .faq-x { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--ink-70); font-size: .96rem; max-width: 680px; }

/* ---------- Contact ---------- */

.contact { background: var(--cream-soft); border-top: 1px solid var(--line); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.contact-list { display: grid; gap: 10px; margin-top: 32px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  font-weight: 600;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { a.contact-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); } }
.contact-item .why-icon { width: 42px; height: 42px; }
.contact-item small { display: block; font-size: .78rem; font-weight: 600; color: var(--ink-50); }

.contact-cta-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 44px);
  box-shadow: var(--shadow-card);
}
.contact-cta-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
/* intro paragraph of either tab panel (not the .micro footnote) */
.contact-cta-card .cta-panel > p:not(.micro) { color: var(--ink-70); margin-bottom: 26px; }
.consult-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 12px;
  font-weight: 700;
}
.consult-row span { font-size: .92rem; color: var(--ink-70); font-weight: 600; }
.consult-row b { white-space: nowrap; color: var(--accent-deep); }
.contact-cta-card .btn { width: 100%; margin-top: 16px; }
.contact-cta-card .micro { margin-top: 14px; text-align: center; font-size: .82rem; color: var(--ink-50); }

/* Contact card: consultation / lead-form toggle */
.cta-toggle {
  display: flex;
  background: rgba(27,42,34,.06);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 26px;
}
.cta-toggle-btn {
  flex: 1;
  padding: 11px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink-50);
  transition: color .2s, background .2s, box-shadow .2s;
}
.cta-toggle-btn.active { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(27,42,34,.12); }

.cta-panel { display: none; }
.cta-panel.active { display: block; }

/* Lead form */
.lead-form { display: grid; gap: 14px; }
.lead-form .field { display: grid; gap: 6px; }
.lead-form label { font-size: .85rem; font-weight: 600; color: var(--ink-70); }
.lead-form label span { color: var(--ink-50); font-weight: 500; }
.lead-form input,
.lead-form textarea {
  font: inherit;
  font-size: .95rem;
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream-soft);
  color: var(--ink);
  transition: border-color .2s, background .2s;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--ink-50); }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--accent); background: var(--white); }
.lead-form textarea { resize: vertical; min-height: 88px; }
/* error styling only after the field has been interacted with */
.lead-form input:user-invalid, .lead-form textarea:user-invalid { border-color: #C0392B; background: #FCEFED; }
.lead-form .btn { width: 100%; margin-top: 4px; }
.lead-form .btn[disabled] { opacity: .7; cursor: default; }
.lead-form .micro { margin-top: 8px; text-align: center; font-size: .82rem; color: var(--ink-50); }

.lead-success {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding: 22px 8px;
}
.lead-success-icon {
  width: 52px; height: 52px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: #E3F6E8; color: #14803C;
  margin-bottom: 4px;
}
.lead-success strong { font-size: 1.2rem; }
.lead-success p { color: var(--ink-70); font-size: .95rem; }

/* ---------- Contact map ---------- */

.contact-map {
  position: relative;
  isolation: isolate; /* contain Leaflet's high z-index panes/controls so the map never paints over header, menu or sticky CTA */
  margin-top: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.map-embed { width: 100%; height: clamp(280px, 36vw, 420px); background: var(--tint-soft); }
.map-embed.leaflet-container { font: inherit; background: var(--tint-soft); }
.map-pin { line-height: 0; filter: drop-shadow(0 4px 6px rgba(11,33,24,.35)); }
.map-route {
  position: absolute; right: 16px; bottom: 16px; z-index: 1001;
  padding: 12px 20px; font-size: .92rem;
}

/* ---------- Cookie banner ---------- */

.pref-bar {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 200;
  max-width: 760px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  padding: 20px 24px;
  transform: translateY(150%);
  opacity: 0;
  transition: transform .28s var(--ease-out), opacity .2s ease, bottom .35s var(--ease-out);
}
.pref-bar.show {
  transform: translateY(0);
  opacity: 1;
  transition: transform .45s cubic-bezier(.32, .72, 0, 1), opacity .3s ease, bottom .35s var(--ease-out);
}
.pref-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.pref-text { flex: 1; min-width: 240px; }
.pref-text strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.pref-text p { font-size: .88rem; color: var(--ink-70); margin: 0; }
.pref-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.pref-actions { display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
.pref-actions .btn { padding: 12px 22px; font-size: .9rem; box-shadow: none; }

.pref-options { display: none; width: 100%; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.pref-bar.expanded .pref-options { display: block; }
.pref-opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; }
.pref-opt span { display: flex; flex-direction: column; gap: 1px; }
.pref-opt strong { font-size: .92rem; }
.pref-opt small { color: var(--ink-50); font-size: .8rem; font-weight: 500; }
.pref-opt input {
  -webkit-appearance: none; appearance: none;
  width: 44px; height: 24px; flex: none;
  background: var(--tint); border-radius: 999px;
  position: relative; cursor: pointer; transition: background .2s ease;
}
.pref-opt input::before {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  transition: transform .2s var(--ease-out);
}
.pref-opt input:checked { background: var(--accent); }
.pref-opt input:checked::before { transform: translateX(20px); }
.pref-opt input:disabled { opacity: .55; cursor: default; }
.pref-actions [data-pref="save"] { display: none; }
.pref-bar.expanded .pref-actions [data-pref="save"] { display: inline-flex; }
.pref-bar.expanded .pref-actions [data-pref="settings"] { display: none; }

/* ---------- Legal pages (zásady) ---------- */

.legal { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px)); padding-bottom: clamp(56px, 7vw, 96px); }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal .lead { color: var(--ink-70); margin-bottom: 8px; font-size: 1.08rem; }
.legal h2 { font-size: 1.4rem; margin: 38px 0 12px; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink-70); font-size: 1rem; }
.legal p { margin-bottom: 12px; }
.legal ul { padding-left: 22px; list-style: disc; margin-bottom: 12px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; }
.legal table td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.legal table td:first-child { color: var(--ink); font-weight: 700; width: 36%; }
.legal-updated { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-50); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-weight: 600; color: var(--accent); }
.legal-back:hover { color: var(--accent-deep); }
.legal-page .header-actions .lang-switch { display: flex; }
.legal-page .header {
  background: rgba(245, 247, 245, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

/* ---------- Footer ---------- */

.footer { background: var(--accent-deep); color: rgba(255,255,255,.72); padding: clamp(48px,6vw,72px) 0 30px; font-size: .92rem; }
.footer .logo { color: var(--white); margin-bottom: 16px; }
.footer .logo-mark { color: var(--white); }
.footer .logo small { color: rgba(255,255,255,.5); }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-tagline { max-width: 34ch; margin-bottom: 24px; color: rgba(255,255,255,.6); line-height: 1.6; }
.footer .btn-primary { background: var(--cream); color: var(--accent-deep); box-shadow: none; }
.footer .btn-primary:hover { background: var(--white); }

.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-content: start; }
.footer-col h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.82); margin-bottom: 11px; line-height: 1.5; }
.footer-col a { width: fit-content; transition: color .2s var(--ease-out); }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-top: 26px; font-size: .84rem; color: rgba(255,255,255,.5);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a, .footer-link {
  color: rgba(255,255,255,.7); text-decoration: none; font: inherit;
  padding: 2px 0; transition: color .2s var(--ease-out);
}
.footer-legal a:hover, .footer-link:hover { color: var(--white); }
.footer-credit { color: rgba(255,255,255,.78); text-decoration: underline; text-underline-offset: 2px; transition: color .2s var(--ease-out); }
.footer-credit:hover { color: var(--white); }

/* ---------- Mobile sticky CTA ---------- */

.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(245, 247, 245, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; padding: 14px 16px; font-size: .92rem; box-shadow: none; }
.mobile-cta .btn-call { flex: none; width: 52px; padding: 14px 0; }

/* ---------- Reveal (GSAP hooks) ---------- */

.reveal { opacity: 0; }
html.no-motion .reveal, html.no-js .reveal { opacity: 1; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .pricing-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .number-card + .number-card { border-left: none; padding-left: 0; }
  .nav { display: none; }
  .burger { display: block; }
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 12px; }
  .float-chip { position: static; display: inline-flex; margin: 12px 10px 0 0; }
  .hero-blob { display: none; }
  .invoice-card { margin-inline: 0; margin-top: 24px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

.mobile-menu {
  position: fixed; inset: 0;
  z-index: 105;
  background: var(--cream);
  padding: calc(var(--header-h) + 24px) 24px 24px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.7,0,.3,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu > a { font-size: 1.5rem; font-weight: 800; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .lang-switch { margin-top: 24px; align-self: flex-start; display: flex; }
@media (min-width: 1025px) { .mobile-menu { display: none; } }

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 84px; }
  .header-actions .btn-primary, .header-actions .lang-switch { display: none; }
  .mobile-cta {
    display: flex;
    transform: translateY(130%);
    opacity: 0;
    pointer-events: none;
    transition: transform .4s var(--ease-out), opacity .3s ease;
  }
  .mobile-cta.cta-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
  /* Cookie bar sits low while the CTA is hidden, lifts above it once the CTA appears */
  .pref-bar { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .mobile-cta.cta-visible ~ .pref-bar { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .pricing-grid, .pricing-grid.cols-4 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: auto; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  /* flush-left + uniform padding so both rows line up (override the desktop divider reset) */
  .number-card, .number-card + .number-card { padding: 20px 18px 20px 0; }
  .hero-cta .btn { width: 100%; white-space: normal; }
  .mobile-cta .btn { white-space: normal; }
  .pref-actions { width: 100%; }
  .pref-actions .btn { flex: 1; }
  .pricing-tabs { width: 100%; }
  .pricing-tab { flex: 1; padding: 12px 10px; font-size: .86rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
