/* ==========================================================================
   Nejlevnější demolice – hlavní styl
   1. Proměnné a základ        5. Sekce obsahu
   2. Hlavička a navigace      6. Kontakt a patička
   3. Hero                     7. Cookies
   4. Kalkulačka               8. GDPR stránka
                               9. Responzivita
   ========================================================================== */

/* 1. Proměnné a základ ==================================================== */

:root {
  --ink: #002b58;
  --ink-deep: #001f43;
  --ink-soft: #173f63;
  --muted: #58748b;
  --paper: #eaf6fc;
  --soft: #d9edf9;
  --accent: #13a9e8;
  --accent-dark: #2c86e8;
  --line: #bfd8e8;
  --danger: #a5382d;
  --danger-bg: #fff1ee;
  --success: #176b4d;
  --success-bg: #eaf8f2;

  --shell: 1320px;
  --gutter: 24px;
  --header: 76px;
  --shadow: 0 24px 70px rgba(0, 31, 67, .13);
  --body: Arial, Helvetica, sans-serif;

  /* Typografická škála – vše ostatní se odvozuje od těchto hodnot. */
  --fs-base: 17px;
  --fs-small: 14px;
  --fs-tiny: 12.5px;
  --fs-lead: clamp(17px, 1.4vw, 20px);
  --fs-h1: clamp(34px, 6vw, 64px);
  --fs-h2: clamp(27px, 3.6vw, 46px);
  --fs-h3: clamp(18px, 1.5vw, 21px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: var(--fs-base)/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.sr-only, .honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -90px;
  z-index: 999;
  padding: 10px 14px;
  background: #fff;
  font-weight: 700;
}
.skip-link:focus { top: 10px; }

/* Tlačítka --------------------------------------------------------------- */

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 20px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--ink);
  background: var(--accent);
  font-size: var(--fs-small);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-decoration: none;
  transition: .18s ease;
}
.button:hover,
.button:focus-visible {
  color: #fff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(19, 169, 232, .24);
}
.button[disabled] {
  opacity: .62;
  cursor: progress;
  transform: none;
  box-shadow: none;
}
.button-small { min-height: 40px; padding: 8px 14px; }
.button-light { background: #fff; border-color: #fff; color: var(--ink); }

/* 2. Hlavička a navigace ================================================== */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header);
  color: #fff;
  background: rgba(0, 31, 67, .97);
  border-bottom: 4px solid var(--accent);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 210px; height: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  position: relative;
  color: #ddecf7;
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  text-decoration: none;
}
.main-nav > a:not(.button):not(.nav-phone)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--accent);
  transition: right .2s;
}
.main-nav > a:hover::after { right: 0; }

.nav-phone {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  white-space: nowrap;
}

/* Hamburger – viditelný pouze na malých displejích. */
.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  color: #fff;
  background: transparent;
}
.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] > span:not(.sr-only):first-of-type {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] > span:not(.sr-only):nth-of-type(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* 3. Hero ================================================================= */

.hero {
  position: relative;
  padding: var(--header) 0 0;
  color: #fff;
  background: linear-gradient(145deg, #073f79, #002b58 62%, #001d42);
  overflow: hidden;
}

.hero-photo,
.hero-overlay { position: absolute; inset: var(--header) 0 0; }

.hero-photo {
  background: url("/assets/images/hero-demolice.webp") 72% center/cover no-repeat;
  filter: saturate(.82) contrast(1.05);
}
.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 35, 74, .97), rgba(0, 50, 99, .83) 48%, rgba(0, 34, 70, .45));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
  padding: clamp(40px, 6vw, 64px) 0;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 4px 13px;
  color: var(--ink);
  background: var(--accent);
  font-size: var(--fs-tiny);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero h1 {
  max-width: 14ch;
  margin: 22px 0 18px;
  color: #fff;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.hero h1 span {
  display: block;
  margin-top: 12px;
  color: #8fcdf4;
  font-size: .56em;
  line-height: 1.06;
  text-transform: none;
}

.hero-lead {
  max-width: 54ch;
  margin: 0 0 22px;
  color: #dbeaf4;
  font-size: var(--fs-lead);
}

