﻿/* =============================================================
   KOORDINÁTORBOZP.ONLINE – vlastní styly (redesign 2026)
   Zlatá varianta – design language dle grafického návrhu
   porwisz.cz (redesign.pdf): zlatá + bílá + krémová, tmavý text
   ============================================================= */

:root {
  --gold:        #e9a700;   /* primární zlatá (tlačítka, akcenty) */
  --gold-bright: #eeaf00;   /* topbar */
  --gold-dark:   #c78f00;   /* hover, odkazy */
  --gold-deep:   #8f6600;   /* tmavé zlaté detaily */
  --cream:       #fbf3df;   /* krémové podklady (CTA banner, čísla) */
  --paper:       #f8f8f6;   /* podbarvené sekce */
  --navy:        #0e1a2b;   /* tmavý pruh s menu, panel výstavby */
  --ink:         #1b1b1b;
  --gray:        #4f4f4f;
  --line:        #ecebe6;
  --white:       #ffffff;
  --shadow:      0 10px 30px rgba(60, 44, 8, .10);
  --radius:      10px;
  --font-head:   "Archivo", "Segoe UI", sans-serif;
  --font-body:   "Inter", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* pojistka proti vodorovnému scrollu na malých displejích */
html, body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }

.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* ---------- horní zlatá lišta (prokliky na sesterské weby) ---------- */

.topbar { background: var(--gold-bright); color: var(--ink); font-size: 12px; font-weight: 600; }
.topbar a { color: inherit; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 40px; }
.topbar ul { display: flex; list-style: none; gap: 18px; flex-wrap: nowrap; }
/* odkazy se rozprostřou po celé šířce jako v grafickém návrhu */
.topbar__sites { flex: 1 1 auto; min-width: 0; justify-content: space-between; }
.topbar li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar li .ico { color: rgba(0, 0, 0, .78); width: 14px; height: 14px; }
.topbar li a { display: flex; align-items: center; gap: 6px; }
.topbar li a:hover { text-decoration: none; color: var(--white); }

/* ---------- hlavička ---------- */

.header { background: var(--white); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand__logo { width: 54px; height: 54px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; max-width: 280px; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
.brand__name-tld { color: var(--gold); }
.brand__claim { font-size: 8.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--gray); line-height: 1.4; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- tmavý pruh s hlavním menu ---------- */

.navbar { background: var(--navy); }
.navbar__list { display: flex; list-style: none; align-items: center; }
.navbar__list a,
.navbar__list span {
  position: relative; display: block; padding: 20px 18px;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 700;
  white-space: nowrap; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .86); transition: color .15s;
}
.navbar__list a::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 13px; height: 3px;
  border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .15s;
}
.navbar__list a:hover { color: var(--gold); text-decoration: none; }
.navbar__list a.is-active { color: var(--gold); }
.navbar__list a.is-active::after { transform: scaleX(1); }

/* mrtvá varianta na stránce ve výstavbě – položky nejsou odkazy */
.navbar--dead .navbar__list span { color: rgba(255, 255, 255, .5); cursor: default; }
.navbar--dead .navbar__list .is-active { color: var(--gold); }

@media (min-width: 1121px) {
  .navbar { position: sticky; top: 0; z-index: 49; }
}

/* ---------- levý mini navbar (plovoucí lišta s prokliky) ---------- */

.sidenav {
  position: fixed; left: 48px; top: 62%; transform: translateY(-50%);
  z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.sidenav ul {
  list-style: none; display: grid; gap: 4px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 6px; box-shadow: var(--shadow);
}
.sidenav ul a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 10px; color: var(--gray);
  font-family: var(--font-head); font-weight: 700; font-size: 11.5px; letter-spacing: .02em;
  transition: background .15s, color .15s;
}
.sidenav .ico { width: 18px; height: 18px; }

/* bitmapova ikona jako maska -> barvi se pres currentColor jako SVG */
.ico--mask {
  display: inline-block; background: currentColor;
  -webkit-mask: var(--mask-url) center / contain no-repeat;
          mask: var(--mask-url) center / contain no-repeat;
}
.sidenav ul a:hover { background: var(--cream); color: var(--gold-dark); text-decoration: none; }
.sidenav ul a.is-active { background: var(--gold); color: var(--white); }

