/* Dachmantechnik - LP renovace střechy (podzim/zima, realizace na jaře)
   Tokeny převzaté z dachmantechnik.cz: Manrope + Inter, brand #c80e28, ink škála. */

@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(../fonts/manrope-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(../fonts/manrope-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --brand-50: #fdf2f3; --brand-100: #fbe2e3; --brand-200: #f5b8bc; --brand-300: #ea7d84; --brand-400: #dc2638;
  --brand-500: #c80e28; --brand-600: #a80b22; --brand-700: #8a0a1c;
  --ink-50: #f6f7f8; --ink-100: #eceef1; --ink-200: #d2d6dd; --ink-300: #aab1bd;
  --ink-400: #7c8493; --ink-500: #565e6d; --ink-600: #3e4553; --ink-700: #2b313c;
  --ink-800: #1a1e26; --ink-900: #0f1218; --ink-950: #070910;
  --ok: #2c7a4e; --ok-50: #edf7f1;
  --star: #f5a623;

  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --r-sm: 8px; --r-md: 14px; --r-lg: 24px; --r-pill: 999px;

  --header-h: 64px;
  --inset: 8px;
  --gutter: 16px;
  --container: 1240px;
  --section-y: clamp(52px, 9vw, 112px);

  --shadow-card: 0 1px 2px rgb(7 9 16 / 0.06), 0 12px 32px -12px rgb(7 9 16 / 0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (max-width: 767px) { :root { --header-h: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: #fff; color: var(--ink-900);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.55;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
strong { font-weight: 650; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 13px; font-weight: 650; letter-spacing: 0.04em; color: var(--brand-600);
}
.h2 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em;
  font-size: clamp(28px, 2.2vw + 18px, 44px); line-height: 1.08; color: var(--ink-950);
  text-wrap: balance;
}
.lead { font-size: clamp(16px, 0.35vw + 15px, 18px); color: var(--ink-600); max-width: 62ch; text-wrap: pretty; }
.section-head { display: grid; gap: var(--s-3); margin-bottom: clamp(var(--s-6), 4vw, var(--s-7)); }
.section-head--center { justify-items: center; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--ink-50); }
[id] { scroll-margin-top: calc(var(--header-h) + var(--s-4)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 52px; padding: 0 var(--s-5); border-radius: var(--r-pill); border: 0;
  font-weight: 650; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease-out), transform .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .tile:focus-within, .faq summary:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand-500) 40%, transparent); outline-offset: 2px;
}
.btn--primary { background: var(--brand-500); color: #fff; box-shadow: 0 8px 20px -10px rgb(200 14 40 / 0.6); }
.btn--primary:hover { background: var(--brand-600); }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-700); }
.btn--ig { background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%); color: #fff; }
.btn--ig:hover { filter: brightness(1.06); }
.btn--outline { background: #fff; color: var(--ink-900); box-shadow: inset 0 0 0 1.5px var(--ink-200); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink-400); }
.btn--ghost { background: transparent; color: var(--ink-700); padding-inline: var(--s-3); min-height: 44px; }
.btn--ghost:hover { color: var(--ink-950); }
.btn--sm { min-height: 42px; padding: 0 var(--s-4); font-size: 15px; }
.btn .i { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgb(255 255 255 / 0.94); backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow .2s var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--ink-100), 0 8px 24px -16px rgb(7 9 16 / 0.25); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.site-header__logo { width: 172px; height: auto; }
.site-header__actions { display: flex; align-items: center; gap: var(--s-3); }
.site-header__phone { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 650; text-decoration: none; color: var(--ink-800); }
.site-header__phone .i { color: var(--brand-500); }
@media (max-width: 767px) {
  .site-header__logo { width: 132px; }
  .site-header__actions { gap: var(--s-2); }
  .site-header .btn--sm { padding: 0 14px; font-size: 14px; min-height: 40px; }
  .site-header__phone span { display: none; }
  .site-header__phone { width: 42px; height: 42px; justify-content: center; border-radius: var(--r-pill); background: var(--ink-50); }
}

/* ---------- Hero (fotka týmu v pozadí) ---------- */
.hero { padding: var(--inset); padding-top: 0; }
.hero__panel {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg);
  background: var(--ink-950); color: #fff;
  min-height: calc(100svh - var(--header-h) - var(--inset));
  display: flex; align-items: center;
  padding-block: clamp(var(--s-4), 3vh, var(--s-8));
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.hero__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(7 9 16 / 0.94) 0%, rgb(7 9 16 / 0.88) 30%, rgb(7 9 16 / 0.5) 44%, rgb(7 9 16 / 0.08) 57%, rgb(7 9 16 / 0.28) 100%),
    linear-gradient(0deg, rgb(7 9 16 / 0.6) 0%, rgb(7 9 16 / 0) 38%);
}
.hero__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 600px) minmax(380px, 430px); justify-content: space-between; align-items: end; gap: var(--s-6); }
}
.hero__copy { display: grid; gap: clamp(var(--s-3), 2.2vh, var(--s-5)); align-content: center; }
.hero__eyebrow {
  justify-self: start; display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 6px 12px; border-radius: var(--r-pill); background: var(--brand-500); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  font-size: clamp(34px, min(4.4vw, 7.2vh), 62px); color: #fff; text-wrap: balance;
  text-shadow: 0 2px 24px rgb(7 9 16 / 0.35);
}
.hero h1 .accent { color: var(--brand-400); display: block; }
.hero__lead { font-size: clamp(16px, min(1.25vw, 2.4vh), 19px); color: var(--ink-200); max-width: 54ch; text-wrap: pretty; }
.hero__lead strong { color: #fff; }

.proof-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
@media (min-width: 641px) { .proof-chips { display: grid; grid-template-columns: repeat(2, max-content); } }
.proof-chips li {
  flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.16);
  font-size: 14px; font-weight: 550; color: var(--ink-100);
}
.proof-chips .i { width: 16px; height: 16px; color: var(--brand-200); }
.proof-chips .i--star { color: var(--star); }
.proof-chips b { color: #fff; font-weight: 750; }

.hero-prices { display: grid; gap: var(--s-2); }
.hero-prices__label { font-size: 13px; font-weight: 650; color: var(--ink-300); }
.hero-prices__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.price-mini {
  display: grid; grid-template-columns: 52px 1fr; grid-template-areas: "img town" "img meta" "img price"; column-gap: var(--s-3); align-items: center;
  padding: var(--s-2); padding-right: var(--s-3); border-radius: var(--r-md); background: #fff; color: var(--ink-900);
}
.price-mini img { grid-area: img; width: 52px; height: 52px; border-radius: var(--r-sm); object-fit: cover; }
.price-mini__town { grid-area: town; font-weight: 650; font-size: 14px; line-height: 1.2; color: var(--ink-900); }
.price-mini__meta { grid-area: meta; font-size: 12.5px; color: var(--ink-500); line-height: 1.3; }
.price-mini__price { grid-area: price; font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--ink-950); line-height: 1.2; white-space: nowrap; }

