/* =====================================================================
   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 z loga zákazníka a firemního manuálu, potvrzené prototypem
   z Claude Design. Nikdy vymyšlená paleta.
   --------------------------------------------------------------------- */
:root {
  /* barvy — DOPLNIT z loga (design-kvalita, část Barvy) */
  --color-brand:       #1B365D;   /* navy z prototypu Claude Design, sedí s logem */
  --color-brand-dark:  #12253F;
  --color-accent:      #C94514;   /* oranžová pro text a tlačítka na světlém: bílý text 4,83 : 1 */
  --color-accent-dark: #B83F12;
  --color-text:        #1B2433;
  --color-text-muted:  #5f6368;
  --color-text-inverse:#ffffff;
  --color-bg:          #ffffff;
  --color-bg-alt:      #F4F5F7;
  --color-bg-dark:     #1B365D;   /* patička, tmavé sekce — navy */
  --color-border:      #e0e4e8;
  --color-error:       #b3261e;
  --color-success:     #1b7f3b;

  /* typografie — max. 2 rodiny, max. 3 váhy; fonty lokálně ve /fonts */
  --font-base: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Archivo", "Barlow", system-ui, sans-serif;
  --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;

  /* prostor — všechno ze škály, nic mimo ni */
  --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);   /* mezera mezi sekcemi: mobil 3 rem, desktop 6 rem */
  --container: 1200px;
  --container-narrow: 65ch;

  /* rohy a stíny — dvě úrovně, nikdy víc */
  --radius-sm: 3px;  --radius-md: 4px;  --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,.08);

  /* pohyb — jednotné easingy a časy (design-kvalita, část Animace) */
  --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 — lokálně, nikdy z Google serverů. Ověř diakritiku (ď ť ů ě).
   Soubory do /fonts, názvy níže uprav. Když projekt font nemá, smaž
   @font-face a nech systémový stack.
   --------------------------------------------------------------------- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/archivo-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+20AC, U+2122, U+2212; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/archivo-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/archivo-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+20AC, U+2122, U+2212; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/archivo-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/archivo-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/archivo-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/barlow-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+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/barlow-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/barlow-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/barlow-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-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+20AC, U+2122, U+2212; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, 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);          /* nikdy pod 16 px */
  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); }   /* rezervovaná plocha, žádný skok */
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; }
h1 { font-size: clamp(1.9rem, 5vw + 0.5rem, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw + 0.4rem, 2.4rem); }
h3 { font-size: var(--text-lg); }
p, ul, ol { margin: 0 0 var(--space-3); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--color-brand); 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; }
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; }
: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); }

/* zástupný obsah — [DOPLNIT] musí být vidět, aby nezůstal na webu */
.placeholder { background: #fff3cd; color: #7a5c00; border: 1px dashed #d4a800; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); }

/* ---------------------------------------------------------------------
   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__head { max-width: 40rem; 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)); }
.prose { max-width: var(--container-narrow); }
.prose h2 { margin-top: var(--space-6); }
.prose h3 { margin-top: var(--space-5); }
.prose ul { padding-left: 1.2em; }
.eyebrow { display: inline-block; font-size: var(--text-sm); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--color-accent); margin-bottom: var(--space-2); }

/* ---------------------------------------------------------------------
   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%); }        /* Standard: schová se při scrollu dolů */
.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: 40px; 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; padding: var(--space-2) 0; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-brand); 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); }
.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: 960px) {
  .header__contact { display: inline-flex; }
}
@media (max-width: 959px) {
  .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__link { display: block; padding: var(--space-3) 0; font-size: var(--text-lg); }
  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); }