.hero-points {
  max-width: 56ch;
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.hero-points span {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  font-size: var(--fs-small);
  font-weight: 800;
  line-height: 1.35;
}
.hero-points b {
  flex: 0 0 38px;
  color: var(--accent);
  font-size: var(--fs-tiny);
  letter-spacing: .12em;
}

.phone-link {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 5px;
  color: #d5e9f5;
  border-bottom: 2px solid var(--accent);
  font-size: var(--fs-base);
  text-decoration: none;
}
.phone-link strong { color: #fff; }

/* 4. Kalkulačka =========================================================== */

.calculator {
  padding: 24px 26px 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, .985);
  border-top: 8px solid var(--accent);
  box-shadow: 12px 12px rgba(19, 169, 232, .42);
  scroll-margin-top: calc(var(--header) + 16px);
}

.calc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.calc-kicker {
  margin: 0 0 6px;
  color: var(--accent-dark);
  font-size: var(--fs-tiny);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.calc-head h2 {
  margin: 0;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.calc-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: var(--fs-small);
}
.calc-head > span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-size: var(--fs-small);
  font-weight: 900;
}

.calc-progress { height: 5px; margin: 13px 0 20px; background: #d9e6ee; }
.calc-progress i {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--accent);
  transition: width .22s ease;
}

.calc-stage { display: none; }
.calc-stage.active { display: block; }

.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-full { grid-column: 1 / -1; }

.calc-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.calc-field > label,
.object-fieldset legend {
  color: #264d70;
  font-size: var(--fs-small);
  font-weight: 900;
}

.calculator input:not([type=checkbox]):not([type=radio]):not([type=file]),
.calculator select,
.calculator textarea {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 12px;
  color: var(--ink);
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: var(--fs-base);
  outline: 0;
}
.calculator textarea { height: auto; min-height: 90px; padding: 12px; }
.calculator input:focus,
.calculator select:focus,
.calculator textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(19, 169, 232, .14);
}
.calculator input[aria-invalid="true"],
.calculator select[aria-invalid="true"] {
  border-color: var(--danger);
  background: var(--danger-bg);
}
.calculator small { color: #6f8799; font-size: var(--fs-tiny); }

.unit-input { position: relative; }
.unit-input input { padding-right: 46px !important; }
.unit-input b {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: var(--fs-small);
}

.chips { display: flex; gap: 5px; flex-wrap: wrap; }
.chips button {
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: var(--fs-tiny);
  font-weight: 700;
}
.chips button:hover { border-color: var(--accent); background: var(--paper); }

.object-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.object-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 7px;
}
.object-card {
  position: relative;
  min-height: 66px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  background: #f8fbfd;
  cursor: pointer;
  transition: .16s;
}
.object-card input { position: absolute; opacity: 0; inset: 0; }
.object-card b, .object-card small { display: block; }
.object-card b { font-size: var(--fs-small); line-height: 1.25; }
.object-card small { margin-top: 3px; font-size: var(--fs-tiny); }
.object-card:hover { border-color: var(--accent); }
.object-card.selected {
  border: 2px solid var(--accent-dark);
  background: #eaf6fc;
}

.address-field .suggestions {
  display: none;
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% - 20px);
  max-height: 250px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.suggestions.show { display: block; }