.hero__form { display: grid; gap: var(--s-3); }
.hero__form .hero__call { justify-self: center; text-shadow: 0 1px 8px rgb(7 9 16 / 0.6); }
.cfg--teaser .cfg__step { animation: none; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-1); }
.btn--lg { min-height: 58px; padding: 0 var(--s-6); font-size: 17px; }
.btn--glass { background: rgb(255 255 255 / 0.12); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.28); }
.btn--glass:hover { background: rgb(255 255 255 / 0.2); }
.proof-chips .i--g { width: 18px; height: 18px; padding: 2px; background: #fff; border-radius: 50%; box-sizing: content-box; }
.hero__grate { display: inline-flex; align-items: center; gap: 6px; }
.hero__grate > .i { width: 18px; height: 18px; padding: 3px; box-sizing: content-box; background: #fff; border-radius: 50%; }
.hero__grate b { color: #fff; font-size: 15px; }
.hero__grate .stars { color: var(--star); }
.hero__grate .stars .i { width: 14px; height: 14px; }
.hero__grate > span:last-child { color: var(--ink-300); }
.hero__call { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding-inline: var(--s-2); color: var(--ink-100); text-decoration: none; }
.hero__call b { color: #fff; }
.hero__call .i { width: 16px; height: 16px; color: var(--brand-300); }
.hero__call:hover b { text-decoration: underline; text-underline-offset: 3px; }

.hide-sm, .hide-mobile { display: inline; }
@media (max-width: 640px) { .hide-sm, .hide-mobile { display: none; } }

@media (max-width: 1023px) {
  .hero__panel { display: block; min-height: 0; padding-block: 0 var(--s-5); }
  .hero__bg { bottom: auto; height: var(--band); }
  .hero__panel { --band: clamp(330px, 64vw + 80px, 560px); }
  .hero__bg img { object-position: 50% 18%; }
  .hero__panel::before {
    bottom: auto; height: var(--band);
    background: linear-gradient(180deg, rgb(7 9 16 / 0.05) 0%, rgb(7 9 16 / 0.2) 30%, rgb(7 9 16 / 0.82) 72%, var(--ink-950) 100%);
  }
  .hero__grid { gap: var(--s-3); padding-top: calc(var(--band) - 175px); }
  .hero__copy { display: contents; }
  .hero__form { order: 1; margin-top: var(--s-3); }
  .hero-prices { order: 2; margin-top: var(--s-4); }
  .hero h1 { margin-bottom: var(--s-1); }
}
@media (max-width: 640px) {
  .hero-prices__row { grid-template-columns: none; gap: 0; background: #fff; border-radius: var(--r-md); overflow: hidden; }
  .price-mini { grid-template-columns: 44px 1fr auto; grid-template-areas: "img town price" "img meta price"; border-radius: 0; padding: 10px var(--s-4) 10px 10px; }
  .price-mini + .price-mini { border-top: 1px solid var(--ink-100); }
  .price-mini img { width: 44px; height: 44px; }
  .price-mini__town { font-size: 15px; }
  .price-mini__meta { font-size: 13px; }
  .price-mini__price { font-size: 17px; }
  .proof-chips li { font-size: 13.5px; padding: 6px 10px; }
}

/* ---------- Konfigurátor ---------- */
.cfg {
  position: relative; background: #fff; color: var(--ink-900); border-radius: var(--r-lg); box-shadow: 0 30px 70px -24px rgb(0 0 0 / 0.6), 0 2px 6px rgb(0 0 0 / 0.12);
  border: 1px solid var(--ink-100); padding: clamp(var(--s-4), 2.6vh, var(--s-6)); display: grid; gap: clamp(var(--s-3), 2vh, var(--s-4));
}
.cfg__head {
  display: grid; gap: var(--s-2);
  margin: calc(-1 * clamp(var(--s-4), 2.6vh, var(--s-6))) calc(-1 * clamp(var(--s-4), 2.6vh, var(--s-6))) 0;
  padding: clamp(var(--s-4), 2.4vh, var(--s-5)) clamp(var(--s-4), 2.6vh, var(--s-6)) clamp(var(--s-3), 2vh, var(--s-4));
  background: var(--brand-500); color: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.cfg__top { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); }
.cfg__title { min-width: 0; }
.cfg__title { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.015em; color: #fff; }
.cfg__step-no { flex: none; width: max-content; font-size: 12.5px; font-weight: 700; color: #fff; white-space: nowrap; padding: 3px 9px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.18); }
.cfg__bar { height: 4px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.28); overflow: hidden; margin-top: 2px; }
.cfg__bar span { display: block; height: 100%; width: var(--p, 25%); background: #fff; border-radius: inherit; transition: width .35s var(--ease-out); }
.cfg__step[hidden] { display: none; }
.cfg__body { display: grid; transition: height .38s var(--ease-out); }
.cfg__body.is-animating { overflow: hidden; }
.cfg__step { display: grid; gap: var(--s-4); }
.cfg[data-dir="fwd"] .cfg__step { animation: cfg-in-fwd .34s var(--ease-out) both; }
.cfg[data-dir="back"] .cfg__step { animation: cfg-in-back .34s var(--ease-out) both; }
@keyframes cfg-in-fwd { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
@keyframes cfg-in-back { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cfg__step, .cfg__done { animation: none !important; } .cfg__body { transition: none; } }
.cfg__q { font-family: var(--font-display); font-weight: 750; font-size: clamp(18px, 1.2vw + 12px, 22px); letter-spacing: -0.015em; line-height: 1.2; color: var(--ink-950); }
.cfg__step > legend { margin-bottom: var(--s-3); padding: 0; }
.cfg__hint { font-size: 14px; color: var(--ink-500); margin-top: calc(-1 * var(--s-3)); }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tile span {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  min-height: clamp(50px, 7.4vh, 58px); padding: var(--s-2) var(--s-4); border-radius: var(--r-md);
  border: 1.5px solid var(--ink-200); background: #fff; font-weight: 600; font-size: 15px; line-height: 1.25; color: var(--ink-800);
  transition: border-color .15s var(--ease-out), background-color .15s var(--ease-out);
}
.tile span::after { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; color: var(--ink-300); -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: color .15s, transform .15s var(--ease-out); }
.tile:hover span { border-color: var(--ink-400); }
@media (max-width: 480px) { .tile span { font-size: 15px; padding-inline: var(--s-3); white-space: nowrap; justify-content: center; text-align: center; } .tile span::after { display: none; } }
.tile input:checked + span { border-color: var(--brand-500); background: var(--brand-50); }
.tile:hover span::after { color: var(--brand-500); transform: translateX(2px); }
.tile input:checked + span::after { color: var(--brand-500); }

.area { display: grid; gap: var(--s-3); }
.area__value { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; color: var(--ink-950); line-height: 1; }
.area__value small { font-size: 18px; font-weight: 700; color: var(--ink-500); margin-left: 2px; }
.area input[type="range"] { width: 100%; height: 36px; cursor: pointer; background: transparent; -webkit-appearance: none; appearance: none; --fill: 26%; }
.area input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brand-500) var(--fill), var(--ink-200) var(--fill)); }
.area input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--ink-200); }
.area input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--brand-500); }
.area input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-500); box-shadow: 0 2px 8px rgb(7 9 16 / 0.25); }
.area input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--brand-500); box-shadow: 0 2px 8px rgb(7 9 16 / 0.25); }
.area__scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-500); margin-top: calc(-1 * var(--s-2)); }
.estimate { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--ink-100); }
.estimate > div { padding: var(--s-3) var(--s-4); display: grid; gap: 2px; }
.estimate__label { font-size: 12.5px; font-weight: 600; color: var(--ink-500); }
.estimate__num { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; color: var(--ink-950); white-space: nowrap; }
.estimate__renov { background: var(--brand-50); }
.estimate__renov .estimate__num { color: var(--brand-600); }
.estimate__old .estimate__num { color: var(--ink-500); font-size: 16px; text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: var(--ink-300); }
.estimate__note { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-500); background: var(--ink-50); padding: var(--s-2) var(--s-4) !important; }

