/* =========================================================
   SMART SYSTEMS – hlavní styly
   ========================================================= */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  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-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  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;
}

:root {
  color-scheme: light;
  --ink: #141b20;
  --ink-2: #232c33;
  --ink-3: #2f3a42;
  --text: #2b343b;
  --muted: #5b6670;
  --line: #e3e7e1;
  --bg: #ffffff;
  --soft: #f4f7f0;
  --green: #81c512;
  --green-hover: #92d625;
  --green-text: #477205;
  --green-tint: #eef7dd;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20,27,32,.06), 0 8px 24px -8px rgba(20,27,32,.12);
  --shadow-lg: 0 2px 4px rgba(20,27,32,.06), 0 24px 48px -16px rgba(20,27,32,.22);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Tlačítka ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: .85em 1.35em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--ink); box-shadow: 0 6px 18px -6px rgba(129,197,18,.7); }
.btn-primary:hover { background: var(--green-hover); color: var(--ink); box-shadow: 0 10px 24px -8px rgba(129,197,18,.85); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-sm { padding: .6em 1.1em; font-size: .92rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1.05rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(20,27,32,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { width: clamp(190px, 22vw, 270px); }
.is-home .site-header:not(.is-scrolled) .brand { opacity: 0; pointer-events: none; transform: translateY(-6px); }
.brand { transition: opacity .3s, transform .3s var(--ease); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 600; text-decoration: none; transition: background-color .2s;
}
.main-nav ul a:hover { background: var(--soft); }
.main-nav ul a[aria-current="page"] { background: var(--green-tint); color: var(--green-text); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--soft); border-radius: 50%; cursor: pointer; position: relative; }
.burger, .burger::before, .burger::after { position: absolute; left: 50%; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.burger { top: 50%; transform: translate(-50%, -50%); }
.burger::before, .burger::after { content: ""; transform: translateX(-50%); }
.burger::before { top: -6px; } .burger::after { top: 6px; }
.nav-open .burger { background: transparent; }
.nav-open .burger::before { transform: translate(-50%, 6px) rotate(45deg); }
.nav-open .burger::after { transform: translate(-50%, -6px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .header-inner { min-height: 66px; }
  .main-nav {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; padding: 16px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(20,27,32,.35);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { padding: 14px 12px; font-size: 1.1rem; border-radius: 12px; }
  .main-nav .btn { width: 100%; padding: 1em; }
  .nav-open .site-header { background: #fff; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(20,27,32,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,27,32,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; border-radius: 50%;
  right: -260px; top: -320px; background: radial-gradient(circle, rgba(129,197,18,.28), transparent 65%);
}
.hero-inner { text-align: center; }
.hero-logo { margin: 0 auto clamp(28px, 4vw, 44px); max-width: 1120px; animation: rise .9s var(--ease) both; }
.hero-logo img { width: 100%; filter: drop-shadow(0 18px 30px rgba(20,27,32,.10)); }
.hero-kicker {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px;
  margin: 0 0 22px; padding: 8px 18px; border-radius: 999px; background: var(--ink); color: #fff;
  font-weight: 700; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase;
  animation: rise .9s .1s var(--ease) both;
}
.dot { width: 12px; height: 12px; color: var(--green); fill: var(--green); stroke: none; }
.hero-title { max-width: 900px; margin: 0 auto 18px; animation: rise .9s .18s var(--ease) both; }
.hl {
  background: linear-gradient(var(--green), var(--green)) 0 90% / 100% .34em no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .08em;
  animation: sweep .8s .7s var(--ease) both;
}
.hero-lead { max-width: 720px; margin: 0 auto 32px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); animation: rise .9s .26s var(--ease) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; animation: rise .9s .34s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { background-size: 0% .34em; } to { background-size: 100% .34em; } }
@media (max-width: 560px) {
  .hero-cta .btn { width: 100%; }
  .hero-kicker { font-size: .8rem; gap: 6px 10px; padding: 8px 14px; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; border-block: 4px solid var(--green); }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span { font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing: -.01em; white-space: nowrap; }
.ticker .dot { width: 16px; height: 16px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sekce ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: #c9d1d6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px;
  font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green-text);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--green); }
.eyebrow-green { color: var(--green); }

/* ---------- Karty služeb ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-decoration: none; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 1.45rem; margin: 20px 0 10px; }
.card p { color: var(--muted); margin-bottom: 20px; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.card-more .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.card:hover .card-more .icon { transform: translateX(4px); }
.card-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: var(--ink); color: var(--green); flex: none;
}
.card-icon .icon { width: 28px; height: 28px; }
.card-icon-lg { width: 64px; height: 64px; border-radius: 18px; }
.card-icon-lg .icon { width: 32px; height: 32px; }
.card-icon-xl { width: 84px; height: 84px; border-radius: 24px; }
.card-icon-xl .icon { width: 42px; height: 42px; }

/* ---------- Rezervace – blok ---------- */
.booking-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; } }
.lead-dark { font-size: 1.1rem; color: #b7c1c7; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--green); color: var(--ink); stroke-width: 3; margin-top: 2px; }
.checklist-dark li { color: #e4e9ec; }
.cal-mock {
  position: relative; background: #fff; color: var(--ink); border-radius: 22px; padding: 26px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transform: rotate(1.5deg);
}
.cal-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.cal-head strong { font-size: 1.1rem; }
.cal-head span { color: var(--muted); font-size: .9rem; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-days b { font-size: .75rem; color: var(--muted); font-weight: 700; padding-bottom: 4px; }
.cal-days span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; background: var(--soft); font-weight: 700; font-size: .9rem; }
.cal-days span.b { background: var(--ink); color: #fff; }
.cal-days span.p { background: var(--green); color: var(--ink); }
.cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 16px; font-size: .82rem; color: var(--muted); }
.lg { width: 12px; height: 12px; border-radius: 4px; background: var(--soft); border: 1px solid var(--line); }
.lg.b { background: var(--ink); border-color: var(--ink); } .lg.p { background: var(--green); border-color: var(--green); }
.cal-toast {
  position: absolute; left: -24px; bottom: -22px; display: flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; font-size: .88rem; font-weight: 700; padding: 12px 16px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1); box-shadow: var(--shadow-lg); transform: rotate(-1.5deg);
}
.cal-toast .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--green); color: var(--ink); stroke-width: 3; }
@media (max-width: 560px) { .cal-mock { transform: none; padding: 18px; } .cal-toast { left: 10px; right: 10px; bottom: -26px; transform: none; } .booking .container { padding-bottom: 20px; } }

/* ---------- Kroky ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--soft); }
.step-n { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--green); margin-bottom: 18px; -webkit-text-stroke: 0; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Reference ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .ref-grid { grid-template-columns: 1fr; } }
.ref-cell[hidden] { display: none; }
.ref-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ref-shot { display: block; position: relative; background: var(--ink); text-decoration: none; overflow: hidden; }
.ref-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--ink-2); }
.ref-bar i { width: 9px; height: 9px; border-radius: 50%; background: #4a555d; }
.ref-bar i:first-child { background: var(--green); }
.ref-bar span { margin-left: 10px; font-size: .78rem; color: #9aa6ad; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ref-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.ref-card:hover .ref-shot img { transform: scale(1.03); }
.ref-placeholder {
  display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 20px; text-align: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(129,197,18,.35), transparent 50%),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%);
}
.ref-placeholder span { color: #fff; font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.6rem); letter-spacing: -.02em; word-break: break-word; }
.ref-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.ref-title { margin: 0 0 8px; font-size: 1.2rem; }
.ref-title a { color: var(--ink); text-decoration: none; }
.ref-title a::after { content: ""; position: absolute; inset: 0; }
.ref-card { position: relative; }
.ref-title a:hover { color: var(--green-text); }
.ref-body p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.tags { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--green-tint); color: var(--green-text); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; transition: all .2s; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.ref-visit { margin-top: 24px; }
.ref-detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .ref-detail { grid-template-columns: 1fr; } }
.ref-shot-lg { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.ref-detail-body { position: sticky; top: 100px; }
.h-small { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* ---------- Výpis služeb ---------- */
.svc-list { display: grid; gap: 16px; }
.svc-row { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s, border-color .3s; }
.svc-row:hover { box-shadow: var(--shadow); border-color: transparent; }
.svc-row h2 { font-size: 1.45rem; margin-bottom: 6px; }
.svc-row h2 a { color: var(--ink); text-decoration: none; }
.svc-row h2 a:hover { color: var(--green-text); }
.svc-row-body > p { color: var(--muted); margin-bottom: 12px; }
.mini-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; }
.mini-list li { display: flex; align-items: center; gap: 6px; }
.mini-list .icon { width: 16px; height: 16px; color: var(--green-text); stroke-width: 3; }
@media (max-width: 760px) { .svc-row { grid-template-columns: 1fr; gap: 16px; padding: 22px; } }

