/* ============================================================
   STAGNUM — for better living
   Brand (logomanuál): Pantone 2955 ≈ #003A70 · Pantone 325C ≈ #64CCC9
   Tlačítka: tmavší teal #2BA8A1 (kontrast s bílým textem)
   Písmo: produkčně Visby CF (dokoupit) → web náhrada Poppins + Inter
   ============================================================ */

:root {
  --navy: #003A70;
  --navy-deep: #002A52;
  --teal: #64CCC9;
  --teal-btn: #2BA8A1;
  --teal-btn-dark: #218F89;
  --teal-soft: #E2F2F1;
  --teal-dim: #c3e8e6;
  --ink: #16344f;
  --gray: #5b7287;
  --bg: #F7FAFB;
  --white: #ffffff;
  --radius: 20px;
  --shadow-sm: 0 2px 12px rgba(0, 58, 112, 0.06);
  --shadow-md: 0 12px 40px rgba(0, 58, 112, 0.10);
  --shadow-lg: 0 24px 70px rgba(0, 58, 112, 0.16);
  --font-head: 'Poppins', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 74px 0; }
section[id] { scroll-margin-top: 88px; }
.section--soft { background: linear-gradient(180deg, var(--bg) 0%, var(--teal-soft) 55%, var(--bg) 100%); }
.section--navy { background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 70%, #0a4d8c 100%); color: #eaf4fb; }

/* ---------- typografie ---------- */
.section__head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.section__head--left { max-width: 700px; margin: 0 0 38px; text-align: left; }
.section__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-btn); margin-bottom: 18px;
}
.section__eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--teal); border-radius: 2px; }
.section__eyebrow--light { color: var(--teal); }
.section__title {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 700; line-height: 1.16; letter-spacing: -0.02em; color: var(--navy);
}
.section--navy .section__title { color: #fff; }
.accent { color: var(--teal-btn); }
.accent-teal { color: var(--teal); }
.accent-navy { color: var(--navy); }
.section__lead { margin-top: 20px; font-size: 17px; color: var(--gray); }
.section__lead--light { color: #b9d2e4; }

/* placeholder štítek */
.todo-chip {
  display: inline-block; vertical-align: middle;
  font-size: 9px; font-weight: 700; letter-spacing: 0.06em;
  color: #8a6d1d; background: #fdf0c2; border: 1px solid #f0d98a;
  padding: 2px 7px; border-radius: 20px; margin-left: 6px;
  font-style: normal; line-height: 1.4; font-family: var(--font-body);
}

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 100px; border: none;
  font-family: var(--font-head);
  font-size: 15.5px; font-weight: 600; letter-spacing: 0.01em;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s, background 0.3s;
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; transition: transform 0.3s; }
.btn--primary {
  background: linear-gradient(135deg, var(--teal-btn) 0%, var(--teal-btn-dark) 100%);
  color: #fff; box-shadow: 0 10px 30px rgba(43, 168, 161, 0.38);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(43, 168, 161, 0.5); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost-light { background: rgba(255,255,255,0.08); color: #fff; border: 1.5px solid rgba(255,255,255,0.32); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.16); transform: translateY(-3px); }
.btn--ghost-dark { background: rgba(0,58,112,0.04); color: var(--navy); border: 1.5px solid rgba(0,58,112,0.2); }
.btn--ghost-dark:hover { background: rgba(0,58,112,0.09); transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 10px 36px rgba(0,0,0,0.18); }
.btn--light:hover { transform: translateY(-3px) scale(1.02); }
.btn--full { width: 100%; }

/* ============================================================
   LOADING SCREEN
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  display: flex; align-items: center; justify-content: center;
}
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.iso-house--loader { width: min(340px, 76vw); overflow: visible; }
.preloader__text {
  color: #fff; font-family: var(--font-head); font-size: 24px; font-weight: 700;
  letter-spacing: 0.3em; margin-left: 0.3em; text-align: center;
}
.preloader__text small {
  display: block; font-size: 10px; font-weight: 600;
  letter-spacing: 0.42em; color: var(--teal); margin-top: 4px;
}

/* ============================================================
   NAV
   ============================================================ */
/* fixní header = topbar + nav */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.35s, box-shadow 0.35s; }
.header.is-scrolled { background: rgba(0, 42, 82, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 rgba(255,255,255,0.08), 0 10px 30px rgba(0,20,40,0.25); }

/* horní utility bar */
.topbar { border-bottom: 1px solid rgba(255,255,255,0.1); max-height: 46px; overflow: hidden; transition: max-height 0.35s, opacity 0.3s; }
.header.is-scrolled .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 24px; font-size: 13px; }
.topbar__links { display: flex; gap: 18px; }
.topbar__links a { color: rgba(255,255,255,0.82); font-weight: 500; transition: color 0.2s; }
.topbar__links a:hover { color: #fff; }
.topbar__mini { color: var(--teal) !important; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__contact { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.82); font-weight: 500; transition: color 0.2s; }
.topbar__contact svg { width: 15px; height: 15px; color: var(--teal); }
.topbar__contact:hover { color: #fff; }
.topbar__cta { background: var(--teal-btn); color: #fff; font-weight: 600; padding: 6px 16px; border-radius: 100px; transition: background 0.25s, transform 0.25s; }
.topbar__cta:hover { background: var(--teal-btn-dark); transform: translateY(-1px); }

.nav { padding: 14px 0; transition: padding 0.35s; }
.header.is-scrolled .nav { padding: 9px 0; }
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 30px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 36px; height: 34px; color: var(--teal); }
.nav__name {
  font-family: var(--font-head);
  font-weight: 700; font-size: 18px; letter-spacing: 0.13em; color: #fff;
  display: flex; flex-direction: column; line-height: 1.1;
}
.nav__name small {
  font-size: 8.5px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--teal);
}
.nav__links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav__links > a, .nav__sub-toggle {
  font-family: var(--font-body);
  font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.88);
  position: relative; padding: 4px 0; background: none; border: none;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav__links > a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--teal); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s cubic-bezier(.22,1,.36,1);
}
.nav__links > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__sub-toggle svg { width: 15px; height: 15px; transition: transform 0.3s; }

