/* ============================================================
   WOLTIDO — Sections, heroes, cards, forms (editorial system)
   ============================================================ */

main { background: var(--bg); }

/* ---------- Section header ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
/* The rating pill reads as part of the section intro — collapse the heading gap above it so it doesn't stack into a ~90px void before the carousel. */
.sec-head:has(+ .rating-bar) { margin-bottom: clamp(20px, 2.5vw, 28px); }
/* Unified section-intro alignment: all intros left-aligned for one consistent vertical spine (kills the left/center flip that read as scattered) */
.sec-head.center { margin-inline: 0; text-align: left; }
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-head.center .eyebrow { justify-content: flex-start !important; }
.sec-head h2 { margin-bottom: 0; }
.sec-head p.lead { margin-top: 20px; }

/* ============================================================
   HERO — full-bleed photo background
   ============================================================ */
/* HERO — editorial calm: lighter scrim, tighter 600px column, one hierarchy.
   Discount/countdown moved to .offer-band, stats moved to .stat-row (below). */
.hero--2 { position: relative; color: #fff; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 640px; min-height: calc(100svh - var(--header-h, 76px)); }
.hero--2 .imgfill { position: absolute; inset: 0; z-index: -2; }
.hero--2::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(13,10,6,.34) 0%, rgba(13,10,6,0) 30%, rgba(13,10,6,0) 70%, rgba(13,10,6,.40) 100%),
  linear-gradient(100deg, rgba(13,10,6,.82) 0%, rgba(13,10,6,.60) 34%, rgba(13,10,6,.30) 60%, rgba(13,10,6,.10) 100%); }
.hero--2 .wrap { padding-block: clamp(28px, 4vh, 56px); width: 100%; }
.hero--2 .inner { max-width: 600px; }
.hero--2 .eyebrow { color: rgba(246,242,236,.92); margin-bottom: 18px; }
.hero--2 .eyebrow::before { background: var(--red); }
.hero--2 .hero__title { color: #fff; margin: 0 0 18px; font-size: clamp(2.3rem, 5.2vw, 4.1rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 700; }
.hero--2 .lead { color: rgba(246,242,236,.9); max-width: 52ch; font-size: clamp(1rem, 1.3vw, 1.18rem); }
/* social-proof row — one tasteful conversion cue between lead and CTAs */
.hero--2 .hero__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 20px; color: rgba(246,242,236,.9); font-size: .9375rem; font-weight: 500; }
.hero--2 .hero__rating-stars { color: var(--red); letter-spacing: 2px; font-size: 1rem; }
.hero--2 .hero__rating b { color: #fff; font-weight: 700; }
.hero--2 .hero__rating .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(246,242,236,.4); display: inline-block; }
@media (max-width: 460px) { .hero--2 .hero__rating { row-gap: 2px; } .hero--2 .hero__rating .sep { display: none; } .hero--2 .hero__rating b { flex: 0 0 auto; } .hero--2 .hero__rating > span:last-child { flex: 1 0 100%; } }
.hero--2 .hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero--2 .hero__trust { margin-top: 22px; }
@media (max-width: 640px) {
  /* products visible at top, strong darkening behind the lower text+buttons so they read cleanly over the heat-pump unit */
  .hero--2::after { background: linear-gradient(180deg, rgba(13,10,6,.52) 0%, rgba(13,10,6,.64) 36%, rgba(13,10,6,.9) 72%, rgba(13,10,6,.96) 100%); }
  /* subtle backdrop so the ghost CTA isn't see-through over the busy heat-pump image (not glassmorphism, just a tint) */
  .hero--2 .hero__actions .btn--ghost-light { background: rgba(13,10,6,.32); }
}

/* ============================================================
   OFFER BAND — composed promotional unit on --ink:
   focal discount │ labeled countdown │ action. Designed, not noisy.
   ============================================================ */
.offer-band { background: var(--ink); color: var(--on-dark); border-top: 3px solid var(--red); border-bottom: 1px solid rgba(246,242,236,.22); }
.offer-band__row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(22px, 3vw, 44px); padding-block: clamp(22px, 2.8vw, 32px); }

/* deal — focal discount + label (red accent rule on the left) */
.offer-band__deal { display: flex; align-items: center; gap: 18px; min-width: 0; padding-left: 16px; border-left: 3px solid var(--red); }
.offer-band__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3vw, 2.7rem); color: #fff; line-height: .92; letter-spacing: -.03em; white-space: nowrap; }
.offer-band__num .u { color: var(--red); }
.offer-band__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.offer-band__txt b { color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.25; }
.offer-band__txt span { color: var(--on-dark-mut); font-size: .875rem; }

