/* TaxiCare — taxicare.eu
   Design "Noir": tmavy premium SaaS, zlute svetlo, sklenene karty, pill
   tlacitka. Fonty Manrope (titulky) + Inter (text) self-hostovane
   v assets/css/fonts.css. Cast 1 = kostra (layout, responzivita, mechanika),
   cast 2 = vizual (barvy, tvary, stiny). */

/* ==================== 1. KOSTRA ==================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --surface: #ffffff;
  --ink: #111111;
  --ink-2: #333333;
  --muted: #666666;
  --line: #e2e2e2;
  --accent: #ffc400;
  --on-accent: #111111;
  --accent-soft: #fff3c2;
  --ok: #1f9d55;
  --bad: #d64545;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-btn: 10px;
  --shadow: none;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font);
  --content: 1120px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --header-bg: rgba(255, 255, 255, .92);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: #111; color: #fff; padding: .6rem 1rem; z-index: 300; }
.skip-link:focus { left: 0; }

/* ---------- Tlacitka (rozmery; barvy v tematech) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.5rem;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn--sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn--lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn--primary { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding-top: .75rem; padding-bottom: .75rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.logo-mark { width: 32px; height: 32px; flex: none; display: block; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; }
.logo-text span { color: var(--muted); font-weight: 600; }
.site-nav__list { display: flex; gap: 1.5rem; }
.site-nav__list a { text-decoration: none; font-weight: 600; font-size: .94rem; color: var(--ink-2); padding-bottom: 2px; border-bottom: 2px solid transparent; }
.site-nav__list a:hover { border-bottom-color: var(--accent); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 10px 9px; cursor: pointer; }
.burger__bar { width: 20px; height: 2px; background: var(--ink); }

/* ---------- Sekce a texty ---------- */
.section { padding: clamp(3.2rem, 7vw, 6rem) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section-head { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.label { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 1rem; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); font-weight: 800; max-width: 22ch; }
h3 { font-size: 1.12rem; font-weight: 800; }
mark { background: none; color: var(--accent); }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 58ch; margin-top: 1rem; }
.eyebrow { font-family: var(--font-display); font-weight: 800; color: var(--accent); letter-spacing: .1em; margin-bottom: .5rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4.5rem); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.5rem; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.hero-facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Telefon / slideshow ---------- */
.phone { max-width: 300px; margin: 0 auto; }
.phone__frame { position: relative; border-radius: 34px; padding: 10px; background: #0f1216; box-shadow: var(--shadow); }
.phone__screen { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 390 / 760; background: #f3f5f7; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.slide.is-active { opacity: 1; }
.slide svg { width: 100%; height: 100%; display: block; }
.f-ac { fill: var(--accent); }
.s-ac { stroke: var(--accent); }
.f-on { fill: var(--on-accent); }
.slide-caption { text-align: center; margin-top: 1rem; font-size: .92rem; font-weight: 600; color: var(--ink-2); min-height: 2.6em; }
.slide-dots { display: flex; justify-content: center; gap: .5rem; margin-top: .4rem; }
.slide-dots button { width: 10px; height: 10px; border: 1px solid var(--muted); border-radius: 50%; background: transparent; cursor: pointer; padding: 0; }
.slide-dots button.is-active { background: var(--accent); border-color: var(--accent); }

/* ---------- Srovnani (tabulka) ---------- */
.vs-table { display: grid; gap: 0; margin-top: .5rem; }
.vs-table__head, .vs-table__row { display: grid; grid-template-columns: 1fr; gap: .6rem; }
.vs-table__head { display: none; }
.vs-table__row { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.vs-table__k { font-weight: 800; font-family: var(--font-display); }
.vs-table__us, .vs-table__them { display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; }
.vs-table__us span, .vs-table__them span { flex: 1; }
.vs-brand { display: inline-block; font-family: var(--font-display); font-weight: 800; letter-spacing: .02em; }

.mark-ok, .mark-no { flex: none; width: 22px; height: 22px; margin-top: .1em; display: inline-block; -webkit-mask: var(--mask) center / contain no-repeat; mask: var(--mask) center / contain no-repeat; }
.mark-ok { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23000'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background: var(--ok); }
.mark-no { --mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23000'/%3E%3Cpath d='M8.5 8.5l7 7M15.5 8.5l-7 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); background: var(--bad); }

.vs-verdict { margin-top: 2rem; padding: 1.4rem 1.6rem; border-radius: var(--radius); background: var(--bg-alt); display: grid; gap: 1rem; align-items: center; }
.vs-verdict p { font-size: 1.05rem; max-width: 60ch; }

/* ---------- Proc ted ---------- */
.trio { display: grid; gap: 1rem; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; background: var(--surface); box-shadow: var(--shadow); }
.box .icon { margin-bottom: 1rem; }
.box h3 { margin-bottom: .45rem; }
.box p { color: var(--muted); font-size: .97rem; }

/* ---------- Ikony: jen samotny glyf, zadny ramecek ---------- */
.icon { display: inline-flex; align-items: center; justify-content: center; color: var(--accent); flex: none; }
.icon svg { width: 28px; height: 28px; }

/* ---------- Funkce ---------- */
.feature-group { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.8rem, 4vw, 3rem) 0; }
.feature-group + .feature-group { border-top: 1px solid var(--line); }
.feature-group img { border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-body h3 { font-size: 1.5rem; }
.feature-list { margin-top: 1.3rem; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: .9rem; align-items: flex-start; }
.feature-list .icon svg { width: 24px; height: 24px; margin-top: .15em; }
.feature-list strong { display: block; font-size: 1rem; }
.feature-list span { color: var(--muted); font-size: .93rem; }

/* ---------- Foto pruh ---------- */
.photo-band img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }

/* ---------- Dispecink ---------- */
.dispatch-grid { display: grid; gap: 1.2rem; }
.dispatch-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.dispatch-card h3 { font-size: 1.4rem; margin: .6rem 0 .7rem; }
.dispatch-card > p { color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.tag span { font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted); padding: .15rem .55rem; border: 1px solid var(--line); border-radius: 999px; }
.check-list { margin-top: 1.2rem; display: grid; gap: .75rem; }
.check-list li { position: relative; padding-left: 1.85rem; font-size: .95rem; color: var(--muted); }
.check-list li strong { color: var(--ink); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.dispatch-stat { margin-top: auto; padding-top: 1.4rem; display: flex; align-items: baseline; gap: .7rem; }
.dispatch-stat__num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -.03em; color: var(--accent); line-height: 1; }
.dispatch-stat__txt { color: var(--muted); font-size: .92rem; }
.dispatch-cta { margin-top: 2rem; }

/* ---------- Kroky ---------- */
.steps { display: grid; gap: 1.2rem; }
.step { border-top: 2px solid var(--line); padding-top: 1.1rem; }
.step__num { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--accent); margin-bottom: .4rem; line-height: 1; }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; font-weight: 600; color: var(--muted); transition: transform .15s ease; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq-item p { padding: 0 0 1.1rem; color: var(--muted); max-width: 65ch; }

/* ---------- Kontakt / formular ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-side > p:not(.label) { color: var(--muted); max-width: 46ch; margin-top: 1rem; }
.contact-mail { display: inline-block; margin-top: 1.2rem; font-weight: 700; font-size: 1.05rem; }
.lead-form { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(1.3rem, 3vw, 2rem); display: grid; gap: 1rem; box-shadow: var(--shadow); position: relative; }
.form-row { display: grid; gap: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .3rem; }
.field label em { font-style: normal; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font-family: inherit; font-size: .98rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .85rem; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form-note { font-size: .8rem; color: var(--muted); }
.form-ok { border: 1px solid var(--ok); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--ok) 12%, transparent); padding: .9rem 1rem; font-weight: 600; }
.form-err { border: 1px solid var(--bad); border-radius: var(--radius-sm); background: color-mix(in srgb, var(--bad) 10%, transparent); padding: .9rem 1rem; font-weight: 600; }
.lead-form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* ---------- Paticka ---------- */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: var(--bg-alt); padding: 2.6rem 0 2rem; }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
.footer-tagline { color: var(--muted); font-size: .92rem; margin-top: .6rem; max-width: 32ch; }
.footer-heading { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .7rem; }
.footer-list { display: grid; gap: .45rem; font-size: .95rem; }
.footer-list a { text-decoration: none; color: var(--ink-2); }
.footer-list a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; font-size: .85rem; color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .trio { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .vs-verdict { grid-template-columns: 1fr auto; }
  .vs-table__head { display: grid; }
  .vs-table__head, .vs-table__row { grid-template-columns: 1.05fr 1.2fr 1.2fr; gap: 1.2rem; align-items: start; }
  .vs-table__head { padding: 0 0 .8rem; }
  .dispatch-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .feature-group { grid-template-columns: 1fr 1fr; }
  .feature-group--flip .feature-media { order: 2; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: .85fr 1.15fr; }
}
@media (max-width: 719px) {
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.4rem; }
  body.nav-open .site-nav { display: block; }
  .site-nav__list { flex-direction: column; gap: .9rem; }
  .burger { display: flex; }
  .header-cta { display: none; }
  .vs-table__us::after, .vs-table__them::after { display: none; }
  .vs-table__us { padding: .55rem .8rem; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--ok) 9%, transparent); }
  .vs-table__them { padding: .55rem .8rem; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--bad) 7%, transparent); }
}