/* nazev webu je videt trvale vedle ikony */
.sidenav__label { white-space: nowrap; }

/* širší karta s popisky: na středních displejích blíž k okraji, na užších skrýt */
@media (max-width: 1699px) {
  .sidenav { left: 12px; }
}
@media (max-width: 1589px) {
  .sidenav { display: none; }
}

/* ---------- tlačítka ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 13px 22px; border: 2px solid var(--gold); border-radius: 6px;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); text-decoration: none; color: var(--white); }
.btn .ico { width: 1em; height: 1em; }

.btn--outline { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn--outline:hover { background: var(--paper); border-color: var(--gold); color: var(--ink); }

.btn--white { background: var(--white); border-color: var(--white); color: var(--gold-deep); }
.btn--white:hover { background: var(--cream); border-color: var(--cream); color: var(--gold-deep); }

/* obtažené zlatě, bílá výplň – tlačítko z panelu ve výstavbě */
.btn--ghost { background: var(--white); border-color: var(--gold); color: var(--ink); }
.btn--ghost .ico { color: var(--gold); }
.btn--ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn--ghost:hover .ico { color: var(--white); }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; background: var(--white); }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 56px 20px 64px; min-height: 420px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.hero__quote { color: var(--gold); font-weight: 700; font-size: 18px; margin: 16px 0 0; }
.hero__quote::after { content: ""; display: block; width: 46px; height: 3px; border-radius: 2px; background: var(--gold); margin-top: 14px; }
.hero__text { color: var(--gray); margin-top: 18px; }
.hero__text strong { color: var(--ink); }
.hero__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* fotka podkládající pravou část hero – doprava až k okraji, vlevo se rozpouští do bílé */
.hero__bg { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%);
          mask-image: linear-gradient(90deg, transparent, #000 38%);
}

/* plovoucí USP karta na homepage (leží na fotce) */
.hero__card {
  background: rgba(255, 255, 255, .93); backdrop-filter: blur(4px);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 22px; width: 260px; display: grid; gap: 16px; justify-self: end;
}
.hero__card-item { display: flex; gap: 10px; font-size: 12.5px; line-height: 1.45; }
.hero__card-item .ico { color: var(--gold); width: 20px; height: 20px; margin-top: 1px; }
.hero__card-item strong { display: block; font-size: 13px; }

/* hero se zlatým pruhem (Zákon) */
.hero--band { background: linear-gradient(100deg, #8a6a00, #bb8a00 45%, var(--gold)); color: var(--white); }
.hero--band .hero__bg img {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
          mask-image: linear-gradient(90deg, transparent, #000 45%);
  opacity: .92; mix-blend-mode: luminosity;
}
.hero--band .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(139,106,0,.55), rgba(233,167,0,.18)); }
.hero--band .hero__quote { color: var(--white); }
.hero--band .hero__quote::after { background: var(--white); }
.hero--band .hero__text { color: rgba(255, 255, 255, .93); }
.hero--band .hero__text strong { color: var(--white); }
.hero--band .hero__in { min-height: 320px; }

/* ---------- řada karet s ikonami ---------- */

.features { padding: 8px 0 40px; }
.features--overlap { margin-top: -34px; position: relative; z-index: 2; padding-top: 0; }
.features__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; display: flex; gap: 14px; align-items: flex-start; box-shadow: 0 4px 14px rgba(60, 44, 8, .05);
}
.feature__ico {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: var(--white); color: var(--gold); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.feature__ico .ico { width: 22px; height: 22px; }
.feature strong { display: block; font-size: 14.5px; margin-bottom: 3px; }
.feature span { font-size: 13px; color: var(--gray); }

/* ---------- sekce ---------- */

.section { padding: 56px 0; }
.section--tinted { background: var(--paper); }
.section__head { margin-bottom: 32px; }
.section__eyebrow { color: var(--gold-dark); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.section__title { font-size: clamp(24px, 3.2vw, 32px); font-weight: 800; margin-top: 6px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- karty služeb / témat (homepage) ---------- */

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .15s, box-shadow .15s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.service__ico {
  width: 54px; height: 54px; border-radius: 50%; background: var(--white); color: var(--gold);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.service__ico .ico { width: 26px; height: 26px; }
.service strong { font-family: var(--font-head); font-size: 16px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); }
.service p { font-size: 13.5px; color: var(--gray); flex: 1; }
.service span { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gold-dark); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- zlatý CTA panel ---------- */

.panel {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius); color: var(--white);
  padding: 36px 30px; display: flex; flex-direction: column; gap: 18px;
  align-items: flex-start; justify-content: center;
  position: relative; overflow: hidden;
}
.panel::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.16), transparent 42%);
  pointer-events: none;
}
.panel > * { position: relative; }
.panel--center { align-items: center; text-align: center; }
.panel__ico { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(255,255,255,.75); background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; }
.panel__ico .ico { width: 30px; height: 30px; }
.panel h2, .panel h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; text-transform: uppercase; }
.panel p { color: rgba(255,255,255,.94); }