/* ---------- Detail služby ---------- */
.page-head { padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--soft), #fff); }
.page-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 760px; }
.svc-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; margin-top: 12px; }
.svc-head .page-lead { margin-bottom: 28px; }
@media (max-width: 620px) { .svc-head { grid-template-columns: 1fr; } .card-icon-xl { width: 64px; height: 64px; border-radius: 18px; } .card-icon-xl .icon { width: 32px; height: 32px; } }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }
.benefit { padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); border-top: 4px solid var(--green); }
.benefit h2 { font-size: 1.15rem; margin-bottom: 8px; }
.benefit p { margin: 0; color: var(--muted); font-size: .96rem; }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.two-col .checklist { background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); margin: 0; }
.for-whom { color: var(--muted); }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--green-text); border-bottom: 2.5px solid var(--green-text); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 12px 0 0; }
.pill-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; transition: all .2s; }
.pill-links a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.pill-links a .icon { width: 18px; height: 18px; color: var(--green-text); }
.pill-links a:hover .icon { color: var(--green); }
.pill-links-sm { margin-bottom: 28px; }
.pill-links-sm a { font-size: .9rem; padding: 8px 14px; }

/* ---------- Drobečky ---------- */
.crumbs ol { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Text (prose) ---------- */
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--green-text); }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); color: var(--ink); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
code { font-size: .88em; background: var(--soft); padding: 2px 6px; border-radius: 6px; }