.suggestion {
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #e3edf3;
  background: #fff;
}
.suggestion:hover, .suggestion:focus-visible { background: #eaf6fc; }
.suggestion b, .suggestion small { display: block; }
.suggestion b { font-size: var(--fs-small); }
.suggestion small { margin-top: 2px; font-size: var(--fs-tiny); color: var(--muted); }
.address-field small.ok { color: var(--success); font-weight: 800; }

.yesno { display: flex; gap: 8px; }
.yesno label { position: relative; }
.yesno input { position: absolute; opacity: 0; inset: 0; }
.yesno span {
  min-width: 70px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #f8fbfd;
  font-size: var(--fs-small);
  font-weight: 900;
  cursor: pointer;
}
.yesno input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.value-box {
  margin-bottom: 14px;
  padding: 11px 13px;
  color: #224f72;
  background: #eaf6fc;
  border-left: 4px solid var(--accent);
}
.value-box strong { font-size: var(--fs-base); }
.value-box p { margin: 4px 0 0; font-size: var(--fs-small); }

.recap {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #f8fbfd;
  font-size: var(--fs-small);
}

.upload {
  position: relative;
  padding: 16px;
  text-align: center;
  border: 1px dashed #8fbdd9;
  background: #f8fbfd;
}
.upload.is-dragover { border-color: var(--accent); background: #eaf6fc; }
.upload > input { position: absolute; opacity: 0; pointer-events: none; }
.upload-icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  font-size: 22px;
}
.upload strong { display: block; font-size: var(--fs-base); }
.upload p { margin: 4px 0 8px; color: var(--muted); font-size: var(--fs-tiny); }
.upload .secondary {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: var(--fs-small);
  font-weight: 800;
}
.upload small { display: block; margin-top: 6px; font-size: var(--fs-tiny); }

.file-preview { display: flex; gap: 6px; flex-wrap: wrap; margin: 7px 0 13px; }
.file-chip {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 4px 4px 8px;
  background: #e6f2f8;
  color: #284e6b;
  font-size: var(--fs-tiny);
}
.file-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-chip-remove {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: rgba(0, 43, 88, .1);
  font-size: 15px;
  line-height: 1;
}
.file-chip-remove:hover,
.file-chip-remove:focus-visible { background: var(--danger); color: #fff; }
.file-chip.pdf { background: #fff0e9; color: #74402f; }
.file-chip.pdf .file-chip-remove { background: rgba(116, 64, 47, .12); }

.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.consents { display: grid; gap: 8px; margin-top: 12px; }
.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  padding: 9px 10px;
  border: 1px solid var(--line);
  background: #fbfdfe;
  color: #536e83;
  font-size: var(--fs-tiny);
  line-height: 1.45;
  cursor: pointer;
}
.consent-row input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--accent-dark);
}
.consent-row a { color: var(--accent-dark); font-weight: 800; }
.required-consent { border-left: 4px solid var(--accent); }
.required-consent:has(input:invalid:not(:checked).was-validated) { border-left-color: var(--danger); }

.unlock-status {
  margin-top: 10px;
  padding: 9px 11px;
  background: #f5f6f6;
  color: #687b89;
  font-size: var(--fs-tiny);
}
.unlock-status b, .unlock-status span { display: block; }
.unlock-status.ready {
  background: var(--success-bg);
  color: var(--success);
  border-left: 4px solid var(--success);
}

/* Stavové hlášky formulářů ---------------------------------------------- */

.form-status {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 4px solid var(--line);
  background: #f5f8fa;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.45;
}
.form-status[hidden] { display: none !important; }
.form-status.is-error {
  border-left-color: var(--danger);
  background: var(--danger-bg);
  color: #812d25;
  font-weight: 700;
}
.form-status.is-success {
  border-left-color: var(--success);
  background: var(--success-bg);
  color: var(--success);
  font-weight: 700;
}
.form-status.is-pending {
  border-left-color: var(--accent);
  background: #eaf6fc;
  color: #1c5b85;
  font-weight: 700;
}

.calc-errors { margin-top: 12px; }

.calc-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.calc-back {
  min-height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 900;
}
.calc-back:hover { color: var(--ink); }
.calc-next, .calc-submit { margin-left: auto; }

.calc-trust {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #667f91;
  font-size: var(--fs-tiny);
  font-weight: 800;
}