/* ==================== 2. VIZUAL (Noir) ==================== */

:root {
  --bg: #0b0d12;
  --bg-alt: #0f121a;
  --surface: #141823;
  --ink: #f3f5f9;
  --ink-2: #cdd3de;
  --muted: #8d95a7;
  --line: rgba(255, 255, 255, .09);
  --accent: #ffd028;
  --on-accent: #0b0d12;
  --accent-soft: rgba(255, 208, 40, .12);
  --ok: #3ddc84;
  --bad: #ff6464;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-btn: 999px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .5);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Manrope", var(--font);
  --content: 1140px;
  --header-bg: rgba(11, 13, 18, .72);
}

body { background: var(--bg); }
::selection { background: var(--accent); color: var(--on-accent); }

/* Tlacitka */
.btn--primary { box-shadow: 0 0 0 0 rgba(255, 208, 40, 0); }
.btn--primary:hover { background: #ffe066; border-color: #ffe066; box-shadow: 0 8px 30px rgba(255, 208, 40, .35); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .18); color: var(--ink); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .04); }

/* Header */
.site-header { border-bottom-color: rgba(255, 255, 255, .06); }
.logo-mark { filter: drop-shadow(0 0 10px rgba(255, 208, 40, .45)); }
.logo-text span { color: var(--accent); }
.site-nav__list a { color: var(--ink-2); }
.site-nav__list a:hover { color: var(--ink); border-bottom-color: var(--accent); }

/* Texty */
.label { color: var(--accent); }
.label::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
h1 { font-weight: 800; letter-spacing: -.035em; }
mark { color: transparent; background: linear-gradient(90deg, #ffd028, #ffb347); -webkit-background-clip: text; background-clip: text; }
.lead { color: var(--muted); }

/* Hero */
.hero { padding-top: clamp(3.5rem, 8vw, 7rem); }
.hero__bg {
  background:
    radial-gradient(60% 50% at 78% 20%, rgba(255, 208, 40, .16), transparent 70%),
    radial-gradient(45% 45% at 10% 80%, rgba(88, 118, 255, .14), transparent 70%),
    linear-gradient(180deg, transparent, var(--bg));
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent);
}
.hero-facts { color: var(--ink-2); }
.hero-facts li::before { box-shadow: 0 0 10px var(--accent); }

.phone__frame { background: #1a1f2b; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 208, 40, .12), 0 0 120px rgba(255, 208, 40, .12); }
.slide-caption { color: var(--ink-2); }
.slide-dots button { border-color: rgba(255, 255, 255, .3); }

/* Sekce */
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Srovnani — tabulka, sloupec TaxiCare zvyrazneny */
.vs-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .02); }
.vs-table__head { padding: 1rem 1.4rem; background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line); color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.vs-table__row { padding: 1.05rem 1.4rem; border-top: 1px solid var(--line); transition: background .15s ease; }
.vs-table__row:first-of-type { border-top: 0; }
.vs-table__row:hover { background: rgba(255, 255, 255, .03); }
.vs-brand--us { color: var(--accent); font-size: 1.05rem; text-transform: none; letter-spacing: 0; }
.vs-brand--them { color: var(--ink-2); font-size: 1.05rem; text-transform: none; letter-spacing: 0; }
.vs-table__them span { color: var(--muted); }
@media (min-width: 720px) {
  .vs-table__us { position: relative; padding: .4rem .9rem; margin: -.4rem 0; border-radius: 10px; background: var(--accent-soft); }
}
.vs-verdict { background: linear-gradient(135deg, rgba(255, 208, 40, .14), rgba(255, 208, 40, .04)); border: 1px solid rgba(255, 208, 40, .25); }
.vs-verdict strong { color: var(--accent); }

/* Boxy */
.box { background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); border-color: var(--line); transition: transform .2s ease, border-color .2s ease; }
.box:hover { transform: translateY(-3px); border-color: rgba(255, 208, 40, .4); }
.icon { color: var(--accent); filter: drop-shadow(0 0 8px rgba(255, 208, 40, .4)); }