.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-700); }
.field label em { font-style: normal; font-weight: 500; color: var(--ink-400); }
.input, .phone select {
  width: 100%; min-height: 52px; padding: 0 var(--s-4); border-radius: var(--r-md);
  border: 1.5px solid var(--ink-200); background: #fff; font-size: 16px;
  transition: border-color .15s var(--ease-out);
}
.input:hover { border-color: var(--ink-300); }
.input:focus { border-color: var(--brand-500); outline: none; box-shadow: 0 0 0 4px var(--brand-100); }
.input[aria-invalid="true"] { border-color: var(--brand-500); }
.phone { display: grid; grid-template-columns: 104px 1fr; gap: var(--s-2); }
.phone select { padding: 0 var(--s-3); appearance: none; background-image: 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='%23565e6d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.fields { display: grid; gap: var(--s-3); }

.cfg__nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.cfg__nav .btn--primary { flex: 1; }
.cfg__unknown { justify-self: start; padding-left: 0; min-height: 36px; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-300); }
.cfg__error { font-size: 14px; font-weight: 600; color: var(--brand-600); }
.cfg__error:empty { display: none; }
.cfg__fine { font-size: 13px; color: var(--ink-500); line-height: 1.45; }
.cfg__fine a { color: var(--ink-600); }
.cfg__next { display: flex; flex-wrap: wrap; gap: 6px var(--s-4); font-size: 13px; font-weight: 550; color: var(--ink-600); }
.cfg__next li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cfg__next span { width: 20px; height: 20px; border-radius: 50%; background: var(--ink-100); color: var(--ink-700); display: grid; place-items: center; font-size: 11.5px; font-weight: 750; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.cfg__done { text-align: left; display: grid; gap: var(--s-3); padding-block: var(--s-2); animation: cfg-in-fwd .34s var(--ease-out) both; }
.cfg__done-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--ok-50); color: var(--ok); display: grid; place-items: center; }
.cfg__done-icon .i { width: 26px; height: 26px; }
.cfg__done h3 { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.cfg__done p { color: var(--ink-600); }
.cfg__done .btn { justify-self: start; }

/* ---------- Nacenění (formulář uprostřed stránky) ---------- */
.quote { padding: var(--inset); }
.quote__panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-950); color: #fff; padding-block: clamp(var(--s-7), 7vw, 96px); }
.quote__bg { position: absolute; inset: 0; z-index: -2; }
.quote__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.quote__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgb(7 9 16 / 0.92) 0%, rgb(7 9 16 / 0.8) 42%, rgb(7 9 16 / 0.5) 62%, rgb(7 9 16 / 0.6) 100%); }
@media (max-width: 1023px) { .quote__panel::before { background: linear-gradient(180deg, rgb(7 9 16 / 0.72) 0%, rgb(7 9 16 / 0.86) 50%, rgb(7 9 16 / 0.94) 100%); } }
.quote__grid { display: grid; gap: var(--s-5); grid-template-areas: "head" "form" "aside"; }
@media (min-width: 1024px) {
  .quote__grid { grid-template-columns: 1fr minmax(420px, 460px); grid-template-areas: "head form" "aside form"; grid-template-rows: auto 1fr; column-gap: clamp(var(--s-7), 6vw, 112px); row-gap: var(--s-6); align-items: start; }
}
.quote__head { grid-area: head; display: grid; gap: var(--s-3); }
.quote__head .eyebrow { color: var(--brand-200); }
.quote__head .h2 { color: #fff; font-size: clamp(30px, 2.6vw + 16px, 52px); }
.quote__head .lead { color: var(--ink-300); }
.quote__form { grid-area: form; }
.quote__aside { grid-area: aside; display: grid; gap: var(--s-5); align-content: start; }
.quote__list { display: grid; gap: var(--s-3); }
.quote__list li { display: flex; gap: var(--s-3); align-items: center; color: var(--ink-100); font-size: 16px; }
.quote__list .i { color: var(--brand-200); }
.quote__trust { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: rgb(255 255 255 / 0.06); justify-self: start; }

/* ---------- Ceny z realizací ---------- */
.real-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.real-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ink-100); display: grid; grid-template-rows: auto 1fr; }
.real-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-100); }
.real-card__img img { width: 100%; height: 100%; object-fit: cover; }
.real-card__tag { position: absolute; left: var(--s-3); top: var(--s-3); padding: 4px 10px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.92); font-size: 12.5px; font-weight: 650; color: var(--ink-800); }
.real-card__body { padding: var(--s-4) var(--s-5) var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.real-card__town { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.015em; }
.real-card__specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--s-1) var(--s-5); }
.real-card__specs dt { font-size: 12px; color: var(--ink-500); }
.real-card__specs dd { margin: 0; font-weight: 650; font-size: 14.5px; color: var(--ink-800); white-space: nowrap; }
.real-card__price { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); padding-top: var(--s-3); border-top: 1px solid var(--ink-100); }
.real-card__price span { font-size: 13px; color: var(--ink-500); }
.real-card__price b { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--ink-950); white-space: nowrap; }
.real-foot { margin-top: var(--s-6); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }
.real-foot p { color: var(--ink-500); font-size: 14px; max-width: 60ch; }
@media (max-width: 640px) {
  .real-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .real-grid::-webkit-scrollbar { display: none; }
  .real-card { scroll-snap-align: start; }
}

