/* Elektro Lomnice – styly webu (základ převzatý z pelety-lomnice.cz). Písma hostovaná u nás (fonts.css), žádné externí zdroje. */
@import url("fonts.css");

:root {
  --ground: #F2F4F7;
  --surface: #FFFFFF;
  --ink: #141922;
  --text2: #454D59;
  --muted: #58606C;
  --line: #D4D9E1;
  --line2: #E7EAF0;
  --field: #FAFBFC;
  --field-line: #C7CDD6;
  --green: #17407A;
  --green-d: #0E2D59;
  --green-l: #E2E9F4;
  --green-soft: #9DB5DB;
  --ember: #F2B705;
  --ember-d: #D9A300;
  --dark: #101A2C;
  --dark-text: #C2CAD7;
  --radius: 16px;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--green-d); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--surface); padding: 10px 14px; z-index: 50; }
.skip:focus { left: 12px; top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typografie ---------- */
.eyebrow { display: inline-flex; align-self: flex-start; background: var(--green-l); color: var(--green); font-weight: 600; font-size: 13px; letter-spacing: .03em; padding: 7px 12px; border-radius: 999px; text-transform: uppercase; }
.eyebrow--plain { background: none; padding: 0; letter-spacing: .06em; }
.h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 6vw, 60px); line-height: 1.04; letter-spacing: -.02em; }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -.015em; }
.h3 { font-size: 20px; font-weight: 600; }
.lead { font-size: 19px; line-height: 1.55; color: var(--text2); max-width: 560px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Tlačítka ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 24px; border-radius: 12px; border: 0; font: inherit; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer; text-align: center; }
.btn--ember { background: var(--ember); color: #fff; }
.btn--ember:hover { background: var(--ember-d); color: #fff; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-d); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--field-line); }
.btn--ghost:hover { color: var(--ink); border-color: var(--muted); }
.btn--outline { background: var(--surface); color: var(--green); border: 1.5px solid var(--green); }
.btn--outline:hover { background: var(--green-l); }
.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { color: var(--dark); background: var(--ground); }
.btn--line-light { background: transparent; color: #fff; border: 1px solid #44526A; }
.btn--line-light:hover { color: #fff; border-color: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; border-radius: 10px; }

/* ---------- Horní lišta a hlavička ---------- */
.topbar { background: var(--dark); color: #E8E6DF; font-size: 13px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 28px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: #fff; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1; text-transform: uppercase; }
.brand__name span { color: var(--green); }
.brand__sub { font-family: var(--display); font-weight: 600; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; flex: 1 1 auto; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 4px; }
.header-phone svg { width: 18px; height: 18px; }
.nav-toggle { display: none; margin-left: auto; min-height: 44px; padding: 8px 14px; border: 1px solid var(--field-line); border-radius: 10px; background: var(--surface); font: inherit; font-weight: 600; cursor: pointer; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line2); padding-top: 6px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line2); }
  .header-actions { flex-basis: 100%; justify-content: space-between; }
  .header-actions .header-phone span { display: inline; }
  .site-header .wrap { column-gap: 16px; }
}

/* ---------- Sekce ---------- */
.section { padding: 88px 0; }
.section--tight { padding-top: 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--dark); color: #F1EFE8; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 32px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split--center { align-items: center; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; }
.hero .split { align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.psc-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; max-width: 520px; margin-top: 8px; }
.psc-box label { font-weight: 600; font-size: 15px; }
.psc-box__row { display: flex; flex-wrap: wrap; gap: 10px; }
.psc-box__row input { flex: 1 1 200px; min-width: 0; }
.psc-box__result { font-size: 15px; }
.psc-box__result strong { color: var(--green); }

/* Fotky – dokud nejsou dodané, zobrazí se zástupná plocha s popiskem */
.photo { position: relative; border-radius: 22px; overflow: hidden; background-color: #D6DCE5; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.18) 0 14px, rgba(255,255,255,0) 14px 28px); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo picture { display: block; width: 100%; height: 100%; }
.photo.photo--product { background-color: #FFFFFF; background-image: none; border: 1px solid var(--line2); }
.photo.photo--product img { object-fit: contain; padding: 12px; }
.photo--wide { aspect-ratio: 16 / 9; border-radius: 18px; margin-top: 8px; }
.photo--hero { aspect-ratio: 5 / 5.4; }
.photo--card { aspect-ratio: 4 / 3; border-radius: 14px; background-color: #E1E6EE; }
.photo__label { position: absolute; left: 16px; bottom: 16px; background: var(--surface); border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--text2); }

/* ---------- Parametry (pruh čísel) ---------- */
.stats { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line2); }
.stat:last-child { border-right: 0; }
.stat__label { font-size: 13px; color: var(--muted); }
.stat__value { font-family: var(--display); font-weight: 800; font-size: 26px; }
@media (max-width: 720px) { .stat { border-right: 0; border-bottom: 1px solid var(--line2); } .stat:last-child { border-bottom: 0; } }

/* ---------- Karty balení ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.card--featured { border: 2px solid var(--green); }
.card__badge { position: absolute; top: 32px; left: 32px; z-index: 1; background: var(--green); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .03em; padding: 6px 10px; border-radius: 999px; }
.card__text { display: flex; flex-direction: column; gap: 6px; }
.card__text p { color: var(--muted); font-size: 15px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: auto; }
.price__value { font-family: var(--display); font-weight: 800; font-size: 30px; }
.price__unit { color: var(--muted); font-size: 14px; }

/* ---------- Předprodej ---------- */
.promo { background: var(--green-l); border-radius: 24px; padding: clamp(24px, 4vw, 48px); }
.promo .split { align-items: center; gap: 40px; }
.promo__card { background: var(--surface); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1 1 320px; }
.promo__save { color: var(--green); font-weight: 600; font-size: 15px; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 1px; }

/* ---------- Kroky ---------- */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--ground); border-radius: var(--radius); }
.steps__num { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--green); line-height: 1; }
.steps strong { font-size: 18px; }
.steps span:last-child { color: var(--text2); font-size: 15px; }