/* ---------- číslovaný seznam (zlaté čtverečky) ---------- */

.numlist { list-style: none; display: grid; gap: 22px; }
.numlist > li { display: flex; gap: 16px; }
.numlist__no {
  flex: none; width: 40px; height: 40px; border-radius: 6px;
  background: var(--cream); color: var(--gold-dark); border: 1.5px solid var(--gold);
  font-family: var(--font-head); font-weight: 800; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.numlist strong { color: var(--ink); }
.numlist p { color: var(--gray); font-size: 15px; }

/* ---------- odrážky s fajfkou ---------- */

.ticklist { list-style: none; display: grid; gap: 10px; }
.ticklist li { position: relative; padding-left: 30px; color: #333; }
.ticklist li .ico { position: absolute; left: 0; top: 3px; color: var(--gold); }

/* ---------- CTA banner (krémový pruh) ---------- */

.cta-banner { background: var(--cream); border-radius: var(--radius); padding: 26px 30px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cta-banner__ico {
  width: 58px; height: 58px; flex: none; border-radius: 50%; background: var(--white);
  color: var(--gold); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(60, 44, 8, .07);
}
.cta-banner__ico .ico { width: 26px; height: 26px; }
.cta-banner__text { flex: 1; min-width: 240px; }
.cta-banner__text strong { display: block; font-size: 17px; }
.cta-banner__text span { color: var(--gray); font-size: 14.5px; }

/* ---------- obsah článku / textové stránky ---------- */

.prose { max-width: 820px; }
.prose h2 { font-size: 24px; font-weight: 800; margin: 36px 0 12px; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; }
.prose h4 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; color: var(--gold-deep); }
.prose p, .prose ul, .prose ol { margin-bottom: 14px; color: #333; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--gold-dark); }
.prose img { border-radius: var(--radius); margin: 0; }
.prose strong { color: var(--ink); }
.prose figure { margin: 24px 0; }
.prose figcaption { font-size: 13px; color: var(--gray); text-transform: uppercase; letter-spacing: .05em; margin-top: 10px; text-align: center; }

.article-head { padding: 48px 0 8px; }
.article-head h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; text-transform: uppercase; max-width: 900px; }
.article-head__lead { color: var(--gray); font-size: 17px; max-width: 820px; margin-top: 14px; }

/* ---------- dvousloupcové rozvržení ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.split--panel-left { grid-template-columns: 380px 1fr; }

/* trojsloupec: zlatý panel + dva texty (Koordinátor BOZP) */
.triple { display: grid; grid-template-columns: 300px 1fr 1fr; gap: 34px; align-items: stretch; }

/* ---------- USP pruh nad patičkou ---------- */

.usp-strip { background: var(--paper); border-top: 1px solid var(--line); padding: 26px 0; }
.usp-strip__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.usp-strip__item { display: flex; gap: 12px; align-items: center; }
.usp-strip__ico {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: var(--white); color: var(--gold); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.usp-strip__ico .ico { width: 22px; height: 22px; }
.usp-strip__item strong { display: block; font-size: 14px; }
.usp-strip__item span { font-size: 12.5px; color: var(--gray); }

/* ---------- patička ---------- */

.footer { background: #211b0d; color: #cfc8b8; font-size: 14px; }
.footer a { color: #cfc8b8; }
.footer a:hover { color: var(--gold); text-decoration: none; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 48px 20px; }
.footer h3 { color: var(--white); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer__contact li { display: flex; align-items: center; gap: 8px; }
.footer__contact a { display: flex; align-items: center; gap: 8px; }
.footer__contact .ico { color: var(--gold); flex: none; }
.brand--footer .brand__name { color: var(--white); font-size: 17px; }
.brand--footer .brand__name-tld { color: var(--gold); }
.brand--footer .brand__claim { color: #a89f8a; }
.footer__about p { margin-top: 14px; font-size: 13.5px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; font-size: 13px; flex-wrap: wrap; }

/* ---------- formulář ---------- */

.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-weight: 600; font-size: 14px; display: grid; gap: 6px; }
.form input, .form textarea, .form select {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--white); width: 100%;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form textarea { min-height: 140px; resize: vertical; }
.form__consent { font-size: 13px; font-weight: 400; display: flex; gap: 10px; align-items: flex-start; }
.form__consent input { width: auto; margin-top: 3px; }
.form .hp { position: absolute; left: -9999px; opacity: 0; }

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; }
.alert--ok { background: #e8f6e8; color: #1d6b2a; border: 1px solid #bfe4c2; }
.alert--err { background: #fdecec; color: #9c1c1c; border: 1px solid #f2c6c6; }

/* ---------- kontakt ---------- */

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 4px 14px rgba(60, 44, 8, .05); }
.contact-card h3 { font-size: 16px; text-transform: uppercase; margin-bottom: 10px; }
.contact-card ul { list-style: none; display: grid; gap: 8px; font-size: 14.5px; }
.contact-card li { display: flex; gap: 8px; align-items: baseline; }
.contact-card .ico { color: var(--gold); flex: none; }

.map { width: 100%; height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

.cert { border-left: 3px solid var(--gold); padding: 4px 0 4px 14px; margin-bottom: 14px; }
.cert strong { display: block; }
.cert span { font-size: 13px; color: var(--gray); }

/* ---------- pomocné ---------- */

.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* =============================================================
   Responzivita
   ============================================================= */

/* lišta se odkazy postupně zužuje – ubírají se od konce, e-mail zůstává */
@media (max-width: 1320px) {
  .topbar__sites li:nth-child(6) { display: none; }
}

@media (max-width: 1080px) {
  .topbar__sites li:nth-child(5) { display: none; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  /* sloupec s logem se nevejde do poloviny (nezalomitelný název) -> přes celou šířku */
  .footer__about { grid-column: 1 / -1; }
}

/* menu se pod 1120 px do řádku pohodlně nevejde -> hamburger */
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .navbar { display: none; }
  .navbar.is-open { display: block; }
  .navbar__list { flex-direction: column; align-items: stretch; padding: 6px 0; }
  .navbar__list a,
  .navbar__list span { padding: 13px 6px; border-left: 3px solid transparent; }
  .navbar__list a::after { display: none; }
  .navbar__list a.is-active,
  .navbar--dead .navbar__list .is-active { border-left-color: var(--gold); }
  /* mrtvá varianta hamburger nemá – zůstává vidět, ale zalomená do řádku,
     aby na telefonu nezabrala půl obrazovky nad hlavním sdělením */
  .navbar--dead { display: block; }
  .navbar--dead .navbar__list { flex-direction: row; flex-wrap: wrap; padding: 9px 0; }
  .navbar--dead .navbar__list span { padding: 5px 12px 5px 0; border-left: 0; font-size: 11px; }
}

@media (max-width: 860px) {
  .topbar ul.topbar__sites { display: none; }
  .topbar__in { justify-content: center; }

  .hero__in { grid-template-columns: 1fr; padding: 36px 20px; gap: 28px; min-height: 0; }
  .hero__bg { position: static; width: 100%; height: 220px; order: -1; }
  .hero__bg img { -webkit-mask-image: none; mask-image: none; }
  .hero__card { width: 100%; justify-self: stretch; }
  .split, .split--panel-left, .triple { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .usp-strip__in { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .features__grid, .services, .footer__grid, .usp-strip__in { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }

  /* hlavička se na telefonu musí vejít vč. dlouhého názvu (nowrap) */
  .header__in { min-height: 64px; gap: 12px; }
  .brand { gap: 8px; }
  .brand__logo { width: 42px; height: 42px; }
  .brand__name { font-size: 14.5px; }
  .brand__claim { font-size: 7px; }

  .topbar { font-size: 11px; }
  .topbar__contact { gap: 12px; }

  .brand--footer .brand__logo { width: 40px; height: 40px; }
  .brand--footer .brand__name { font-size: 14px; }

  .section { padding: 40px 0; }
  .hero__in { padding: 28px 20px 36px; }
  .cta-banner { padding: 22px 20px; }
  .panel { padding: 28px 22px; }
  .map { height: 300px; }
}

@media (max-width: 400px) {
  .brand__name { font-size: 13px; }
  .brand__claim { display: none; }
}

/* =============================================================
   Stránka ve výstavbě (dle grafického návrhu)
   ============================================================= */

/* hero má vlevo text v běžné velikosti písmen, ne verzálky jako zbytek webu */
.hero--build .hero__in { grid-template-columns: 1.35fr .8fr; align-items: center; padding: 52px 20px 56px; }
.hero--build h1 { font-size: clamp(32px, 4.2vw, 46px); text-transform: none; letter-spacing: -.01em; line-height: 1.14; }
.hero--build h1 .accent { color: var(--gold); }
.hero--build .hero__text { margin-top: 20px; max-width: 30em; }

/* čtveřice drobných benefitů pod textem */
.buildfeats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; max-width: 720px; }
.buildfeat { display: flex; gap: 9px; font-size: 11.5px; line-height: 1.45; color: var(--gray); }
.buildfeat .ico { color: var(--gold); width: 19px; height: 19px; flex: none; margin-top: 1px; }
.buildfeat strong { display: block; font-size: 12.5px; color: var(--ink); margin-bottom: 3px; }

/* černý panel s výstražnou páskou */
.buildpanel {
  position: relative; overflow: hidden; justify-self: end;
  width: 100%; max-width: 380px; background: #12100c; color: var(--white);
  border-radius: 16px; box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
  padding: 40px 34px; text-align: center;
}
/* pruhy nahoře a dole = staveništní páska */
.buildpanel::before,
.buildpanel::after {
  content: ""; position: absolute; left: 0; right: 0; height: 16px;
  background: repeating-linear-gradient(-45deg, #f2b705 0 13px, #12100c 13px 26px);
}
.buildpanel::before { top: 0; }
.buildpanel::after { bottom: 0; }
.buildpanel__sign { display: block; width: 74px; height: auto; margin: 4px auto 20px; }
.buildpanel__title {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.14; text-transform: uppercase; letter-spacing: .01em;
}
.buildpanel__rule { display: block; width: 96px; height: 3px; border-radius: 2px; background: var(--gold); margin: 20px auto; }
.buildpanel__text { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.buildpanel__thanks { display: block; margin-top: 16px; font-weight: 700; font-size: 16px; color: var(--gold); }
.buildpanel__soon { display: block; margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .9); }

/* bílá karta „Co na portálu najdete“ – přesahuje nahoru přes hero */
.portal { padding: 0 0 44px; }
.portal__card {
  position: relative; z-index: 3; margin-top: -34px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 30px 34px 34px;
}
.portal__title {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-size: 25px; font-weight: 800; text-align: center;
}
.portal__title::before,
.portal__title::after { content: ""; width: 54px; height: 3px; border-radius: 2px; background: var(--gold); }
.portal__lead { text-align: center; color: var(--gray); font-size: 14px; margin-top: 10px; }
.portal__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 28px; }
.portal__item { padding: 0 18px; border-left: 1px solid var(--line); }
.portal__item:first-child { border-left: 0; padding-left: 0; }
.portal__item:last-child { padding-right: 0; }
.portal__item .ico { width: 26px; height: 26px; color: var(--gold); }
.portal__item strong { display: block; margin: 10px 0 6px; font-size: 13.5px; }
.portal__item span { display: block; font-size: 12px; line-height: 1.5; color: var(--gray); }

/* krémový pruh s upozorněním a přihláškou */
.buildnote {
  background: var(--cream); border: 1px solid #f0e2bd; border-radius: 12px;
  padding: 24px 28px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.buildnote__ico {
  flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--white);
  display: grid; place-items: center; border: 2px solid var(--gold);
}
.buildnote__ico .ico { width: 24px; height: 24px; color: var(--gold); }
.buildnote__text { flex: 1 1 320px; min-width: 0; }
.buildnote__text strong { display: block; font-family: var(--font-head); font-size: 17px; margin-bottom: 5px; }
.buildnote__text span { font-size: 13.5px; line-height: 1.55; color: var(--gray); }

/* rozbalovací formulář – funguje i bez JS, JS jen doplní hlášku */
.subscribe { flex: none; }
.subscribe > summary { list-style: none; cursor: pointer; }
.subscribe > summary::-webkit-details-marker { display: none; }
.subscribe[open] > summary { display: none; }
/* rozbalený formulář se přesune na celou šířku pruhu, ale pole nenafoukne přes celou stránku */
.subscribe[open] { flex: 1 1 100%; }
.subscribe__form { display: grid; gap: 10px; min-width: 320px; max-width: 540px; }
.subscribe__row { display: flex; gap: 8px; }
.subscribe__row input[type="email"] {
  flex: 1 1 auto; min-width: 0; padding: 12px 14px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--white);
}
.subscribe__row input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233, 167, 0, .25); }
.subscribe__consent { display: flex; gap: 8px; font-size: 12px; line-height: 1.45; color: var(--gray); }
.subscribe__consent input { margin-top: 2px; }
.subscribe__msg { font-size: 13px; font-weight: 600; }
.subscribe__msg--ok { color: #1e4620; }
.subscribe__msg--err { color: #7f1d1b; }
.subscribe__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* patička výstavbové stránky – bez odkazů dál, jen kontakt */
.buildfoot { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: 13px; padding: 26px 0; }
.buildfoot__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.buildfoot a { color: var(--gold); }

/* ---------- lišta přihlášeného správce ---------- */

.adminbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--navy); color: rgba(255, 255, 255, .82);
  font-size: 12.5px; padding: 9px 18px;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, .2);
}
.adminbar a { color: var(--gold); }
.adminbar__tag {
  background: var(--gold); color: #12100c; font-weight: 700;
  border-radius: 4px; padding: 3px 9px; text-transform: uppercase; font-size: 11px; letter-spacing: .04em;
}
.adminbar__tag--live { background: #2e7d32; color: var(--white); }
.adminbar__who { margin-left: auto; font-weight: 600; color: var(--white); }

@media (max-width: 1120px) {
  .hero--build .hero__in { grid-template-columns: 1fr; gap: 32px; }
  .buildpanel { justify-self: stretch; max-width: none; }
  .portal__grid { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .portal__item:nth-child(3n+1) { border-left: 0; padding-left: 0; }
  .portal__item:last-child { padding-right: 18px; }
}

@media (max-width: 860px) {
  .buildfeats { grid-template-columns: repeat(2, 1fr); }
  .portal__card { margin-top: 24px; padding: 26px 22px 28px; }
  .portal__title { font-size: 21px; gap: 12px; }
  .portal__title::before, .portal__title::after { width: 30px; }
  .adminbar__who { margin-left: 0; }
}

@media (max-width: 560px) {
  .portal__grid { grid-template-columns: 1fr; }
  .portal__item, .portal__item:last-child { border-left: 0; padding: 0; }
  .buildpanel { padding: 34px 22px; }
  .buildnote { padding: 20px; }
  .subscribe, .subscribe__form { min-width: 0; width: 100%; }
  .subscribe__row { flex-wrap: wrap; }
  .subscribe__row .btn { width: 100%; justify-content: center; }
}