.section-cta { margin-top: var(--s-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.section-cta p { font-size: 14px; color: var(--ink-500); }

/* ---------- Videa z realizací ---------- */
.videos { margin-top: clamp(var(--s-7), 6vw, var(--s-8)); display: grid; gap: var(--s-4); }
.videos__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.videos__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 1vw + 14px, 26px); letter-spacing: -0.02em; }
.videos__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3); }
.vcard { display: grid; gap: var(--s-2); }
.vcard__media { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden; background: var(--ink-900); }
.vcard video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard__toggle {
  position: absolute; right: var(--s-2); bottom: var(--s-2); width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgb(7 9 16 / 0.62); color: #fff; transition: background-color .15s var(--ease-out);
}
.vcard__toggle:hover { background: rgb(7 9 16 / 0.82); }
.vcard__toggle .i { width: 18px; height: 18px; }
.vcard figcaption { display: grid; gap: 2px; }
.vcard figcaption b { font-size: 14.5px; line-height: 1.3; }
.vcard figcaption span { font-size: 13.5px; color: var(--ink-500); line-height: 1.35; }
@media (max-width: 1023px) {
  .videos__row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(180px, 42%); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .videos__row::-webkit-scrollbar { display: none; }
  .vcard { scroll-snap-align: start; }
}