.btn--secondary { background: var(--color-brand); color: #fff; }
.btn--secondary:hover { background: var(--color-brand-dark); }
.btn--outline { background: transparent; color: var(--color-brand); border-color: currentColor; }
.btn--outline:hover { background: var(--color-brand); color: #fff; }
.section--dark .btn--outline { color: #fff; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------------
   7. HERO — H1 statický (LCP), text nikdy na neupravenou fotku
   --------------------------------------------------------------------- */
.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__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(to right, rgba(0,0,0,.65), rgba(0,0,0,.15)); z-index: 1; }
.hero__inner { position: relative; z-index: 2; max-width: 44rem; }
.hero__lead { font-size: var(--text-lg); max-width: 36rem; 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-4); margin-top: var(--space-5); font-size: var(--text-sm); color: var(--color-text-muted); }
.hero--image .hero__proof { color: rgba(255,255,255,.8); }

/* ---------------------------------------------------------------------
   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; }

.stats { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); text-align: center; }
.stat__value { font-size: var(--text-3xl); font-weight: 700; line-height: 1; color: var(--color-brand); font-variant-numeric: tabular-nums; }
.section--dark .stat__value { color: #fff; }
.stat__label { color: var(--color-text-muted); margin-top: var(--space-2); }
.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); }
.testimonial p { font-size: var(--text-lg); }
.testimonial cite { font-style: normal; font-weight: 600; font-size: var(--text-sm); color: var(--color-text-muted); }

.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); }

.portrait { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--radius-md); }

/* ---------------------------------------------------------------------
   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; }
.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 — label nad polem, chyba pod polem, stav odesílání
   --------------------------------------------------------------------- */
.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-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand) 20%, transparent); }
.field.is-invalid input, .field.is-invalid textarea { 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; }

/* ---------------------------------------------------------------------
   11. INTERAKTIVNÍ APLIKACE (kalkulačka) — sekce #kalkulacka
   --------------------------------------------------------------------- */
.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); font-size: var(--text-sm); color: var(--color-text-muted); }
.app__steps span { flex: 1; height: 4px; border-radius: var(--radius-full); background: var(--color-border); }
.app__steps span.is-done { background: var(--color-brand); }
.app__result { background: var(--color-brand); color: #fff; border-radius: var(--radius-md); padding: var(--space-5); }
.app__result-value { font-size: var(--text-4xl); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.app__result-range { font-size: var(--text-lg); opacity: .9; margin-top: var(--space-2); }
.app__result-note { margin-top: var(--space-3); opacity: .85; font-size: var(--text-sm); }
.app__result .btn { margin-top: var(--space-4); }
html.js .app__result { opacity: 0; transform: scale(.96); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
html.js .app__result.is-visible { opacity: 1; transform: none; }
.app__nojs { color: var(--color-text-muted); }
html.js .app__nojs { display: none; }

/* ---------------------------------------------------------------------
   12. KONTAKT A PATIČKA — identifikační údaje čitelné i na mobilu
   --------------------------------------------------------------------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.contact-list a { font-weight: 600; }
.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__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 button { background: none; border: 0; color: #fff; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
address { font-style: normal; }

/* ---------------------------------------------------------------------
   13. COOKIE LIŠTA — opt-in, obě tlačítka stejně nápadná, neblokuje
   Vykresluje js/consent.js; třídy nepřejmenovávat (MIGRACE-WP).
   --------------------------------------------------------------------- */
.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); }

/* mobil: lišta nesmí zabrat víc než třetinu obrazovky (legislativa-cz) */
@media (max-width: 600px) {
  .cookie-bar { padding: var(--space-3); left: var(--space-2); right: var(--space-2); bottom: var(--space-2); }
  .cookie-bar h2 { font-size: var(--text-base); margin-bottom: 2px; }
  .cookie-bar p { font-size: var(--text-xs); line-height: 1.35; }
  .cookie-bar__actions { margin-top: var(--space-2); gap: 6px; }
  .cookie-bar__actions .btn { min-height: 42px; padding-inline: var(--space-2); font-size: var(--text-xs); white-space: nowrap; }
  .cookie-bar__actions { grid-template-columns: 1fr 1fr; }
  .cookie-bar__actions .btn--settings { grid-column: 1 / -1; min-height: 32px; padding: .2em .6em; font-size: var(--text-xs); background: none; border: 0; color: var(--color-text-muted); text-decoration: underline; }
}


/* ---------------------------------------------------------------------
   14. VLOŽENÉ PRVKY PO SOUHLASU (mapa, video) — bez souhlasu náhled
   --------------------------------------------------------------------- */
.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,.92); 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
   Třídy .reveal / .reveal-group nikdy na hero H1, navigaci ani patičku.
   Bez JS (chybí html.js) je vše viditelné.
   --------------------------------------------------------------------- */
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 { 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 — „Uložit jako PDF" u výsledku kalkulačky
   --------------------------------------------------------------------- */
@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; }
}

