/* ====== Minimont — web · navy + bílá, zlatá jen akcent ====== */
:root {
  --navy: #142d52;
  --navy-d: #0e2140;
  --navy-l: #1c3a63;
  --gold: #c9a24a;
  --gold-l: #e3c87f;
  --gold-d: #a67c1e;
  --bg: #e6ebf3;
  --bg-strana: #e6ebf3;
  --text: #1f2937;
  --muted: #5b6b83;
  --line: #ccd6e5;
  --bila: #ffffff;
  /* Odvozené tokeny – v světlém režimu stejné jako navy/bílá, v tmavém
     režimu se přepíšou samostatně (viz [data-theme="dark"] níže). Nadpisy
     a "surface" (karty/formuláře/hlavička) potřebují jiné chování než
     čistá --navy/--bila, které zůstávají pevné brand barvy (tlačítka,
     tmavé pruhy). */
  --heading: var(--navy);
  --surface: var(--bila);
  --stin: rgba(20,45,82,.1);
  --stin-jemny: rgba(20,45,82,.06);
  --radius: 12px;
  --obal: 1120px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --navy-l: #26426e;
  --bg: #0a1420;
  --bg-strana: #0a1420;
  --text: #dbe3ee;
  --muted: #94a5bf;
  --line: #24354c;
  --heading: #f2f5fa;
  --surface: #101c2e;
  --stin: rgba(0,0,0,.35);
  --stin-jemny: rgba(0,0,0,.22);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy-l: #26426e;
    --bg: #0a1420;
    --bg-strana: #0a1420;
    --text: #dbe3ee;
    --muted: #94a5bf;
    --line: #24354c;
    --heading: #f2f5fa;
    --surface: #101c2e;
    --stin: rgba(0,0,0,.35);
    --stin-jemny: rgba(0,0,0,.22);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth; background: var(--bg-strana);
  /* Místo pro svislý posuvník držíme vždy — jinak se při přechodu mezi
     krátkou a dlouhou stránkou obsah posune a vypadá to jako změna
     přiblížení. Starší prohlížeče řeší záložní overflow-y: scroll. */
  overflow-y: scroll;
  /* Pojistka proti vodorovnému přetečení (např. na mobilní Safari) —
     ať už jej způsobí cokoliv, stránka se nesmí dát posunout do strany. */
  overflow-x: hidden;
  max-width: 100vw;
  scrollbar-gutter: stable;
  /* Prohlížeč nesmí sám zvětšovat text (Android/iOS „font boosting"). */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--text); background: var(--bg-strana); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color .2s ease, color .2s ease;
  overflow-x: hidden;
  max-width: 100vw;
}
h1, h2, h3, h4 { font-family: "Poppins", "Inter", system-ui, sans-serif; line-height: 1.2; color: var(--heading); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.obal { width: 100%; max-width: var(--obal); margin: 0 auto; padding: 0 20px; }
.obal-siroky { width: 100%; max-width: 1500px; margin: 0 auto; padding: 0 20px; }

/* ---- Štítky a odrážky ---- */
.stitek { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-d); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.stitek::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--gold); border-radius: 1px; }
.stitek-svetly { color: var(--gold-l); }
.stitek-svetly::before { background: var(--gold-l); }
.bily-nadpis { color: var(--bila); }
.odrazky { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.odrazky li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.odrazky li span { color: var(--gold-d); font-weight: 700; }
.odrazky-svetle li { color: #c7d3e6; }
.odrazky-svetle li span { color: var(--gold-l); }
.odrazky .zvyrazneno { color: inherit; font-weight: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.odrazky-svetle .zvyrazneno { text-decoration-color: var(--gold-l); }

/* ---- Tlačítka ---- */
.tlacitko { display: inline-block; font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 10px; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, background .15s ease; }
.tlacitko:hover { transform: translateY(-2px); }
.tlacitko-zlate { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.tlacitko-zlate:hover { background: var(--gold-l); }
.tlacitko-svetle { background: transparent; color: var(--bila); border-color: rgba(255,255,255,.4); }
.tlacitko-svetle:hover { background: rgba(255,255,255,.1); }
.tlacitko-tmave { background: var(--navy); color: var(--bila); border-color: var(--navy); }
.tlacitko-tmave:hover { background: var(--navy-d); }

/* ---- Hlavička (bílá) ---- */
.hlavicka { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 3px solid var(--gold); box-shadow: 0 1px 8px var(--stin-jemny); }
.hlavicka-obsah { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo-img { height: 34px; width: auto; }
:root[data-theme="dark"] .logo-img { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-img { filter: brightness(0) invert(1); } }
.menu { display: flex; align-items: center; gap: 20px; }
.menu > a { color: var(--heading); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.menu > a:hover { color: var(--gold-d); }
.menu-zona { display: inline-flex; align-items: center; }
.menu > a.aktivni { color: var(--gold-d); }
.menu-cta { color: var(--navy) !important; padding: 9px 16px; font-size: 14px; }
.menu-cta:hover { color: var(--navy) !important; }
.tmavy-prepinac { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--heading); cursor: pointer; font-size: 17px; line-height: 1; transition: background .15s, border-color .15s; }
.tmavy-prepinac:hover { border-color: var(--gold); }

/* ---- Pruh: stránky prochází úpravami ---- */
.pruh-info { background: var(--navy-d); border-bottom: 1px solid var(--gold); }
.pruh-info p { padding: 8px 0; text-align: center; color: #c7d3e6; font-size: 13px; font-weight: 500; letter-spacing: .2px; }

/* ---- Banner názvu podstránky ---- */
.pas-nadpis { background: var(--navy); border-bottom: 2px solid var(--gold); }
.pas-nadpis .obal { padding-top: 40px; padding-bottom: 40px; }
.pas-nadpis h1 { color: var(--bila); font-size: 36px; font-weight: 700; }
.drobky { display: block; color: #9fb0c9; font-size: 13px; margin-bottom: 8px; }
.drobky a { color: #c7d3e6; }
.drobky a:hover { color: var(--gold-l); }

/* ---- Střední akce (tlačítko "Více") ---- */
.sekce-akce { text-align: center; margin-top: 34px; }
.teaser-odkaz { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-d); font-weight: 600; font-size: 15px; }
.teaser-odkaz:hover { gap: 10px; }
.menu-prepinac { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-prepinac span { display: block; width: 24px; height: 2px; background: var(--heading); margin: 5px 0; transition: .2s; }

/* ---- Hero (navy) ---- */
.hero { background: var(--navy); }
.hero-obsah { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; padding: 62px 20px 48px; }
.nadpisek { display: inline-block; color: var(--gold-l); font-size: 13px; letter-spacing: 2px; font-weight: 600; margin-bottom: 14px; }
.hero-text h1 { color: var(--bila); font-size: 44px; font-weight: 700; margin-bottom: 16px; }
.hero-text p { color: #c7d3e6; font-size: 17px; max-width: 460px; margin-bottom: 26px; }
.hero-akce { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-vyhody { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-vyhoda { display: flex; align-items: center; gap: 12px; }
.hero-vyhoda i { font-size: 26px; color: var(--gold-l); flex-shrink: 0; }
.hero-vyhoda strong { display: block; font-family: "Poppins", sans-serif; font-size: 26px; font-weight: 700; color: var(--bila); line-height: 1.15; }
.hero-vyhoda span { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; color: var(--gold-l); text-transform: uppercase; margin-top: 2px; }
.hero-img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 12px; display: block; }
.produkt-foto.s-fotkou { position: relative; overflow: hidden; color: transparent; background-color: transparent; height: 190px; }
/* Rozmazaná výplň okrajů stejnou fotkou (místo bílých ploch), ostrá fotka zůstává vidět uprostřed */
.produkt-foto.s-fotkou::before { content: ""; position: absolute; inset: 0; background-image: inherit; background-size: cover; background-position: center; filter: blur(16px); transform: scale(1.2); }
.produkt-foto.s-fotkou::after { content: ""; position: absolute; inset: 0; background-image: inherit; background-size: contain; background-position: center; background-repeat: no-repeat; }
.produkt-foto.s-ilustrace { color: transparent; background-color: var(--line); background-size: contain; background-repeat: no-repeat; background-position: center; }
.produkt-foto { height: 180px; }
.hero-obrazek { background: var(--bila); border-radius: 12px; padding: 8px; }
.hero-obrazek img { width: 100%; display: block; border-radius: 8px; }

.foto-placeholder { background: linear-gradient(160deg, var(--navy-l), var(--navy-d)); border: 1px dashed #3a577f; border-radius: var(--radius); min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--gold-l); text-align: center; }
.foto-placeholder span { font-size: 15px; font-weight: 600; }
.foto-placeholder small { font-size: 12px; opacity: .8; }
.foto-placeholder.maly { min-height: 150px; }

/* ---- Sekce ---- */
.sekce { padding: 68px 0; }
.sekce-svetla { background: var(--surface); }
.sekce-s-fotkou {
  background:
    linear-gradient(color-mix(in srgb, var(--bg-strana) 88%, transparent), color-mix(in srgb, var(--bg-strana) 93%, transparent)),
    url('fotky/produkty-pozadi.png') center/cover;
}
/* Souvislá fotka přes modrý pás i sekci pod ním (jedna fotka na společném obalu) */
.foto-blok { background: url('fotky/produkty-pozadi.png') center/cover; }
.foto-blok .sekce-s-fotkou {
  background: linear-gradient(color-mix(in srgb, var(--bg-strana) 88%, transparent), color-mix(in srgb, var(--bg-strana) 93%, transparent));
}
.sekce-navy { background: var(--navy); }
.sekce-hlava { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.sekce-hlava .stitek { margin-bottom: 8px; }
.sekce-hlava h2 { font-size: 30px; font-weight: 700; position: relative; display: inline-block; padding-bottom: 14px; }
.sekce-hlava h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 48px; height: 4px; background: var(--gold); border-radius: 2px; }
.sekce-hlava p { color: var(--muted); font-size: 16px; margin-top: 14px; }

.mrizka-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mrizka-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mrizka-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mrizka-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }

/* ---- Služby karty ---- */
.karta { position: relative; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: 30px 22px 26px; text-align: center; transition: transform .18s, box-shadow .18s, border-color .18s; }
.karta:hover { transform: translateY(-4px); box-shadow: 0 12px 28px var(--stin); border-color: var(--gold-l); border-top-color: var(--gold); }
.karta .ikona { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; font-family: "Poppins", sans-serif; font-weight: 600; border: 2px solid var(--gold-l); }
.karta h3 { font-size: 18px; margin-bottom: 8px; }
.karta p { color: var(--muted); font-size: 14.5px; }
.karta-odkaz { display: block; text-decoration: none; color: inherit; cursor: pointer; }

/* ---- Podrobný popis služby ---- */
.sluzba-detail { display: grid; grid-template-columns: 220px 1fr; gap: 36px; padding: 38px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.sluzba-detail:last-child { border-bottom: 0; }
.sluzba-detail-hlava { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sluzba-ikona { width: 62px; height: 62px; border-radius: 50%; background: var(--navy); color: var(--gold-l); display: flex; align-items: center; justify-content: center; font-size: 27px; border: 2px solid var(--gold-l); flex-shrink: 0; }
.sluzba-detail-hlava h3 { font-size: 21px; line-height: 1.25; }
.sluzba-detail-telo p { margin-bottom: 12px; }
.sluzba-detail-telo p:last-of-type { margin-bottom: 16px; }
@media (max-width: 720px) {
  .sluzba-detail { grid-template-columns: 1fr; gap: 16px; }
  .sluzba-detail-hlava { flex-direction: row; align-items: center; }
}

/* ---- Obchodní podmínky ---- */
.podminky-uvod { color: var(--text); font-size: 16px; margin-bottom: 8px; }
.podminky-clanek { padding: 22px 0; border-bottom: 1px solid var(--line); }
.podminky-clanek:last-child { border-bottom: 0; }
.podminky-clanek h2 { font-size: 19px; font-weight: 700; color: var(--heading); margin-bottom: 10px; }
.podminky-clanek ul { list-style: none; margin: 0; padding: 0; }
.podminky-clanek li { position: relative; padding-left: 18px; color: var(--text); font-size: 15px; line-height: 1.6; margin-bottom: 8px; }
.podminky-clanek li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.podminky-clanek li:last-child { margin-bottom: 0; }

/* ---- O nás ---- */
.onas-obsah { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.onas-obsah > * { min-width: 0; }
.onas-text h2 { font-size: 30px; font-weight: 700; margin-bottom: 16px; }
.onas-text p { color: var(--text); font-size: 16px; margin-bottom: 14px; }
.onas-foto { max-width: 100%; overflow: hidden; }
.onas-foto .foto-placeholder { min-height: 320px; }
.onas-foto img { width: 100%; max-width: 100%; min-width: 0; min-height: 320px; max-height: 380px; object-fit: cover; border-radius: var(--radius); display: block; box-shadow: 0 10px 30px var(--stin); }

/* ---- Produkty ---- */
.produkt { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.produkt:hover { transform: translateY(-4px); box-shadow: 0 12px 28px var(--stin); border-top-color: var(--gold); }
.produkt-foto { background: var(--bg); height: 150px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; font-weight: 600; }
.produkt-telo { padding: 18px 20px 22px; }
.produkt-telo h3 { font-size: 18px; margin-bottom: 6px; }
.produkt-telo p { color: var(--muted); font-size: 14.5px; }

/* Rozkliknuté složky (2 karty): rámeček má poměr fotek 3:2, takže fotka vyplní celý rámeček — žádná bílá ani rozmazaná plocha */
.mrizka-2 .produkt-foto.s-fotkou { height: auto; aspect-ratio: 3 / 2; }
.mrizka-2 .produkt-foto.s-fotkou::before { display: none; }
.mrizka-2 .produkt-foto.s-fotkou::after { background-size: cover; }
/* Užší dvojice karet, aby nezabíraly celou šířku stránky */
.mrizka-2.mrizka-uzka { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---- Značky / profily produktů ---- */
.znacka-logo { height: 106px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: #fff; border-radius: 10px; padding: 8px; }
.znacka-logo img { width: auto; object-fit: contain; }
.znacka-logo img[src*="veka"]     { height: 102px; }
.znacka-logo img[src*="aluplast"] { height: 86px; }
.znacka-logo img[src*="gealan"]   { height: 60px; max-width: 200px; }
.znacka-logo img[src*="decco"]    { height: 54px; max-width: 200px; }
.znacka-logo img[src*="aluprof"]  { height: 72px; max-width: 210px; }
.znacka-logo-text { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 16px; border: 1px dashed var(--line); border-radius: 8px; color: var(--heading); font-family: "Poppins", sans-serif; font-weight: 600; letter-spacing: 1px; font-size: 15px; }
.znacka { text-decoration: none; }
.znacka .produkt-telo { text-align: center; }

.profil-blok { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; padding: 40px 0; border-bottom: 1px solid var(--line); }
.profil-blok:last-child { border-bottom: 0; }
.profil-blok .profil-foto, .profil-blok .profil-text { grid-row: 1; min-width: 0; }
.profil-blok.obraceny .profil-foto { order: 2; }
.profil-foto {
  position: relative; text-align: center; min-width: 0; max-width: 100%; overflow: hidden;
  /* Místo pro fotku rezervujeme paddingem a fotku vykreslujeme absolutně
     (viz .profil-img). Díky tomu její skutečný pixelový rozměr nemůže
     nijak ovlivnit šířku sloupce v CSS gridu — u velkých portrétových
     fotek na tom některé prohlížeče (Safari/WebKit) občas dělaly chybu
     a sloupec roztáhly podle fotky místo podle dostupného místa. */
  padding-top: 520px;
}
.profil-foto .foto-placeholder { min-height: 520px; }

.paleta-odznak {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--gold-l);
  border-radius: 999px;
  padding: 8px 16px 8px 12px;
  font-family: "Poppins", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transition: transform .15s ease, background .15s ease;
}
.paleta-odznak i { font-size: 17px; color: var(--gold-l); }
.paleta-odznak:hover { transform: translateY(-2px); background: var(--navy-d); }
/* .profil-img se používá i uvnitř .profil-karta-foto (srovnávací karty),
   kde má úplně jiné rozměry a NESMÍ být absolutně pozicovaný (ten kontext
   řeší vlastní pravidlo .profil-karta-foto img níže) — proto je absolutní
   pozicování scoped jen na kontext .profil-foto. */
.profil-foto .profil-img { position: absolute; top: 0; left: 0; width: 100%; max-width: 100%; min-width: 0; height: 520px; object-fit: contain; border-radius: 10px; display: block; background: var(--bg); border: 1px solid var(--line); }
.profil-prepinac { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border: 0; border-radius: 10px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s; }
.profil-prepinac:hover { background: var(--navy-d); }
.prep-sipka { font-size: 17px; line-height: 1; }
.profil-text h2 { font-size: 26px; margin-bottom: 12px; }
.profil-text p { color: var(--text); font-size: 16px; margin-bottom: 14px; }
.parametry { width: 100%; border-collapse: collapse; margin-top: 18px; }
.parametry th, .parametry td { text-align: left; padding: 9px 12px; font-size: 14px; border-bottom: 1px solid var(--line); }
.parametry th { color: var(--heading); font-weight: 600; width: 45%; }
.parametry td { color: var(--muted); }
.parametry-sloupce { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.parametry-sloupce .parametry { margin-top: 18px; }

/* ---- Odznaky vlastností profilu (akustika, izolace, bezpečnost…) ---- */
.profil-vlastnosti { display: flex; flex-wrap: wrap; gap: 16px; margin: 4px 0 20px; }
.profil-vlastnost { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; text-align: center; }
.profil-vlastnost .ikona-kruh { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold-l); display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0; }
.profil-vlastnost span { font-size: 11px; font-weight: 600; color: var(--muted); line-height: 1.25; }

/* ---- Odznak dotace NZÚ (hero na úvodní stránce) ---- */
.hero-foto { position: relative; }
.nzu-znacka {
  position: absolute;
  top: -128px;
  right: -16px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: linear-gradient(160deg, #2f9e56, #1f7a41);
  border: 3px solid var(--gold-l);
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  transition: transform .18s ease;
}
.nzu-znacka:hover { transform: scale(1.06) rotate(-3deg); }
.nzu-znacka i { font-size: 22px; }
.nzu-znacka strong { display: block; font-family: "Poppins", sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .5px; margin-top: 2px; }
.nzu-znacka span { display: block; font-size: 10px; line-height: 1.3; max-width: 78px; }
@media (max-width: 640px) {
  .nzu-znacka { width: 88px; height: 88px; top: -100px; right: -4px; }
  .nzu-znacka i { font-size: 18px; }
  .nzu-znacka strong { font-size: 13px; }
  .nzu-znacka span { font-size: 9px; max-width: 64px; }
}

/* ---- Palety barev / dekorů ---- */
.palety { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 14px; }
.vzorek { text-align: center; }
.vzorek .plocha { height: 62px; border-radius: 10px; border: 1px solid rgba(20,45,82,.14); box-shadow: inset 0 -6px 10px rgba(0,0,0,.06); }
.vzorek span { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--heading); line-height: 1.3; }
.vzorek small { display: block; font-size: 10.5px; font-weight: 400; color: var(--muted); margin-top: 1px; }
.palety-pozn { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---- Paleta Veka (kategorie s taby) ---- */
#barvy { scroll-margin-top: 90px; }
.paleta-taby { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.paleta-tab { font-family: "Poppins", sans-serif; font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.paleta-tab:hover { border-color: var(--gold); color: var(--heading); }
.paleta-tab.aktivni { background: var(--navy); border-color: var(--navy); color: #fff; }
.palety[hidden] { display: none; }
.paleta-poznamka { text-align: center; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.paleta-poznamka strong { color: var(--heading); }

/* ---- Poptávka (navy) ---- */
.poptavka-obsah { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.poptavka-text h2 { font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.poptavka-text p { color: #c7d3e6; font-size: 16px; }
.formular { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: 26px; box-shadow: 0 6px 20px var(--stin); }
.formular label { display: block; font-size: 13.5px; font-weight: 600; color: var(--heading); margin-bottom: 14px; }
.formular input, .formular textarea, .formular select { width: 100%; margin-top: 6px; padding: 11px 13px; font: inherit; font-weight: 400; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--text); }
.formular input:focus, .formular textarea:focus, .formular select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,74,.25); }
.formular select { appearance: auto; }
.formular input[type="file"] { border-style: dashed; padding: 9px 11px; font-size: 13.5px; }
.formular-radek { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.formular button { width: 100%; margin-top: 4px; }
.formular-pozn { display: block; color: var(--muted); font-size: 12px; margin-top: 10px; }
.formular-nepovinne { font-weight: 400; color: var(--muted); }
.formular-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.formular-chyba { margin: 0 0 14px; padding: 10px 13px; border-radius: 9px; background: #fdecea; color: #9b2c2c; font-size: 13.5px; }
.formular-uspech { text-align: center; }
.formular-uspech h3 { font-size: 20px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.formular-uspech p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.formular[data-odesilam="1"] button { opacity: .6; pointer-events: none; }

/* ---- Klientská zóna a poptávka – sdílené prvky napojené na appku ---- */
.stav-krok { display: flex; align-items: flex-start; }
.stav-krok-bod { display: flex; flex: 1; flex-direction: column; align-items: center; }
.stav-krok-cislo { display: flex; height: 26px; width: 26px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; font-size: 12px; font-weight: 700; background: var(--line); color: var(--muted); }
.stav-krok-cislo.je-hotovo { background: #22c55e; color: #fff; }
.stav-krok-cislo.je-aktualni { background: var(--gold); color: var(--navy-d); }
.stav-krok-popisek { margin-top: 4px; text-align: center; font-size: 10px; line-height: 1.2; color: var(--muted); }
.stav-krok-popisek.je-aktualni { font-weight: 700; color: var(--gold-d); }
.stav-krok-cara { flex: 1; height: 2px; margin-top: 12px; background: var(--line); }
.stav-krok-cara.je-hotovo { background: #22c55e; }

/* ---- Klientská zóna ---- */
.zona-obsah { max-width: 560px; margin: 0 auto; }
.zona-krok-info { font-size: 14px; color: var(--text); margin-bottom: 14px; }
.zona-odkaz-btn { display: block; width: 100%; text-align: center; background: none; border: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--heading); cursor: pointer; padding: 8px 0 0; }
.zona-odkaz-btn:hover { text-decoration: underline; }
.zona-odkaz-slaby { color: var(--muted); font-weight: 500; }
.zona-info { margin: 0 0 14px; padding: 10px 13px; border-radius: 9px; background: #eafaf0; color: #146c43; font-size: 13.5px; }

.zona-hlavicka-prihlasen { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: 13.5px; color: var(--muted); }
.zona-hlavicka-prihlasen strong { color: var(--heading); }

.zona-souhlas-box { border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; }
.zona-souhlas-box.je-gdpr { background: #fef7e8; border: 1px solid #f0d999; }
.zona-souhlas-box.je-souhlas { background: #f3f6fb; border: 1px solid #dbe4f0; }
.zona-souhlas-box.je-stav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; }
.zona-souhlas-box h4 { font-size: 15px; font-weight: 700; color: var(--heading); margin-bottom: 6px; }
.zona-souhlas-box p { font-size: 13.5px; color: var(--text); margin-bottom: 12px; }
.zona-souhlas-akce { display: flex; gap: 8px; flex-wrap: wrap; }
.zona-btn-tmavy { border-radius: 8px; border: 1px solid var(--gold); background: var(--navy); color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; padding: 9px 16px; cursor: pointer; }
.zona-btn-tmavy:hover { background: var(--navy-d); }
.zona-btn-svetly { border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px; font-weight: 600; padding: 9px 16px; cursor: pointer; }
.zona-btn-svetly:hover { background: var(--bg); }

.zona-zakazka { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.zona-zakazka-hlava { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.zona-zakazka-cislo { font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.zona-zakazka-nazev { font-size: 18px; font-weight: 700; color: var(--heading); }
.zona-status { flex-shrink: 0; border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }

.zona-info-radek { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
.zona-info-radek .ikona-emoji { font-size: 17px; }
.zona-info-radek small { display: block; font-size: 11.5px; color: var(--muted); }
.zona-info-radek strong { font-size: 13.5px; color: var(--text); }

.zona-dokumenty { margin-bottom: 12px; }
.zona-podnadpis { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin-bottom: 8px; }
.zona-dokument { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 13.5px; margin-bottom: 6px; cursor: pointer; background: var(--surface); }
.zona-dokument:hover { background: var(--bg); }
.zona-dokument .nazev { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zona-dokument .akce { flex-shrink: 0; color: var(--heading); font-weight: 600; }

.zona-zpravy { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.zona-zprava-seznam { margin-bottom: 10px; }
.zona-zprava { max-width: 85%; border-radius: 12px; padding: 8px 12px; font-size: 13.5px; margin-bottom: 8px; }
.zona-zprava.od-firmy { background: #eef3fb; color: var(--navy-d); }
.zona-zprava.od-klienta { margin-left: auto; background: #f1f2f4; color: var(--text); }
.zona-zprava small { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); }
.zona-zprava-formular textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; font: inherit; font-size: 13.5px; resize: vertical; background: var(--bg); color: var(--text); }
.zona-zprava-formular textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,74,.25); }
.zona-zprava-akce { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.zona-zprava-chyba { font-size: 13px; color: #9b2c2c; }

.zona-zrusit { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.zona-zrusit-odkaz { background: none; border: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.zona-zrusit-odkaz:hover { color: #c53030; text-decoration: underline; }
.zona-zrusit-box { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.zona-zrusit-box p { font-size: 13.5px; margin-bottom: 8px; }
.zona-zrusit-box textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; font: inherit; font-size: 13.5px; resize: vertical; margin-bottom: 10px; background: var(--surface); color: var(--text); }
.zona-zrusit-akce { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.zona-btn-cervany { border-radius: 8px; border: none; background: #dc2626; color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; padding: 9px 16px; cursor: pointer; }
.zona-btn-cervany:hover { background: #b91c1c; }
.zona-btn-cervany:disabled, .zona-btn-tmavy:disabled, .zona-btn-svetly:disabled { opacity: .6; cursor: default; }
.zona-zrusit-tise { margin-left: auto; background: none; border: none; font: inherit; font-size: 11.5px; color: var(--muted); cursor: pointer; }
.zona-zrusit-tise:hover { text-decoration: underline; }

.zona-prazdno { text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); padding: 40px 20px; color: var(--muted); font-size: 14px; }

/* ---- Náhled dokumentu / zásady ochrany údajů (modal) ---- */
.web-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(10,18,32,.6); padding: 14px; }
.web-modal[hidden] { display: none; }
.dokument-modal-box { width: 100%; max-width: 860px; height: 88vh; background: var(--surface); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.web-modal-hlava { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.web-modal-hlava span { font-weight: 600; font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.web-modal-akce { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.web-modal-akce a { font-size: 13px; font-weight: 600; color: var(--heading); }
.web-modal-zavrit { background: none; border: none; font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer; }
.dokument-modal-box iframe { flex: 1; width: 100%; border: 0; background: var(--bg); }
.zasady-modal-box { width: 100%; max-width: 560px; max-height: 85vh; overflow-y: auto; background: var(--surface); border-radius: 16px; padding: 26px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.zasady-modal-box h3 { font-size: 19px; font-weight: 700; color: var(--heading); margin-bottom: 14px; }
.zasady-modal-box h4 { font-size: 13.5px; font-weight: 700; color: var(--text); margin: 14px 0 4px; }
.zasady-modal-box p { font-size: 13.5px; color: var(--text); line-height: 1.6; }
.zasady-odkaz { background: none; border: none; font: inherit; padding: 0; cursor: pointer; }
.sluzba-modal-box { width: 100%; max-width: 620px; max-height: 85vh; overflow-y: auto; background: var(--surface); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.sluzba-modal-obsah { padding: 26px; }
.sluzba-modal-obsah .sluzba-ikona { margin-bottom: 16px; }
.sluzba-modal-obsah p { color: var(--text); font-size: 14.5px; line-height: 1.6; margin-bottom: 12px; }
.sluzba-modal-obsah .odrazky { margin-top: 6px; }

/* ---- Klientská zóna pás ---- */
.klient-pas { background: var(--navy-d); border-top: 3px solid var(--gold); }
.klient-obsah { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 40px 20px; flex-wrap: wrap; }
.klient-obsah h2 { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.klient-obsah p { color: #c7d3e6; font-size: 15px; max-width: 520px; }

/* ---- CTA pás ---- */
.cta-pas { background: var(--navy); border-top: 3px solid var(--gold); }
.cta-obsah { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 38px 20px; flex-wrap: wrap; }
.cta-obsah h2 { font-size: 25px; font-weight: 700; margin-bottom: 4px; }
.cta-obsah p { color: #c7d3e6; font-size: 15px; }

/* ---- FAQ (akordeon) ---- */
#faq { scroll-margin-top: 90px; }
.faq-odznak { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; background: var(--navy-l); color: #fff; border: 2px solid var(--gold-l); border-radius: 999px; padding: 8px 16px 8px 12px; font-family: "Poppins", sans-serif; font-size: 13.5px; font-weight: 700; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.faq-odznak i { font-size: 17px; color: var(--gold-l); }
.faq-odznak:hover { transform: translateY(-2px); background: var(--navy-d); }
.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.faq-polozka { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq-polozka summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 600; color: var(--heading); font-size: 15.5px; }
.faq-polozka summary::-webkit-details-marker { display: none; }
.faq-polozka summary i { flex-shrink: 0; font-size: 18px; color: var(--gold-d); transition: transform .2s; }
.faq-polozka[open] summary i { transform: rotate(180deg); }
.faq-polozka[open] summary { border-bottom: 1px solid var(--line); }
.faq-polozka p { padding: 14px 20px 18px; margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.65; }

/* ---- Katalog dveří (vzory) ---- */
.katalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.katalog a { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); transition: transform .15s, box-shadow .15s; }
.katalog a:hover { transform: translateY(-3px); box-shadow: 0 10px 24px var(--stin); }
.katalog img { width: 100%; display: block; }

/* ---- Plovoucí tlačítko zpět (profilové stránky) ---- */
.zpet-plovouci {
  position: fixed;
  top: 84px;
  left: 20px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold-d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(20,45,82,.22);
  transition: transform .15s, background .15s;
}
.zpet-plovouci:hover { background: var(--gold-l); transform: translateX(-2px); }
@media (max-width: 640px) {
  .zpet-plovouci { top: 78px; left: 12px; width: 38px; height: 38px; font-size: 18px; }
}

/* ---- Lightbox (katalogové galerie) ---- */
.lightbox { position: fixed; inset: 0; background: rgba(8,14,26,.94); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox-obrazek { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); display: block; }
.lightbox-zavrit { position: absolute; top: 18px; right: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.lightbox-zavrit:hover { background: rgba(255,255,255,.18); }
.lightbox-sipka { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox-sipka:hover { background: rgba(255,255,255,.18); }
.lightbox-vlevo { left: 16px; }
.lightbox-vpravo { right: 16px; }
.lightbox-pocet { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #cbd5e1; font-size: 13px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); padding: 5px 14px; border-radius: 20px; }
@media (max-width: 640px) {
  .lightbox { padding: 70px 16px; }
  .lightbox-sipka { width: 42px; height: 42px; font-size: 24px; }
}

/* ---- Reference ---- */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.recenze { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.recenze blockquote { position: relative; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: 30px 24px 22px; box-shadow: 0 4px 16px var(--stin-jemny); }
.recenze blockquote::before { content: "\201C"; position: absolute; top: -6px; left: 20px; font-family: Georgia, serif; font-size: 56px; font-weight: 700; color: var(--gold-l); line-height: 1; }
.recenze p { color: var(--text); font-size: 15.5px; font-style: italic; }
.recenze cite { display: block; margin-top: 10px; color: var(--muted); font-size: 13.5px; font-style: normal; font-weight: 600; }

/* ---- Kontakt ---- */
.kontakt-obsah { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.kontakt-info h2 { font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.kontakt-uvod { color: var(--muted); margin-bottom: 24px; }
.kontakt-seznam { list-style: none; display: grid; gap: 18px; }
.kontakt-seznam li { display: flex; gap: 14px; align-items: flex-start; }
.k-ikona { font-size: 20px; }
.kontakt-seznam a { color: var(--heading); font-weight: 600; }
.kontakt-seznam a:hover { color: var(--gold-d); }
.kontakt-cta { margin-top: 26px; }
.kontakt-mapa .foto-placeholder { min-height: 320px; }
.mapa-ramecek { width: 100%; height: 340px; border: 1px solid var(--line); border-radius: var(--radius); display: block; }

/* ---- Tmavý režim: sytější pastelové "stavové" barvy (chyba/úspěch/
   upozornění/chat), ať na tmavém pozadí nepůsobí vymyté. Ostatní barvy
   jedou přes proměnné výše a přepnou se samy. ---- */
:root[data-theme="dark"] .formular-chyba,
:root[data-theme="dark"] .zona-zprava-chyba { color: #ffb4ab; }
:root[data-theme="dark"] .formular-chyba { background: #3a1a1a; }
:root[data-theme="dark"] .zona-info { background: #103524; color: #7ee2ae; }
:root[data-theme="dark"] .zona-souhlas-box.je-gdpr { background: #3a2f10; border-color: #6b551c; }
:root[data-theme="dark"] .zona-souhlas-box.je-gdpr p,
:root[data-theme="dark"] .zona-souhlas-box.je-gdpr h4 { color: #f2e6bd; }
:root[data-theme="dark"] .zona-souhlas-box.je-souhlas { background: #142338; border-color: #23375a; }
:root[data-theme="dark"] .zona-zprava.od-firmy { background: #16283f; color: #cfe0f5; }
:root[data-theme="dark"] .zona-zprava.od-klienta { background: #232a36; color: var(--text); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .formular-chyba,
  :root:not([data-theme="light"]) .zona-zprava-chyba { color: #ffb4ab; }
  :root:not([data-theme="light"]) .formular-chyba { background: #3a1a1a; }
  :root:not([data-theme="light"]) .zona-info { background: #103524; color: #7ee2ae; }
  :root:not([data-theme="light"]) .zona-souhlas-box.je-gdpr { background: #3a2f10; border-color: #6b551c; }
  :root:not([data-theme="light"]) .zona-souhlas-box.je-gdpr p,
  :root:not([data-theme="light"]) .zona-souhlas-box.je-gdpr h4 { color: #f2e6bd; }
  :root:not([data-theme="light"]) .zona-souhlas-box.je-souhlas { background: #142338; border-color: #23375a; }
  :root:not([data-theme="light"]) .zona-zprava.od-firmy { background: #16283f; color: #cfe0f5; }
  :root:not([data-theme="light"]) .zona-zprava.od-klienta { background: #232a36; color: var(--text); }
}

/* ---- Jemné odhalení při scrollu ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.videt { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- Patička ---- */
.paticka { background: var(--navy-d); color: #9fb0c9; }
.paticka-obsah { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr; gap: 24px; padding: 42px 20px 30px; }
.logo-paticka { height: 30px; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 12px; }
.paticka-adresa { font-size: 14px; line-height: 1.8; }
.paticka h4 { color: #c7d3e6; font-size: 14px; margin-bottom: 10px; }
.paticka p { font-size: 14px; line-height: 1.9; }
.paticka a:hover { color: var(--gold-l); }
.paticka-partneri { display: flex; flex-wrap: wrap; gap: 10px; }
.partner-logo { display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 8px; padding: 8px 12px; }
.partner-logo img { height: 26px; width: auto; display: block; }
.paticka-spodek { border-top: 1px solid #23375a; }
.paticka-spodek .obal { padding-top: 16px; padding-bottom: 16px; font-size: 13px; color: #7f92ad; }

/* ---- Srovnání profilů: karty ---- */
.profil-karta { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: transform .18s, box-shadow .18s; }
.profil-karta:hover { transform: translateY(-4px); box-shadow: 0 12px 28px var(--stin); }
.profil-karta-foto { position: relative; aspect-ratio: 4 / 3; background: var(--bg); min-width: 0; overflow: hidden; }
.profil-karta-foto img {
  position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px);
  max-width: calc(100% - 28px); min-width: 0; object-fit: contain; display: block;
}
.profil-karta-foto .profil-prepinac { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; font-size: 12.5px; }
.profil-karta-telo { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.profil-karta-znacka { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.profil-karta-znacka img { height: 18px; width: auto; object-fit: contain; }
.profil-karta-znacka span { font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.profil-karta h3 { font-size: 19px; margin-bottom: 8px; }
.profil-karta-popis { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin-bottom: 14px; }

/* ---- Hodnocení podle 5 kritérií (tečkové skóre 1–5) ---- */
.rating-mrizka { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 6px; margin: 2px 0 16px; padding: 14px 4px; background: var(--bg-strana); border-radius: 10px; }
.rating-polozka { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 56px; text-align: center; }
.rating-polozka .ikona-kruh { width: 36px; height: 36px; font-size: 16px; }
.rating-label { font-size: 9.5px; font-weight: 600; color: var(--muted); line-height: 1.2; min-height: 22px; }
.rating-tecky { display: flex; gap: 3px; }
.rating-tecky i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }
.rating-tecky i.prazdna { background: var(--line); }

/* ---- Rozbalovací technické parametry (v kartě) ---- */
.tech-detail { margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; }
.tech-detail summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--navy); list-style: none; display: flex; align-items: center; gap: 6px; }
.tech-detail summary::-webkit-details-marker { display: none; }
.tech-detail summary::after { content: "▾"; margin-left: auto; color: var(--gold-d); transition: transform .15s; }
.tech-detail[open] summary::after { transform: rotate(180deg); }
:root[data-theme="dark"] .tech-detail summary { color: var(--gold-l); }
.tech-detail table.parametry { margin-top: 12px; }
.tech-detail table.parametry th, .tech-detail table.parametry td { font-size: 12.5px; padding: 6px 4px; }
.tech-detail .karta-odkaz { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--gold-d); }

/* ---- Velká srovnávací tabulka (všechny profily vedle sebe) ---- */
.tabulka-srovnani-obal { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table.tabulka-srovnani { width: 100%; min-width: 980px; border-collapse: collapse; background: var(--surface); }
table.tabulka-srovnani th, table.tabulka-srovnani td { padding: 10px 14px; font-size: 13px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); white-space: nowrap; text-align: center; }
table.tabulka-srovnani th:last-child, table.tabulka-srovnani td:last-child { border-right: 0; }
table.tabulka-srovnani thead th { background: var(--navy); color: #fff; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 12.5px; vertical-align: bottom; padding-top: 12px; }
table.tabulka-srovnani thead th img { height: 16px; width: auto; object-fit: contain; display: block; margin: 0 auto 6px; filter: brightness(0) invert(1); opacity: .9; }
table.tabulka-srovnani tbody th { text-align: left; background: var(--bg); color: var(--heading); font-weight: 600; white-space: normal; position: sticky; left: 0; }
table.tabulka-srovnani th:first-child, table.tabulka-srovnani td:first-child { position: sticky; left: 0; z-index: 1; }
table.tabulka-srovnani thead th:first-child { background: var(--navy-d); z-index: 2; }
table.tabulka-srovnani tbody tr:nth-child(even) td:not(:first-child) { background: var(--bg-strana); }

/* ---- Doporučení "Pro koho je profil vhodný" ---- */
table.tabulka-doporuceni { width: 100%; border-collapse: collapse; }
table.tabulka-doporuceni th, table.tabulka-doporuceni td { text-align: left; padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tabulka-doporuceni thead th { background: var(--navy); color: #fff; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 13px; }
table.tabulka-doporuceni tbody th { color: var(--heading); font-weight: 600; white-space: nowrap; width: 1%; }
table.tabulka-doporuceni td { color: var(--muted); }
table.tabulka-doporuceni tbody tr:nth-child(even) { background: var(--bg-strana); }

/* ---- Responzivně ---- */
@media (max-width: 980px) {
  .menu { position: absolute; top: 70px; left: 0; right: 0; background: var(--surface); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-bottom: 2px solid var(--gold); box-shadow: 0 8px 20px var(--stin); display: none; }
  .menu.otevreno { display: flex; }
  .menu > a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .menu-cta { text-align: center; margin-top: 12px; border-radius: 10px; border-bottom: 0 !important; }
  .menu-prepinac { display: block; }
  .hero-obsah { grid-template-columns: 1fr; padding-top: 46px; }
  .hero-foto { order: -1; }
  .onas-obsah { grid-template-columns: minmax(0, 1fr); }
  .poptavka-obsah, .kontakt-obsah { grid-template-columns: 1fr; }
  .mrizka-3, .mrizka-4 { grid-template-columns: 1fr 1fr; }
  .paticka-obsah { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .hero-text h1 { font-size: 30px; }
  .hero-text p { font-size: 16px; }
  .hero-vyhody { gap: 22px; }
  .mrizka-3, .mrizka-2, .mrizka-4, .galerie, .recenze, .formular-radek { grid-template-columns: 1fr; }
  .profil-blok { grid-template-columns: minmax(0, 1fr); }
  .profil-blok .profil-foto, .profil-blok .profil-text { grid-row: auto; }
  .profil-blok.obraceny .profil-foto { order: 0; }
  .parametry-sloupce { grid-template-columns: 1fr; }
  .sekce { padding: 50px 0; }
  .sekce-hlava h2, .onas-text h2, .kontakt-info h2, .poptavka-text h2 { font-size: 25px; }
  .klient-obsah { flex-direction: column; align-items: flex-start; }
  .paticka-obsah { grid-template-columns: 1fr; }
}