/* ---------- Indikátor pozice v posuvníku ---------- */
.cdots { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: var(--s-4); }
.cdots[hidden] { display: none; }
.cdots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--r-pill); background: var(--ink-200); cursor: pointer; transition: width .3s var(--ease-out), background-color .3s var(--ease-out); }
.cdots button[aria-current="true"] { width: 24px; background: var(--brand-500); }
.cdots button::before { content: ""; position: absolute; inset: -12px -4px; }
.cdots button { position: relative; }

/* ---------- Výměna vs renovace: graf + srovnávací tabulka ---------- */
.versus2 { display: grid; gap: var(--s-4); align-items: stretch; }
@media (min-width: 1024px) { .versus2 { grid-template-columns: 5fr 7fr; } }
.vbars { background: var(--ink-950); color: #fff; border-radius: var(--r-lg); padding: clamp(var(--s-5), 3vw, var(--s-7)); display: grid; gap: var(--s-5); align-content: center; }
.vbars__title { font-size: 14px; font-weight: 650; color: var(--ink-300); }
.vbar { display: grid; gap: 10px; }
.vbar__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; }
.vbar__head span { font-size: 15px; color: var(--ink-200); }
.vbar__head b { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 1.2vw + 12px, 26px); letter-spacing: -0.02em; white-space: nowrap; }
.vbar--old .vbar__head b { color: var(--ink-400); }
.vbar__track { height: 14px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.08); overflow: hidden; }
.vbar__track span { display: block; height: 100%; width: var(--w); border-radius: inherit; }
.vbar--old .vbar__track span { background: var(--ink-500); }
.vbar--new .vbar__track span { background: var(--brand-500); min-width: 14px; }
.vbars.is-ready .vbar__track span { width: 0; transition: width 1.1s var(--ease-out); }
.vbars.is-ready .vbar--new .vbar__track span { transition-delay: .25s; }
.vbars.is-in .vbar__track span { width: var(--w); }
@media (prefers-reduced-motion: reduce) { .vbars.is-ready .vbar__track span { width: var(--w); transition: none; } }
.vbars__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-4); margin-top: var(--s-3); }
.vbars__save { display: grid; gap: 2px; }
.vbars__save span { font-size: 14px; color: var(--ink-300); }
.vbars__save b { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 2vw + 18px, 40px); letter-spacing: -0.03em; line-height: 1; color: #fff; }
.vbars__badge { padding: 8px 14px; border-radius: var(--r-pill); background: var(--brand-500); color: #fff; font-weight: 750; font-size: 15px; white-space: nowrap; }

.cmp { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-rows: auto; grid-auto-rows: 1fr; }
.cmp__row { display: grid; grid-template-columns: 1fr 1.05fr 1.25fr; }
.cmp__row > span { padding: 14px var(--s-4); display: flex; gap: 8px; align-items: center; font-size: 15px; line-height: 1.4; }
.cmp__row + .cmp__row > span { border-top: 1px solid var(--ink-100); }
.cmp__label { font-weight: 650; color: var(--ink-800); }
.cmp__old { color: var(--ink-500); }
.cmp__old .i { width: 16px; height: 16px; color: var(--ink-300); stroke-width: 2.4; }
.cmp__old--na { color: var(--ink-300); }
.cmp__new { background: var(--brand-50); color: var(--ink-900); font-weight: 600; }
.cmp__row + .cmp__row > .cmp__new { border-top-color: var(--brand-100); }
.cmp__new .i { width: 16px; height: 16px; color: var(--brand-500); stroke-width: 2.6; }
.cmp__row--price .cmp__new, .cmp__row--price .cmp__old { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.cmp__row--price .cmp__old { font-weight: 700; }
.cmp__row--head > span { padding-block: 12px; font-size: 13px; font-weight: 750; letter-spacing: 0.02em; }
.cmp__row--head .cmp__old { color: var(--ink-600); }
.cmp__row--head .cmp__new { background: var(--brand-500); color: #fff; }
@media (max-width: 640px) {
  .cmp { grid-auto-rows: auto; background: linear-gradient(90deg, #fff 50%, var(--brand-50) 50%); }
  .cmp__row { grid-template-columns: 1fr 1fr; }
  .cmp__row + .cmp__row { border-top: 1px solid rgb(7 9 16 / 0.07); }
  .cmp__row > span, .cmp__row + .cmp__row > span { background: transparent; border-top: 0; }
  .cmp__row > span { padding: 4px var(--s-3) 14px; font-size: 14.5px; align-items: flex-start; }
  .cmp__row .cmp__label { grid-column: 1 / -1; padding: 12px var(--s-3) 0; font-size: 13px; font-weight: 650; color: var(--ink-500); }
  .cmp__old .i, .cmp__new .i { margin-top: 3px; }
  .cmp__row--price .cmp__old .i, .cmp__row--price .cmp__new .i { margin-top: 5px; }
  .cmp__row--price .cmp__new, .cmp__row--price .cmp__old { font-size: 17px; }
  .cmp__row--head > span { padding: 12px var(--s-3); font-size: 13px; }
  .cmp__row--head > span:first-child { display: none; }
  .cmp__row--head .cmp__new { background: var(--brand-500); }
  .cmp__old--na { padding-left: calc(var(--s-3) + 24px) !important; }
}
}
.vs-note { margin-top: var(--s-4); font-size: 14px; color: var(--ink-500); max-width: 80ch; }

/* ---------- Postup: 3 kroky s fotkou ---------- */
.psteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); counter-reset: none; }
.pstep { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-rows: auto auto 1fr; }
.pstep__img { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-100); }
.pstep__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.pstep:hover .pstep__img img { transform: scale(1.03); }
.pstep__num { position: absolute; left: var(--s-4); top: var(--s-4); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-500); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 17px; box-shadow: 0 6px 16px -6px rgb(7 9 16 / 0.5); }
.pstep h3 { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.015em; padding: var(--s-5) var(--s-5) 4px; }
.pstep p { color: var(--ink-600); font-size: 15.5px; padding: 0 var(--s-5) var(--s-5); }
#postup .method__facts { margin-top: var(--s-5); }
@media (max-width: 767px) {
  .psteps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .psteps::-webkit-scrollbar { display: none; }
  .pstep { scroll-snap-align: start; }
}

