/* =========================================================
   Svaz účetních Jihomoravského kraje — sdílené styly
   Responzivní (mobil / tablet / desktop), sdílené napříč stránkami.
   ========================================================= */

:root {
  --navy: #13314f;
  --navy-2: #1c4468;
  --blue: #3a86c8;
  --blue-dark: #2c6ca8;
  --blue-soft: #e8f1fa;
  --bg: #ffffff;
  --bg-soft: #f5f9fc;
  --bg-soft-2: #eef4fa;
  --border: #e3ecf4;
  --text: #1b2a3a;
  --muted: #5c6c7d;
  --red: #c0392b;
  --green: #1e874b;
  --shadow: 0 1px 2px rgba(19,49,79,.04), 0 8px 30px rgba(19,49,79,.06);
  --shadow-lg: 0 20px 60px rgba(19,49,79,.12);
  --radius: 16px;
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; max-width: 100%; overflow-x: hidden; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Manrope', 'Inter', sans-serif; line-height: 1.2; color: var(--navy); letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 28px); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: inherit; font-weight: 600; font-size: 15px; padding: 14px 24px; border-radius: 12px; cursor: pointer; border: 1px solid transparent; transition: transform .12s, background .15s, box-shadow .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 28px rgba(58,134,200,.32); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--border); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: #cddbe9; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #f0f6fc; }
.btn-outline-white { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.16); }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 32px; height: auto; }
.brand-txt { display: block; }
.brand-txt b { font-family: 'Manrope', sans-serif; font-weight: 800; color: var(--navy); font-size: 15.5px; line-height: 1.15; letter-spacing: -.01em; display: block; text-transform: none; }
.brand-txt > span { display: block; font-family: 'Inter'; font-weight: 500; font-size: 11px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu a { padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--navy); border-radius: 9px; white-space: nowrap; transition: background .15s, color .15s; }
.menu a:hover { background: var(--bg-soft-2); color: var(--blue-dark); }
.menu a.active { color: var(--blue-dark); font-weight: 600; }
.menu a.cta { background: var(--blue); color: #fff; margin-left: 6px; }
.menu a.cta:hover { background: var(--blue-dark); color: #fff; }
/* Rozbalovací „Služby" */
.menu-item { position: relative; display: inline-flex; align-items: center; }
.menu-parent { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--navy); border-radius: 9px; white-space: nowrap; cursor: default; transition: background .15s, color .15s; }
.menu-parent::after { content: '▾'; font-size: 10px; color: var(--muted); }
.menu-parent:hover, .menu-parent.active { background: var(--bg-soft-2); color: var(--blue-dark); }
.submenu { position: absolute; top: 100%; left: 0; min-width: 232px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 8px; display: none; flex-direction: column; gap: 2px; z-index: 60; }
.menu-item:hover .submenu, .menu-item:focus-within .submenu { display: flex; }
.submenu a { padding: 10px 14px; font-size: 14.5px; font-weight: 500; color: var(--navy); border-radius: 8px; white-space: nowrap; }
.submenu a:hover, .submenu a.active { background: var(--bg-soft-2); color: var(--blue-dark); }
.burger { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; flex: none; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* ---------- Home hero ---------- */
.home-hero { position: relative; overflow: hidden; color: #fff; }
.home-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.home-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, rgba(9,26,45,.94) 0%, rgba(15,40,66,.82) 42%, rgba(19,49,79,.5) 100%); }
.home-hero .wrap { position: relative; z-index: 2; padding-top: clamp(64px, 11vw, 120px); padding-bottom: clamp(56px, 9vw, 104px); }
.home-hero .inner { max-width: 660px; }
.home-hero .eyebrow { color: #9fd0ff; }
.home-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 56px); font-weight: 800; margin: 16px 0 20px; line-height: 1.1; }
.home-hero p.lead { font-size: clamp(16px, 1.6vw, 20px); color: #dbe8f5; margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-badges div { display: flex; align-items: center; gap: 9px; font-size: 14px; color: #cfe0f0; }
.hero-badges svg { width: 18px; height: 18px; color: #9fd0ff; flex: none; }

/* ---------- Page hero (podstránky) ---------- */
.page-hero { position: relative; color: #fff; padding: clamp(56px, 9vw, 92px) 0; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,31,52,.9), rgba(19,49,79,.66)); z-index: 1; }
.page-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .eyebrow { color: #9fd0ff; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; margin: 12px 0 14px; max-width: 760px; }
.page-hero p { font-size: clamp(16px, 1.5vw, 19px); color: #d6e4f2; max-width: 620px; }
.crumbs { font-size: 13.5px; color: #b6cbe0; margin-bottom: 8px; }
.crumbs a:hover { color: #fff; }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 8vw, 86px) 0; }
.soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 700px; margin-bottom: clamp(34px, 5vw, 50px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin: 12px 0 14px; }
.section-head p { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); }

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.card.hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 18.5px; margin-bottom: 9px; }
.card p { font-size: 14.8px; color: var(--muted); }
a.card { text-decoration: none; display: block; }
.card .more { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--blue-dark); font-size: 13.5px; }

/* ---------- Split (obrázek + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.split.rev .split-media { order: 2; }
.split-media img { width: 100%; height: 100%; min-height: 300px; max-height: 460px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.split-body h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 12px 0 16px; }
.split-body p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.checklist { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.checklist li { padding-left: 32px; position: relative; font-size: 15.5px; color: var(--text); }
.checklist li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%232c6ca8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }
.table { width: 100%; border-collapse: collapse; background: #fff; min-width: 420px; }
.table th, .table td { text-align: left; padding: 15px 22px; font-size: 14.8px; border-bottom: 1px solid var(--border); }
.table th { background: var(--bg-soft); font-family: 'Manrope'; font-weight: 700; color: var(--navy); font-size: 14px; }
.table tr:last-child td { border-bottom: none; }
.table td:last-child, .table th:last-child { text-align: right; font-weight: 600; color: var(--navy); }

/* ---------- Pricing plans ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; }
.plan.feat { border-color: var(--blue); box-shadow: 0 20px 50px rgba(58,134,200,.2); }
.plan .badge { position: absolute; top: -12px; left: 30px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; }
.plan h3 { font-size: 19px; }
.plan .price { font-family: 'Manrope'; font-size: 32px; font-weight: 800; color: var(--navy); margin: 10px 0 4px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.plan li { font-size: 14.5px; color: var(--text); padding-left: 26px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232c6ca8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- Note / info box ---------- */
.note { background: var(--blue-soft); border: 1px solid #d3e6f6; border-radius: 14px; padding: 20px 24px; font-size: 14.8px; color: var(--navy-2); }
.note b { color: var(--navy); }

.pay-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.pay-box div { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; box-shadow: var(--shadow); }
.pay-box small { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.pay-box b { display: block; font-family: 'Manrope'; font-size: 18px; color: var(--navy); margin-top: 4px; }

/* ---------- Novinky / Aktuality ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
/* Dedikované stránky Aktuality/Novinky — článkový layout na celou čtecí šířku */
.news-list { display: flex; flex-direction: column; gap: 22px; max-width: 880px; }
.news-list .news { padding: 30px 34px; }
.news-list .news h3 { font-size: 22px; }
.news { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.news .tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-dark); background: var(--blue-soft); padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.news time { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .02em; }
.news h3 { font-size: 20px; margin: 8px 0 14px; }
.news .body { font-size: 15.5px; color: var(--text); }
.news .body p { margin-bottom: 11px; color: var(--muted); }
.news .body p:last-child { margin-bottom: 0; }
.news .body ul { list-style: none; margin: 10px 0 12px; display: flex; flex-direction: column; gap: 8px; }
.news .body li { position: relative; padding-left: 26px; color: var(--muted); }
.news .body li::before { content: ''; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%232c6ca8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat; }
.news-empty, .news-loading { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px; background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); }
/* Klikací karta článku (rozcestník Novinek) */
a.news-card-link { text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.news-card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news .readmore { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--blue-dark); font-size: 14px; }
.legal em, .legal p em { color: var(--muted); }

/* Seznam kurzů (Vzdělávání — načteno ze Svazu účetních ČR) */
.kurzy-list { display: flex; flex-direction: column; gap: 10px; }
.kurz { display: flex; align-items: flex-start; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 22px; text-decoration: none; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s, border-color .12s; }
.kurz:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: #cddbe9; }
.kurz-date { flex: none; width: 108px; font-size: 13px; font-weight: 600; color: var(--blue-dark); line-height: 1.35; }
.kurz-main { flex: 1; min-width: 0; }
.kurz-title { display: block; font-weight: 600; color: var(--navy); font-size: 15px; line-height: 1.35; }
.kurz-meta { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.kurz-arrow { flex: none; color: var(--blue); font-size: 18px; }
@media (max-width: 600px) { .kurz { flex-wrap: wrap; gap: 6px 14px; } .kurz-date { min-width: 0; } .kurz-arrow { display: none; } }

/* ---------- Partneři ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.partner { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; transition: transform .15s, box-shadow .15s; }
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.partner img { max-height: 60px; width: auto; }
.partner b { font-family: 'Manrope'; color: var(--navy); font-size: 16px; }
.partner span { font-size: 13px; color: var(--muted); }
.partners-empty { grid-column: 1/-1; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); padding: 44px; }
.partners-empty a { color: var(--blue-dark); font-weight: 600; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-dark); display: flex; align-items: center; justify-content: center; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.contact-list b, .contact-list a.val { font-family: 'Manrope'; font-size: 16.5px; color: var(--navy); font-weight: 700; }
.contact-list a.val:hover { color: var(--blue-dark); }
form.enq { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
form.enq h3 { font-size: 20px; margin-bottom: 6px; }
form.enq p.sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
input, textarea, select { width: 100%; font-family: inherit; font-size: 15px; color: var(--text); padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-soft); transition: border .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58,134,200,.15); background: #fff; }
textarea { resize: vertical; min-height: 120px; }
.map { border: 0; width: 100%; height: 300px; border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 26px; }
/* Mapa se souhlasem (placeholder, dokud uživatel neodsouhlasí Google Maps) */
.map-embed { position: relative; margin-top: 26px; height: 300px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); background: var(--bg-soft-2); }
.map-embed .map { margin-top: 0; height: 100%; box-shadow: none; }
.map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; }
.map-ph p { font-size: 14px; color: var(--muted); max-width: 360px; }
.map-ph a { font-size: 13.5px; color: var(--blue-dark); font-weight: 600; }

/* ---------- Cookie lišta ---------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 20px 24px; }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cookie-inner p { font-size: 13.8px; color: var(--muted); flex: 1 1 420px; line-height: 1.55; }
.cookie-inner p a { color: var(--blue-dark); font-weight: 600; text-decoration: underline; }
.cookie-btns { display: flex; gap: 12px; flex: none; }
.cookie-btns .btn { padding: 11px 22px; font-size: 14.5px; }
@media (max-width: 600px) { .cookie-btns { width: 100%; } .cookie-btns .btn { flex: 1; justify-content: center; } }
.req { color: var(--blue-dark); }
.spamwarn { display: block; margin-top: 10px; font-weight: 700; color: #92400e; background: #fff7ed; border: 1px solid #fcd9a8; border-radius: 10px; padding: 11px 14px; font-size: 14.5px; line-height: 1.45; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13.6px; color: var(--muted); line-height: 1.5; margin: 4px 0 20px; cursor: pointer; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--blue); cursor: pointer; }
.consent a { color: var(--blue-dark); font-weight: 600; text-decoration: underline; }
.choice-group-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 16px 0 8px; }
.choice-group-title:first-child { margin-top: 0; }
.choices { display: grid; gap: 10px; }
.choice { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--border); border-radius: 11px; cursor: pointer; background: var(--bg-soft); transition: border .15s, background .15s, box-shadow .15s; }
.choice:hover { border-color: #cddbe9; }
.choice input { width: 18px; height: 18px; flex: none; accent-color: var(--blue); cursor: pointer; }
.choice .lbl { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.choice .price { margin-left: auto; font-family: 'Manrope'; font-weight: 700; color: var(--blue-dark); font-size: 14px; white-space: nowrap; }
.choice:has(input:checked) { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(58,134,200,.13); }

/* ---------- Legal / GDPR text ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 34px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 15.5px; color: var(--text); margin-bottom: 12px; }
.legal ul { margin: 0 0 12px 22px; }
.legal li { margin-bottom: 7px; }
.legal .card { margin: 8px 0 20px; }
.legal a { color: var(--blue-dark); font-weight: 600; }
.legal .muted { color: var(--muted); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(36px, 6vw, 60px); color: #fff; text-align: center; background: linear-gradient(120deg, var(--navy), var(--blue-dark)); }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.cta-band p { color: #d6e4f2; font-size: 17px; max-width: 560px; margin: 0 auto 26px; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
footer.site { background: var(--navy); color: #cdd9e6; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 38px; }
footer.site .brand b { color: #fff; }
footer.site .brand span { color: #93a9c1; }
footer.site p { font-size: 14px; color: #9fb3c8; margin-top: 14px; max-width: 320px; }
footer.site h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
footer.site ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer.site ul a, footer.site ul li { font-size: 14.5px; color: #b9c9d9; }
footer.site .foot-contact { display: inline-flex; align-items: center; gap: 9px; }
footer.site .foot-contact svg { color: #7f97b0; flex: none; }
footer.site ul a:hover { color: #fff; }
.foot-bot { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #8ba1b8; }
.foot-bot a:hover { color: #fff; }

/* ---------- Utility ---------- */
.mt-40 { margin-top: 40px; } .mt-30 { margin-top: 30px; } .mt-24 { margin-top: 24px; } .mb-18 { margin-bottom: 18px; }
.lead-block { max-width: 760px; font-size: 17px; color: var(--muted); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .menu {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--border); padding: 12px 16px 20px; gap: 2px;
    display: none; box-shadow: var(--shadow-lg); max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .menu.open { display: flex; }
  .menu a { padding: 13px 14px; font-size: 16px; }
  .menu a.cta { margin: 8px 0 0; text-align: center; }
  .burger { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  /* Dropdown → na mobilu rozbalená sekce */
  .menu-item { display: block; }
  .menu-parent { display: block; padding: 14px 14px 6px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
  .menu-parent::after { display: none; }
  .submenu { position: static; display: flex; box-shadow: none; border: none; border-radius: 0; padding: 0 0 6px 12px; min-width: 0; }
  .submenu a { padding: 11px 14px; font-size: 16px; }
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .split-media img { max-height: 340px; }
  .price-grid, .news-grid, .contact-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn, .cta-band .btn { width: auto; }
}