/* ---------- Tabulky ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.panel__head { padding: 18px 22px; border-bottom: 1px solid var(--line2); font-weight: 600; }
.panel__foot { padding: 14px 22px; border-top: 1px solid var(--line2); font-size: 13px; color: var(--muted); line-height: 1.5; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 14px 22px; border-bottom: 1px solid var(--line2); text-align: left; vertical-align: top; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table th { color: var(--muted); font-weight: 400; }
.table td { text-align: right; font-weight: 600; }
.table--zones thead th { font-size: 13px; font-weight: 600; }
.table--zones thead th:last-child { text-align: right; }
.table .free { color: var(--green); }
.table-scroll { overflow-x: auto; }

.map { aspect-ratio: 16 / 10; border-radius: 18px; background-color: #DCE3EE; background-image: radial-gradient(circle at 46% 48%, rgba(23,64,122,.35) 0 9%, rgba(23,64,122,.18) 9% 22%, rgba(23,64,122,.08) 22% 38%, rgba(0,0,0,0) 38%); position: relative; }
.map .photo__label { background: var(--surface); }

/* ---------- Pro firmy ---------- */
.section--dark .eyebrow--plain { color: var(--green-soft); }
.section--dark .h2 { color: #fff; }
.section--dark .lead { color: var(--dark-text); }
.cta-col { display: flex; flex-direction: column; gap: 12px; flex: 1 1 300px; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; }
.faq details p { margin-top: 12px; color: var(--text2); }

/* ---------- Patička ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.site-footer h2 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col p { color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line2); }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 24px; font-size: 13px; color: var(--muted); }

/* ---------- Podstránky ---------- */
.page-head { padding-top: 48px; padding-bottom: 24px; }
.page-head .lead { margin-top: 12px; max-width: 680px; }
.breadcrumb ol { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }

.legal { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 48px); max-width: 880px; margin-bottom: 88px; }
.legal h2 { font-family: var(--display); font-weight: 700; font-size: 24px; margin: 36px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text2); line-height: 1.65; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 10px 0; padding-left: 22px; }
.legal li + li { margin-top: 4px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; display: block; overflow-x: auto; }
@media (min-width: 761px) { .legal table { display: table; } }
.legal th, .legal td { border: 1px solid var(--line2); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--ground); }
.legal .meta { font-size: 14px; color: var(--muted); margin-top: 32px; }
.legal pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; background: var(--ground); border-radius: 12px; padding: 20px; color: var(--ink); }