/* ---------- Postup (původní) ---------- */
.method { display: grid; gap: clamp(var(--s-6), 4vw, var(--s-7)); align-items: stretch; }
@media (min-width: 960px) { .method { grid-template-columns: 1fr 1fr; } }
.method__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-100); margin: 0; }
@media (min-width: 960px) { .method__media { aspect-ratio: auto; min-height: 100%; } }
.method__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.method__caption { position: absolute; left: var(--s-4); bottom: var(--s-4); right: var(--s-4); display: flex; }
.method__caption span { padding: 8px 14px; border-radius: var(--r-pill); background: rgb(7 9 16 / 0.78); color: #fff; font-size: 14px; font-weight: 600; }
.method__body { display: grid; gap: var(--s-5); align-content: start; }
.method__body .section-head { margin-bottom: 0; }
.steps-3 { display: grid; gap: var(--s-3); }
.steps-3 li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-4); align-items: start; background: #fff; border: 1px solid var(--ink-100); border-radius: var(--r-md); padding: var(--s-4) var(--s-5); }
.steps-3 .num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-500); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.steps-3 h3 { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.015em; margin-bottom: 2px; line-height: 1.3; }
.steps-3 p { color: var(--ink-600); font-size: 15.5px; }
.method__facts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.method__facts-label { font-size: 14px; font-weight: 650; color: var(--ink-700); margin-right: var(--s-1); }
.method__facts li { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--ink-200); font-size: 14px; font-weight: 600; color: var(--ink-800); }
.method__facts li .i { width: 15px; height: 15px; color: var(--ok); stroke-width: 2.6; }
.partners { margin-top: clamp(var(--s-6), 5vw, var(--s-7)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6); background: #fff; border: 1px solid var(--ink-100); border-radius: var(--r-lg); padding: var(--s-4) clamp(var(--s-5), 3vw, var(--s-7)); }
.partners p { font-size: 14px; font-weight: 650; color: var(--ink-700); }
.partners ul { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) clamp(var(--s-5), 3vw, var(--s-7)); }
.partners img { height: 56px; width: auto; filter: grayscale(1); opacity: 0.8; mix-blend-mode: multiply; transition: filter .2s, opacity .2s; }
.partners img:hover { filter: none; opacity: 1; }
@media (max-width: 640px) { .partners { justify-content: center; text-align: center; } .partners ul { justify-content: center; } .partners img { height: 44px; } }