.final-screen { display: flex; flex-direction: column; justify-content: center; }
.final-check {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-size: 26px;
  font-weight: 900;
}
.final-screen h3 {
  margin: 10px 0 4px;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.1;
}
.final-screen > p { margin: 5px 0; color: var(--muted); font-size: var(--fs-small); }
.final-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0;
  color: var(--accent-dark);
}
.final-price strong { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.04em; }
.final-price i { font-style: normal; color: #789; }
.final-price small {
  color: var(--ink);
  font-size: var(--fs-tiny);
  font-weight: 900;
  text-transform: uppercase;
}
.final-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 16px;
}
.final-facts div { padding: 10px; background: #edf5f9; }
.final-facts span, .final-facts b { display: block; }
.final-facts span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.final-facts b { font-size: var(--fs-small); margin-top: 3px; }
.manual-notice {
  margin-top: 12px;
  padding: 10px;
  border-left: 4px solid #d5663f;
  background: #fff2ed;
  font-size: var(--fs-small);
}

/* Cena se spočítala, ale poptávku se nepodařilo doručit. */
.final-check.is-warning { background: #d5663f; color: #fff; }

.delivery-warning {
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 4px solid var(--danger);
  background: var(--danger-bg);
}
.delivery-warning strong {
  display: block;
  margin-bottom: 4px;
  color: #812d25;
  font-size: var(--fs-base);
}
.delivery-warning p {
  margin: 0 0 12px;
  color: #812d25;
  font-size: var(--fs-small);
  line-height: 1.5;
}
.delivery-warning a { font-weight: 800; white-space: nowrap; }
.delivery-warning .button { width: 100%; }
.delivery-warning .form-status { margin-top: 10px; }

/* 5. Sekce obsahu ========================================================= */

.trust-strip { color: var(--ink); background: var(--accent-dark); }
.trust-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-items article {
  min-height: 102px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-right: 1px solid rgba(0, 31, 67, .24);
}
.trust-items article:first-child { border-left: 1px solid rgba(0, 31, 67, .24); }
.trust-items article > strong {
  color: rgba(0, 43, 88, .58);
  font-size: var(--fs-small);
  letter-spacing: .12em;
}
.trust-items article span { display: grid; min-width: 0; }
.trust-items article b { font-size: var(--fs-base); line-height: 1.25; }
.trust-items article small { color: rgba(0, 43, 88, .74); font-size: var(--fs-tiny); }

.section { padding: clamp(56px, 7vw, 96px) 0; }

.kicker {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: var(--fs-tiny);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.kicker::before { content: "— "; }
.kicker-light { color: #a5dcf9; }

.section h2,
.permit-teaser h2,
.assurance h2,
.contact h2 {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.04em;
}
.section h2 em, .area h2 em { color: var(--accent-dark); font-style: normal; }

.section-heading, .compact-heading { margin-bottom: clamp(32px, 4vw, 50px); }
.section-heading > p, .compact-heading > p {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
}

.services { background: #fff; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.service-card > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-size: var(--fs-tiny);
  font-weight: 900;
}
.service-card h3 { margin: auto 0 10px; font-size: var(--fs-h3); line-height: 1.15; }
.service-card p { margin: 0; color: var(--muted); font-size: var(--fs-small); }
.service-card small {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-tiny);
  font-weight: 900;
  text-transform: uppercase;
}

.object-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  margin-top: 34px;
  color: var(--muted);
}
.object-strip span {
  padding: 0 18px;
  border-right: 1px solid var(--line);
  font-size: var(--fs-tiny);
  font-weight: 800;
  text-transform: uppercase;
}
.object-strip span:last-child { border: 0; }

.why-us { background: var(--paper); }
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.why-image {
  position: relative;
  height: clamp(340px, 42vw, 560px);
  margin: 0;
  box-shadow: 14px 14px rgba(19, 169, 232, .25);
}
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.why-image figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 12px 15px;
  color: #fff;
  background: var(--ink);
  font-size: var(--fs-tiny);
  font-weight: 800;
}

.lead-copy {
  max-width: 58ch;
  margin: 20px 0 28px;
  color: var(--ink-soft);
  font-size: var(--fs-lead);
}

.benefits { border-top: 1px solid var(--line); }
.benefits > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 150px) minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.benefits span { color: var(--accent-dark); font-size: var(--fs-tiny); font-weight: 900; }
.benefits h3, .benefits p { margin: 0; }
.benefits h3 { font-size: var(--fs-small); }
.benefits p { color: var(--muted); font-size: var(--fs-small); }

.text-cta {
  display: inline-flex;
  margin-top: 26px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: var(--fs-small);
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}

.permit-teaser { padding: clamp(52px, 6vw, 84px) 0; color: #fff; background: var(--accent-dark); }
.permit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.permit-teaser p:not(.kicker) { max-width: 64ch; color: #dceefd; }
.permit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .28);
}
.permit-list li {
  min-height: 76px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}