/* timer — label stacked above refined, elevated cells */
.offer-band__time.countdown { margin-top: 0; flex-direction: column; align-items: flex-start; gap: 9px; flex-wrap: nowrap; }
.offer-band .countdown__lbl { font-size: .75rem; letter-spacing: .14em; color: var(--on-dark-mut); }
.offer-band .countdown__cells { gap: 8px; }
.offer-band .countdown__cell {
  min-width: 60px; padding: 11px 8px 9px;
  background: rgba(246,242,236,.06);
  border: 1px solid rgba(246,242,236,.16);
  border-radius: var(--r-md);
}
.offer-band .countdown__cell .v { font-size: 1.5rem; letter-spacing: -.01em; }
.offer-band .countdown__cell .u { font-size: .7rem; letter-spacing: .1em; margin-top: 6px; color: var(--on-dark-mut); }
.offer-band .countdown__cells .countdown__cell:nth-child(4) { display: none; } /* hide seconds → calm standing deadline (JS still writes it) */

.offer-band__cta { margin-left: auto; flex-shrink: 0; }

/* ≥1241: everything fits one elegant line — deal │ timer ........ CTA (hairline groups deal│timer) */
@media (min-width: 1241px) {
  .offer-band__time.countdown { padding-left: clamp(28px, 3vw, 44px); border-left: 1px solid rgba(246,242,236,.14); }
}
/* 561–1240: deliberate 2-tier — discount on top (full width), timer + CTA on the row below */
@media (max-width: 1240px) {
  .offer-band__deal { flex: 1 1 100%; }
}
/* ≤560: stack discount, timer and CTA, full-width CTA */
@media (max-width: 560px) {
  .offer-band__row { gap: 20px; }
  .offer-band__time.countdown { width: 100%; }
  .offer-band__cta { margin-left: 0; width: 100%; justify-content: center; }
  /* stack the deal so the big number sits above its text instead of cramped side-by-side */
  .offer-band__deal { flex-direction: column; align-items: flex-start; gap: 4px; padding-left: 14px; }
  .offer-band__num { font-size: 2.25rem; }
}

/* STAT ROW — quiet figures + live slots metric, on --ink-2, leads into trust-strip */
.stat-row { background: var(--ink-2); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.stat-row__inner { display: flex; flex-wrap: wrap; gap: 0; padding-block: clamp(22px, 3vw, 34px); }
.stat-row__item { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-right: clamp(22px, 3.5vw, 48px); margin-right: clamp(22px, 3.5vw, 48px); border-right: 1px solid var(--line-dark); }
.stat-row__item:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.stat-row__item .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 2.1rem); color: #fff; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.stat-row__item .lbl { font-size: .875rem; color: var(--on-dark-mut); }
.stat-row__slots .num { color: var(--red); }
@media (max-width: 600px) {
  .stat-row__inner { gap: 18px 0; }
  .stat-row__item { flex: 1 1 100%; padding-right: 0; margin-right: 0; border-right: none; border-bottom: 1px solid var(--line-dark); padding-bottom: 18px; }
  .stat-row__item:last-child { border-bottom: none; padding-bottom: 0; }
}

/* micro-trust line under CTA */
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 18px; color: rgba(246,242,236,.82); font-size: .875rem; font-weight: 500; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.hero__trust svg { width: 16px; height: 16px; color: #fff; }
.hero__trust .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(246,242,236,.4); }
.hero__chip { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: .9375rem; color: var(--text); white-space: nowrap; }
.hero__chip svg { width: 16px; height: 16px; color: var(--red); }

/* ============================================================
   TRUST STRIP — quiet, on stone
   ============================================================ */
/* light credibility strip — breaks the dark hero→offer→trust pile-up so the 4 trust points register */
.trust-strip { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.trust-strip__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: 30px; }
.trust-strip__item { display: flex; align-items: center; gap: 14px; }
.trust-strip__item svg { width: 22px; height: 22px; color: var(--red); flex-shrink: 0; }
.trust-strip__item b { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1rem; display: block; }
.trust-strip__item small { display:block; color: var(--muted); font-size: .8125rem; }
/* 4-item trust strip: stable 2×2 on tablet, 1-col on phone (space-between left orphan gaps) */
@media (max-width: 900px) { .trust-strip__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; align-items: start; justify-content: stretch; } }
@media (max-width: 480px) { .trust-strip__row { grid-template-columns: 1fr; } }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

