/* Public presentation only. The company panel retains its own styles. */
.site-body { --energy-green: #286644; --energy-soft: #f1f6ed; --energy-wire: #afc5b6; }
.site-body h1, .site-body h2 { text-wrap: balance; }
.site-body h2 { letter-spacing: -.025em; }
.site-eyebrow { letter-spacing: .1em; }
.site-nav-contact, .site-button, .site-icon-button { border-radius: 6px; }
.site-navigation .site-nav-contact { background: #f6f8f3; border-color: #d6e0d1; }
.site-hero { min-height: max(590px, calc(100svh - var(--site-header-height) - 90px)); }
.site-hero-shade { background: linear-gradient(90deg, rgb(12 35 24 / 86%), rgb(12 35 24 / 64%) 38%, rgb(12 35 24 / 12%) 76%); }
.site-hero h1 { font-size: clamp(48px, 5.3vw, 76px); font-weight: 600; letter-spacing: -.035em; line-height: 1.06; max-width: 700px; }
.site-hero-copy { max-width: 490px; line-height: 1.8; }
.site-hero-system { position: absolute; right: max(40px, calc((100vw - 1280px) / 2)); bottom: 52px; padding: 18px 22px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 8px; background: #173c2ded; color: #fff; max-width: min(480px, 40vw); }
.site-hero-system-label { display: block; margin-bottom: 12px; color: #c2ec54; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.site-hero-system { --energy-tint: rgb(255 255 255 / 8%); }
.site-hero-system > div { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.site-hero-system .energy-icon { width: 27px; height: 27px; flex: 0 0 27px; }
.site-service { border-radius: 10px; border-color: #e0e7dd; box-shadow: 0 4px 12px #183b2205; }
.site-service:hover { box-shadow: 0 14px 35px #183b2212; }
.site-service-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .025em; }
.site-service-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #5c893e; flex: 0 0 5px; }
.site-service-cta .site-icon { width: 30px; height: 30px; padding: 6px; background: #edf3e7; border-radius: 50%; }
.site-service-topic { border-left: 2px solid #adc597; padding-left: 22px; }
.site-process { counter-reset: steps; }
.site-process li { border-top-color: #597362; position: relative; }
.site-step-number { display: inline-grid; place-items: center; min-width: 32px; height: 32px; border: 1px solid #62805a; border-radius: 50%; }
.site-contact-form { padding: 30px; background: #fff; border: 1px solid #dbe5d4; border-radius: 10px; }
.site-contact-form .site-phone-number input { margin-top: 0; }
.site-contact-prompt { border-radius: 8px; }

/* Small supporting figures live below the service's copy and CTA. */
.energy-icon { width: 28px; height: 28px; flex-shrink: 0; }
.energy-icon-fill { fill: var(--energy-tint, #edf5e9); }
.energy-visual, .site-energy-diagram { --energy-tone: #286644; --energy-tint: #edf5e9; width: 100%; max-width: 520px; margin: 24px 0 0; padding: 12px 16px; border: 1px solid #dce5d7; border-radius: 7px; background: #fbfcf9; color: var(--ink); box-shadow: none; }
.energy-visual [hidden], .site-energy-diagram [hidden] { display: none !important; }
.energy-heading, .site-energy-diagram figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; min-height: 36px; margin: 0 0 12px; font-size: 13px; font-weight: 600; line-height: 1.5; color: #405a3b; }
.energy-caption-actions { display: flex; align-items: center; gap: 8px; max-width: 100%; }
.site-energy-toggle { width: 32px; height: 32px; min-width: 32px; flex: 0 0 32px; background: transparent; border-color: #dbe4d5; }
.site-energy-toggle .site-icon { width: 14px; height: 14px; }
.energy-mode-controls { display: inline-flex; align-items: center; gap: 4px; padding: 2px; border: 1px solid #dbe4d5; border-radius: 5px; }
.energy-mode-controls button { min-height: 32px; padding: 5px 8px; background: transparent; border: 0; border-radius: 3px; font: inherit; font-size: 12px; color: #52654b; }
.energy-mode-controls button[aria-pressed="true"] { background: #e9f1e2; color: #254628; }
.energy-mode { padding: 0; min-height: 0; }
.energy-mode-cool { --energy-tone: #3d7791; --energy-tint: #e6f1f5; }
.energy-mode-warm, .energy-mode-floor { --energy-tone: #9a6639; --energy-tint: #f5ecdf; }
.energy-mode-night { --energy-tone: #405b73; --energy-tint: #e5ecf2; }
.energy-route, .site-energy-flow, .site-service-detail .site-energy-flow { display: flex; align-items: flex-start; justify-content: center; gap: 0; margin: 0; padding: 0; list-style: none; }
.energy-step, .site-energy-flow li, .site-service-detail .site-energy-flow li { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; flex: 1 1 0; min-width: 0; min-height: 0; padding: 0; text-align: center; color: #354e32; font-size: 12px; font-weight: 500; line-height: 1.5; }
.energy-step-icon, .site-energy-node { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border: 0; border-radius: 0; background: transparent; color: var(--energy-tone); animation: none; }
.energy-step .energy-icon, .site-energy-node > .energy-icon { width: 30px; height: 30px; }
.site-energy-node[data-energy-symbol] { background: transparent; border: 0; }
.site-energy-number { display: none; }
.site-energy-label, .site-service-detail .site-energy-label { max-width: 140px; font-size: 12px; font-weight: 500; line-height: 1.5; overflow-wrap: normal; text-align: center; }
.energy-arrow { display: block; width: 18px; flex: 0 0 18px; margin-top: 12px; color: var(--energy-tone); }
.energy-arrow svg { display: block; width: 100%; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.energy-wire { fill: none; stroke: #a9bda0; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.energy-pulse { fill: none; stroke: var(--energy-tone); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1 99; animation: energy-current 9s linear infinite; animation-play-state: paused; vector-effect: non-scaling-stroke; }
/* Only one connector moves. Air and floor figures use one small moving stroke. */
.energy-arrow ~ .energy-arrow .energy-pulse, .energy-route-group + .energy-route-group .energy-pulse, [data-system="klimatyzacja"] .energy-pulse, [data-system="ogrzewanie-podlogowe"] .energy-pulse { display: none; }
.energy-air-stream, .energy-heat-stream { animation: none; }
[data-system="klimatyzacja"] .energy-air-stream { stroke-dasharray: 3 5; animation: energy-air 9s linear infinite; animation-play-state: paused; }
[data-system="ogrzewanie-podlogowe"] .energy-heat-stream { stroke-dasharray: 3 5; animation: energy-warmth 9s linear infinite; animation-play-state: paused; }
.is-flow-playing.is-flow-visible .energy-pulse, .is-flow-playing.is-flow-visible .energy-air-stream, .is-flow-playing.is-flow-visible .energy-heat-stream { animation-play-state: running; }
@keyframes energy-current { to { stroke-dashoffset: -100; } }
@keyframes energy-air { to { stroke-dashoffset: -32; } }
@keyframes energy-warmth { to { stroke-dashoffset: 32; } }
.energy-route-group + .energy-route-group { padding-top: 8px; margin-top: 12px; border-top: 1px solid #e1e8dc; }
.energy-route-group + .energy-route-group .energy-route { align-items: center; }
.energy-route-group + .energy-route-group .energy-step { flex-direction: row; justify-content: center; align-items: center; gap: 6px; }
.energy-route-group + .energy-route-group .energy-step-icon { width: 24px; height: 24px; flex-basis: 24px; }
.energy-route-group + .energy-route-group .energy-icon { width: 22px; height: 22px; }
.energy-route-group + .energy-route-group .energy-arrow { margin-top: 0; }
.energy-route-label { margin: 0 0 6px; font-size: 12px; color: #566b4f; line-height: 1.5; }
.energy-input-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; font-size: 12px; color: #586c51; }
.energy-input-note .energy-icon { width: 16px; height: 16px; }
.energy-footnote { padding: 0; margin: 10px 0 0; border: 0; font-size: 11px; color: #61705a; line-height: 1.5; }
.site-energy-connector, .site-service-detail .site-energy-connector { position: absolute; top: 17px; left: calc(50% + 22px); width: calc(100% - 44px); height: 1px; background: #b6c7ae; }
.site-energy-connector::before { content: ''; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-right: 1px solid #66815a; border-top: 1px solid #66815a; transform: rotate(45deg); }
.site-energy-connector::after, .site-service-detail .site-energy-connector::after { top: 50%; left: 0; width: 3px; height: 3px; background: #66815a; box-shadow: none; animation: site-energy-transfer 10s linear infinite; animation-play-state: paused; }
.site-energy-flow li + li .site-energy-connector::after { display: none; }
.site-energy-diagram.is-flow-playing.is-flow-visible .site-energy-node { animation: none; }

@media (min-width: 701px) and (max-width: 1150px) {
  .site-hero-system { bottom: 30px; right: 40px; padding: 14px 16px; }
  .site-hero-system > div { gap: 7px; font-size: 11px; }
}
@media (max-width: 980px) { .site-hero-system { display: none; } }
@media (max-width: 700px) {
  .site-hero { min-height: max(430px, calc(100svh - var(--site-header-height) - var(--site-quick-contact-height) - 60px)); }
  .site-hero h1 { font-size: clamp(34px, 9vw, 46px); line-height: 1.08; }
  .site-hero-copy { font-size: 15px; max-width: 360px; }
  .site-service-hero h1 { font-size: clamp(32px, 8.6vw, 43px); }
  .site-contact-form { padding: 22px 18px; }
  .site-process .site-step-number { top: 22px; }
  .energy-visual, .site-energy-diagram { padding: 12px; margin-top: 20px; max-width: 460px; }
  .site-energy-toggle { display: none; }
  .energy-heading, .site-energy-diagram figcaption { font-size: 13px; min-height: 20px; margin-bottom: 10px; }
  .energy-caption-actions { flex-wrap: wrap; }
  .energy-mode-controls button { min-height: 44px; padding: 6px 9px; }
  .energy-route, .site-energy-flow, .site-service-detail .site-energy-flow { flex-direction: column; align-items: stretch; gap: 0; }
  .energy-step, .site-energy-flow li, .site-service-detail .site-energy-flow li { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; flex: 0 0 auto; min-height: 32px; text-align: left; }
  .energy-step-icon, .site-energy-node { flex: 0 0 28px; width: 28px; height: 28px; }
  .energy-step .energy-icon, .site-energy-node > .energy-icon { width: 25px; height: 25px; }
  .site-energy-label, .site-service-detail .site-energy-label { max-width: none; text-align: left; }
  .energy-arrow { flex: 0 0 12px; width: 16px; height: 12px; margin: 0 0 0 6px; }
  .energy-arrow svg { width: 14px; height: 12px; transform: rotate(90deg); }
  .energy-route-group + .energy-route-group .energy-route { flex-direction: row; align-items: center; }
  .energy-route-group + .energy-route-group .energy-step { flex: 1 1 0; width: auto; gap: 5px; }
  .energy-route-group + .energy-route-group .energy-arrow { flex: 0 0 14px; margin: 0 4px; }
  .energy-route-group + .energy-route-group .energy-arrow svg { transform: none; }
  .energy-input-note { justify-content: flex-start; }
  .site-energy-flow, .site-service-detail .site-energy-flow { gap: 12px; }
  .site-energy-connector, .site-service-detail .site-energy-connector { top: 32px; left: 13px; width: 1px; height: 12px; }
  .site-energy-connector::before { top: auto; bottom: 0; right: -2px; transform: rotate(135deg); }
  .site-energy-connector::after { display: none; }
  .energy-pulse { display: none; }
  .energy-visual *, .site-energy-diagram * { animation: none !important; }
}
@media (min-width: 480px) and (max-height: 600px) {
  .site-hero h1 { font-size: 32px; }
  .site-hero .site-hero-copy { font-size: 12px; line-height: 1.5; max-width: 760px; }
  .site-hero, .site-service-hero { min-height: calc(100svh - var(--site-header-height) - var(--site-quick-contact-height) - 30px); }
  .site-hero-system { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .energy-pulse { display: none; }
  .energy-air-stream, .energy-heat-stream { stroke-dasharray: none !important; }
  .energy-visual *, .site-energy-diagram * { animation: none !important; }
}