/* Funkce */
.feature-group + .feature-group { border-top-color: var(--line); }
.feature-group img { border: 1px solid rgba(255, 255, 255, .1); }
.eyebrow { color: var(--accent); }

/* Foto pruh */
.photo-band { position: relative; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); pointer-events: none; }

/* Dispecink */
.dispatch-card { background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); }
.dispatch-card--ai { border-color: rgba(255, 208, 40, .35); background: linear-gradient(160deg, rgba(255, 208, 40, .12), rgba(255, 255, 255, .02) 60%); }
.tag span { border-color: var(--line); color: var(--ink-2); background: rgba(255, 255, 255, .04); }
.check-list li strong { color: var(--ink); }

/* Kroky */
.step { border-top-color: var(--line); position: relative; }
.step::after { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.step__num { color: var(--muted); font-size: .9rem; letter-spacing: .2em; margin-bottom: .8rem; }

/* FAQ */
.faq-item summary:hover { color: var(--accent); }

/* Formular */
.lead-form { background: rgba(255, 255, 255, .03); }
.field input, .field select, .field textarea { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); color: var(--ink); }
.field select option { color: #111; }
.contact-mail { color: var(--accent); }

/* Paticka */
.site-footer { background: #07090d; border-top-color: var(--line); }

/* ---------- Testovaci hovor s AI dispecerkou ---------- */
.ai-call { margin-top: 1.4rem; padding: 1.1rem 1.2rem; border: 1px solid rgba(255, 208, 40, .3); border-radius: 14px; background: rgba(255, 208, 40, .07); }
.ai-call__title { font-family: var(--font-display); font-weight: 800; margin-bottom: .7rem; }
.ai-call__btn { width: 100%; }
.ai-call__btn.is-connecting { background: #ffe9a3; border-color: #ffe9a3; pointer-events: none; }
.ai-call__btn.is-calling { background: #ff6464; border-color: #ff6464; color: #fff; animation: ai-pulse 2s ease infinite; }
.ai-call__btn.is-calling:hover { background: #e14e4e; border-color: #e14e4e; box-shadow: none; transform: none; }
@keyframes ai-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 100, 100, .45); } 50% { box-shadow: 0 0 0 12px rgba(255, 100, 100, 0); } }
@media (prefers-reduced-motion: reduce) { .ai-call__btn.is-calling { animation: none; } }
.ai-call__status { margin-top: .6rem; font-size: .9rem; font-weight: 600; color: var(--ink); min-height: 1.4em; }
.ai-call__status:empty { display: none; }
.ai-call__note { margin-top: .5rem; font-size: .82rem; color: var(--muted); }

/* ==================== 3. CENIK ==================== */

.section--pricing { border-top: 1px solid var(--line); }
.price-grid { display: grid; gap: 1.2rem; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); display: flex; flex-direction: column; }
.price-card--main { border-color: rgba(255, 208, 40, .45); background: linear-gradient(160deg, rgba(255, 208, 40, .13), rgba(255, 255, 255, .02) 60%); }
.price-card__name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.price-card__for { color: var(--muted); font-size: .9rem; margin-top: .15rem; }
.price-card__price { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 2.9rem); letter-spacing: -.03em; color: var(--accent); line-height: 1; margin-top: 1rem; }
.price-card__price small { display: block; margin-top: .25rem; font-size: .9rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.price-card__note { color: var(--muted); font-size: .88rem; margin-top: .5rem; }
.price-card .check-list { margin-top: 1.2rem; }
.price-card__extras { margin-top: 1.2rem; display: grid; gap: .6rem; }
.price-card__extras div { padding: .7rem .9rem; border-radius: 10px; background: rgba(255, 255, 255, .05); font-size: .9rem; color: var(--ink-2); }
.price-card__extras strong { color: var(--ink); }
.price-card .btn { margin-top: 1.4rem; align-self: flex-start; }

.price-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .92rem; }
.price-table th, .price-table td { text-align: left; padding: .65rem 0; border-top: 1px solid var(--line); vertical-align: top; }
.price-table th { font-weight: 600; color: var(--ink); }
.price-table td { color: var(--ink-2); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.price-table tr:first-child th, .price-table tr:first-child td { border-top: 0; }
.price-table .price-num { font-family: var(--font-display); font-weight: 800; color: var(--accent); }
.price-table small { display: block; color: var(--muted); font-weight: 500; }

.price-modules { margin-top: 1rem; display: grid; gap: .8rem; }
.price-module { padding: .9rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.price-module__head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.price-module__name { font-family: var(--font-display); font-weight: 800; }
.price-module__price { font-family: var(--font-display); font-weight: 800; color: var(--accent); white-space: nowrap; }
.price-module p { color: var(--muted); font-size: .88rem; margin-top: .3rem; }

.price-example { margin-top: 1.4rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); display: grid; gap: .5rem; }
.price-example p { color: var(--ink-2); font-size: .97rem; }
.price-example strong { color: var(--accent); }
.price-example small { color: var(--muted); font-size: .85rem; }

@media (min-width: 900px) {
  .price-grid { grid-template-columns: 1.1fr 1fr 1fr; align-items: stretch; }
}
@media (min-width: 720px) and (max-width: 899px) {
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price-card--main { grid-column: 1 / -1; }
}

/* ==================== 4. DEMO STRANKA ==================== */

.hero--demo { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero--demo .container { position: relative; z-index: 1; }
.hero__copy--wide { max-width: 760px; }
.demo-grid { display: grid; gap: 1.2rem; }
.demo-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease; }
.demo-card:hover { border-color: rgba(255, 208, 40, .4); transform: translateY(-3px); }
.demo-card h2 { font-size: 1.4rem; margin: .6rem 0 .6rem; max-width: none; }
.demo-card > p { color: var(--muted); font-size: .97rem; }
.demo-card .check-list { margin-top: 1rem; margin-bottom: 1.4rem; }
.demo-card__btn { margin-top: auto; width: 100%; }
.demo-card__creds { margin-top: .8rem; font-size: .8rem; color: var(--muted); text-align: center; }
.demo-card__creds code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink-2); }
.demo-note { margin-top: 1.4rem; color: var(--muted); font-size: .9rem; max-width: 70ch; }
.demo-note code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink-2); }
.demo-cta { margin-top: 2.4rem; }
.box p a { color: var(--accent); }
@media (min-width: 900px) { .demo-grid { grid-template-columns: repeat(3, 1fr); } }

