/* /technologia-lgs/ – LGS technology (one page with sections #szkielet, #przegrody, #energia, #smart, #ekologia). */

/* intro + in-page navigation */
.lgs-title { margin: 4px 0 8px; }
.lgs-lead { margin-bottom: 24px; font-size: 17px; line-height: 1.6; }
.lgs-toc { flex: .6 1 340px; }
.lgs-toc__list { display: grid; gap: 8px; margin-top: 12px; list-style: none; }
.lgs-chip {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: var(--slate-50); box-shadow: inset 0 0 0 1px var(--slate-200); color: var(--slate-900);
  font-weight: 700; text-decoration: none; transition: box-shadow .2s, background .2s;
}
.lgs-chip:hover { background: var(--white); box-shadow: var(--shadow-hover); color: var(--slate-900); }
.lgs-chip .tile--sm { border-radius: 999px; }
.lgs-chip__num { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lgs-chip__name { flex: 1 1 auto; }
.lgs-chip__arrow { width: 12px; height: 8px; color: var(--brand-600); }

/* section building blocks */
.lgs-subtitle { margin-bottom: 12px; font-weight: 800; }
.lgs-subtitle--gap { margin-top: 24px; }
.lgs-points { display: grid; gap: 14px; padding-left: 0; list-style: none; font-size: 15px; color: var(--slate-700); }
.lgs-points li { position: relative; padding-left: 20px; }
.lgs-points li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 99px; background: var(--grad-tile); }
.lgs-points strong { color: var(--slate-900); }
.lgs-more-btn { margin-top: 20px; }
.lgs-card-title { margin: 12px 0 6px; font-size: 16px; font-weight: 800; }
.card--pad > .lgs-card-title:first-child { margin-top: 0; }
.lgs-card-text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.section--tight-gap { margin-top: 16px; }
.lgs-prose-card { max-width: none; }

.lgs-gallery { min-width: 0; }
.lgs-figure { display: grid; place-items: center; padding: 16px; }
.lgs-figure img { width: 100%; max-width: 560px; height: auto; }
.lgs-photo { position: relative; min-height: 320px; border-radius: var(--radius-lg); overflow: hidden; }
.lgs-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lgs-wide { position: relative; height: clamp(240px, 36vw, 480px); border-radius: var(--radius-lg); overflow: hidden; }
.lgs-wide img { width: 100%; height: 100%; object-fit: cover; }

/* przegrody: hotspot cards + U values */
.lgs-hs .hotspot { max-width: 560px; margin: 0 auto; }
.lgs-split-rev { flex-direction: row-reverse; }
.lgs-uvals { margin-top: 20px; }
.lgs-uval { padding: 16px; border-radius: var(--radius-md); background: var(--slate-50); }
.lgs-uval__value { margin-top: 6px; font-size: 26px; font-weight: 800; letter-spacing: var(--ls-head); font-variant-numeric: tabular-nums; line-height: 1.15; }
.lgs-uval__unit { font-size: 13px; color: var(--muted); }

/* hotspot dot positions (copied from the old /przegrody/ page CSS, branch main) */
.hotspot--sciana .hotspot__spot:nth-of-type(1) { --x: 76.094%; --y: 69.204%; }
.hotspot--sciana .hotspot__spot:nth-of-type(2) { --x: 61.111%; --y: 60.885%; }
.hotspot--sciana .hotspot__spot:nth-of-type(3) { --x: 67.172%; --y: 44.071%; }
.hotspot--sciana .hotspot__spot:nth-of-type(4) { --x: 44.613%; --y: 73.451%; }
.hotspot--sciana .hotspot__spot:nth-of-type(5) { --x: 50.168%; --y: 30.265%; }
.hotspot--sciana .hotspot__spot:nth-of-type(6) { --x: 31.481%; --y: 46.726%; }
.hotspot--sciana .hotspot__spot:nth-of-type(7) { --x: 63.973%; --y: 18.230%; }
.hotspot--sciana .hotspot__spot:nth-of-type(8) { --x: 32.323%; --y: 18.407%; }
.hotspot--dach .hotspot__spot:nth-of-type(1) { --x: 45.118%; --y: 19.965%; }
.hotspot--dach .hotspot__spot:nth-of-type(2) { --x: 71.212%; --y: 16.667%; }
.hotspot--dach .hotspot__spot:nth-of-type(3) { --x: 47.643%; --y: 45.139%; }
.hotspot--dach .hotspot__spot:nth-of-type(4) { --x: 32.660%; --y: 50.694%; }
.hotspot--dach .hotspot__spot:nth-of-type(5) { --x: 37.037%; --y: 65.451%; }
.hotspot--dach .hotspot__spot:nth-of-type(6) { --x: 16.330%; --y: 73.611%; }
.hotspot--dach .hotspot__spot:nth-of-type(7) { --x: 61.448%; --y: 63.889%; }
.hotspot--dach .hotspot__spot:nth-of-type(8) { --x: 77.273%; --y: 50.000%; }
.hotspot--dach .hotspot__spot:nth-of-type(9) { --x: 51.010%; --y: 82.465%; }

/* "Wnętrza domów Techouse" – photo + dark quote box */
.lgs-quote { align-items: stretch; }
.lgs-quote__media { position: relative; flex: 1 1 360px; min-height: 340px; border-radius: var(--radius-lg); overflow: hidden; }
.lgs-quote__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lgs-quote__box { flex: 1.4 1 420px; margin: 0; padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.lgs-quote__icon { width: 32px; height: 32px; color: var(--teal-300); }
.lgs-quote__title { margin: 16px 0 10px; font-size: clamp(22px, 2.4vw, 28px); color: var(--white); }
.lgs-quote__text { margin: 0; font-size: 16px; line-height: 1.7; }

/* ekologia closing photo */
.lgs-eco { position: relative; margin: 0; height: clamp(280px, 38vw, 500px); border-radius: var(--radius-xl); overflow: hidden; }
.lgs-eco img { width: 100%; height: 100%; object-fit: cover; }
.lgs-eco__caption {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 64px 32px 28px;
  background: linear-gradient(to top, rgba(18, 28, 34, .85), rgba(18, 28, 34, 0)); color: var(--white);
}
.lgs-eco__kicker { font-size: 14px; color: rgba(255, 255, 255, .9); }
.lgs-eco__title { font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: var(--ls-head); line-height: 1.1; }

@media (max-width: 640px) {
  .lgs-photo { min-height: 240px; }
  .lgs-quote__media { min-height: 260px; }
  .lgs-quote__box { padding: 24px 20px; }
  .lgs-eco__caption { padding: 48px 20px 20px; }
}

/* tidy 2×2 photo grid instead of a tall masonry next to the text card */
.lgs-gallery .gallery__img { height: 250px; object-fit: cover; }
@media (max-width: 640px) { .lgs-gallery .gallery__img { height: 160px; } }
/* text cards next to the hotspot pictures: content vertically centred */
.lgs-center { display: flex; flex-direction: column; justify-content: center; }
.lgs-center > .btn { align-self: flex-start; }
.lgs-hs .hotspot { max-width: 470px; }
