/* =====================================================================
   style.css — jeden CSS soubor pro celý web (boilerplate GreatLeaders)
   Pravidla: design-kvalita (tokeny, typografie, rytmus, animace)
   Na WordPressu se enqueuuje beze změny. Tokeny měň jen v :root.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. TOKENY — jediné místo, kde se mění vzhled webu
   Barvy: navy z loga ROSTRA (#13244F, vzorek z logo-transparent.png;
   logomanuál uvádí Pantone 2757 C). Červená zakázaná (transkript 1).
   Tools = navy, Stamping = světlejší modrá — každá firma jiný odstín.
   Prototyp z Claude Design neexistuje → vizuál podle design-kvalita.
   --------------------------------------------------------------------- */
:root {
  --color-brand:       #13244F;   /* navy z loga */
  --color-brand-dark:  #0B1633;
  --color-accent:      #1A73C8;   /* CTA — jediný akcent; zároveň odstín ROSTRA Stamping */
  --color-accent-dark: #135BA1;
  --color-tools:       #13244F;   /* štítek ROSTRA Tools */
  --color-stamping:    #1A73C8;   /* štítek ROSTRA Stamping */
  --color-text:        #1A1D24;
  --color-text-muted:  #5B6370;
  --color-text-inverse:#ffffff;
  --color-bg:          #ffffff;
  --color-bg-alt:      #F3F5F8;
  --color-bg-dark:     #0F1B38;   /* patička, tmavé sekce */
  --color-border:      #DDE2EA;
  --color-error:       #b3261e;
  --color-success:     #1b7f3b;

  --font-base: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: var(--font-base);
  --text-xs: 0.8rem;   --text-sm: 0.9rem;    --text-base: 1rem;    --text-lg: 1.25rem;
  --text-xl: 1.563rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem; --text-4xl: 3.052rem;
  --leading-tight: 1.15;
  --leading-body: 1.65;

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 1rem;  --space-4: 1.5rem;
  --space-5: 2rem;    --space-6: 3rem;   --space-7: 4rem;  --space-8: 6rem;
  --section-y: clamp(3rem, 8vw, 6rem);
  --container: 1200px;
  --container-narrow: 65ch;

  --radius-sm: 4px;  --radius-md: 8px;  --radius-full: 999px;
  --shadow-1: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.10);
  --shadow-2: 0 12px 32px rgba(16,24,40,.10);

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-base: 250ms;
  --dur-slow: 500ms;

  --header-h: 72px;
}