/* dropdown */
.nav__has-sub { position: relative; }
.nav__dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 320px; padding: 10px;
  background: rgba(255,255,255,0.98); border-radius: 18px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(0,58,112,0.08);
  opacity: 0; visibility: hidden; transition: opacity 0.28s, transform 0.28s, visibility 0.28s;
}
.nav__dropdown::before {
  content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 16px;
}
.nav__has-sub:hover .nav__dropdown,
.nav__has-sub.is-open .nav__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__has-sub:hover .nav__sub-toggle svg { transform: rotate(180deg); }
.nav__dropdown a {
  display: block; padding: 12px 16px; border-radius: 12px;
  transition: background 0.22s;
}
.nav__dropdown a:hover { background: var(--teal-soft); }
.nav__dropdown a strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.nav__dropdown a span { display: block; font-size: 12.5px; color: var(--gray); }
.nav__dropdown-mini { margin-top: 4px; border-top: 1px solid rgba(0,58,112,0.08); border-radius: 0 0 12px 12px; }

.nav__cta {
  font-family: var(--font-head);
  display: inline-flex; align-items: center;
  padding: 11px 22px; border-radius: 100px;
  background: var(--teal-btn); color: #fff;
  font-weight: 600; font-size: 14.5px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.nav__cta:hover { background: var(--teal-btn-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav__burger span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: 0.3s; }

/* ============================================================
   SVC HERO — celoplošná vizualizace na pozadí
   ============================================================ */
.svc-hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.svc-hero--split { min-height: 92svh; }
.svc-hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.svc-hero__overlay { position: absolute; inset: 0; z-index: 1; }
.svc-hero__overlay--dark {
  background:
    linear-gradient(105deg, rgba(0,30,58,0.94) 0%, rgba(0,42,82,0.82) 38%, rgba(0,42,82,0.30) 72%, rgba(0,42,82,0.12) 100%),
    linear-gradient(0deg, rgba(0,26,50,0.55), rgba(0,26,50,0) 45%);
}
.svc-hero__overlay--light {
  background:
    linear-gradient(105deg, rgba(247,250,251,0.96) 0%, rgba(247,250,251,0.82) 40%, rgba(247,250,251,0.35) 72%, rgba(247,250,251,0.08) 100%);
}
.svc-hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 124px; padding-bottom: 64px; }

/* hero úvod */
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(100,204,201,0.4);
  padding: 8px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 26px;
  backdrop-filter: blur(4px);
}
.hero__eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(100,204,201,0.6); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(100,204,201,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(100,204,201,0); }
  100% { box-shadow: 0 0 0 0 rgba(100,204,201,0); }
}
.hero__title {
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; color: #fff;
  max-width: 760px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; }
.hero__sub { margin-top: 24px; font-size: 18px; color: rgba(232,243,250,0.88); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__features { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 56px; }
.hero__feature { display: flex; align-items: center; gap: 14px; }
.hero__feature svg { width: 30px; height: 30px; color: var(--teal); flex-shrink: 0; }
.hero__feature strong { display: block; font-size: 15px; font-weight: 600; color: #fff; font-family: var(--font-head); }
.hero__feature span { display: block; font-size: 13px; color: rgba(232,243,250,0.65); }

.hero__scroll {
  position: absolute; z-index: 2; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.hero__scroll-line {
  width: 2px; height: 40px; border-radius: 2px;
  background: linear-gradient(var(--teal), transparent);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.55); opacity: 0.5; }
}

/* service hero (dřevostavby/zděné/rekonstrukce) */
.svc-hero__eyebrow {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.svc-hero--light .svc-hero__eyebrow { color: var(--teal-btn); }
.svc-hero__title {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; color: #fff;
}
.svc-hero--light .svc-hero__title { color: var(--navy); }
.svc-hero__sub { margin-top: 22px; font-size: 17.5px; color: rgba(232,243,250,0.85); max-width: 480px; }
.svc-hero--light .svc-hero__sub { color: var(--gray); }
.svc-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.svc-hero__feats { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 48px; max-width: 620px; }
.svc-hero__feats li {
  display: flex; align-items: center; gap: 11px;
  font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.92);
}
.svc-hero__feats svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; }
.svc-hero__feats--dark li { color: var(--ink); }
.svc-hero__feats--dark svg { color: var(--teal-btn); }
.svc-hero__feats--grid { display: grid; grid-template-columns: 1fr 1fr; max-width: 480px; gap: 16px 28px; }

/* ============================================================
   SLUŽBY intro
   ============================================================ */
.svc-intro { padding: 96px 0 60px; }

/* ============================================================
   REKONSTRUKCE — postup + video + reference
   ============================================================ */
.reno__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: center; }
.reno__steps { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.process__line {
  position: absolute; top: 27px; left: 10%; right: 10%; height: 3px;
  background: var(--teal-dim); border-radius: 3px; z-index: 0; display: none;
}
.process__line span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--teal-btn), var(--navy)); border-radius: 3px; }
.step { position: relative; z-index: 1; }
.step__badge {
  width: 54px; height: 54px; margin-bottom: 18px;
  border-radius: 50%; background: #fff; border: 3px solid var(--teal-btn);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--navy);
  box-shadow: 0 0 0 7px var(--bg), var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), background 0.3s, color 0.3s;
}
.step:hover .step__badge { transform: scale(1.1); background: var(--teal-btn); color: #fff; }
.step h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--gray); }