/* ==================== 5. ZAVADECI NABIDKA (promo) ==================== */

/* Prouzek pod menu; je uvnitr .site-header, takze se lepi spolu s nim. */
.promo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem .9rem;
  padding: .6rem var(--gutter);
  background: linear-gradient(90deg, #ffd028, #ffb347 55%, #ffd028);
  color: #0b0d12;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
  border-top: 1px solid rgba(0, 0, 0, .12);
  text-align: center;
}
.promo-bar:hover { filter: brightness(1.05); }
.promo-bar > span { min-width: 0; }
.promo-bar__chip {
  flex: none;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: #0b0d12;
  color: #ffd028;
  border-radius: 999px;
  padding: .25rem .7rem;
}
.promo-bar strong { font-weight: 800; }
.promo-bar__more { font-weight: 500; opacity: .8; }
.promo-bar__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.promo-bar__cta svg { width: 14px; height: 14px; }
@media (max-width: 860px) {
  .promo-bar { font-size: .82rem; padding: .5rem 1rem; }
  .promo-bar__more { display: none; }
}

/* Popisny panel primo v ceniku */
.promo-panel {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  margin-bottom: 1.6rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 208, 40, .35);
  background: linear-gradient(135deg, rgba(255, 208, 40, .16), rgba(255, 208, 40, .04));
}
.promo-panel h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: .5rem 0 .7rem; }
.promo-panel p { color: var(--ink-2); max-width: 70ch; }
.promo-panel__list { margin-top: 1rem; display: grid; gap: .45rem; font-size: .95rem; }
.promo-panel__list li { display: flex; gap: .6rem; align-items: baseline; color: var(--ink-2); }
.promo-panel__list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.promo-panel__list strong { color: var(--ink); }
.promo-panel__badge {
  justify-self: start;
  display: grid;
  place-items: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--accent);
  color: #0b0d12;
  font-family: var(--font-display);
  line-height: 1;
  box-shadow: 0 0 40px rgba(255, 208, 40, .35);
}
.promo-panel__badge span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.promo-panel__badge strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: .1rem 0; }
.promo-panel__deadline { margin-top: 1rem; font-size: .88rem; color: var(--muted); }
.promo-panel__deadline strong { color: var(--accent); }
@media (min-width: 860px) {
  .promo-panel { grid-template-columns: 1fr auto; gap: 2.5rem; }
  .promo-panel__badge { justify-self: center; }
}