/* ---------- Před/po + recenze ---------- */
.ba-grid { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-100); user-select: none; touch-action: pan-y; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: var(--pos); width: 46px; height: 46px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); display: grid; place-items: center; color: var(--ink-900); box-shadow: 0 6px 20px rgb(7 9 16 / 0.3); pointer-events: none; }
.ba__knob .i { width: 22px; height: 22px; }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__tag { position: absolute; top: var(--s-3); padding: 4px 10px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 700; pointer-events: none; }
.ba__tag--before { left: var(--s-3); background: rgb(7 9 16 / 0.72); color: #fff; }
.ba__tag--after { right: var(--s-3); background: var(--brand-500); color: #fff; }
.ba-cap { margin-top: var(--s-2); font-size: 14px; color: var(--ink-500); }
.split-photo { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

.reviews { margin-top: clamp(var(--s-7), 6vw, var(--s-8)); display: grid; gap: var(--s-5); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4); }
.rating { display: flex; align-items: center; gap: var(--s-3); }
.rating__num { font-family: var(--font-display); font-weight: 800; font-size: 48px; letter-spacing: -0.03em; line-height: 1; }
.rating__stars { display: flex; gap: 2px; color: var(--star); }
.rating__stars .i { width: 18px; height: 18px; }
.rating__sub { font-size: 14px; color: var(--ink-500); }
.rating__stars--lg .i { width: 26px; height: 26px; }
#reference .reviews__head { margin-bottom: clamp(var(--s-5), 3vw, var(--s-6)); }
#reference .reviews__head .section-head { margin-bottom: 0; }
.review-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.review { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--r-lg); padding: var(--s-5); display: grid; gap: var(--s-4); align-content: space-between; }
.review blockquote { font-size: 16px; color: var(--ink-800); text-wrap: pretty; }
.review__who { display: grid; gap: 2px; }
.review__who b { font-size: 15px; }
.review__who span { font-size: 13.5px; color: var(--ink-500); }
.review .rating__stars .i { width: 15px; height: 15px; }
.guarantee { border-radius: var(--r-lg); background: var(--ink-950); color: #fff; padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.guarantee .i { width: 30px; height: 30px; color: var(--brand-200); }
.guarantee h3 { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.015em; }
.guarantee p { color: var(--ink-200); font-size: 15px; }

/* ---------- Recenze Google ---------- */
.rev-layout { display: grid; gap: var(--s-4); align-items: stretch; }
@media (min-width: 960px) { .rev-layout { grid-template-columns: 320px 1fr; gap: var(--s-4); } .rev-side { grid-template-rows: auto 1fr; } }
.rev-side { display: grid; gap: var(--s-4); }
.gsum { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--r-lg); padding: var(--s-5); display: grid; gap: var(--s-2); justify-items: start; }
.g-wordmark { width: 96px; height: auto; }
.gsum__label { font-size: 14px; color: var(--ink-500); margin-top: var(--s-1); }
.gsum__score { display: flex; align-items: center; gap: var(--s-3); }
.gsum__num { font-family: var(--font-display); font-weight: 800; font-size: 52px; letter-spacing: -0.04em; line-height: 1; color: var(--ink-950); }
.gsum__count { font-size: 14px; font-weight: 600; color: var(--ink-700); margin-bottom: var(--s-3); }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .i { width: 16px; height: 16px; }
.stars-rate { position: relative; display: inline-block; line-height: 0; }
.stars-rate .stars .i { width: 24px; height: 24px; }
.stars-rate__bg .stars { color: var(--ink-200); }
.stars-rate__fg { position: absolute; inset: 0; width: var(--rate, 100%); overflow: hidden; white-space: nowrap; }
.rev-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gcard { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--r-lg); padding: var(--s-5); display: grid; gap: var(--s-3); align-content: start; }
.gcard__head { display: grid; grid-template-columns: 44px 1fr 22px; gap: var(--s-3); align-items: center; }
.gcard__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 0.02em; }
.gcard__avatar--a { background: #1a73e8; } .gcard__avatar--b { background: #188038; } .gcard__avatar--c { background: #e8710a; } .gcard__avatar--d { background: var(--ink-700); }
.gcard__who { display: grid; gap: 1px; min-width: 0; }
.gcard__who b { font-size: 15.5px; }
.gcard__who span { font-size: 13.5px; color: var(--ink-500); }
.gcard__g { width: 20px; height: 20px; align-self: start; margin-top: 2px; }
.gcard blockquote { font-size: 16px; line-height: 1.55; color: var(--ink-800); text-wrap: pretty; }
.rev-side .guarantee { border-radius: var(--r-lg); align-content: end; padding: var(--s-5); }
.gcard blockquote { margin-top: 2px; }
@media (max-width: 959px) {
  .rev-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .rev-grid::-webkit-scrollbar { display: none; }
  .gcard { scroll-snap-align: start; }
  .rev-layout { grid-template-columns: none; }
  .rev-side { display: contents; }
  .gsum { order: -1; grid-template-columns: auto 1fr; align-items: center; column-gap: var(--s-4); row-gap: 2px; padding: var(--s-4); }
  .gsum .g-wordmark { grid-column: 1 / -1; width: 80px; }
  .gsum__label { display: none; }
  .gsum__score { grid-column: 1; }
  .gsum__num { font-size: 40px; }
  .stars-rate .stars .i { width: 18px; height: 18px; }
  .gsum__count { grid-column: 2; margin: 0; }
  .gsum .btn { grid-column: 1 / -1; justify-self: start; margin-top: var(--s-2); }
  .rev-grid { order: 0; }
  .rev-side .guarantee { order: 1; }
}

/* ---------- Teď / na jaře ---------- */
.plan { display: grid; gap: var(--s-4); }
@media (min-width: 960px) { .plan { grid-template-columns: 1.2fr 0.8fr 0.9fr; align-items: stretch; } }
.plan__phase { border-radius: var(--r-lg); padding: clamp(var(--s-5), 2.6vw, var(--s-6)); display: grid; gap: var(--s-5); align-content: start; }
.plan__phase--now { background: #fff; border: 1.5px solid var(--brand-200); }
.plan__phase--spring { background: #fff; border: 1px solid var(--ink-100); }
.plan__label { display: flex; align-items: center; gap: var(--s-2); }
.plan__label b { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.plan__label > span { font-size: 13px; font-weight: 650; padding: 4px 10px; border-radius: var(--r-pill); }
.plan__phase--now .plan__label > span { background: var(--brand-50); color: var(--brand-600); }
.plan__phase--spring .plan__label > span { background: var(--ink-50); color: var(--ink-600); }
.plan-steps { display: grid; gap: var(--s-4); }
.plan-steps li { display: grid; grid-template-columns: 36px 1fr; gap: var(--s-3); }
.plan-steps .num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.plan__phase--now .num { background: var(--brand-500); color: #fff; }
.plan__phase--spring .num { background: var(--ink-900); color: #fff; }
.plan-steps h3 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.plan-steps p { font-size: 15px; color: var(--ink-600); }
.plan__color { border-radius: var(--r-lg); overflow: hidden; background: var(--ink-950); color: #fff; display: grid; grid-template-rows: 1fr auto; min-height: 320px; }
.plan__color-img { position: relative; min-height: 180px; }
.plan__color-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plan__color-body { padding: var(--s-5); display: grid; gap: var(--s-3); }
.plan__color-body h3 { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.015em; }
.plan__color-body blockquote { font-size: 15px; color: var(--ink-200); }
.plan__color-body cite { font-style: normal; font-size: 13.5px; color: var(--ink-300); }
.plan-cta { margin-top: var(--s-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.plan-cta p { font-size: 14px; color: var(--ink-500); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: var(--s-6); }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 0.75fr 1.25fr; align-items: start; } .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + var(--s-6)); } }
.faq { display: grid; gap: var(--s-2); }
.faq details { background: #fff; border-radius: var(--r-md); border: 1px solid var(--ink-100); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); font-weight: 650; font-size: 16.5px; color: var(--ink-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--ink-400); transition: transform .2s var(--ease-out); }
.faq details[open] summary .i { transform: rotate(180deg); color: var(--brand-500); }
.faq details > div { padding: 0 var(--s-5) var(--s-5); color: var(--ink-600); max-width: 70ch; }
.faq-side { display: grid; gap: var(--s-3); margin-top: var(--s-3); }
.faq-side a { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 650; text-decoration: none; }
.faq-side .i { color: var(--brand-500); }

/* ---------- Závěrečné CTA ---------- */
.final { padding: var(--inset); }
.final__panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); background: var(--ink-950); color: #fff; padding-block: var(--section-y); }
.final__bg { position: absolute; inset: 0; z-index: -2; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.final__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgb(7 9 16 / 0.93) 0%, rgb(7 9 16 / 0.82) 40%, rgb(7 9 16 / 0.45) 70%, rgb(7 9 16 / 0.55) 100%);
}
@media (max-width: 1023px) { .final__panel::before { background: linear-gradient(180deg, rgb(7 9 16 / 0.7) 0%, rgb(7 9 16 / 0.88) 45%, rgb(7 9 16 / 0.94) 100%); } }
.final__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 1024px) { .final__grid { grid-template-columns: 1fr minmax(400px, 0.85fr); gap: var(--s-8); } }
.final .eyebrow { color: var(--brand-200); }
.final .h2 { color: #fff; margin-top: var(--s-3); }
.final .lead { color: var(--ink-300); }
.final__list { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.final__list li { display: flex; gap: var(--s-3); align-items: center; color: var(--ink-100); }
.final__list .i { color: var(--brand-200); }
.final__call { margin-top: var(--s-6); display: grid; gap: var(--s-1); }
.final__call span { font-size: 14px; color: var(--ink-400); }
.final__call a { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2vw + 14px, 34px); letter-spacing: -0.02em; text-decoration: none; color: #fff; display: inline-flex; align-items: center; gap: var(--s-3); }
.final__call a .i { width: 28px; height: 28px; color: var(--brand-500); }

/* ---------- Patička (podle dachmantechnik.cz) ---------- */
.site-footer { background: var(--ink-950); color: var(--ink-300); padding-block: clamp(32px, 4vw, 40px); padding-bottom: calc(var(--s-6) + 76px); font-size: 14px; }
@media (min-width: 768px) { .site-footer { padding-bottom: 40px; } }
.site-footer a { color: inherit; text-decoration: none; transition: color .15s var(--ease-out); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: var(--s-6) var(--s-5); grid-template-columns: 1fr 1fr; }
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__col:last-child { grid-column: 1 / -1; }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 5fr 3fr 2fr 2fr; gap: var(--s-6); } .site-footer__brand, .site-footer__col:last-child { grid-column: auto; } }
.site-footer__logo { height: 64px; width: auto; }
.site-footer__about { margin-top: 20px; max-width: 28rem; line-height: 1.65; color: var(--ink-400); }
.site-footer__contact { margin-top: 28px; display: grid; gap: var(--s-3); justify-items: start; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: var(--s-2); color: #fff; }
.site-footer__contact a:hover { color: var(--brand-300); }
.site-footer__contact .i { width: 16px; height: 16px; }
.site-footer__contact span { color: var(--ink-400); }
.social { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
.social a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff !important; transition: transform .18s var(--ease-out); }
.social a:hover { transform: translateY(-2px); }
.social .i { width: 24px; height: 24px; }
.social--ig { background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%); }
.social--fb { background: #1877f2; }
.social--tt { background: #000; }
.social--li { background: #0a66c2; }
.site-footer__col h3 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: #fff; margin-bottom: var(--s-4); }
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col li a span { display: block; font-size: 12px; color: var(--ink-400); }
.site-footer__col li a b { font-weight: 500; white-space: nowrap; }
.site-footer__bottom { margin-top: 56px; padding-top: var(--s-5); border-top: 1px solid var(--ink-800); display: flex; flex-direction: column; align-items: center; gap: var(--s-3); text-align: center; font-size: 12px; color: var(--ink-400); }
.site-footer__bottom p { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; }
@media (min-width: 640px) { .site-footer__bottom { display: grid; grid-template-columns: 1fr auto 1fr; text-align: left; } .site-footer__bottom p:first-child { justify-self: start; } }

/* ---------- Mobilní lišta ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: var(--s-2) var(--gutter) calc(var(--s-2) + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 0.96); backdrop-filter: blur(10px); box-shadow: 0 -8px 24px -12px rgb(7 9 16 / 0.25);
  display: flex; gap: var(--s-2); transform: translateY(110%); transition: transform .28s var(--ease-out);
}
.mbar.is-on { transform: none; }
.mbar .btn--primary { flex: 1; }
.mbar .btn--dark { width: 52px; padding: 0; }
@media (min-width: 768px) { .mbar { display: none; } }