/* =====================================================================
   WORK EUROPE — vlastní vizuální jazyk (30. 9. 2026)
   Podpisový prvek = značka z loga: oranžové „L" se zaobleným vnějším rohem,
   které objímá bílý čtverec s mezerou. Z toho:
   · .we-rahmen   — fotka „vložená" do oranžového L (roh vlevo nahoře)
   · .btn, karty  — zaoblený jen levý horní roh (jako značka), ostatní ostré
   · .we-stitek   — štítek nad nadpisem s malou značkou
   Barvy: navy #1B365D, oranžová loga #F1612C (dekor, velké plochy),
   oranžová #C94514 pro text a tlačítka (bílý text 4,83 : 1).
   ===================================================================== */
:root {
  --we-navy: #1B365D; --we-navy-900: #12253F; --we-navy-700: #274A7A;
  --we-orange: #F1612C; --we-orange-text: #C94514;
  --we-roh: 22px;            /* poloměr rohu značky */
  --color-accent: var(--we-orange-text);
}
body { font-size: 1.0625rem; }
h1, h2, h3 { letter-spacing: -0.015em; }
h1 { font-weight: 800; }
h2 { font-weight: 800; font-size: clamp(1.8rem, 3.2vw + .4rem, 2.9rem); }
.container { width: min(100% - 2 * var(--space-4), 1240px); }