.pcard {
  background: var(--paper); border-radius: var(--r-lg);
  border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
@media (hover:hover){ .pcard:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--line-2); } }
.pcard__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.pcard__media .imgfill { position: absolute; inset: 0; transition: transform .7s var(--ease); }
@media (hover:hover){ .pcard:hover .pcard__media .imgfill { transform: scale(1.06); } }
.pcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,11,7,.22) 0%, transparent 28%, transparent 58%, rgba(15,11,7,.5) 100%); }
.pcard__icon { position: absolute; left: 18px; bottom: 18px; z-index: 2; width: 50px; height: 50px; border-radius: 13px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); display: grid; place-items: center; color: var(--ink); box-shadow: var(--sh-sm); }
.pcard__icon svg { width: 26px; height: 26px; }
.pcard__media .badge { position: absolute; top: 16px; right: 16px; left: auto; z-index: 2; box-shadow: var(--sh-sm); }
.pcard__cat { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-700); margin-bottom: 11px; }
.pcard__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.pcard__body h3 { margin-bottom: 10px; }
.pcard__body p { color: var(--muted); font-size: .9375rem; }
.pcard__list { list-style: none; margin: 20px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 0; }
.pcard__list li { display: flex; gap: 11px; align-items: flex-start; font-size: .9375rem; padding: 11px 0; border-top: 1px solid var(--line); }
.pcard__list li:first-child { border-top: none; padding-top: 0; }
.pcard__list svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.pcard__foot { margin-top: auto; }

/* ============================================================
   FEATURE
   ============================================================ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
/* Let the grid tracks shrink so wide content (e.g. a .cmp-wrap table) scrolls
   inside its own overflow:auto box instead of blowing out the whole column. */
.feature > * { min-width: 0; }
.feature.rev .feature__media { order: -1; }
.feature__media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5/4; position: relative; box-shadow: var(--sh-md); background: var(--ink-2); }
.feature__media .imgfill { position: absolute; inset: 0; }
.feature__list { list-style: none; margin: 28px 0 34px; padding: 0; display: grid; gap: 0; }
.feature__list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.feature__list li:first-child { border-top: none; }
.feature__list svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.feature__list b { font-weight: 700; color: var(--ink); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature.rev .feature__media { order: 0; }
}

/* ============================================================
   STAT BAND — big numbers, hairline dividers
   ============================================================ */
.statband { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px 0; } /* auto-fit: narrow containers wrap to fewer, BIGGER cells (numbers stay readable) */
.statband__cell { padding: 8px clamp(12px,4cqi,32px); border-left: 1px solid var(--line-2); container-type: inline-size; min-width: 0; }
.statband__cell:first-child { border-left: none; padding-left: 0; }
/* font scales to the CELL width (container query) + never breaks mid-value — robust in narrow split2 columns */
.statband__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 14cqi, 2.8rem); color: var(--ink); line-height: 1.05; letter-spacing: -.03em; white-space: nowrap; }
.statband__num .u { color: var(--red); }
.statband__lbl { color: var(--muted); font-size: .875rem; margin-top: 12px; max-width: 18ch; }
/* ≤900: force 2 cols so a 4-stat band goes 4-across → 2×2 (skips the 3-col
   stage that left a lonely 4th cell / "3+1 orphan" around 760–810px). */