/* Prehozene ceny */
.price-old {
  display: inline-block;
  margin-right: .5rem;
  color: var(--muted);
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  font-size: .55em;
  vertical-align: middle;
}
.price-table .price-old { display: block; margin: 0 0 .1rem; font-size: .8rem; }
.price-card__ribbon {
  align-self: flex-start;
  display: inline-block;
  margin-bottom: .7rem;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: var(--accent);
  color: #0b0d12;
  border-radius: 999px;
  padding: .25rem .7rem;
}

/* ==================== 6. COOKIE LISTA ==================== */

.cookiebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding: clamp(.8rem, 3vw, 1.4rem);
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.cookiebar__box {
  pointer-events: auto;
  width: 100%;
  max-width: 560px;
  background: #141823;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}
.cookiebar__title { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; margin-bottom: .4rem; }
.cookiebar__text { color: var(--muted); font-size: .88rem; }
.cookiebar__text a { color: var(--accent); }
.cookiebar__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.cookiebar__actions .btn { flex: 1 1 auto; }
@media (prefers-reduced-motion: no-preference) {
  .cookiebar__box { animation: cookiebar-in .3s ease both; }
  @keyframes cookiebar-in { from { opacity: 0; transform: translateY(14px); } }
}

/* ==================== 7. DROBNOSTI ==================== */

/* Lepici hlavicka je vyssi (menu + promo prouzek), at kotvy nekonci pod ni. */
section[id], div[id] { scroll-margin-top: 130px; }

/* Pravni stranka (soukromi) */
.legal { max-width: 78ch; }
.legal h2 { max-width: none; font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: 2.4rem 0 .8rem; }
.legal h3 { font-size: 1.05rem; margin: 1.6rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin-bottom: .9rem; }
.legal ul { display: grid; gap: .45rem; margin: 0 0 1rem; }
.legal ul li { display: flex; gap: .6rem; align-items: baseline; }
.legal ul li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.legal a { color: var(--accent); }
.legal table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1rem 0; }
.legal th, .legal td { text-align: left; padding: .6rem .7rem; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.legal th { color: var(--ink); font-weight: 700; }
.legal tr:first-child th, .legal tr:first-child td { border-top: 0; }
.legal__updated { color: var(--muted); font-size: .85rem; }