/* ---------- CTA ---------- */
.cta { background: var(--green); padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; border: 60px solid rgba(255,255,255,.18); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0; color: var(--ink-2); max-width: 560px; font-weight: 500; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.cta-phone:hover { text-decoration: underline; color: var(--ink); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 700; color: var(--ink); font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #d4dad2; border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(129,197,18,.35); }
.field [aria-invalid="true"] { border-color: #c62828; }
.field-error { color: #c62828; font-size: .88rem; font-weight: 600; }
.form-note { font-size: .86rem; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 12px; font-weight: 600; margin: 0; }
.alert-error { background: #fdecea; color: #8e1c1c; }
.success { text-align: center; padding: 24px 0; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 16px; padding: 12px; border-radius: 50%; background: var(--green); color: var(--ink); stroke-width: 3; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.ci { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--green); flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; }
.contact-list a, .contact-list span:not(.ci) { color: var(--ink); font-weight: 700; font-size: 1.08rem; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.company-ids { color: var(--muted); font-size: .92rem; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- Prázdný stav, 404 ---------- */
.empty { text-align: center; padding: 48px 20px; border: 2px dashed var(--line); border-radius: var(--radius); }
.empty-icon { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--green); fill: var(--green); stroke: none; }
.empty p { color: var(--muted); }
.notfound { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.notfound .page-lead { margin-inline: auto; }
.nf-code { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -.05em; margin-bottom: 20px; }
.nf-heart { width: .8em; height: .8em; color: var(--green); fill: var(--green); stroke: none; animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%,100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }

/* ---------- Patička ---------- */
.site-footer { background: var(--ink); color: #aab5bb; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .96rem; }
.footer-logo { padding-bottom: clamp(36px, 5vw, 56px); margin-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo img { width: 100%; max-width: 1120px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-claim { font-size: 1.15rem; color: #e6ebee; font-weight: 600; max-width: 380px; }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--green); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: #dfe5e8; text-decoration: none; }
.footer-links a:hover { color: var(--green); }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .icon { color: var(--green); width: 18px; height: 18px; }
.footer-social { list-style: none; padding: 0; margin: 16px 0 0; display: flex; gap: 14px; }
.footer-social a { color: #dfe5e8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .muted { color: #7f8b92; }
.footer-bottom ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a, .footer-bottom .linklike { color: #aab5bb; }
.footer-bottom a:hover, .footer-bottom .linklike:hover { color: #fff; }

/* ---------- Cookie lišta (malá, nenápadná) ---------- */
.cookie-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; width: min(380px, calc(100vw - 32px));
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 50px -12px rgba(20,27,32,.35); padding: 16px 16px 14px; font-size: .86rem; line-height: 1.5;
  animation: cookieIn .45s var(--ease) both;
}
.cookie-bar[hidden] { display: none; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie-title { font-weight: 800; color: var(--ink); margin: 0 0 4px; font-size: .95rem; }
.cookie-text { margin: 0 0 12px; color: var(--muted); }
.cookie-text a { color: var(--ink); }
.cookie-prefs { display: grid; gap: 8px; margin: 0 0 12px; padding: 10px 0 0; border-top: 1px solid var(--line); }
.cookie-prefs[hidden] { display: none; }
.cookie-opt { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; color: var(--muted); font-size: .82rem; }
.cookie-opt strong { color: var(--ink); }
.cookie-opt input { accent-color: var(--green-text); width: 17px; height: 17px; margin: 1px 0 0; flex: none; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.cbtn { font: inherit; font-size: .82rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent; line-height: 1.2; }
.cbtn[hidden] { display: none; }
.cbtn-ghost { background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding-inline: 6px; margin-right: auto; }
.cbtn-ghost:hover { color: var(--ink); }
.cbtn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.cbtn-outline:hover { background: var(--soft); }
.cbtn-solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.cbtn-solid:hover { background: var(--ink-3); }

/* ---------- Animace při scrollu ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* ---------- Balíčky služby ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .packages { grid-template-columns: 1fr; } }
.package { display: flex; flex-direction: column; gap: 4px; padding: 30px 28px; border-radius: var(--radius); background: var(--soft); }
.package h2 { font-size: 1.35rem; margin: 16px 0 6px; }
.package > p { color: var(--muted); }
.package .btn { margin-top: auto; align-self: flex-start; }
.mini-list-col { flex-direction: column; gap: 8px; margin-bottom: 22px; font-size: .96rem; }

/* ---------- Tři kroky (úvod) ---------- */
.trio .section-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.trio-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: t; }
@media (max-width: 900px) { .trio-list { grid-template-columns: 1fr; } }
.trio-list li { position: relative; padding: 32px 28px 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid rgba(255,255,255,.07); transition: transform .3s var(--ease), border-color .3s; }
.trio-list li:hover { transform: translateY(-4px); border-color: rgba(129,197,18,.5); }
.trio-list li:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -16px; width: 12px; height: 12px; z-index: 1;
  border-top: 3px solid var(--green); border-right: 3px solid var(--green); transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 900px) { .trio-list li:not(:last-child)::after { top: auto; bottom: -15px; right: 50%; transform: translateX(50%) rotate(135deg); } }
.trio-n { position: absolute; top: 18px; right: 24px; font-size: 3.4rem; font-weight: 800; line-height: 1; color: rgba(255,255,255,.06); letter-spacing: -.04em; }
.trio-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--green); color: var(--ink); }
.trio-icon .icon { width: 28px; height: 28px; }
.trio-list h3 { color: #fff; font-size: 1.35rem; margin: 20px 0 10px; }
.trio-list p { color: #b7c1c7; margin-bottom: 18px; }
.trio-list a { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-weight: 700; text-decoration: none; }
.trio-list a .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.trio-list a:hover { color: #fff; }
.trio-list a:hover .icon { transform: translateX(4px); }
.footer-motto { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 800; color: #fff; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 14px; max-width: 420px; }
.footer-motto + .footer-claim { font-size: 1rem; color: #aab5bb; font-weight: 500; }
.hero-title { max-width: 980px; }
@media (min-width: 700px) { .hl { white-space: nowrap; } }