@media (max-width: 900px) {
  .statband { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .statband__cell:nth-child(odd) { border-left: none; padding-left: 0; }
}
/* 3-item statbands: 3-col (skip the ≤900 2-col that left a lonely 2+1), → 1-col on phones.
   Declared after the base ≤900 block so it overrides at equal specificity. */
.statband--3up { grid-template-columns: repeat(3, 1fr); }
.statband--3up .statband__cell:nth-child(3n+1) { border-left: none; padding-left: 0; }
@media (max-width: 900px) {
  .statband--3up { grid-template-columns: repeat(3, 1fr); }
  .statband--3up .statband__cell:nth-child(odd) { border-left: 1px solid var(--line-2); }
  .statband--3up .statband__cell:nth-child(3n+1) { border-left: none; padding-left: 0; }
}
@media (max-width: 600px) {
  .statband--3up { grid-template-columns: 1fr; }
  .statband--3up .statband__cell { border-left: none; padding-left: 0; }
}

/* ============================================================
   KI FLAGSHIP (dark, no glow)
   ============================================================ */
.flagship { background: var(--ink-2); color: var(--on-dark); }
.flagship .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,88px); align-items: center; }
.flagship h2 { color: #fff; }
.flagship .lead { color: rgba(246,242,236,.74); }
.flagship .eyebrow { color: var(--on-dark-mut); }
.flagship__steps { display: grid; gap: 0; margin-top: 34px; }
.flagship__step { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.flagship__step:last-child { border-bottom: 1px solid var(--line-dark); }
.flagship__step .ix { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; color: var(--red-on-dark); flex-shrink: 0; width: 28px; }
.flagship__step b { color: #fff; display: block; margin-bottom: 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; }
.flagship__step span { color: rgba(246,242,236,.66); font-size: .9375rem; }
.flagship__viz { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--sh-xl); }
.flagship__viz .imgfill { position: absolute; inset: 0; }
.flagship__chip {
  position: absolute; background: var(--bg); color: var(--ink);
  border-radius: var(--pill); padding: .6em 1.05em; font-weight: 600; font-size: .875rem;
  box-shadow: var(--sh-md); display: flex; align-items: center; gap: 8px;
}
.flagship__chip svg { width: 17px; height: 17px; color: var(--red); }
@media (max-width: 860px) { .flagship .grid { grid-template-columns: 1fr; } }

/* ============================================================
   PROCESS — editorial numbered list
   ============================================================ */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
/* min-width:0 lets the 5 equal tracks shrink to the container instead of growing
   to each step's content min-content (which overflowed ~87px, esp. long DE words). */
.pstep { padding: 32px clamp(14px,2vw,28px) 8px; border-left: 1px solid var(--line-2); min-width: 0; }
.pstep:first-child { border-left: none; padding-left: 0; }
.pstep__n { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--red); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.pstep h4, .pstep h3 { font-size: 1.125rem; margin-bottom: 8px; font-weight: 600; }
.pstep p { color: var(--muted); font-size: .875rem; }
@media (max-width: 1000px) {
  .process { grid-template-columns: repeat(3, 1fr); gap: 0; }   /* 5 steps → 3+2, not the lonely 2+2+1 */
  .pstep { border-left: 1px solid var(--line-2); }
  .pstep:nth-child(3n+1) { border-left: none; padding-left: 0; }
  .pstep:nth-child(n+4) { border-top: 1px solid var(--line-2); margin-top: 8px; padding-top: 24px; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .pstep { border-left: none; padding-left: 0; border-top: 1px solid var(--line-2); margin-top: 0; padding-top: 28px; }
  .pstep:first-child { border-top: none; }
}
/* 4-step process: 4-across desktop (not 5 tracks + empty gap), 2×2 tablet */
.process--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) {
  .process--4 { grid-template-columns: repeat(2, 1fr); }
  .process--4 .pstep:nth-child(odd) { border-left: none; padding-left: 0; }
  .process--4 .pstep:nth-child(even) { border-left: 1px solid var(--line-2); }
  .process--4 .pstep:nth-child(-n+2) { border-top: none; margin-top: 0; padding-top: 32px; }
  .process--4 .pstep:nth-child(n+3) { border-top: 1px solid var(--line-2); margin-top: 8px; padding-top: 24px; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.qcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; display: flex; flex-direction: column; }
.qcard__stars { color: var(--red); letter-spacing: 2px; font-size: .875rem; margin-bottom: 20px; }
.qcard p { font-size: 1.125rem; line-height: 1.5; color: var(--ink); font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; }
.qcard__who { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.qcard__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--stone); overflow: hidden; flex-shrink: 0; }
.qcard__who b { display: block; font-size: .9375rem; }
.qcard__who span { font-size: .8125rem; color: var(--muted); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 840px; margin-inline: auto; border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: none; border: none; text-align: left; padding: 28px 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); letter-spacing: -.01em; transition: color .15s ease; }
.faq__q:hover { color: var(--red); }
.faq__q .ic { width: 24px; height: 24px; flex-shrink: 0; position: relative; }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; background: var(--red); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__q .ic::before { top: 11px; left: 2px; right: 2px; height: 2px; }
.faq__q .ic::after { left: 11px; top: 2px; bottom: 2px; width: 2px; }
.faq__item.open .faq__q .ic::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a-inner { padding: 0 4px 28px; color: var(--muted); font-size: 1rem; line-height: 1.65; max-width: 72ch; }

/* ============================================================
   CTA band — flat, confident, no glow
   ============================================================ */
.cta-band { background: var(--red-600); color: #fff; padding: clamp(44px,6vw,80px); border-radius: var(--r-xl); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { color: #fff; max-width: 17ch; letter-spacing: -.025em; }
.cta-band p { color: rgba(255,255,255,.88); margin-top: 14px; max-width: 44ch; }
.cta-band .btn--light { color: var(--red); }
.cta-band__act { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cta-band__act .btn--light svg { flex: 0 0 auto; }
.cta-band__meta { color: rgba(255,255,255,.9); font-size: .8125rem; font-weight: 600; letter-spacing: .01em; }
.cta-band__alt { color: rgba(255,255,255,.9); font-size: .875rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: color .15s ease; }
.cta-band__alt:hover { color: #fff; }
@media (max-width: 720px) { .cta-band__act { align-items: stretch; width: 100%; } .cta-band__act .btn--light { justify-content: center; } .cta-band__meta, .cta-band__alt { text-align: center; } }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.phero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.phero .imgfill { position: absolute; inset: 0; z-index: -2; }
/* Scrim aligned with the homepage hero ("editorial calm"): left stays dark
   enough for AA white text (≤720px text column), right breathes the photo;
   soft top/bottom vignette for crumbs + lower text. */
.phero::after { content:""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(13,10,6,.28) 0%, rgba(13,10,6,0) 30%, rgba(13,10,6,0) 72%, rgba(13,10,6,.34) 100%),
  linear-gradient(100deg, rgba(13,10,6,.86) 0%, rgba(13,10,6,.62) 55%, rgba(13,10,6,.16) 100%); }
@media (max-width: 640px) {
  .phero::after { background: linear-gradient(180deg, rgba(13,10,6,.62) 0%, rgba(13,10,6,.74) 55%, rgba(13,10,6,.88) 100%); }
}
.phero .wrap { padding-block: clamp(72px, 10vw, 138px); }
.phero__inner { max-width: 720px; }
.phero h1 { color: #fff; margin: 22px 0; }
.phero .lead { color: rgba(246,242,236,.84); }
.phero__crumbs { display: flex; gap: 9px; align-items: center; font-size: .875rem; color: rgba(246,242,236,.62); margin-bottom: 18px; }
.phero__crumbs a:hover { color: #fff; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.phero .eyebrow { color: rgba(246,242,236,.85); }
/* Mobile: stack CTA buttons full-width and let long labels (esp. DE) wrap
   instead of forcing the .btn min-content (nowrap) to blow out the column. */
@media (max-width: 600px) {
  .phero__actions { flex-direction: column; align-items: stretch; }
  .phero__actions .btn { width: 100%; justify-content: center; text-align: center; white-space: normal; }
}

/* ============================================================
   ICON CARDS — clean line icon, no soft square
   ============================================================ */
/* minmax floor lowered 280→235 so a 4-icon set stays 4-across down to ~laptop
   width instead of wrapping to 3+1 (lonely 4th) around 1024–1200px. */
.icards { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px,1fr)); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
/* 4-icon set: explicit 4→2→1 so it never wraps to a lonely 3+1 at any width. */
.icards--quad { grid-template-columns: repeat(4, 1fr); }
.icards--quad .icard { min-width: 0; }
@media (max-width: 1000px) { .icards--quad { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .icards--quad { grid-template-columns: 1fr; } }
.icard { padding: 38px clamp(24px,2.6vw,40px); background: var(--bg); transition: background .3s; }
.icard:hover { background: var(--paper); }
.icard__ic { color: var(--red); margin-bottom: 24px; }
.icard__ic svg { width: 30px; height: 30px; }
.icard h3 { font-size: 1.25rem; margin-bottom: 10px; font-weight: 600; }
.icard p { color: var(--muted); font-size: .9375rem; }

/* article cards */
.acards { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.acard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
@media (hover:hover){ .acard:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); } }
.acard__media { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.acard__media .imgfill { position: absolute; inset: 0; transition: transform .7s var(--ease); }
@media (hover:hover){ .acard:hover .acard__media .imgfill { transform: scale(1.05); } }
.acard__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.acard__cat { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red-700); margin-bottom: 12px; }
.acard h3 { font-size: 1.25rem; line-height: 1.18; margin-bottom: 11px; font-weight: 600; }
.acard p { color: var(--muted); font-size: .9375rem; flex: 1; }
.acard__meta { margin-top: 20px; font-size: .8125rem; color: var(--muted); }
@media (max-width: 900px) { .acards { grid-template-columns: 1fr; } }
/* 2-up variant for a 4-item article-card grid (default 3-col leaves a lonely 3+1). */
.acards--2up { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .acards--2up { grid-template-columns: 1fr; } }
/* coming-soon ("Brzy") cards are not links — kill the clickable hover affordances */
.acard[aria-disabled="true"] { cursor: default; opacity: .72; }
@media (hover:hover){
  .acard[aria-disabled="true"]:hover { transform: none; box-shadow: var(--sh-sm); }
  .acard[aria-disabled="true"]:hover .acard__media .imgfill,
  .acard[aria-disabled="true"]:hover .acard__media img { transform: none; }
}

/* ============================================================
   MULTI-STEP FORM
   ============================================================ */
.leadform { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-md); overflow: hidden; }
.leadform__head { padding: 30px 34px 0; }
.leadform__progress { display: flex; gap: 6px; margin-bottom: 22px; }
.leadform__progress .seg { height: 4px; flex: 1; border-radius: 4px; background: var(--line-2); overflow: hidden; transition: background .3s; }
.leadform__progress .seg.done { background: var(--red); }
.leadform__progress .seg.active { background: var(--red); opacity: .4; }
.leadform__stepnum { font-size: .8125rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
/* error states (a11y: per-field error + send-failure status region) */
.leadform__status { margin: 0 34px; }
.leadform__status:not(:empty) { background: var(--red-soft); color: var(--red-700); border: 1px solid #F3C9C2; border-radius: var(--r-sm); padding: 10px 13px; font-size: .875rem; line-height: 1.45; margin-top: 14px; }
.lf-fielderr { color: var(--red-700); font-size: .8125rem; font-weight: 600; margin-top: 6px; }
.lf-fielderr:not([hidden]) { display: block; }
.leadform input[aria-invalid="true"]:not([type="checkbox"]) { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.leadform__body { padding: 10px 34px 34px; }
.leadform__step { display: none; }
.leadform__step.active { display: block; animation: fstep .4s var(--ease); }
@keyframes fstep { from { opacity: 0; transform: translateX(12px); } to { opacity:1; transform: none; } }
.leadform__q { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin: 14px 0 6px; letter-spacing: -.02em; }
.leadform__hint { color: var(--muted); font-size: .9375rem; margin-bottom: 24px; }
.optgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.optgrid.cols-1 { grid-template-columns: 1fr; }
.opt {
  display: flex; align-items: center; gap: 15px;
  border: 1.5px solid var(--line-2); border-radius: var(--r-md);
  padding: 16px 18px; background: var(--paper); text-align: left;
  font-weight: 600; font-size: 1rem; color: var(--ink); transition: background .2s, color .2s, border-color .2s; width: 100%;
}
.opt:hover { border-color: var(--ink); }
.opt.selected { border-color: var(--red); background: var(--red-soft); }
.opt__ic { width: 40px; height: 40px; border-radius: 10px; background: var(--stone); display: grid; place-items: center; flex-shrink: 0; color: var(--ink); transition: background .2s, color .2s; }
.opt.selected .opt__ic { background: var(--red); color: #fff; }
.opt__ic svg { width: 21px; height: 21px; }
.opt small { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; margin-top: 2px; }
@media (max-width: 560px) { .optgrid { grid-template-columns: 1fr; } }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 1rem;
  padding: 13px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.leadform__nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; }
.leadform__back { background: none; border: none; color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; margin-left: -6px; cursor: pointer; }
.leadform__back:hover { color: var(--ink); }
.leadform__back[hidden] { visibility: hidden; }
.leadform__done { text-align: center; padding: 22px 0; }
.leadform__done .check { width: 72px; height: 72px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; margin: 0 auto 22px; }
.leadform__done .check svg { width: 36px; height: 36px; }

/* ---- AI-flavoured thank-you (Anna prepares the proposal) ---- */
.lf-anna { display: grid; place-items: center; margin: 2px auto 16px; }
.lf-anna__av { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff; background: linear-gradient(120deg, #E12A1E, #C32A7A, #8E2DE2); box-shadow: 0 10px 26px -8px rgba(142,45,226,.55); z-index: 0; }
.lf-anna__av::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; z-index: -1; background: conic-gradient(from 0deg, #E12A1E, #C32A7A, #8E2DE2, #C32A7A, #E12A1E); filter: blur(10px); opacity: .5; animation: lfAnnaSpin 5s linear infinite, lfAnnaPulse 2.6s ease-in-out infinite; }
@keyframes lfAnnaSpin { to { transform: rotate(360deg); } }
@keyframes lfAnnaPulse { 0%, 100% { opacity: .35; } 50% { opacity: .7; } }

.lf-done__title { text-align: center; }
.lf-done__intro { text-align: center; color: var(--muted); font-weight: 600; margin: 6px 0 18px; }
.lf-aiwork { list-style: none; padding: 0; margin: 0 auto 20px; max-width: 300px; display: flex; flex-direction: column; gap: 13px; }
.lf-aiwork li { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: .9375rem; opacity: .55; transition: color .35s, opacity .35s; }
.lf-aiwork li.is-done { color: var(--ink); opacity: 1; }
.lf-aiwork__ic { position: relative; width: 22px; height: 22px; flex-shrink: 0; display: grid; place-items: center; }
.lf-aiwork__chk { display: none; }
.lf-aiwork__chk svg { width: 20px; height: 20px; color: var(--green); }
.lf-aiwork li.is-done .lf-spin { display: none; }
.lf-aiwork li.is-done .lf-aiwork__chk { display: grid; place-items: center; animation: lfPop .3s var(--ease) both; }
@keyframes lfPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* spinner (also used by the submit button while sending) */
.lf-spin { display: inline-block; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; opacity: .55; animation: lfSpin .7s linear infinite; }
@keyframes lfSpin { to { transform: rotate(360deg); } }

.lf-done__foot { text-align: center; max-width: 46ch; margin: 0 auto 20px; }
.lf-done__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) {
  .lf-anna__av::before { animation: none; }
  .lf-spin { animation: none; }
}

/* contact info */
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px,5vw,64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.cinfo { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.cinfo__item { display: flex; gap: 18px; align-items: flex-start; padding: 22px 4px; border-bottom: 1px solid var(--line-2); }
.cinfo__item .ic { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.cinfo__item .ic svg { width: 22px; height: 22px; }
.cinfo__item b { display: block; font-family: var(--font-display); font-weight: 600; margin-bottom: 4px; }
.cinfo__item span, .cinfo__item a { color: var(--muted); font-size: .9375rem; }
.cinfo__item a:hover { color: var(--red); }

.region-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.region-chip { background: var(--stone); border-radius: var(--pill); padding: .45em .95em; font-size: .875rem; font-weight: 500; color: var(--text); }

/* prose */
.prose { max-width: 720px; }
.prose p { margin-bottom: 18px; color: var(--muted); line-height: 1.7; }
.prose h2 { margin: 36px 0 16px; }

/* glossary */
.gloss { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; border-top: 1px solid var(--line-2); }
.gloss__item { padding: 26px 4px; border-bottom: 1px solid var(--line-2); }
.gloss__item:nth-child(odd) { border-right: 1px solid var(--line-2); padding-right: 36px; }
.gloss__item:nth-child(even) { padding-left: 36px; }
.gloss__item b { font-family: var(--font-display); color: var(--ink); font-weight: 700; font-size: 1.125rem; }
.gloss__item p { color: var(--muted); font-size: .9375rem; margin-top: 6px; }
@media (max-width: 640px) {
  .gloss { grid-template-columns: 1fr; }
  .gloss__item:nth-child(odd) { border-right: none; padding-right: 4px; }
  .gloss__item:nth-child(even) { padding-left: 4px; }
}

/* ============================================================
   PROJECTS SHOWCASE (Referenzen)
   ============================================================ */
.projects__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 22px; align-items: stretch; }
.proj-feature {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  min-height: 480px; isolation: isolate; box-shadow: var(--sh-md); background: var(--ink-2);
}
.proj-feature .imgfill { position: absolute; inset: 0; z-index: -2; transition: opacity .35s var(--ease); }
.proj-feature::after { content:""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 38%, rgba(12,10,7,.82) 100%); }
.proj-feature__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px,3vw,40px); color: #fff; }
.proj-feature__title { color: #fff; font-size: clamp(1.6rem,2.6vw,2.2rem); letter-spacing: -.02em; }
.proj-feature__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 14px; }
.proj-feature__meta .tag { font-weight: 600; font-size: .9375rem; color: rgba(255,255,255,.85); }
.proj-feature__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(20,16,11,.5); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 600; font-size: .875rem; padding: .5em .9em; border-radius: var(--pill); }
.proj-feature__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.proj-nav { position: absolute; right: clamp(20px,3vw,36px); bottom: clamp(24px,3vw,40px); display: flex; gap: 10px; z-index: 2; }
.proj-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(20,16,11,.38); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.proj-nav button:hover { background: var(--red); border-color: var(--red); }
.proj-nav button svg { width: 20px; height: 20px; }

.proj-list { display: flex; flex-direction: column; gap: 10px; }
.proj-list__label { margin-bottom: 4px; }
.proj-item {
  display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center;
  padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--paper); cursor: pointer; text-align: left; width: 100%;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
@media (hover:hover){ .proj-item:hover { border-color: var(--line-2); transform: translateX(2px); } }
.proj-item.active { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.proj-item__thumb { width: 84px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--stone); flex-shrink: 0; }
.proj-item__thumb .imgfill { border-radius: 10px; }
.proj-item__txt b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); line-height: 1.2; }
.proj-item__txt span { font-size: .875rem; color: var(--muted); }
.proj-list .btn { margin-top: 6px; }

.proj-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.proj-stats__cell { padding: clamp(24px,3vw,34px) clamp(20px,3vw,40px); border-left: 1px solid var(--line); }
.proj-stats__cell:first-child { border-left: none; }
.proj-stats__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem,3vw,2.4rem); letter-spacing: -.03em; color: var(--ink); }
.proj-stats__num .u { color: var(--red); }
.proj-stats__lbl { color: var(--muted); font-size: .875rem; margin-top: 8px; }

@media (max-width: 960px) {
  .projects__grid { grid-template-columns: 1fr; }
  .proj-feature { min-height: 380px; }
  /* feature goes full-width single column → title+badge sit bottom-left, so move the
     prev/next nav to the TOP-right to avoid colliding with the badge ("Dokončení Q2"). */
  .proj-nav { top: clamp(16px,3.5vw,24px); bottom: auto; }
  .proj-nav button { background: rgba(20,16,11,.5); }   /* a touch darker for contrast on bright sky */
  .proj-list { flex-direction: row; flex-wrap: wrap; }
  .proj-item { flex: 1 1 280px; }
  .proj-list .btn { flex-basis: 100%; }
}
@media (max-width: 620px) {
  .proj-stats { grid-template-columns: 1fr; }
  .proj-stats__cell { border-left: none; border-top: 1px solid var(--line); }
  .proj-stats__cell:first-child { border-top: none; }
}

/* ============================================================
   Brand marquee — heat-pump brands we install (auto-scrolling
   wordmarks; replace with official logo SVGs before launch)
   ============================================================ */
.brandstrip { padding-block: clamp(34px, 4.5vw, 52px); background: var(--bg); overflow: hidden; }
.brandstrip__label { text-align: center; color: var(--muted); font-size: .875rem; font-weight: 600; letter-spacing: .03em; margin: 0 var(--gutter) clamp(22px, 3vw, 30px); }
.brandstrip__viewport { position: relative; }
.brandstrip__viewport::before, .brandstrip__viewport::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(48px, 10vw, 140px); z-index: 2; pointer-events: none; }
.brandstrip__viewport::before { left: 0;  background: linear-gradient(90deg,  var(--bg), rgba(246,242,236,0)); }
.brandstrip__viewport::after  { right: 0; background: linear-gradient(270deg, var(--bg), rgba(246,242,236,0)); }
.brandstrip__track { display: flex; align-items: center; width: max-content; animation: brandscroll 42s linear infinite; }
.brandstrip__viewport:hover .brandstrip__track { animation-play-state: paused; }
/* margin-right (not gap) so the two identical halves loop seamlessly at translateX(-50%) */
.brandstrip__logo { flex-shrink: 0; margin-right: clamp(44px, 6vw, 84px); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.55rem); letter-spacing: -.01em; color: var(--muted); white-space: nowrap; transition: color .25s; }
.brandstrip__logo:hover { color: var(--ink); }
@keyframes brandscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .brandstrip__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 18px; }
  .brandstrip__logo { margin-right: 0; }
  .brandstrip__viewport::before, .brandstrip__viewport::after { display: none; }
}