/* ---------------------------------------------------------------------
   2. FONTY — Inter lokálně (/fonts, licence OFL), latin + latin-ext
   --------------------------------------------------------------------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-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+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-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+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------------------------------------------------------------------
   3. RESET A ZÁKLAD
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-base); font-size: var(--text-base); line-height: var(--leading-body); color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; height: auto; }
img { background: var(--color-bg-alt); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: var(--leading-tight); margin: 0 0 var(--space-3); text-wrap: balance; font-weight: 700; letter-spacing: -0.01em; color: var(--color-brand); }
h1 { font-size: clamp(1.9rem, 4.5vw + 0.5rem, 3.2rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.6vw + 0.4rem, 2.25rem); }
h3 { font-size: var(--text-lg); }
h4 { font-size: var(--text-base); }
p, ul, ol { margin: 0 0 var(--space-3); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--color-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; transition: text-decoration-thickness var(--dur-fast); }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; font-size: var(--text-sm); }
th, td { text-align: left; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--color-border); vertical-align: top; }
th { font-weight: 600; color: var(--color-brand); background: var(--color-bg-alt); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }
.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-link { position: absolute; left: var(--space-3); top: -100px; z-index: 1000; padding: var(--space-2) var(--space-3); background: var(--color-bg); color: var(--color-text); border-radius: var(--radius-sm); box-shadow: var(--shadow-2); }
.skip-link:focus { top: var(--space-3); }
.placeholder { background: #fff3cd; color: #7a5c00; border: 1px dashed #d4a800; padding: 2px var(--space-2); border-radius: var(--radius-sm); font-size: 0.9em; }
.section--dark .placeholder, .footer .placeholder, .hero--image .placeholder { color: #7a5c00; }

/* ---------------------------------------------------------------------
   4. LAYOUT
   --------------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--space-4), var(--container)); margin-inline: auto; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--color-bg-dark); color: var(--color-text-inverse); }
.section--dark a { color: inherit; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 44rem; margin-bottom: var(--space-6); }
.section__head p { color: var(--color-text-muted); font-size: var(--text-lg); }
.section--dark .section__head p { color: rgba(255,255,255,.8); }
.grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--split { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.prose { max-width: var(--container-narrow); }
.prose h2 { margin-top: var(--space-6); }
.prose h3 { margin-top: var(--space-5); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: var(--space-1); }
.eyebrow { display: inline-block; font-size: var(--text-sm); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-2); }
.lead { font-size: var(--text-lg); color: var(--color-text-muted); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: var(--space-4); }
.table-wrap table { min-width: 560px; font-size: var(--text-sm); }
.table-wrap th:first-child, .table-wrap td:first-child { padding-left: var(--space-3); }
.checklist { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.checklist li { padding-left: 1.6em; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 5px; border-left: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent); transform: rotate(-45deg); }
.section--dark .checklist li::before { border-color: #8FC0F5; }

/* ---------------------------------------------------------------------
   5. HLAVIČKA A NAVIGACE
   --------------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 100; background: var(--color-bg); border-bottom: 1px solid var(--color-border); transition: transform var(--dur-base) var(--ease-in-out); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: var(--header-h); }
.header__logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--color-text); font-weight: 700; font-size: var(--text-lg); }
.header__logo img { height: 36px; width: auto; background: none; }
.nav__list { display: flex; gap: var(--space-4); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__link { text-decoration: none; color: var(--color-text); font-weight: 600; font-size: var(--text-sm); padding: var(--space-2) 0; position: relative; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__list .btn { min-height: 40px; padding-inline: var(--space-3); font-size: var(--text-sm); }
.header__contact { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; border-radius: var(--radius-sm); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text); margin: 5px 0; transition: transform var(--dur-base) var(--ease-in-out), opacity var(--dur-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1180px) { .header__contact { display: inline-flex; } }
@media (max-width: 1023px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--color-bg); padding: var(--space-5) var(--space-4); transform: translateX(100%); transition: transform var(--dur-base) var(--ease-in-out); overflow-y: auto; }
  .nav.is-open { transform: none; }
  html:not(.js) .nav { position: static; transform: none; padding: 0; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--color-border); }
  .nav__list li:last-child { border-bottom: 0; padding-top: var(--space-4); }
  .nav__link { display: block; padding: var(--space-3) 0; font-size: var(--text-lg); }
  .nav__list .btn { width: 100%; min-height: 48px; font-size: var(--text-base); }
  html.js .nav.is-open .nav__list li { animation: nav-in var(--dur-slow) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
  @keyframes nav-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* ---------------------------------------------------------------------
   6. TLAČÍTKA
   --------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast), background var(--dur-fast), color var(--dur-fast); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .6; cursor: progress; transform: none; }
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-dark); color: #fff; }
.btn--secondary { background: var(--color-brand); color: #fff; }
.btn--secondary:hover { background: var(--color-brand-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--color-brand); border-color: currentColor; }
.btn--outline:hover { background: var(--color-brand); color: #fff; }
.section--dark .btn--outline, .hero--image .btn--outline { color: #fff; }
.section--dark .btn--outline:hover, .hero--image .btn--outline:hover { background: #fff; color: var(--color-brand); }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------------
   7. HERO — H1 statický (LCP), text na ztmaveném podkladu
   --------------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 10vw, 7rem); background: var(--color-bg-alt); overflow: hidden; }
.hero--image { color: var(--color-text-inverse); background: var(--color-bg-dark); }
.hero--image h1 { color: #fff; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; background: none; }
.hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,20,45,.88) 0%, rgba(10,20,45,.72) 45%, rgba(10,20,45,.25) 100%); z-index: 1; }
.hero__inner { position: relative; z-index: 2; max-width: 46rem; }
.hero__lead { font-size: var(--text-lg); max-width: 38rem; margin-bottom: var(--space-5); }
.hero--image .hero__lead { color: rgba(255,255,255,.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__proof { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: var(--space-5) 0 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--color-text-muted); }
.hero--image .hero__proof { color: rgba(255,255,255,.85); }
.hero__proof li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--color-accent); margin-right: var(--space-2); vertical-align: middle; }
.hero .eyebrow { color: #8FC0F5; }

/* podstránky — hlavička stránky s drobečky */
.page-head { background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border); padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-head--brand { background: var(--color-brand); color: #fff; border-bottom: 0; }
.page-head--brand h1, .page-head--brand .lead { color: #fff; }
.page-head--brand .lead { color: rgba(255,255,255,.85); }
.page-head--stamping { background: linear-gradient(120deg, var(--color-brand) 0%, var(--color-stamping) 100%); }
.page-head__inner { display: grid; gap: var(--space-5); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .page-head__inner--photo { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.page-head__photo { border-radius: var(--radius-md); aspect-ratio: 16 / 10; object-fit: cover; box-shadow: var(--shadow-2); }
.page-head .lead { max-width: 40rem; }
.page-head .hero__actions { margin-top: var(--space-4); }
.crumbs { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-text-muted); }
.page-head--brand .crumbs { color: rgba(255,255,255,.75); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "›"; margin-right: var(--space-2); opacity: .6; }

/* ---------------------------------------------------------------------
   8. KARTY, ČÍSLA, REFERENCE, GALERIE
   --------------------------------------------------------------------- */
.card { display: flex; flex-direction: column; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; color: inherit; text-decoration: none; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card__img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.card:hover .card__img { transform: scale(1.03); }
.card__body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.card__title { margin: 0; font-size: var(--text-lg); }
.card__text { color: var(--color-text-muted); margin: 0; }
.card__link { margin-top: auto; font-weight: 600; color: var(--color-accent); }

/* dvě firmy vedle sebe — rozcestník Tools / Stamping */
.duo { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.duo__item { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-md); overflow: hidden; color: #fff; text-decoration: none; background: var(--color-brand); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); }
.duo__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.duo__item--stamping { background: var(--color-stamping); }
.duo__img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.duo__body { padding: var(--space-5); display: grid; gap: var(--space-2); align-content: start; }
.duo__body h3, .duo__body h2 { color: #fff; margin: 0; font-size: var(--text-xl); }
.duo__body p { color: rgba(255,255,255,.88); margin: 0; }
.duo__tag { display: inline-block; font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.duo__link { margin-top: var(--space-2); font-weight: 600; color: #fff; }
.tag { display: inline-block; font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--radius-sm); color: #fff; background: var(--color-brand); }
.tag--stamping { background: var(--color-stamping); }
.tag--tools { background: var(--color-tools); }

.stats { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.stat { padding: var(--space-4); border-left: 3px solid var(--color-accent); background: var(--color-bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.section--dark .stat { background: rgba(255,255,255,.06); border-left-color: #8FC0F5; }
.stat__value { font-size: var(--text-3xl); font-weight: 700; line-height: 1; color: var(--color-brand); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat__value small { font-size: .45em; font-weight: 600; margin-left: 2px; }
.section--dark .stat__value { color: #fff; }
.stat__label { color: var(--color-text-muted); margin-top: var(--space-2); font-size: var(--text-sm); }
.section--dark .stat__label { color: rgba(255,255,255,.8); }

.testimonial { padding: var(--space-4); background: var(--color-bg); border-left: 4px solid var(--color-accent); border-radius: var(--radius-sm); margin: 0; }
.testimonial p { font-size: var(--text-lg); }
.testimonial cite { display: block; margin-top: var(--space-2); font-style: normal; font-weight: 600; font-size: var(--text-sm); color: var(--color-text-muted); }
.section--dark .testimonial { background: rgba(255,255,255,.06); border-left-color: #8FC0F5; }
.section--dark .testimonial cite { color: rgba(255,255,255,.75); }

.gallery { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.gallery img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--radius-md); filter: saturate(.95) contrast(1.02); }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-1); }
.portrait { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--radius-md); }
.photo { border-radius: var(--radius-md); width: 100%; object-fit: cover; }

/* logo wall (jen text, dokud klient nepotvrdí použití log) */
.brands { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); list-style: none; padding: 0; margin: 0; }
.brands li { padding: var(--space-1) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 600; color: var(--color-brand); background: var(--color-bg); }
.section--dark .brands li { border-color: rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.06); }

/* kroky (postup výroby, výběrové řízení, poptávkový proces) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); counter-reset: krok; }
.steps li { position: relative; padding-left: 3.25rem; counter-increment: krok; }
.steps li::before { content: counter(krok); position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem; border-radius: var(--radius-full); background: var(--color-brand); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: var(--text-sm); }
.steps h3 { font-size: var(--text-base); margin-bottom: var(--space-1); }
.steps p { color: var(--color-text-muted); }
.steps--grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* milníky */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--color-border); }
.timeline li { position: relative; padding: 0 0 var(--space-4) var(--space-5); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; border-radius: var(--radius-full); background: var(--color-accent); border: 2px solid var(--color-bg); }
.timeline time { display: block; font-weight: 700; color: var(--color-brand); font-variant-numeric: tabular-nums; }
.timeline p { color: var(--color-text-muted); margin: 0; }

/* lidé */
.people { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.person { padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg); }
.person__name { font-weight: 700; color: var(--color-brand); margin: 0; }
.person__role { color: var(--color-text-muted); font-size: var(--text-sm); margin: 0; }

/* volné pozice */
.jobs { display: grid; gap: var(--space-3); }
.job { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; justify-content: space-between; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg); text-decoration: none; color: inherit; transition: border-color var(--dur-fast), box-shadow var(--dur-base), transform var(--dur-base) var(--ease-out); }
.job:hover { border-color: var(--color-accent); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.job__title { font-weight: 600; color: var(--color-brand); }
.job__meta { font-size: var(--text-sm); color: var(--color-text-muted); }
.job__more { font-weight: 600; color: var(--color-accent); font-size: var(--text-sm); }
.job-cols { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.job-cols h3 { display: flex; align-items: center; gap: var(--space-2); }

/* benefity */
.benefits { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.benefit { padding: var(--space-4); background: var(--color-bg); border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.benefit h3 { font-size: var(--text-base); margin-bottom: var(--space-2); }
.benefit ul { margin: 0; padding-left: 1.1em; color: var(--color-text-muted); }
.benefit li + li { margin-top: var(--space-1); }

/* výzva */
.cta-band { background: var(--color-brand); color: #fff; }
.cta-band__inner { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: center; padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta-band h2 { color: #fff; margin-bottom: var(--space-2); }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .hero__actions { justify-content: flex-start; }
@media (min-width: 700px) { .cta-band .hero__actions { justify-content: flex-end; } }

/* ---------------------------------------------------------------------
   9. FAQ — <details>, obsah viditelný pro AI i bez JS
   --------------------------------------------------------------------- */
.faq { max-width: var(--container-narrow); }
.faq details { border-bottom: 1px solid var(--color-border); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; cursor: pointer; font-weight: 600; font-size: var(--text-lg); list-style: none; color: var(--color-brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform var(--dur-base) var(--ease-out); margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { padding-bottom: var(--space-4); color: var(--color-text-muted); }

/* ---------------------------------------------------------------------
   10. FORMULÁŘE
   --------------------------------------------------------------------- */
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: var(--space-1); }
.field label { font-weight: 600; font-size: var(--text-sm); }
.field input, .field select, .field textarea { font: inherit; padding: var(--space-2) var(--space-3); min-height: 48px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg); color: var(--color-text); width: 100%; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 20%, transparent); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--color-error); }
.field__error { color: var(--color-error); font-size: var(--text-sm); display: none; }
.field.is-invalid .field__error { display: block; animation: fade-in var(--dur-base) var(--ease-out); }
.field__hint { color: var(--color-text-muted); font-size: var(--text-sm); }
.form-note { font-size: var(--text-sm); color: var(--color-text-muted); }
.form__check { display: flex; gap: var(--space-2); align-items: flex-start; font-size: var(--text-sm); }
.form__check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.form__status { display: none; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); }
.form__status.is-success { display: block; background: #e6f4ea; color: var(--color-success); }
.form__status.is-error { display: block; background: #fdecea; color: var(--color-error); }
.honeypot { position: absolute; left: -9999px; }
.form-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-5); }

/* ---------------------------------------------------------------------
   11. INTERAKTIVNÍ APLIKACE — poptávkový průvodce (js/app-poptavka.js)
   --------------------------------------------------------------------- */
.app { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.app__panel { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-4); }
.app__steps { display: flex; gap: var(--space-2); margin-bottom: var(--space-4); }
.app__steps span { flex: 1; height: 4px; border-radius: var(--radius-full); background: var(--color-border); transition: background var(--dur-base); }
.app__steps span.is-done { background: var(--color-accent); }
.app__q { border: 0; padding: 0; margin: 0 0 var(--space-4); min-width: 0; }
.app__q legend { font-weight: 600; margin-bottom: var(--space-2); padding: 0; }
.app__options { display: grid; gap: var(--space-2); }
.app__options--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.app__options label { display: flex; align-items: center; gap: var(--space-2); min-height: 48px; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm); cursor: pointer; transition: border-color var(--dur-fast), background var(--dur-fast); }
.app__options label:hover { border-color: var(--color-accent); }
.app__options input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--color-accent); }
.app__options input:checked + span { font-weight: 600; color: var(--color-brand); }
.app__options label:has(input:checked) { border-color: var(--color-accent); background: color-mix(in srgb, var(--color-accent) 7%, #fff); }
.app__options input:focus-visible + span { outline: 2px solid var(--color-accent); outline-offset: 4px; border-radius: 2px; }
.app__side { position: sticky; top: calc(var(--header-h) + var(--space-3)); }
.app__empty { border: 1px dashed var(--color-border); border-radius: var(--radius-md); padding: var(--space-5); color: var(--color-text-muted); }
html.js .app__empty.is-hidden { display: none; }
.app__result { background: var(--color-brand); color: #fff; border-radius: var(--radius-md); padding: var(--space-5); }
.app__result-label { font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8FC0F5; margin-bottom: var(--space-2); }
.app__result-value { font-size: var(--text-xl); font-weight: 700; line-height: 1.15; }
.app__result-desc { margin-top: var(--space-3); color: rgba(255,255,255,.9); }
.app__result-list { margin: var(--space-3) 0 0; padding-left: 1.1em; color: rgba(255,255,255,.9); }
.app__result-list li + li { margin-top: var(--space-1); }
.app__result-note { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.8); font-size: var(--text-sm); }
.app__result .btn { margin-top: var(--space-4); }
.app__result .btn--primary { background: #fff; color: var(--color-brand); }
.app__result .btn--primary:hover { background: #E6F0FB; color: var(--color-brand); }
html.js .app__result { display: none; opacity: 0; transform: scale(.97); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
html.js .app__result.is-visible { display: block; opacity: 1; transform: none; }
html:not(.js) .app__result { display: none; }
.app__nojs { color: var(--color-text-muted); }
html.js .app__nojs { display: none; }

/* ---------------------------------------------------------------------
   12. KONTAKT A PATIČKA
   --------------------------------------------------------------------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.contact-list a { font-weight: 600; }
.contact-card { padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg); }
.contact-card h3 { margin-bottom: var(--space-2); }
.footer { background: var(--color-bg-dark); color: rgba(255,255,255,.85); padding-block: var(--space-7) var(--space-5); font-size: var(--text-sm); }
.footer a { color: #fff; }
.footer__brand { margin-bottom: var(--space-5); }
.footer__brand img { height: 36px; width: auto; background: none; }
.footer__grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-bottom: var(--space-6); }
.footer h2, .footer h3 { color: #fff; font-size: var(--text-base); margin-bottom: var(--space-3); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.footer__legal { border-top: 1px solid rgba(255,255,255,.15); padding-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: space-between; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.footer__legal button { background: none; border: 0; color: #fff; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
address { font-style: normal; }
.footer address { color: rgba(255,255,255,.75); line-height: 1.6; }

/* ---------------------------------------------------------------------
   13. COOKIE LIŠTA — js/consent.js; třídy nepřejmenovávat
   --------------------------------------------------------------------- */
.cookie-bar { position: fixed; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); z-index: 900; max-width: 560px; margin-inline: auto; background: var(--color-bg); color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-2); padding: var(--space-4); transform: translateY(calc(100% + var(--space-4))); opacity: 0; transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-slow); }
.cookie-bar.is-visible { transform: none; opacity: 1; }
.cookie-bar h2 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.cookie-bar p { font-size: var(--text-sm); color: var(--color-text-muted); }
.cookie-bar__actions { display: grid; gap: var(--space-2); grid-template-columns: 1fr 1fr; margin-top: var(--space-3); }
.cookie-bar__actions .btn { min-height: 44px; padding-inline: var(--space-3); }
.cookie-bar__actions .btn--settings { grid-column: 1 / -1; }
.cookie-bar__options { display: none; margin-top: var(--space-3); border-top: 1px solid var(--color-border); padding-top: var(--space-3); }
.cookie-bar.is-expanded .cookie-bar__options { display: grid; gap: var(--space-2); }
.cookie-bar__option { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); }
.cookie-bar__option input { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.cookie-bar__option strong { display: block; }
.cookie-bar__option span { color: var(--color-text-muted); }

/* ---------------------------------------------------------------------
   14. VLOŽENÉ PRVKY PO SOUHLASU (mapa)
   --------------------------------------------------------------------- */
.embed { position: relative; aspect-ratio: 16 / 9; background: var(--color-bg-alt); border-radius: var(--radius-md); overflow: hidden; display: grid; place-items: center; }
.embed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.embed__consent { position: relative; z-index: 1; text-align: center; padding: var(--space-4); background: rgba(255,255,255,.94); border-radius: var(--radius-md); max-width: 24rem; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------------
   15. /* motion */ — odhalení sekcí, jen transform + opacity
   --------------------------------------------------------------------- */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal-group > * { transition-delay: calc(var(--i, 0) * 90ms); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.toast { position: fixed; top: var(--space-3); left: 50%; transform: translate(-50%, -150%); z-index: 950; background: var(--color-text); color: #fff; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); box-shadow: var(--shadow-2); transition: transform var(--dur-base) var(--ease-out); display: flex; gap: var(--space-3); align-items: center; }
.toast.is-visible { transform: translate(-50%, 0); }
.toast button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { transition: opacity 200ms; transform: none; }
  html.js .reveal-group > * { transition-delay: 0ms; }
  .card:hover, .btn:hover, .duo__item:hover, .job:hover { transform: none; }
  .card:hover .card__img { transform: none; }
  .header, .nav, .cookie-bar, .toast, html.js .app__result { transition: none; }
  html.js .nav.is-open .nav__list li { animation: none; }
}

/* ---------------------------------------------------------------------
   16. TISK
   --------------------------------------------------------------------- */
@media print {
  .header, .footer, .cookie-bar, .nav-toggle, .toast, .hero__actions, .btn { display: none !important; }
  body { color: #000; background: #fff; }
  html.js .reveal, html.js .app__result { opacity: 1; transform: none; }
  a { text-decoration: none; color: inherit; }
}