/* ---- tlačítka: roh značky ---- */
.btn { border-radius: 14px 2px 2px 2px; font-family: var(--font-head); font-weight: 700; letter-spacing: .01em; }
.btn--primary { background: var(--we-orange-text); color: #fff; }
.btn--primary:hover { background: var(--we-orange-dark, #B83F12); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--we-navy); }
.btn--navy { background: var(--we-navy); color: #fff; }
.btn--navy:hover { background: var(--we-navy-900); }
.btn .pipka { transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .pipka { transform: translateX(3px); }

/* ---- štítek s malou značkou ---- */
.we-stitek { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-head); font-weight: 700; font-size: var(--text-sm); letter-spacing: .12em; text-transform: uppercase; color: var(--we-orange-text); margin-bottom: var(--space-3); }
.we-stitek::before { content: ""; width: 14px; height: 14px; flex: none; background: url("/img/znacka.svg") no-repeat center / contain; }
.we-tmava .we-stitek, .we-hero .we-stitek { color: #FFB08C; }

/* ---- hlavička ---- */
.header { background: var(--we-navy); border-bottom: 0; }
.header__inner { min-height: 76px; }
.header .nav__link { color: rgba(255,255,255,.88); font-family: var(--font-head); font-weight: 600; font-size: .98rem; }
.header .nav__link::after { background: var(--we-orange); height: 3px; }
.header .nav__link:hover, .header .nav__link[aria-current="page"] { color: #fff; }
.header .nav-toggle span { background: #fff; }
@media (max-width: 959px) { .nav { background: var(--we-navy); } .nav__list li { border-color: rgba(255,255,255,.15); } }
.header .nav__list .btn { min-height: 44px; padding-inline: var(--space-4); }

/* logo: efekt ze stávajícího webu — při najetí se prohodí barvy (značka ↔ nápis).
   Dvě verze přes sebe, plynulé prolnutí místo skokové výměny obrázku. */
.logo-swap { position: relative; display: inline-block; line-height: 0; }
.logo-swap img { height: 44px; width: auto; background: none; transition: opacity 350ms var(--ease-out); }
.logo-swap img + img { position: absolute; inset: 0; opacity: 0; }
.logo-swap:hover img:first-child, .logo-swap:focus-visible img:first-child { opacity: 0; }
.logo-swap:hover img + img, .logo-swap:focus-visible img + img { opacity: 1; }

/* ---- rámeček značky kolem fotky ---- */
.we-rahmen { --t: 16px; --g: 7px; --plocha: #fff; position: relative; margin: 0; padding: calc(var(--t) + var(--g)) 0 0 calc(var(--t) + var(--g)); }
.we-rahmen::before { content: ""; position: absolute; left: 0; top: 0; width: 58%; height: 58%; background: var(--we-orange); border-top-left-radius: calc(var(--we-roh) + var(--t) + 10px); }
.we-rahmen img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--we-roh) + 4px) 2px 2px 2px; box-shadow: 0 0 0 var(--g) var(--plocha); }
.we-rahmen--tmava { --plocha: var(--we-navy); }
.we-rahmen--alt { --plocha: var(--color-bg-alt); }
.we-rahmen--sm { --t: 9px; --g: 5px; }
.we-rahmen figcaption { position: relative; font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-2); }

/* ---- sekce ---- */
.we-tmava { background: var(--we-navy); color: #fff; }
.we-tmava h2, .we-tmava h3 { color: #fff; }
.we-tmava p { color: rgba(255,255,255,.82); }
.we-hlava { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-4) var(--space-7); align-items: end; margin-bottom: var(--space-6); }
.we-hlava h2 { margin: 0; }
.we-hlava p { margin: 0; color: var(--color-text-muted); font-size: var(--text-lg); }
.we-tmava .we-hlava p { color: rgba(255,255,255,.78); }
@media (max-width: 820px) { .we-hlava { grid-template-columns: 1fr; } }

/* ---- HERO ---- */
.we-hero { background: var(--we-navy); color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.we-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; }
.we-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.2vw, 3.9rem); line-height: 1.04; margin-bottom: var(--space-4); }
.we-hero h1 em { font-style: normal; color: var(--we-orange); }
.we-hero__claim { font-family: var(--font-head); font-weight: 700; font-size: var(--text-lg); color: #FFB08C; margin-bottom: var(--space-3); }
.we-hero__lead { color: rgba(255,255,255,.84); font-size: 1.15rem; max-width: 34rem; margin-bottom: var(--space-5); }
.we-hero .we-rahmen { --plocha: var(--we-navy); }
.we-hero .we-rahmen img { aspect-ratio: 4 / 3.3; }
.we-hero__foto { position: relative; }
.we-hero__foto-mala { position: absolute; width: 38%; left: -9%; bottom: -8%; border: 6px solid var(--we-navy); border-radius: 18px 2px 2px 2px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.we-hero__foto-mala img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; background: none; }
@media (max-width: 900px) {
  .we-hero__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .we-hero__foto-mala { width: 34%; left: auto; right: -2%; bottom: -10%; }
}

/* volba Firma / Privat — dvě velké karty jako hlavní CTA */
.we-volba { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.we-volba a { position: relative; display: block; padding: var(--space-4) var(--space-4) var(--space-4) calc(var(--space-4) + 6px); border-radius: 18px 2px 2px 2px; text-decoration: none; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); transition: background var(--dur-base), transform var(--dur-base) var(--ease-out); }
.we-volba a::before { content: ""; position: absolute; left: -1px; top: -1px; width: 34px; height: 34px; border-top: 4px solid var(--we-orange); border-left: 4px solid var(--we-orange); border-top-left-radius: 18px; }
.we-volba a:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); }
.we-volba small { display: block; font-family: var(--font-head); font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; color: #FFB08C; font-weight: 700; }
.we-volba strong { display: block; font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; margin: .2em 0; line-height: 1.2; }
.we-volba span { font-size: var(--text-sm); color: rgba(255,255,255,.75); }
.we-volba--primarni { background: var(--we-orange-text) !important; border-color: var(--we-orange-text) !important; }
.we-volba--primarni::before { border-color: #fff !important; }
.we-volba--primarni small { color: #fff !important; }
.we-volba--primarni span { color: rgba(255,255,255,.9) !important; }
@media (max-width: 520px) { .we-volba { grid-template-columns: 1fr; } }

/* pás s přednostmi pod hero */
.we-prednosti { background: var(--we-navy-900); color: #fff; }
.we-prednosti ul { list-style: none; margin: 0; padding: var(--space-5) 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.we-prednosti li { padding-left: var(--space-4); border-left: 3px solid var(--we-orange); }
.we-prednosti b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.we-prednosti span { font-size: var(--text-sm); color: rgba(255,255,255,.75); }
@media (max-width: 820px) { .we-prednosti ul { grid-template-columns: 1fr 1fr; } }

/* ---- karty služeb ---- */
.we-sluzby { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-5) var(--space-4); }
.we-sluzba { grid-column: span 2; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.we-sluzby--b2b .we-sluzba:nth-child(-n+2) { grid-column: span 3; }
.we-sluzba .we-rahmen img { aspect-ratio: 4 / 3; }
.we-sluzby--b2b .we-sluzba:nth-child(-n+2) .we-rahmen img { aspect-ratio: 16 / 10; }
.we-sluzba h3 { margin: var(--space-3) 0 var(--space-2); font-size: 1.35rem; transition: color var(--dur-fast); }
.we-sluzba p { color: var(--color-text-muted); margin-bottom: var(--space-2); }
.we-sluzba .odkaz { margin-top: auto; font-family: var(--font-head); font-weight: 700; color: var(--we-orange-text); }
.we-sluzba:hover h3 { color: var(--we-orange-text); }
.we-sluzba .we-rahmen img { transition: transform var(--dur-slow) var(--ease-out); }
.we-sluzba:hover .we-rahmen img { transform: translateY(-3px); }
@media (max-width: 900px) { .we-sluzby { grid-template-columns: 1fr 1fr; } .we-sluzba, .we-sluzby--b2b .we-sluzba:nth-child(-n+2) { grid-column: span 1; } }
@media (max-width: 560px) { .we-sluzby { grid-template-columns: 1fr; } }

.we-pozn { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); background: var(--color-bg-alt); border-left: 5px solid var(--we-orange); border-radius: 0 2px 2px 0; }
.we-pozn p { margin: 0; max-width: 46rem; }
.we-tmava .we-pozn { background: rgba(255,255,255,.07); }

/* ---- aplikace: poptávka kapacit ---- */
.we-app { background: #fff; color: var(--color-text); border-radius: 26px 2px 2px 2px; padding: clamp(1.25rem, 3vw, 2.5rem); box-shadow: 0 24px 60px rgba(18,37,63,.18); position: relative; }
.we-app::before { content: ""; position: absolute; left: -10px; top: -10px; width: 90px; height: 90px; border-top: 6px solid var(--we-orange); border-left: 6px solid var(--we-orange); border-top-left-radius: 34px; }
.we-app h3 { font-size: 1.3rem; margin-bottom: var(--space-3); }
.we-app__kroky { display: flex; gap: 6px; margin-bottom: var(--space-4); }
.we-app__kroky span { flex: 1; height: 5px; border-radius: 2px; background: var(--color-border); transition: background var(--dur-base); }
.we-app__kroky span.is-done { background: var(--we-orange); }
.we-app__krok { border: 0; padding: 0; margin: 0 0 var(--space-4); }
.we-app__krok legend { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; margin-bottom: var(--space-2); }
.we-volby { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.we-volby label { position: relative; cursor: pointer; }
.we-volby input { position: absolute; opacity: 0; }
.we-volby span { display: inline-block; padding: .55em 1em; border: 2px solid var(--color-border); border-radius: 12px 2px 2px 2px; font-weight: 600; transition: border-color var(--dur-fast), background var(--dur-fast); }
.we-volby input:checked + span { border-color: var(--we-navy); background: var(--we-navy); color: #fff; }
.we-volby input:focus-visible + span { outline: 2px solid var(--we-orange-text); outline-offset: 2px; }
.we-volby label:hover span { border-color: var(--we-navy-700); }
.we-app__vysledek { margin-top: var(--space-4); background: var(--we-navy); color: #fff; border-radius: 22px 2px 2px 2px; padding: var(--space-5); }
.we-app__vysledek h4 { color: #FFB08C; font-size: var(--text-sm); letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--space-2); }
.we-app__shrnuti { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; line-height: 1.3; margin-bottom: var(--space-3); }
.we-app__vysledek p { color: rgba(255,255,255,.82); }
html.js .we-app__vysledek[hidden] { display: none; }
html.js .we-app__vysledek { animation: fade-in var(--dur-slow) var(--ease-out); }

/* ---- reference ---- */
.we-ref { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-5) var(--space-4); }
.we-ref__polozka { grid-column: span 4; }
.we-ref__polozka--velka { grid-column: span 8; grid-row: span 2; }
.we-ref__polozka .we-rahmen img { aspect-ratio: 4 / 3; }
.we-ref__polozka--velka .we-rahmen img { aspect-ratio: auto; height: 100%; min-height: 360px; }
.we-ref__polozka h3 { font-size: 1.15rem; margin: var(--space-3) 0 .2em; }
.we-ref__polozka p { margin: 0; color: var(--color-text-muted); font-size: var(--text-sm); }
.we-ref__polozka .hodnota { font-family: var(--font-head); font-weight: 800; color: var(--we-orange-text); }
@media (max-width: 900px) { .we-ref__polozka, .we-ref__polozka--velka { grid-column: span 6; grid-row: auto; } }
@media (max-width: 560px) { .we-ref__polozka, .we-ref__polozka--velka { grid-column: span 12; } }

/* stránka referencí: projekt = text + mřížka fotek */
.we-projekt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--space-6); padding-block: var(--space-7); border-top: 1px solid var(--color-border); }
.we-projekt:first-of-type { border-top: 0; }
.we-projekt dl { display: grid; grid-template-columns: auto 1fr; gap: .3em var(--space-3); margin: var(--space-3) 0 0; }
.we-projekt dt { font-weight: 600; color: var(--color-text-muted); }
.we-projekt dd { margin: 0; }
.we-mrizka { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.we-mrizka a { display: block; border-radius: 16px 2px 2px 2px; overflow: hidden; }
.we-mrizka img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform var(--dur-slow) var(--ease-out); }
.we-mrizka a:hover img { transform: scale(1.03); }
@media (max-width: 860px) { .we-projekt { grid-template-columns: 1fr; gap: var(--space-4); } .we-mrizka { grid-template-columns: repeat(2, 1fr); } }

/* ---- stránka služby ---- */
.we-uvod { background: var(--we-navy); color: #fff; padding: clamp(2rem, 5vw, 4rem) 0; }
.we-uvod__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; }
.we-uvod h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.08; }
.we-uvod p { color: rgba(255,255,255,.84); font-size: 1.12rem; }
.we-uvod .we-rahmen { --plocha: var(--we-navy); }
.we-uvod .we-rahmen img { aspect-ratio: 4 / 3; }
.drobky { list-style: none; display: flex; flex-wrap: wrap; gap: .4em; padding: 0; margin: 0 0 var(--space-3); font-size: var(--text-sm); color: rgba(255,255,255,.7); }
.drobky a { color: rgba(255,255,255,.85); }
.drobky li + li::before { content: "›"; margin-right: .4em; }
@media (max-width: 900px) { .we-uvod__grid { grid-template-columns: 1fr; gap: var(--space-5); } }

.we-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-7); align-items: start; }
.we-seznam { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: grid; gap: var(--space-2); }
.we-seznam li { position: relative; padding-left: 1.8em; }
.we-seznam li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1em; height: 1em; background: url("/img/znacka.svg") no-repeat center / contain; }
.we-postup { counter-reset: krok; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.we-postup li { counter-increment: krok; position: relative; padding-left: 3.4rem; }
.we-postup li::before { content: counter(krok, decimal-leading-zero); position: absolute; left: 0; top: -.1em; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--we-orange-text); }
.we-postup strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.we-karta { position: relative; background: #fff; border: 1px solid var(--color-border); border-radius: 20px 2px 2px 2px; padding: var(--space-5); }
.we-karta::before { content: ""; position: absolute; left: -1px; top: -1px; width: 40px; height: 40px; border-top: 4px solid var(--we-orange); border-left: 4px solid var(--we-orange); border-top-left-radius: 20px; }
.we-metody { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-5); }
.we-metody h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }
.we-metody p { margin: 0; color: var(--color-text-muted); }
@media (max-width: 900px) { .we-body, .we-metody { grid-template-columns: 1fr; gap: var(--space-5); } }
.we-galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.we-galerie a { display: block; overflow: hidden; border-radius: 16px 2px 2px 2px; }
.we-galerie img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform var(--dur-slow) var(--ease-out); }
.we-galerie a:hover img { transform: scale(1.03); }
@media (max-width: 700px) { .we-galerie { grid-template-columns: repeat(2, 1fr); } }

/* ---- CTA pás ---- */
.we-cta { background: var(--we-orange-text); color: #fff; position: relative; overflow: hidden; }
.we-cta::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 300px; height: 300px; background: url("/img/znacka.svg") no-repeat center / contain; opacity: .14; }
.we-cta .container { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; padding-block: var(--space-6); }
.we-cta h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); max-width: 36rem; }
.we-cta p { color: rgba(255,255,255,.9); margin: .4em 0 0; }
.we-cta .btn { background: #fff; color: var(--we-navy); }
.we-cta .btn:hover { background: var(--we-navy); color: #fff; }

/* ---- FAQ ---- */
.faq details { border-bottom: 1px solid var(--color-border); }
.faq summary { font-family: var(--font-head); }
.faq summary::after { border-color: var(--we-orange-text); }

/* ---- kontakt, patička ---- */
.we-kontakt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--space-7); align-items: start; }
@media (max-width: 900px) { .we-kontakt { grid-template-columns: 1fr; gap: var(--space-5); } }
.we-primo { list-style: none; padding: 0; margin: var(--space-4) 0; display: grid; gap: var(--space-3); }
.we-primo a { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--we-navy); text-decoration: none; }
.we-primo small { display: block; color: var(--color-text-muted); font-size: var(--text-sm); }
.field input[type="file"] { padding: var(--space-2); }
.we-typ { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.footer { background: var(--we-navy-900); }
.footer .logo-swap img { height: 40px; }
.footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---- právní stránky ---- */
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.15rem; }