.reno__video { position: relative; }
.reno__video-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16/10; box-shadow: var(--shadow-lg); cursor: pointer;
  background: var(--navy-deep);
}
.reno__video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reno__video-frame:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.ref-card__play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.92); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 36px rgba(0,20,45,0.4);
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), background 0.3s;
}
.ref-card__play svg { width: 28px; height: 28px; margin-left: 3px; }
.reno__video-frame:hover .ref-card__play { transform: translate(-50%, -50%) scale(1.1); background: #fff; }
.reno__video-badge {
  position: absolute; z-index: 2; left: 16px; bottom: 16px;
  background: rgba(255,255,255,0.94); color: var(--navy);
  font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 100px;
}
.reno__video figcaption { margin-top: 16px; font-size: 14px; color: var(--gray); }

.reno__proof {
  margin-top: 64px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center;
  border-top: 1px solid rgba(0,58,112,0.1); padding-top: 50px;
}
.reno__quote svg { width: 38px; height: 38px; color: var(--teal); margin-bottom: 14px; }
.reno__quote p { font-size: clamp(18px, 2.1vw, 22px); font-weight: 500; color: var(--navy); line-height: 1.5; font-family: var(--font-head); }
.reno__quote footer { margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--teal-btn); }
.reno__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { text-align: center; padding: 22px 10px; background: #fff; border: 1px solid rgba(0,58,112,0.08); border-radius: 16px; box-shadow: var(--shadow-sm); }
.stat__num { font-family: var(--font-head); font-size: clamp(28px, 3vw, 38px); font-weight: 800; color: var(--navy); line-height: 1; }
.stat__label { margin-top: 8px; font-size: 12.5px; font-weight: 500; color: var(--gray); }

/* ============================================================
   KALKULAČKA
   ============================================================ */
.calc {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 0;
  background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,20,45,0.4); color: var(--ink);
  max-width: 980px; margin: 0 auto;
}
.calc__main { padding: 40px; }
.calc__row { display: block; margin-bottom: 26px; }
.calc__row:last-child { margin-bottom: 0; }
.calc__label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 12px;
}
.calc__label output { font-size: 17px; font-weight: 700; color: var(--teal-btn); }
.calc input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px;
  background: linear-gradient(90deg, var(--teal-btn) var(--fill, 38%), #e3edf2 var(--fill, 38%)); outline: none;
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 3px solid var(--teal-btn); box-shadow: 0 3px 10px rgba(0,58,112,0.3); cursor: grab; transition: transform 0.2s;
}
.calc input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--teal-btn); cursor: grab; }
.calc__range-marks { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--gray); margin-top: 7px; }
.calc__segments { display: flex; gap: 8px; }
.calc__segments button {
  flex: 1; padding: 11px 6px; border-radius: 12px;
  border: 1.5px solid rgba(0,58,112,0.14); background: #fff;
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600; color: var(--gray); transition: all 0.25s;
}
.calc__segments button:hover { border-color: var(--teal-btn); color: var(--teal-btn); }
.calc__segments button.is-active { background: var(--teal-soft); border-color: var(--teal-btn); color: var(--navy); box-shadow: inset 0 0 0 1px var(--teal-btn); }
.calc__hint { margin-top: 11px; font-size: 12.5px; color: var(--gray); line-height: 1.5; }
.calc__side {
  background: linear-gradient(160deg, var(--navy) 0%, #0a4d8c 100%); color: #fff;
  padding: 40px 34px; display: flex; flex-direction: column; justify-content: center;
}
.calc__result-label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); }
.calc__price { font-family: var(--font-head); font-size: clamp(30px, 3vw, 40px); font-weight: 800; letter-spacing: -0.01em; margin: 4px 0 22px; }
.calc__disclaimer { font-size: 11.5px; color: rgba(255,255,255,0.6); margin-top: 14px; line-height: 1.55; }

/* ============================================================
   BUILD — animace domu
   ============================================================ */
.build { padding-bottom: 60px; }
.build__hint { font-size: 14px; }
.build__toggle { display: inline-flex; gap: 6px; margin-top: 24px; padding: 5px; background: var(--teal-soft); border-radius: 100px; }
.build__toggle button {
  padding: 9px 22px; border-radius: 100px; border: none; background: transparent;
  font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--gray); transition: all 0.3s;
}
.build__toggle button.is-active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.build__stage { position: relative; }
.build__layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; min-height: 78vh; }
.iso-house--build { width: 100%; max-width: 560px; margin: 0 auto; overflow: visible; }
.build__phases { display: flex; flex-direction: column; gap: 6px; counter-reset: phase; }
.build__phases li {
  padding: 14px 20px; border-radius: 14px; border: 1px solid transparent;
  display: flex; flex-direction: column; gap: 3px; opacity: 0.38;
  transition: opacity 0.35s, background 0.35s, border-color 0.35s, transform 0.35s;
}
.build__phases li strong { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.build__phases li strong::before {
  counter-increment: phase; content: counter(phase, decimal-leading-zero);
  font-size: 11.5px; font-weight: 700; color: var(--teal-btn);
  border: 1.5px solid var(--teal-dim); border-radius: 8px; padding: 2px 7px;
}
.build__phases li span { font-size: 13.5px; color: var(--gray); padding-left: 42px; }
.build__phases li.is-active { opacity: 1; background: #fff; border-color: var(--teal-dim); box-shadow: var(--shadow-sm); transform: translateX(6px); }

/* skladba stěn a podlah */
.skladby .build__layout { min-height: 0; padding-top: 10px; padding-bottom: 10px; }
.skladby .build__toggle { flex-wrap: wrap; justify-content: center; }
.wall-svg { width: 100%; max-width: 480px; }
.skladby__note { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--gray); font-style: italic; max-width: 420px; margin-left: auto; margin-right: auto; }
.skladby .build__phases li span { padding-left: 0; }
.skladby .build__phases li strong { font-size: 15px; }

/* ============================================================
   JAK A Z ČEHO STAVÍME (sjednocená sekce s taby)
   ============================================================ */
.stavime__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 34px; max-width: 760px; }
.stavime__tabs button {
  padding: 11px 20px; border-radius: 100px; border: 1.5px solid rgba(0,58,112,0.14); background: #fff;
  font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--gray); transition: all 0.25s;
}
.stavime__tabs button:hover { border-color: var(--teal-btn); color: var(--teal-btn); }
.stavime__tabs button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.stavime__stage {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid rgba(0,58,112,0.08); border-radius: 24px;
  padding: 32px 38px; box-shadow: var(--shadow-md); max-width: 1000px; margin: 0 auto;
}
.stavime__viz { display: flex; flex-direction: column; align-items: center; gap: 16px; }
#stageSvg { width: 100%; max-width: 460px; overflow: visible; }
.stavime__controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; min-height: 38px; }
.stavime__replay {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 100px;
  border: 1.5px solid var(--teal-dim); background: var(--teal-soft); color: var(--navy);
  font-family: var(--font-head); font-size: 13px; font-weight: 600; transition: all 0.25s;
}
.stavime__replay:hover { border-color: var(--teal-btn); }
.stavime__replay svg { width: 15px; height: 15px; }
.stavime__subswitch { display: inline-flex; gap: 5px; padding: 4px; background: var(--teal-soft); border-radius: 100px; }
.stavime__subswitch button {
  padding: 7px 15px; border-radius: 100px; border: none; background: transparent;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 600; color: var(--gray); transition: all 0.25s;
}
.stavime__subswitch button.is-active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }

.stavime__caption { font-size: 14px; color: var(--gray); font-style: italic; margin-bottom: 16px; min-height: 20px; }
.stavime__list { display: flex; flex-direction: column; gap: 3px; }
.stavime__list li {
  display: flex; gap: 13px; align-items: flex-start; padding: 9px 12px; border-radius: 12px;
  border: 1px solid transparent; transition: background 0.25s, border-color 0.25s;
}
.stavime__list li.is-active, .stavime__list li.is-hl { background: var(--teal-soft); border-color: var(--teal-dim); }
.stavime__n {
  flex-shrink: 0; font-family: var(--font-head); font-size: 11.5px; font-weight: 700; color: var(--teal-btn);
  border: 1.5px solid var(--teal-dim); border-radius: 8px; padding: 3px 8px; line-height: 1.25;
}
.stavime__list strong { display: block; font-family: var(--font-head); font-size: 14.5px; font-weight: 600; color: var(--navy); }
.stavime__list li > div > span { font-size: 13px; color: var(--gray); }

/* hover propojení řez ↔ seznam */
#stageSvg .wall-rect { transition: stroke 0.2s, stroke-width 0.2s; }
#stageSvg .wall-layer.is-hl .wall-rect { stroke: var(--teal-btn); stroke-width: 3; }
#stageSvg .wall-badge-c { transition: fill 0.2s; }
#stageSvg .wall-badge.is-hl .wall-badge-c { fill: var(--teal-btn); }
#stageSvg .wall-badge.is-hl .wall-badge-t { fill: #fff; }

/* ============================================================
   PROČ MY + partneři
   ============================================================ */