.permit-list b { color: #c2eafa; font-size: var(--fs-small); }
.permit-list span { display: grid; }
.permit-list strong { font-size: var(--fs-base); }
.permit-list small { color: #d3e8f8; font-size: var(--fs-tiny); }

.assurance { padding: clamp(48px, 5.5vw, 72px) 0; color: #fff; background: var(--ink); }
.assurance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.assurance p { color: #c1d9e9; }
.assurance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.assurance-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  font-size: var(--fs-small);
  font-weight: 800;
}

.area { background: var(--soft); }
.area-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.area-graphic {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1;
  max-width: 100%;
  border: 1px solid #9fc6de;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 169, 232, .14), transparent 56%);
}
.area-graphic > i {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(44, 134, 232, .65);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.area-graphic > i:nth-of-type(1) { width: 52%; height: 52%; }
.area-graphic > i:nth-of-type(2) { width: 80%; height: 80%; opacity: .55; }
.area-graphic > span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 104px;
  height: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.area-graphic > span strong { font-size: var(--fs-small); }
.area-graphic > span small { font-size: var(--fs-tiny); }
.area-graphic em {
  position: absolute;
  padding: 4px 8px;
  background: rgba(255, 255, 255, .9);
  font-size: var(--fs-tiny);
  font-style: normal;
  font-weight: 900;
}
.city-one { top: 18%; left: 62%; }
.city-two { top: 14%; left: 30%; }
.city-three { right: 2%; bottom: 25%; }
.city-four { bottom: 13%; left: 27%; }

.area-copy > p:not(.kicker) { color: var(--muted); }
.city-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 22px 0 28px;
}
.city-list span { font-size: var(--fs-small); font-weight: 800; }

.process { background: var(--paper); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #9fc6de;
  border-left: 1px solid #9fc6de;
}
.steps li {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-right: 1px solid #9fc6de;
  border-bottom: 1px solid #9fc6de;
  background: rgba(255, 255, 255, .56);
}
.steps > li > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--accent);
  font-size: var(--fs-tiny);
  font-weight: 900;
}
.steps h3 { margin: auto 0 8px; font-size: var(--fs-h3); }
.steps p { margin: 0; color: var(--muted); font-size: var(--fs-small); }

.faq { background: #fff; }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header) + 24px); }
.accordion { border-top: 1px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  font-size: var(--fs-h3);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
  transition: transform .18s ease;
}
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p {
  margin: 0;
  padding: 0 40px 20px 0;
  color: var(--muted);
  font-size: var(--fs-small);
}

/* 6. Kontakt a patička ==================================================== */

.contact {
  padding: clamp(56px, 6.5vw, 88px) 0;
  color: #fff;
  background: linear-gradient(145deg, #073f79, #002b58 65%, #001f43);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.contact-copy > p:not(.kicker) { color: #d7e9f4; }
.contact-personal {
  display: grid;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.contact-personal span {
  color: #9fc6de;
  font-size: var(--fs-tiny);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.contact-personal a {
  width: max-content;
  max-width: 100%;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  text-decoration: none;
}
.contact-personal small { color: #9fc6de; font-size: var(--fs-tiny); }

.contact-card {
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border-top: 8px solid var(--accent);
  box-shadow: 12px 12px rgba(19, 169, 232, .35);
}
.contact-card form { display: grid; gap: 14px; }
.contact-card label > span {
  display: block;
  margin-bottom: 6px;
  font-size: var(--fs-tiny);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.contact-card input:not([type=checkbox]),
.contact-card textarea {
  width: 100%;
  padding: 0 13px;
  color: var(--ink);
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: var(--fs-base);
  outline: 0;
}
.contact-card input:not([type=checkbox]) { height: 50px; }
.contact-card textarea { min-height: 130px; padding: 13px; line-height: 1.5; resize: vertical; }
.contact-card input:focus,
.contact-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(19, 169, 232, .14);
}
.contact-card input[aria-invalid="true"],
.contact-card textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: var(--danger-bg);
}

.contact-consent {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  cursor: pointer;
}
.contact-consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--accent-dark); }
.contact-consent span {
  margin: 0 !important;
  font-size: var(--fs-tiny) !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.45;
  color: var(--muted);
}
.contact-consent a { color: var(--accent-dark); font-weight: 800; }
.contact-consent.is-invalid span { color: #812d25; }

.contact-submit { width: 100%; }

.site-footer { padding: 44px 0 18px; color: #fff; background: var(--ink-deep); }
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, .7fr);
  gap: 32px;
  padding-bottom: 32px;
}
.brand-footer img { width: 220px; }
.footer-company, .footer-contact {
  display: grid;
  gap: 4px;
  color: #9fc6de;
  font-size: var(--fs-small);
}
.footer-contact { justify-self: end; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #82a9c1;
  font-size: var(--fs-tiny);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.footer-bottom a { color: #b8d5e8; }
.footer-bottom .cookie-settings-link {
  border: 0;
  padding: 0;
  color: #b8d5e8;
  background: none;
  font: inherit;
  text-decoration: underline;
}

/* Plovoucí tlačítko „Zavolat“ – pouze na telefonech. */
.mobile-call { display: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* 7. Cookies ============================================================== */

.cookie-banner {
  position: fixed;
  z-index: 200;
  left: 20px;
  bottom: 20px;
  width: min(420px, calc(100vw - 40px));
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  color: #fff;
  background: var(--ink-deep);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner h2 { margin: 3px 0 5px; font-size: var(--fs-base); line-height: 1.25; }
.cookie-banner p { margin: 0; color: #bcd4e4; font-size: var(--fs-tiny); line-height: 1.5; }
.cookie-eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.cookie-actions { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.cookie-actions button,
.cookie-dialog button {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid #7597ae;
  border-radius: 3px;
  color: #fff;
  background: transparent;
  font-size: var(--fs-tiny);
  font-weight: 800;
}
.cookie-actions .primary,
.cookie-dialog .primary {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}
.cookie-actions .link { border: 0; padding: 7px 4px; text-decoration: underline; }

.cookie-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 24px;
  border: 0;
  border-top: 6px solid var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.cookie-dialog::backdrop { background: rgba(0, 31, 67, .62); }
.cookie-dialog h2 { margin: 0 34px 6px 0; font-size: var(--fs-h3); }
.cookie-dialog > p { margin: 0 0 12px; color: var(--muted); font-size: var(--fs-small); }
.dialog-close {
  position: absolute;
  right: 10px;
  top: 10px;
  min-height: 34px !important;
  padding: 0 10px !important;
  color: var(--ink) !important;
  border: 0 !important;
  background: none !important;
  font-size: 24px !important;
  line-height: 1;
}
.cookie-dialog > label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.cookie-dialog > label span { display: grid; min-width: 0; }
.cookie-dialog > label b { font-size: var(--fs-small); }
.cookie-dialog > label small { color: var(--muted); font-size: var(--fs-tiny); }
.cookie-dialog > label input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  accent-color: var(--accent-dark);
}
.cookie-dialog-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.cookie-dialog-actions button { color: var(--ink); border-color: var(--line); }

/* 8. GDPR stránka ========================================================= */

.privacy-page { padding: calc(var(--header) + 44px) 0 72px; background: #fff; }
.privacy-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.privacy-nav {
  position: sticky;
  top: calc(var(--header) + 24px);
  align-self: start;
  padding: 20px;
  background: var(--paper);
}
.privacy-nav strong { display: block; margin-bottom: 6px; font-size: var(--fs-tiny); text-transform: uppercase; letter-spacing: .08em; }
.privacy-nav a {
  display: block;
  padding: 6px 0;
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 800;
  text-decoration: none;
}
.privacy-nav a:hover { color: var(--accent-dark); }
.privacy-content { max-width: 80ch; }
.privacy-content h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4.4vw, 50px);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.privacy-content .lead { font-size: var(--fs-lead); color: var(--muted); }
.privacy-content h2 { margin: 36px 0 10px; font-size: var(--fs-h3); }
.privacy-content h3 { margin: 22px 0 8px; font-size: var(--fs-base); }
.privacy-content li { margin: 6px 0; }
.privacy-meta { padding: 14px 16px; border-left: 5px solid var(--accent); background: var(--paper); }

/* 9. Responzivita ========================================================= */

/* Užší desktop – skryjeme textové odkazy, ať se hlavička nerozpadne. */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 28px; }
  .trust-items { grid-template-columns: 1fr 1fr; }
  .service-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  .main-nav > a:not(.button):not(.nav-phone) { display: none; }
  .brand img { width: 190px; }
}

/* Tablet – přechod na jednosloupcové rozvržení a mobilní menu. */
@media (max-width: 900px) {
  :root { --header: 66px; --gutter: 20px; }

  .brand img { width: 178px; }

  .menu-toggle { display: block; z-index: 2; }

  .main-nav {
    position: fixed;
    inset: var(--header) 0 auto;
    max-height: calc(100dvh - var(--header));
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: start;
    gap: 0 8px;
    padding: 6px 20px 14px;
    color: var(--ink);
    background: #fff;
    border-bottom: 4px solid var(--accent);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform .22s ease, opacity .22s ease, visibility .22s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }

  /* Textové odkazy přes celou šířku, telefon a CTA vedle sebe v jedné řadě. */
  .main-nav a {
    display: flex !important;
    align-items: center;
    min-height: 44px;
    padding: 4px 2px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    font-size: var(--fs-small);
  }
  .main-nav > a:not(.button):not(.nav-phone) { grid-column: 1 / -1; }
  .main-nav > a:not(.button):not(.nav-phone)::after { content: none; }

  .main-nav .nav-phone,
  .main-nav .button {
    margin-top: 10px;
    justify-content: center;
    border-bottom-width: 1px;
    text-align: center;
  }
  .main-nav .nav-phone { border: 1px solid var(--accent); }

  .hero-photo, .hero-overlay { inset: var(--header) 0 0; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 35, 74, .91), rgba(0, 43, 88, .97) 48%, rgba(0, 31, 67, .99));
  }
  .hero-grid { grid-template-columns: 1fr; }

  .calculator { padding: 22px 18px 18px; box-shadow: 8px 8px rgba(19, 169, 232, .42); }

  .why-grid, .permit-grid, .assurance-grid, .area-grid,
  .faq-grid, .contact-grid, .privacy-layout { grid-template-columns: minmax(0, 1fr); }

  .why-image { height: clamp(300px, 56vw, 460px); }
  .faq-intro, .privacy-nav { position: static; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-contact { justify-self: start; }
}

/* Telefon ---------------------------------------------------------------- */
@media (max-width: 640px) {
  :root { --gutter: 16px; }

  body { padding-bottom: 50px; }

  .brand img { width: 162px; }

  .hero-grid { padding: 34px 0 48px; }
  .hero h1 { margin: 18px 0 14px; }

  .calculator { padding: 18px 14px 16px; }
  .calc-head > span { width: 36px; height: 36px; flex-basis: 36px; }
  .calc-fields, .contact-fields { grid-template-columns: minmax(0, 1fr); }
  .calc-field, .calc-full { grid-column: 1 / -1; }
  .object-cards { grid-template-columns: 1fr 1fr; }
  .final-facts { grid-template-columns: minmax(0, 1fr); }

  .calc-actions { gap: 10px; }
  .calc-next, .calc-submit { flex: 1 1 auto; }
  .calc-trust { justify-content: flex-start; gap: 6px 14px; }

  .trust-items article { min-height: 84px; padding: 13px; gap: 10px; }
  .service-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { min-height: 0; padding: 18px; }
  .service-card { min-height: 0; padding: 18px; }

  .benefits > div { grid-template-columns: 30px minmax(0, 1fr); }
  .benefits p { grid-column: 2; }

  .area-graphic { width: min(360px, 100%); margin-inline: auto; }
  .area-graphic > span { width: 88px; height: 88px; }
  .city-list { grid-template-columns: minmax(0, 1fr); }

  .accordion summary { padding: 15px 0; gap: 12px; }
  .accordion details p { padding-right: 0; }

  .contact-card { padding: 22px 16px; box-shadow: 7px 7px rgba(19, 169, 232, .35); }

  .footer-main { grid-template-columns: minmax(0, 1fr); }

  .mobile-call {
    position: fixed;
    z-index: 90;
    inset: auto 0 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ink);
    background: var(--accent);
    font-size: var(--fs-small);
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
  }

  /* Lišta cookies nesmí zakrýt celou obrazovku ani tlačítko „Zavolat“. */
  .cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 58px;
    width: auto;
    max-height: calc(100dvh - 130px);
    overflow-y: auto;
    gap: 10px;
    padding: 13px 14px;
  }
  .cookie-banner h2 { font-size: var(--fs-small); margin: 2px 0 4px; }
  .cookie-actions button { flex: 1 1 auto; justify-content: center; }
  .cookie-actions .link { flex-basis: 100%; }

  .cookie-dialog { padding: 20px 16px; }
  .cookie-dialog-actions button { flex: 1 1 auto; }

  .privacy-page { padding-top: calc(var(--header) + 28px); }
}

/* Velmi úzké displeje ---------------------------------------------------- */
@media (max-width: 380px) {
  .object-cards { grid-template-columns: minmax(0, 1fr); }
  .object-card { min-height: 0; }
  .calc-head h2 { font-size: 18px; }
  .brand img { width: 148px; }
}

/* Na větších displejích drží hero celou výšku okna a karta kalkulačky
   nemění výšku mezi jednotlivými kroky. */
@media (min-width: 901px) {
  .hero { min-height: 100svh; }
  .hero-grid { min-height: calc(100svh - var(--header)); }
  .calculator { min-height: 620px; }
  .final-screen { min-height: 430px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

[hidden] { display: none !important; }