/* ---------- Objednávka ---------- */
.order { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-bottom: 88px; }
.order__main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.order__aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.box h2 { font-size: 19px; font-weight: 600; }
fieldset.box { margin: 0; min-width: 0; }
fieldset.box legend { float: left; width: 100%; padding: 0; font-size: 19px; font-weight: 600; }
fieldset.box legend + * { clear: both; }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.choices--wide { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__body { display: flex; flex-direction: column; gap: 2px; padding: 16px; min-height: 44px; border: 1px solid var(--field-line); border-radius: 14px; background: var(--surface); }
.choice__title { font-weight: 600; font-size: 16px; }
.choice__sub { font-size: 14px; color: var(--muted); }
.choice__price { font-family: var(--display); font-weight: 800; font-size: 19px; margin-top: 4px; }
.choice input:checked + .choice__body { border: 2px solid var(--green); padding: 15px; box-shadow: 0 0 0 3px var(--green-l); }
.choice input:focus-visible + .choice__body { outline: 3px solid var(--ember); outline-offset: 2px; }

.qty-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--field-line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.stepper button { width: 48px; height: 48px; border: 0; background: transparent; font-size: 22px; cursor: pointer; color: var(--ink); }
.stepper input { width: 64px; height: 48px; border: 0; text-align: center; font: inherit; font-weight: 600; font-size: 18px; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-total { display: flex; flex-direction: column; gap: 2px; padding-bottom: 6px; }
.qty-total strong { font-size: 17px; }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea {
  font: inherit; font-size: 16px; color: var(--ink); padding: 12px 14px; border: 1px solid var(--field-line); border-radius: 10px; background: var(--field); min-height: 48px; width: 100%;
}
textarea { resize: vertical; min-height: 96px; }
input::placeholder, textarea::placeholder { color: #767E8A; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text2); line-height: 1.45; font-weight: 400; }
.consent input { width: 20px; height: 20px; margin: 0; flex: 0 0 auto; accent-color: var(--green); }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.alert { background: #FDF3E2; border: 1px solid #E9C98A; color: #6A4300; border-radius: 12px; padding: 14px 18px; font-weight: 500; }
.is-hidden { display: none !important; }

.aside-phone { background: var(--dark); color: #fff; border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.aside-phone span { color: var(--dark-text); font-size: 14px; }
.aside-phone a { font-family: var(--display); font-weight: 800; font-size: 34px; color: #fff; text-decoration: none; }
.box ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--text2); font-size: 15px; }
.price-list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.price-list div { display: flex; justify-content: space-between; gap: 12px; }
.price-list dt { color: var(--muted); }
.price-list dd { margin: 0; font-weight: 600; }

/* ---------- Děkujeme / 404 ---------- */
.done { max-width: 720px; margin: 48px auto 88px; background: var(--surface); border: 2px solid var(--green); border-radius: 20px; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.done svg { width: 48px; height: 48px; }

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 40px; }
  .wrap { padding: 0 16px; }
  .wrap.page-head { padding-top: 28px; padding-bottom: 20px; }
}
/* ---------- Cookie lišta ---------- */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--dark); color: #F1EFE8; border-top: 3px solid var(--ember); box-shadow: 0 -12px 32px rgba(0,0,0,.25); }
.cookie-bar__inner { max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.cookie-bar__text { flex: 1 1 520px; font-size: 15px; line-height: 1.5; color: var(--dark-text); }
.cookie-bar__text strong { color: #fff; }
.cookie-bar__text a { color: var(--green-soft); }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cookie-bar .btn { min-width: 150px; }
@media (max-width: 480px) { .cookie-bar__inner { padding: 14px 16px; } .cookie-bar__actions { width: 100%; } .cookie-bar .btn { flex: 1 1 0; min-width: 0; } }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Poradna ---------- */
.card--link { text-decoration: none; color: var(--ink); gap: 10px; transition: border-color .15s, transform .15s; }
.card--link:hover { border-color: var(--green); transform: translateY(-2px); }
.card--link .muted { font-size: 15px; line-height: 1.55; }
.card__more { margin-top: auto; color: var(--green); font-weight: 600; font-size: 15px; }
.article { margin-bottom: 32px; }
.article h3 { font-family: var(--display); font-weight: 700; font-size: 19px; margin: 24px 0 8px; }
.article ol { margin: 10px 0; padding-left: 22px; }
.article ol li + li { margin-top: 6px; }
.article strong { color: var(--ink); }
.article .table-scroll { margin: 14px 0; }
.article .table-scroll table { display: table; margin: 0; min-width: 480px; }
.cta-box { max-width: 880px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px;
  background: var(--green-l); border-radius: 18px; padding: 24px clamp(20px, 4vw, 36px); margin-bottom: 64px; }
.cta-box strong { display: block; font-family: var(--display); font-size: 19px; margin-bottom: 4px; }
.cta-box span { color: var(--muted); font-size: 15px; }
.cta-box .actions { margin: 0; }
.related { margin-bottom: 88px; }
.related .h2 { margin-bottom: 20px; }
.wrap > .cards--links + .cta-box { margin-top: 40px; }

/* ---------- Článek: text + boční panel ---------- */
.h1--article { font-size: clamp(32px, 4.2vw, 52px); max-width: 920px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; padding-bottom: 88px; }
.article-layout .article { max-width: none; margin-bottom: 0; }
.article-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
.article-side .cta-box { flex-direction: column; align-items: stretch; margin: 0; padding: 24px; }
.article-side .cta-box .actions { flex-direction: column; }
.article-side .cta-box .btn { width: 100%; }
.side-links { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.side-links h2 { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 0 0 10px; }
.side-links ul { list-style: none; margin: 0; padding: 0; }
.side-links li { border-top: 1px solid var(--line2); }
.side-links li a { display: block; padding: 11px 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.side-links li a:hover { color: var(--green); }
.side-links__all { display: inline-block; margin-top: 8px; color: var(--green); font-weight: 600; font-size: 15px; }
@media (max-width: 960px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-side { position: static; }
}
@media (max-width: 400px) {
  .brand { gap: 10px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 19px; }
  .nav-toggle { padding: 8px 12px; }
}
.price-list .price-list__total { border-top: 2px solid var(--line); margin-top: 4px; padding-top: 10px; }
.price-list .price-list__total dt, .price-list .price-list__total dd { font-weight: 700; color: var(--ink); }
.summary .consent { margin-top: 16px; }
[data-dovoz] .consent { margin: 4px 0 8px; }
.section__more { margin-top: 28px; }

/* ---------- Kalkulačka spotřeby ---------- */
.kalk { background: var(--ground); border: 1px solid var(--line); border-radius: 16px; padding: clamp(16px, 3vw, 24px); margin: 14px 0 8px; }
.kalk__tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 16px; }
.kalk__fields { margin-bottom: 16px; }
.kalk__out { background: var(--surface); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.kalk__big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.kalk__big .small { flex-basis: 100%; }
.kalk__big strong { font-family: var(--display); font-size: clamp(28px, 4vw, 36px); color: var(--green); }
.kalk__big span:last-child { font-weight: 600; color: var(--ink); }
.kalk .btn { align-self: flex-start; }
.legal .kalk p { margin: 0; }
.alert.alert--ok { background: var(--green-l); border-color: var(--green-soft); color: var(--green-d); }
.fields--2 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.promo__card .h3 { margin: 0; }
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.page-head .actions { margin-top: 20px; }

/* ---------- Prodejní bloky: česká výroba, srovnání, proč u nás (2026-10-25) ---------- */
.flag { width: 21px; height: 14px; flex: 0 0 auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.eyebrow--cz { align-items: center; gap: 9px; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.trust li > svg { width: 21px; height: 21px; margin-top: 1px; }
.trust li > .flag { height: 14px; margin-top: 3px; }
.trust strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }

.stat__note { font-size: 14px; color: var(--text2); line-height: 1.45; margin-top: 4px; }
.stats--proof .stat__value { color: var(--green); }

.compare-head { margin-bottom: 32px; max-width: 760px; }
.compare-head .lead { max-width: 680px; }
.table--compare { min-width: 620px; }
.table--compare td { text-align: left; font-weight: 400; color: var(--text2); }
.table--compare thead th { font-weight: 600; color: var(--ink); vertical-align: bottom; border-bottom: 1px solid var(--line); }
.table--compare thead th .small { font-weight: 400; color: var(--muted); }
.table--compare th[scope="row"] { color: var(--ink); font-weight: 500; width: 26%; }
.table--compare .is-ours { background: var(--green-l); color: var(--green-d); font-weight: 700; width: 30%; }
.table--compare thead .is-ours { background: var(--green); color: #fff; }
.benefits { margin-top: 24px; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.benefit { display: flex; flex-direction: column; gap: 8px; padding: 4px 2px; }
.benefit p { color: var(--text2); }
.benefit--card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.trial { margin-top: 24px; background: var(--green-l); border-radius: 20px; padding: clamp(20px, 3vw, 32px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.trial .stack { gap: 8px; flex: 1 1 420px; }
.trial p { color: var(--text2); max-width: 620px; }
@media (max-width: 640px) {
  .trust { grid-template-columns: 1fr; }
  .table--compare, .table--compare thead, .table--compare tbody { display: block; min-width: 0; }
  .table--compare tr { display: grid; grid-template-columns: 1fr 1fr; }
  .table--compare thead th:first-child { display: none; }
  .table--compare tbody th[scope="row"] { grid-column: 1 / -1; width: auto; padding: 14px 14px 6px; border-bottom: 0; background: var(--field); font-size: 13px; color: var(--muted); }
  .table--compare td, .table--compare thead th, .table--compare .is-ours { width: auto; padding: 10px 14px 14px; font-size: 14px; }
}

/* ---------- Fixní hlavička s menu (2026-10-25) ---------- */
.site-header { position: sticky; top: 0; z-index: 40; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(16,26,44,.10); }
[id] { scroll-margin-top: 92px; }
.article-side { top: 100px; }
@media (max-width: 980px) {
  .site-header .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .brand { order: 0; }
  .header-actions { order: 1; flex-basis: auto; margin-left: auto; gap: 6px; }
  .header-actions .header-phone span { display: none; }
  .header-phone { padding: 10px; }
  .nav-toggle { order: 2; margin-left: 0; }
  .nav { order: 3; }
  .nav.is-open { max-height: calc(100vh - 76px); overflow-y: auto; }
  [id] { scroll-margin-top: 80px; }
}
@media (max-width: 400px) {
  .header-actions .btn--sm { padding: 10px 12px; }
  .site-header .wrap { column-gap: 8px; }
}
@media (max-width: 520px) {
  .site-header .wrap { flex-wrap: wrap; column-gap: 6px; }
  .brand { gap: 8px; }
  .brand__mark { width: 28px; height: 28px; }
  .brand__name { font-size: 15px; }
  .brand__sub { display: none; }
  .header-actions { gap: 2px; }
  .header-phone { padding: 10px 6px; }
  .header-actions .btn--sm { padding: 10px 12px; font-size: 15px; }
  .nav-toggle { position: relative; width: 44px; min-height: 44px; padding: 0; font-size: 0; justify-content: center; }
  .nav-toggle::before { content: ""; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }
  .nav-toggle[aria-expanded="true"]::before { box-shadow: none; height: 2px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"]::after { content: ""; position: absolute; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transform: rotate(-45deg); }
}
@media (max-width: 380px) {
  .header-phone { display: none; }
}
@media (max-width: 340px) {
  .brand__mark { display: none; }
}

/* =================== Elektro Lomnice – doplňky (2026-10-30) =================== */
/* žluté tlačítko: tmavý text kvůli kontrastu */
.btn--ember, .btn--ember:hover { color: var(--ink); }
:focus-visible { outline-color: var(--green); }
.cookie-bar { border-top-color: var(--ember); }
.ico { width: 22px; height: 22px; flex: 0 0 auto; }

/* Hero karta místo fotky */
.hero-card { background: var(--dark); color: #fff; border-radius: 24px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 22px;
  background-image: radial-gradient(circle at 100% 0, rgba(242,183,5,.18), rgba(242,183,5,0) 45%); }
.hero-card__head { display: flex; gap: 16px; align-items: center; }
.hero-card__head strong { display: block; font-family: var(--display); font-size: 22px; }
.hero-card__head span span { color: var(--dark-text); font-size: 15px; }
.hero-card__bolt { width: 52px; height: 52px; flex: 0 0 auto; background: rgba(242,183,5,.12); border-radius: 14px; padding: 10px; }
.hero-card__list { margin: 0; display: flex; flex-direction: column; }
.hero-card__list div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.hero-card__list dt { display: flex; gap: 10px; align-items: center; color: var(--dark-text); }
.hero-card__list dt .ico { width: 18px; height: 18px; color: var(--ember); }
.hero-card__list dd { margin: 0; font-weight: 600; text-align: right; }

/* Rozcestník prodejna / služby */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.duo__card { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.duo__card p { color: var(--text2); }
.duo__card:hover { border-color: var(--green); transform: translateY(-2px); color: var(--ink); }
.duo__card--dark { background: var(--green); border-color: var(--green); color: #fff; }
.duo__card--dark:hover { color: #fff; border-color: var(--green-d); }
.duo__card--dark p { color: #DCE5F3; }
.duo__card--dark .eyebrow--plain, .duo__card--dark .card__more { color: var(--ember); }

/* Dlaždice služeb a sortimentu */
.tiles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tiles--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tiles--1 { grid-template-columns: 1fr; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.section--white .tile { background: var(--ground); border-color: var(--line2); }
.tile p { color: var(--text2); font-size: 15px; }
.tile__ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--green-l); color: var(--green); }
.tile .card__more { margin-top: auto; padding-top: 4px; }

.stat__value--sm { font-size: 19px; line-height: 1.3; }
.stat__value a { color: inherit; text-decoration: none; }
.steps--vertical { grid-template-columns: 1fr; }
.section--white .steps li { background: var(--ground); }
.steps li { background: var(--surface); border: 1px solid var(--line2); }

/* Skupina webů */
.group { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.group-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--ground); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.group-card:hover { border-color: var(--green); color: var(--ink); }
.group-card strong { display: block; font-size: 16px; margin-bottom: 4px; color: var(--green); }
.group-card span span { color: var(--text2); font-size: 14px; line-height: 1.45; }
.group-card__ico { width: 40px; height: 40px; padding: 9px; flex: 0 0 auto; border-radius: 10px; background: var(--surface); color: var(--green); border: 1px solid var(--line2); }

/* Kontakt */
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-list > a, .contact-list > div { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; }
.contact-list > a:hover { border-color: var(--green); color: var(--ink); }
.contact-list .ico { color: var(--green); margin-top: 2px; }
.contact-list strong { display: block; }
.contact-list span span { color: var(--muted); font-size: 14px; }

/* Patička – pruh s městy a weby skupiny */
.footer-meta { border-top: 1px solid var(--line2); }
.site-footer .footer-meta .wrap { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
.footer-meta p { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.footer-meta a { color: var(--text2); }
.fm-label { font-weight: 600; color: var(--ink); min-width: 130px; }

/* Mobilní lišta s telefonem */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16,26,44,.08); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; font-weight: 600; color: var(--ink); text-decoration: none; }
  .mobile-bar a + a { background: var(--ember); }
  .mobile-bar svg { width: 20px; height: 20px; }
  body { padding-bottom: 54px; }
  .cookie-bar { bottom: 54px; }
  .topbar .wrap span:first-child { display: none; }
}
.box h2 + .muted { margin-top: -8px; }
.legal code { font-size: 14px; background: var(--ground); padding: 1px 5px; border-radius: 5px; }
/* rozložení na desktopu */
.nav { gap: 4px 20px; }
.site-header .wrap { column-gap: 28px; }
@media (min-width: 981px) { .nav { gap: 4px 14px; font-size: 14px; } .header-phone span { display: none; } .site-header .wrap { column-gap: 18px; } }
@media (min-width: 981px) and (max-width: 1040px) { .brand__sub { display: none; } .brand__name { font-size: 18px; } .nav { gap: 4px 11px; } .header-actions .btn--sm { padding: 10px 14px; } }
@media (min-width: 960px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } .tiles--2 { grid-template-columns: repeat(2, 1fr); } }
.group { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
.wrap.faq { max-width: 1200px; }
.faq__list { max-width: 880px; }
@media (max-width: 720px) { .header-phone { display: none; } }
@media (max-width: 440px) { .header-actions { display: none; } .nav-toggle { margin-left: auto; } }

/* =================== Grafické prvky a blog (2026-10-30 b) =================== */
/* ilustrace v hlavičce podstránek */
.page-head--art { position: relative; }
.page-art { display: none; }
@media (min-width: 1100px) {
  .page-head--art { padding-right: 300px; }
  .page-art { display: grid; place-items: center; position: absolute; right: 24px; top: 40px; width: 230px; height: 230px; border-radius: 50%;
    background: radial-gradient(circle, #fff 0 40%, var(--green-l) 40% 58%, rgba(23,64,122,.06) 58% 74%, rgba(23,64,122,0) 74%); }
  .page-art__ico { width: 84px; height: 84px; color: var(--green); }
  .page-art__bolt { position: absolute; right: 28px; top: 28px; width: 48px; height: 48px; border-radius: 50%; background: var(--ember); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(242,183,5,.35); }
  .page-art__bolt svg { width: 24px; height: 24px; }
  .page-art::after { content: ""; position: absolute; left: 22px; bottom: 34px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); opacity: .25; }
}
/* ikony u výhod, čísel a kroků */
.benefit--card .tile__ico { margin-bottom: 4px; }
.stat__label { display: flex; align-items: center; gap: 8px; }
.stat__ico { width: 18px; height: 18px; color: var(--green); }
.steps__top { display: flex; align-items: center; justify-content: space-between; }
.steps__ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--green-l); color: var(--green); }
.section--white .steps__ico { background: var(--surface); }
/* patička – kontakty s ikonami */
.footer-kontakt a, .footer-kontakt .fk { display: flex; gap: 10px; align-items: flex-start; }
.footer-kontakt .fk { color: var(--muted); }
.fk-ico { width: 30px; height: 30px; padding: 6px; flex: 0 0 auto; border-radius: 8px; background: var(--green-l); color: var(--green); margin-top: -4px; }
/* tabulka ceníku – žlutý pruh vlevo */
.panel { border-left: 4px solid var(--ember); }
/* eyebrow s bleskem */
.eyebrow--plain::before { content: ""; display: inline-block; width: 10px; height: 14px; margin-right: 8px; vertical-align: -1px;
  background: var(--ember); clip-path: polygon(60% 0, 0 58%, 45% 58%, 35% 100%, 100% 38%, 55% 38%); }
.duo__card--dark .eyebrow--plain::before { background: var(--ember); }
/* karty článků */
.card--post { padding: 0; overflow: hidden; gap: 10px; }
.card--post > .h3, .card--post > .muted, .card--post > .card__more { padding: 0 22px; }
.card--post > .card__more { padding-bottom: 22px; }
.post__band { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; margin-bottom: 6px;
  background: linear-gradient(135deg, var(--green) 0%, #1F55A0 100%); position: relative; overflow: hidden; }
.post__band::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(242,183,5,.16); }
.post__ico { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.12); color: var(--ember); position: relative; z-index: 1; }
.post__cat { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.14); padding: 5px 10px; border-radius: 999px; position: relative; z-index: 1; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
@media (min-width: 960px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--field-line); background: var(--surface); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; color: var(--ink); }
.chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.blog-cta { margin: 40px 0 88px; }
.blog-cta .cta-box { max-width: none; margin: 0; }
.cta-box { position: relative; }
.cta-box__ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--ember); color: var(--ink); flex: 0 0 auto; }
.cta-box .btn svg { width: 18px; height: 18px; }
.post-meta { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.post-meta .ico { width: 16px; height: 16px; }
.page-head .eyebrow { margin-bottom: 14px; }
.side-links li a { display: flex; gap: 10px; align-items: center; }
.side-links li a .ico { width: 18px; height: 18px; color: var(--green); }
.article h2 { display: flex; align-items: center; gap: 10px; }
.article h2::before { content: ""; width: 6px; height: 24px; border-radius: 3px; background: var(--ember); flex: 0 0 auto; }
.article .table-scroll table { border-left: 3px solid var(--green); }
.article a { font-weight: 500; }
.blog-cta .cta-box { flex-wrap: wrap; justify-content: flex-start; }
.blog-cta .cta-box > div:not(.actions) { flex: 1 1 320px; }
.blog-cta .cta-box .actions { margin-left: auto; }
/* audit 30. 10. – poznámka v článcích, ikony v tlačítkách, box ceny revize */
.article-note { display: flex; gap: 12px; align-items: flex-start; background: #FDF3E2; border: 1px solid #E9C98A; border-radius: 12px; padding: 14px 16px; color: #6A4300 !important; font-size: 15px; margin-bottom: 24px !important; }
.article-note .ico { color: #B07A00; margin-top: 1px; }
.btn .ico { width: 20px; height: 20px; }
.box > .tile__ico { margin-bottom: -4px; }