.why__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.why__text { margin-top: 22px; font-size: 16px; color: #b9d2e4; max-width: 560px; }
.why__points { margin-top: 40px; display: flex; flex-direction: column; gap: 26px; }
.why-point { display: flex; gap: 22px; align-items: flex-start; }
.why-point__num {
  font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--teal);
  border: 1.5px solid rgba(100,204,201,0.4); border-radius: 12px;
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.why-point h4 { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 5px; }
.why-point p { font-size: 14.5px; color: #b9d2e4; }
.why__btn { margin-top: 38px; }
.why__visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.why__visual img { width: 100%; height: 420px; object-fit: cover; }
.why__visual figcaption { background: rgba(255,255,255,0.06); padding: 16px 20px; font-size: 13.5px; color: #b9d2e4; font-style: italic; }

.partners { margin-top: 80px; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 44px; }
.partners__label { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; color: #9dbdd6; margin-bottom: 22px; }
.partners__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.partners__row span { font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: 0.04em; color: rgba(255,255,255,0.55); transition: color 0.3s; }
.partners__row span:hover { color: #fff; }

/* ============================================================
   REALIZACE
   ============================================================ */
.refs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ref-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(0,58,112,0.06);
  transition: transform 0.45s cubic-bezier(.22,1,.36,1), box-shadow 0.45s;
}
.ref-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ref-card__img { height: 240px; position: relative; display: flex; align-items: flex-end; padding: 16px; overflow: hidden; }
.ref-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.22,1,.36,1); }
.ref-card:hover .ref-card__img img { transform: scale(1.06); }
.ref-card__tag { position: relative; z-index: 2; background: rgba(255,255,255,0.94); color: var(--navy); font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 100px; }
.ref-card figcaption { padding: 22px 24px 24px; }
.ref-card h4 { font-size: 16.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.ref-card figcaption p { font-size: 14px; color: var(--gray); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.banner { background: linear-gradient(135deg, var(--teal-btn) 0%, #1d8a84 100%); padding: 96px 0; text-align: center; position: relative; overflow: hidden; }
.banner::before, .banner::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.09); }
.banner::before { width: 420px; height: 420px; top: -200px; left: -130px; }
.banner::after { width: 340px; height: 340px; bottom: -170px; right: -90px; }
.banner__inner { position: relative; z-index: 1; }
.banner__house { width: 72px; margin: 0 auto 26px; color: #fff; opacity: 0.95; }
.banner h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.2; color: #fff; letter-spacing: -0.02em; }
.banner p { margin: 18px auto 34px; font-size: 16.5px; color: rgba(255,255,255,0.92); max-width: 560px; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.contact__items { margin-top: 38px; display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border: 1px solid rgba(0,58,112,0.08); border-radius: var(--radius); padding: 20px 24px;
  box-shadow: var(--shadow-sm); transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s, border-color 0.35s;
}
a.contact-item:hover { transform: translateX(8px); box-shadow: var(--shadow-md); border-color: var(--teal-dim); }
.contact-item__icon { width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0; background: var(--teal-soft); color: var(--teal-btn); display: flex; align-items: center; justify-content: center; }
.contact-item__icon svg { width: 23px; height: 23px; }
.contact-item small { display: block; font-size: 12.5px; font-weight: 500; color: var(--gray); margin-bottom: 2px; }
.contact-item strong { display: block; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.35; font-family: var(--font-head); }

.contact__form { background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid rgba(0,58,112,0.06); }
.contact__form h3 { font-size: 23px; font-weight: 700; color: var(--navy); }
.contact__form-note { font-size: 14px; color: var(--gray); margin: 6px 0 26px; }
.contact__form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 16px; font-family: var(--font-head); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__form input, .contact__form select, .contact__form textarea {
  width: 100%; margin-top: 7px; padding: 13px 16px; border-radius: 13px;
  border: 1.5px solid rgba(0,58,112,0.13); font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--bg); transition: border-color 0.25s, box-shadow 0.25s; resize: vertical;
}
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { outline: none; border-color: var(--teal-btn); box-shadow: 0 0 0 4px rgba(43,168,161,0.16); }
.form-checks { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 22px; }
.check { display: inline-flex !important; align-items: center; gap: 9px; margin: 0 !important; font-weight: 500 !important; color: var(--ink) !important; cursor: pointer; }
.check input { width: auto !important; margin: 0 !important; accent-color: var(--teal-btn); width: 18px !important; height: 18px !important; }
.check span { font-size: 14px; }

/* ============================================================
   INSTALACE (stručná podsekce)
   ============================================================ */
.instal { background: var(--teal-soft); }
.instal__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 40px 24px; }
.instal h3 { font-size: 21px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.instal p { font-size: 14.5px; color: var(--gray); max-width: 620px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: #fff; border: 1px solid rgba(0,58,112,0.08); border-radius: 14px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq__item[open] { border-color: var(--teal-dim); box-shadow: var(--shadow-md); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-family: var(--font-head);
  font-size: 16.5px; font-weight: 600; color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: var(--teal-btn); border-radius: 2px; transition: transform 0.3s;
}
.faq__icon::before { width: 16px; height: 2.5px; }
.faq__icon::after { width: 2.5px; height: 16px; }
.faq__item[open] .faq__icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq__a { padding: 0 24px 22px; }
.faq__a p { font-size: 14.5px; color: var(--gray); margin: 0; }

.form-consent { font-size: 12px; color: var(--gray); margin: 4px 0 16px; line-height: 1.5; }
.form-consent a { color: var(--teal-btn); font-weight: 600; }
.form-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px;
  margin-top: 16px; padding: 0;
}
.form-trust li {
  list-style: none; font-size: 12.5px; font-weight: 600; color: var(--gray);
  display: flex; align-items: center; gap: 6px;
}
.form-trust li::before {
  content: ''; width: 15px; height: 15px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232BA8A1' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* ============================================================
   TOAST + LIGHTBOX
   ============================================================ */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 500; transform: translate(-50%, 90px);
  background: var(--navy); color: #fff; font-weight: 600; font-size: 15px;
  padding: 16px 28px; border-radius: 100px; box-shadow: 0 16px 50px rgba(0,20,45,0.4);
  opacity: 0; pointer-events: none; transition: transform 0.5s cubic-bezier(.22,1,.36,1), opacity 0.5s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.lightbox {
  position: fixed; inset: 0; z-index: 600; background: rgba(0,18,38,0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; transform: scale(0.96); transition: transform 0.35s cubic-bezier(.22,1,.36,1); }
.lightbox.is-open .lightbox__inner { transform: scale(1); }
.lightbox__inner video { max-height: 82vh; max-width: min(92vw, 560px); border-radius: 18px; box-shadow: 0 30px 90px rgba(0,0,0,0.55); background: #000; }
.lightbox__inner p { color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; }
.lightbox__close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: #fff; font-size: 18px; font-weight: 600; transition: background 0.25s, transform 0.25s; }
.lightbox__close:hover { background: rgba(255,255,255,0.22); transform: rotate(90deg); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-deep); color: #b9d2e4; }
.footer__inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 48px; align-items: start;
  padding-top: 60px; padding-bottom: 48px;
}
.footer__col--brand { max-width: 340px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__logo { width: 42px; color: var(--teal); flex-shrink: 0; }
.footer__brand strong { display: block; color: #fff; font-size: 16.5px; letter-spacing: 0.1em; font-family: var(--font-head); }
.footer__brand span { font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--teal); }
.footer__desc { margin-top: 16px; font-size: 13.5px; line-height: 1.7; color: #8fa9be; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__col a { transition: color 0.25s; width: fit-content; }
.footer__col a:hover { color: var(--teal); }
.footer__h {
  color: #fff; font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.09); padding: 18px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
  font-size: 12.5px; color: #6f8da3;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__legal a { transition: color 0.25s; }
.footer__legal a:hover { color: var(--teal); }

/* ============================================================
   MULTI-PAGE: karty služeb, social proof, karusely, ruční stavba, galerie
   ============================================================ */
/* hero micro proof */
.hero__proof { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; color: rgba(232,243,250,0.85); }
.stars { color: #ffc24b; letter-spacing: 2px; }

/* 3 karty služeb */
.svc-cards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(0,58,112,0.08); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.svc-card__img { height: 200px; overflow: hidden; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.22,1,.36,1); }
.svc-card:hover .svc-card__img img { transform: scale(1.07); }
.svc-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-card__body h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 9px; }
.svc-card__body p { font-size: 14.5px; color: var(--gray); margin-bottom: 16px; flex: 1; }
.svc-card__more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--teal-btn); }
.svc-card__more svg { width: 17px; height: 17px; transition: transform 0.3s; }
.svc-card:hover .svc-card__more svg { transform: translateX(4px); }

/* stat strip */
.stat-strip { margin-top: 46px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 36px; }
.stat-strip .stat { background: transparent; border: none; box-shadow: none; text-align: center; padding: 0; }
.stat-strip .stat__num { font-family: var(--font-head); font-size: clamp(28px,3.4vw,40px); font-weight: 800; color: var(--teal); line-height: 1; }
.stat-strip .stat__label { margin-top: 8px; font-size: 13px; color: #cfe3f1; }

/* karusel (obecný) */
[data-carousel] { position: relative; overflow: hidden; }
[data-track] { display: flex; transition: transform 0.5s cubic-bezier(.22,1,.36,1); }
[data-track] > * { flex: 0 0 100%; min-width: 0; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.carousel__btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(0,58,112,0.16); background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; transition: all 0.25s; }
.carousel__btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__dots { display: flex; gap: 9px; }
.carousel__dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--teal-dim); transition: all 0.3s; }
.carousel__dots button.is-active { background: var(--teal-btn); transform: scale(1.3); }

/* recenze */
.reviews__carousel { max-width: 760px; margin: 0 auto; }
.review { text-align: center; padding: 8px 12px; }
.review__stars { color: #ffc24b; letter-spacing: 3px; font-size: 18px; margin-bottom: 16px; }
.review blockquote { font-family: var(--font-head); font-size: clamp(18px,2.2vw,23px); font-weight: 500; line-height: 1.5; color: var(--navy); margin-bottom: 22px; }
.review figcaption { display: inline-flex; align-items: center; gap: 14px; }
.review__photo { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-btn)); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.review__who { text-align: left; display: flex; flex-direction: column; }
.review__who strong { color: var(--navy); font-size: 15px; }
.review__who small { color: var(--gray); font-size: 13px; }

/* instalace strip (vedlejší služba) */
.instal-strip { background: var(--teal-soft); }
.instal-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 26px 24px; }
.instal-strip__text strong { font-family: var(--font-head); font-size: 17px; color: var(--navy); margin-right: 12px; }
.instal-strip__text span { font-size: 14.5px; color: var(--gray); }
.instal-strip__link { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--teal-btn); white-space: nowrap; transition: color 0.25s; }
.instal-strip__link:hover { color: var(--teal-btn-dark); }

/* trust badges u kontaktu */
.trust-badges { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.trust-badges span { font-size: 13.5px; font-weight: 600; color: var(--navy); }

/* podstránka služby */
.svc-hero--page { min-height: 86svh; }
.svc-hero__rating { margin-top: 26px; font-size: 13.5px; color: rgba(232,243,250,0.8); display: flex; align-items: center; gap: 8px; }
.svc-hero--light .svc-hero__rating { color: var(--gray); }

/* karusel benefitů */
.benefit-slide { text-align: center; padding: 40px 32px; background: linear-gradient(180deg, var(--teal-soft), #fff); border: 1px solid var(--teal-dim); border-radius: var(--radius); margin: 0 4px; }
.benefit-slide__icon { font-size: 44px; margin-bottom: 16px; }
.benefit-slide h3 { font-size: 21px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.benefit-slide p { font-size: 15px; color: var(--gray); max-width: 520px; margin: 0 auto; }

/* ruční stavba — ovládání */
.build2 svg, #buildSvg { width: 100%; max-width: 480px; overflow: visible; }
.build2__ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 14px; }
.build2__ctrl button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--teal-dim); background: var(--teal-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; transition: all 0.25s; }
.build2__ctrl button:hover { background: var(--teal-btn); color: #fff; border-color: var(--teal-btn); }
.build2__ctrl button svg { width: 18px; height: 18px; }
.build2__ctrl span { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--navy); min-width: 56px; text-align: center; }
.stavime__list li { cursor: pointer; }

/* galerie */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery__item img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.6s cubic-bezier(.22,1,.36,1); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 14px; color: #fff; font-weight: 600; font-size: 14.5px; background: linear-gradient(0deg, rgba(0,26,50,0.8), transparent); }
.reno__video--wide { max-width: 760px; margin: 0 auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav__links { gap: 20px; }
  .reno__grid { grid-template-columns: 1fr; gap: 44px; }
  .reno__proof { grid-template-columns: 1fr; gap: 34px; }
  .calc { grid-template-columns: 1fr; max-width: 560px; }
  .why__grid { grid-template-columns: 1fr; gap: 48px; }
  .why__visual { order: -1; }
  .build__layout { grid-template-columns: 1fr; gap: 36px; min-height: 0; }
  .iso-house--build { max-width: 440px; }
  .stavime__stage { grid-template-columns: 1fr; gap: 28px; padding: 26px 22px; }
  .stavime__info { max-width: 460px; margin: 0 auto; width: 100%; }
  .refs__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .svc-hero__feats--grid { max-width: 560px; }
  .hero__scroll { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  /* mobilní menu */
  .nav__links {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100vh; height: 100dvh; z-index: -1;
    flex-direction: column; align-items: center; justify-content: center; gap: 22px;
    background: #00284a; backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transition: opacity 0.35s;
  }
  .nav__links > a, .nav__sub-toggle { font-size: 20px; font-weight: 600; color: #fff; }
  .nav.menu-open .nav__links { opacity: 1; pointer-events: auto; z-index: 99; }
  .nav__burger { display: flex; margin-left: auto; position: relative; z-index: 100; }
  .nav__cta { display: none; }
  .nav.menu-open .nav__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  /* dropdown v mobilu = statický seznam */
  .nav__has-sub { width: 100%; text-align: center; }
  .nav__dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    width: auto; background: transparent; box-shadow: none; border: none; padding: 14px 0 0;
  }
  .nav__dropdown a { padding: 8px; }
  .nav__dropdown a strong { color: var(--teal); font-size: 16px; }
  .nav__dropdown a span { display: none; }
  .nav__dropdown-mini { border: none; }

  .svc-hero__inner { padding-top: 120px; padding-bottom: 60px; }
  .hero__features { gap: 18px; }
  .svc-hero__feats--grid { grid-template-columns: 1fr; }
  .reno__steps { grid-template-columns: 1fr; gap: 24px; max-width: 360px; }
  .reno__stats { grid-template-columns: 1fr; }
  .calc__main, .calc__side { padding: 28px 22px; }
  .build__phases li span { display: none; }
  .partners__row span { font-size: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .contact__form { padding: 28px 22px; }
  .instal__inner { flex-direction: column; align-items: flex-start; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive: multi-page komponenty ---------- */
@media (max-width: 1024px) {
  .svc-cards__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
}
@media (max-width: 640px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .instal-strip__inner { flex-direction: column; align-items: flex-start; }
  .benefit-slide { padding: 32px 22px; }
  .hero__proof { font-size: 13px; }
  .reviews__carousel { padding: 0 6px; }
}

/* ---------- benefity vedle sebe (místo karuselu) ---------- */
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { text-align: center; padding: 30px 22px; background: #fff; border: 1px solid rgba(0,58,112,0.08); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s; }
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.benefit__icon { font-size: 38px; margin-bottom: 14px; line-height: 1; }
.benefit h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.benefit p { font-size: 14px; color: var(--gray); }

/* ---------- recenze vedle sebe (místo karuselu) ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.reviews__grid .review { background: #fff; border: 1px solid rgba(0,58,112,0.08); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 28px 26px; text-align: left; }
.reviews__grid .review__stars { font-size: 16px; margin-bottom: 12px; }
.reviews__grid .review blockquote { font-family: var(--font-body); font-size: 15px; font-weight: 400; line-height: 1.65; color: var(--ink); margin-bottom: 18px; }
.reviews__grid .review figcaption { display: flex; align-items: center; gap: 13px; }
.reviews__grid .review__photo { width: 44px; height: 44px; font-size: 18px; }

@media (max-width: 1024px) {
  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .benefits__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .topbar { display: none; }
}

/* ============================================================
   PODSTRÁNKY SLUŽEB — side-rail, posty, kroky, pilíř, srovnání, recenze, endorsement
   ============================================================ */
/* pravá rozjížděcí nabídka */
.siderail { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.siderail__item { display: flex; align-items: center; background: #fff; color: var(--navy); box-shadow: var(--shadow-md); border: 1px solid rgba(0,58,112,0.08); border-right: none; border-radius: 12px 0 0 12px; padding: 11px 13px; white-space: nowrap; transition: background 0.25s, color 0.25s; }
.siderail__item svg { width: 22px; height: 22px; flex-shrink: 0; }
.siderail__item span { max-width: 0; overflow: hidden; opacity: 0; font-family: var(--font-head); font-size: 14px; font-weight: 600; transition: max-width 0.4s cubic-bezier(.22,1,.36,1), opacity 0.25s, margin 0.4s; }
.siderail__item:hover { background: var(--navy); color: #fff; }
.siderail__item:hover span { max-width: 180px; opacity: 1; margin-left: 10px; }
.siderail__item.is-current { background: var(--teal-soft); color: var(--navy); border-color: var(--teal-dim); }
.siderail__item.is-current:hover { background: var(--navy); color: #fff; }
.siderail__cta { background: var(--teal-btn); color: #fff; border-color: var(--teal-btn); }
.siderail__cta:hover { background: var(--teal-btn-dark); }

/* benefit „posty" (obrázek + text, střídavě) */
.posts { display: flex; flex-direction: column; gap: 22px; }
.post { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid rgba(0,58,112,0.08); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.post:nth-child(even) .post__media { order: 2; }
.post__media { position: relative; min-height: 280px; background: var(--teal-soft); }
.post__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post__badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--teal-btn); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 100px; }
.post__body { padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; }
.post__body h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.post__body p { font-size: 15px; color: var(--gray); margin-bottom: 14px; }
.post__list { display: flex; flex-direction: column; gap: 9px; }
.post__list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink); }
.post__list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-btn); flex-shrink: 0; }

/* před / po */
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 820px; margin: 0 auto; }
.ba { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.ba img { width: 100%; height: 280px; object-fit: cover; display: block; }
.ba span { position: absolute; top: 12px; left: 12px; background: rgba(0,42,82,0.88); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 100px; }

/* jak to funguje — 3 kroky */
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.howto__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--teal-soft); margin-bottom: 16px; }
.howto__media img { width: 100%; height: 100%; object-fit: cover; }
.howto__num { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-btn); color: #fff; font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.howto__step h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.howto__step p { font-size: 14px; color: var(--gray); }

/* velký pilíř blok */
.pillar { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.pillar--rev .pillar__media { order: 2; }
.pillar__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16/11; background: var(--navy); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; }
.pillar__media .reno__video-badge { left: 16px; bottom: 16px; }
.pillar h2 { font-size: clamp(24px,3vw,34px); font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.pillar p { font-size: 15.5px; color: var(--gray); margin-bottom: 12px; }

/* srovnávací tabulka */
.compare { max-width: 860px; margin: 0 auto; border: 1px solid rgba(0,58,112,0.1); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.compare__row { display: grid; grid-template-columns: 1.7fr 1fr 1fr; align-items: center; }
.compare__row + .compare__row { border-top: 1px solid rgba(0,58,112,0.08); }
.compare__row > div { padding: 14px 16px; font-size: 14.5px; text-align: center; }
.compare__row > div:first-child { text-align: left; font-weight: 600; color: var(--navy); }
.compare__head > div { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 13.5px; background: var(--bg); }
.compare__us { background: rgba(43,168,161,0.07); }
.compare__head .compare__us { background: var(--navy); color: #fff; }
.compare .yes { color: var(--teal-btn); font-weight: 800; }
.compare .no { color: #c2ccd4; font-weight: 700; }

/* recenze — souhrnné skóre + graf */
.reviews__agg { display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 32px; }
.reviews__score { text-align: center; }
.reviews__score b { font-family: var(--font-head); font-size: 52px; font-weight: 800; color: var(--navy); line-height: 1; display: block; }
.reviews__score .stars { font-size: 16px; }
.reviews__score small { display: block; font-size: 13px; color: var(--gray); margin-top: 4px; }
.reviews__bars { display: flex; flex-direction: column; gap: 6px; min-width: 220px; }
.reviews__bar { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--gray); }
.reviews__bar .track { flex: 1; height: 7px; border-radius: 7px; background: #e3edf2; overflow: hidden; }
.reviews__bar .fill { height: 100%; background: var(--teal-btn); border-radius: 7px; }

/* endorsement u CTA */
.endorse { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid rgba(0,58,112,0.08); border-left: 4px solid var(--teal-btn); border-radius: 14px; padding: 18px 22px; max-width: 640px; margin: 0 auto 28px; box-shadow: var(--shadow-sm); }
.endorse__photo { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-btn)); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.endorse p { font-size: 14.5px; color: var(--ink); font-style: italic; margin-bottom: 5px; }
.endorse cite { font-style: normal; font-size: 13px; } .endorse cite strong { color: var(--navy); } .endorse cite small { color: var(--gray); }

@media (max-width: 1024px) {
  .siderail { display: none; }
  .post { grid-template-columns: 1fr; }
  .post:nth-child(even) .post__media { order: 0; }
  .post__media { min-height: 220px; }
  .pillar { grid-template-columns: 1fr; gap: 28px; }
  .pillar--rev .pillar__media { order: 0; }
  .howto { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .beforeafter { grid-template-columns: 1fr; }
  .compare__row { grid-template-columns: 1.4fr 0.8fr 0.8fr; }
  .compare__row > div { padding: 11px 8px; font-size: 12.5px; }
  .reviews__agg { gap: 18px; }
}

/* ---------- kontakt podstránka + mapa ---------- */
.contact--page { padding-top: 140px; }
.mapsec { padding: 0 0 74px; }
.mapsec__frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid rgba(0,58,112,0.08); }
.mapsec__frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- aktuálně ve výstavbě ---------- */
.live__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.live__card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,58,112,0.06); background: #fff; }
.live__media { position: relative; height: 220px; overflow: hidden; }
.live__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.22,1,.36,1); }
.live__card:hover .live__media img { transform: scale(1.06); }
.live__flag { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px; background: rgba(43,168,161,0.95); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 100px; }
.live__flag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 2s infinite; }
.live__body { padding: 20px 22px 24px; }
.live__body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.live__body p { font-size: 13.5px; color: var(--gray); }
.faq__cta { text-align: center; margin-top: 30px; }
.faq__cta p { font-size: 15px; color: var(--gray); margin-bottom: 14px; }

@media (max-width: 1024px) { .live__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
@media (max-width: 640px) { .contact--page { padding-top: 110px; } .mapsec__frame iframe { height: 320px; } }

/* na světlých podstránkách (kontakt) hlavička rovnou plná — bílý text čitelný */
body[data-page="kontakt"] .header { background: rgba(0,42,82,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 rgba(255,255,255,0.08), 0 10px 30px rgba(0,20,40,0.25); }

/* ---------- reálné řezy skladeb (bez filtru — technické podklady) ---------- */
.rezy { max-width: 900px; margin: 0 auto; }
.rezy__toggle { flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
.rezy__frame { background: #fff; border: 1px solid rgba(0,58,112,0.1); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.rezy__frame img { width: 100%; display: block; }
.rezy__frame figcaption { padding: 14px 20px; font-size: 14px; color: var(--gray); border-top: 1px solid rgba(0,58,112,0.08); background: var(--bg); }

/* ---------- barevný filtr přes fotky (jednotný navy/teal nádech) ---------- */
.post__media, .howto__media, .svc-card__img, .ref-card__img, .live__media, .pillar__media, .gallery__item, .why__visual { position: relative; }
.post__media::after, .howto__media::after, .svc-card__img::after, .ref-card__img::after,
.live__media::after, .pillar__media::after, .gallery__item::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(135deg, rgba(0,58,112,0.22) 0%, rgba(0,58,112,0.06) 55%, rgba(43,168,161,0.12) 100%);
  mix-blend-mode: multiply;
}
.post__media img, .howto__media img, .svc-card__img img, .ref-card__img img,
.live__media img, .pillar__media img, .gallery__item img, .why__visual img {
  filter: saturate(0.88) contrast(1.03);
}
/* prvky nad filtrem */
.post__badge, .howto__num, .ref-card__tag, .live__flag, .gallery__item figcaption,
.pillar__media .reno__video-badge { z-index: 2; }

/* footer responsive */
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__col--brand { grid-column: 1 / -1; max-width: 480px; }
}
@media (max-width: 640px) {
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* formulář — doplňky */
.form-opt { font-weight: 400; color: var(--gray); font-size: 12px; }