@media (prefers-reduced-motion: reduce) {
  .logo-swap img, .we-volba a, .we-sluzba .we-rahmen img, .we-mrizka img, .we-galerie img { transition: none; }
  .we-volba a:hover, .we-sluzba:hover .we-rahmen img { transform: none; }
}
.we-fakta { display: grid; grid-template-columns: auto 1fr; gap: .4em var(--space-4); margin: 0; }
.we-fakta dt { font-weight: 600; color: var(--color-text-muted); }
.we-fakta dd { margin: 0; }
.drobky a { text-decoration: underline; }
.we-tmava .we-sluzba p { color: rgba(255,255,255,.78); }
.we-tmava .we-sluzba .odkaz, .we-tmava .we-sluzba:hover h3 { color: #FFB08C; }
.we-ref__polozka--velka .we-rahmen img { aspect-ratio: 5 / 4; height: auto; min-height: 0; }
.we-ref { align-items: start; }
.we-kontakt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.we-volby span { white-space: normal; }
.we-galerie { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
@media (max-width: 700px) { .we-galerie { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .we-kontakt { grid-template-columns: 1fr; } }
/* opravy po revizi 30. 9. 2026 */
@media (max-width: 520px) {
  .we-prednosti ul { grid-template-columns: 1fr; gap: var(--space-3); }
  .we-hero h1 { font-size: 2rem; }
  .we-uvod h1 { font-size: 1.85rem; hyphens: auto; }
}
.we-prednosti b { overflow-wrap: anywhere; }
.we-cta p { color: #fff; }
.section--alt .we-stitek { color: #B83F12; }
.we-app__nadpis { color: #FFB08C; font-size: var(--text-sm); letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--space-2); }
