/* ==========================================================================
   Energia Świetlna — energiaswietlna.pl
   Czysty CSS, mobile-first, bez frameworków. Fonty lokalne (assets/fonts).
   Kierunek: granat krzemu nocą + złoto słońca. Typografia: Fraunces / Source Sans 3.
   ========================================================================== */

/* --- Fonty (lokalne) --- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/fraunces-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/sourcesans3-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/sourcesans3-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokeny --- */
:root {
  --noc: #0A1724;            /* najgłębszy granat — hero, stopka */
  --granat: #102438;         /* pasy ciemne */
  --granat-karta: #182F47;   /* karty na ciemnym */
  --zloto: #D9A441;          /* akcent, CTA */
  --zloto-jasne: #E9C071;    /* hover, detale na ciemnym */
  --papier: #F6F3EC;         /* tło strony */
  --biel: #FDFCF9;           /* karty na jasnym */
  --atrament: #1A2734;       /* tekst */
  --szary: #56646F;          /* tekst drugorzędny */
  --linia: #E4DDCC;          /* hairline na jasnym */
  --linia-ciemna: rgba(246, 243, 236, 0.16);
  --mono: ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, monospace;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Source Sans 3', -apple-system, 'Segoe UI', sans-serif;
  --luz: clamp(4rem, 11vw, 7.5rem);  /* oddech między sekcjami */
}

/* --- Reset i podstawy --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--atrament);
  background: var(--papier);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p a, li a, td a { color: var(--atrament); text-decoration-color: var(--zloto); text-decoration-thickness: 2px; text-underline-offset: 3px; }
p a:hover, li a:hover, td a:hover { color: var(--zloto); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.12;
  color: var(--noc);
  margin: 0 0 0.55em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 8vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 5vw, 2.7rem); }
h3 { font-size: 1.28rem; font-weight: 600; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--zloto); outline-offset: 3px; border-radius: 2px; }

.zawartosc { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 2rem); }
.zawartosc--waska { max-width: 780px; }

/* --- Etykieta sekcji: znaczek ogniw + mono --- */
.etykieta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9A6F1E;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
}
.etykieta::before {
  content: '';
  flex: none;
  width: 24px; height: 8px;
  background:
    linear-gradient(90deg, transparent 0 6px, var(--papier) 6px 8px, transparent 8px 14px, var(--papier) 14px 16px, transparent 16px) ,
    var(--zloto);
  border-radius: 1px;
}
.sekcja--ciemna .etykieta, .hero .etykieta { color: var(--zloto); }
.sekcja--ciemna .etykieta::before, .hero .etykieta::before {
  background:
    linear-gradient(90deg, transparent 0 6px, var(--noc) 6px 8px, transparent 8px 14px, var(--noc) 14px 16px, transparent 16px),
    var(--zloto);
}

/* --- Nagłówek --- */
.naglowek {
  background: var(--papier);
  border-bottom: 1px solid var(--linia);
  position: sticky;
  top: 0;
  z-index: 60;
}
.naglowek__wnetrze {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.7rem clamp(1.25rem, 5vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.naglowek__logo { flex: none; }
.naglowek__logo img { height: 42px; width: auto; }
.naglowek__tel {
  font-family: var(--serif);
  font-weight: 620;
  font-size: 1.02rem;
  color: var(--noc);
  text-decoration: none;
  white-space: nowrap;
}
.naglowek__tel span {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.62rem;
  color: var(--szary);
  display: block;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.naglowek__tel:hover { color: #9A6F1E; }

.menu { display: flex; align-items: center; gap: 0.1rem; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  color: var(--atrament);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.menu a:hover { color: #9A6F1E; }
.menu a[aria-current="page"] {
  color: var(--noc);
  box-shadow: inset 0 -2px 0 var(--zloto);
}
.menu__przelacznik { display: none; }
.menu__ikona { display: none; }

/* Nawigacja mobilna: pełnoekranowa zasłona na granacie */
@media (max-width: 940px) {
  .menu__przelacznik {
    display: block;
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0;
    overflow: hidden;
  }
  .menu__ikona {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px; height: 46px;
    padding: 12px 11px;
    border: 1px solid var(--linia);
    border-radius: 10px;
    cursor: pointer;
    background: var(--biel);
    position: relative;
    z-index: 75;
  }
  .menu__ikona span { display: block; height: 2px; background: var(--noc); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
  .menu__przelacznik:focus-visible ~ .menu__ikona { outline: 3px solid var(--zloto); outline-offset: 3px; }
  .menu__przelacznik:checked ~ .menu__ikona { background: transparent; border-color: var(--linia-ciemna); }
  .menu__przelacznik:checked ~ .menu__ikona span { background: var(--papier); }
  .menu__przelacznik:checked ~ .menu__ikona span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu__przelacznik:checked ~ .menu__ikona span:nth-child(2) { opacity: 0; }
  .menu__przelacznik:checked ~ .menu__ikona span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .naglowek__nawigacja {
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, var(--noc) 0%, var(--granat) 100%);
    display: none;
    z-index: 70;
    overflow-y: auto;
    padding: 6rem 2rem 3rem;
  }
  .menu__przelacznik:checked ~ .naglowek__nawigacja { display: block; }
  .menu { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .menu a {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 540;
    color: var(--papier);
    padding: 0.45rem 0;
  }
  .menu a:hover { color: var(--zloto-jasne); }
  .menu a[aria-current="page"] { color: var(--zloto); box-shadow: none; }
  .naglowek__tel { display: none; } /* na telefonie jest dolny pasek */
}

/* --- Przyciski --- */
.przycisk {
  display: inline-block;
  background: var(--zloto);
  color: var(--noc);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border: 1.5px solid var(--zloto);
  border-radius: 8px;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.przycisk:hover { background: var(--zloto-jasne); border-color: var(--zloto-jasne); color: var(--noc); }
.przycisk--kontur {
  background: transparent;
  color: var(--noc);
  border-color: rgba(26, 39, 52, 0.45);
}
.przycisk--kontur:hover { background: var(--noc); color: var(--papier); border-color: var(--noc); }
.sekcja--ciemna .przycisk--kontur, .hero .przycisk--kontur { color: var(--papier); border-color: var(--linia-ciemna); }
.sekcja--ciemna .przycisk--kontur:hover, .hero .przycisk--kontur:hover { background: var(--papier); color: var(--noc); border-color: var(--papier); }

/* --- Hero --- */
.hero {
  position: relative;
  background: var(--noc);
  color: var(--papier);
  display: flex;
  align-items: flex-end;
  min-height: min(92svh, 820px);
  padding: 7rem 0 clamp(3rem, 8vw, 5rem);
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero-pomiar.jpg') center 30% / cover no-repeat;
  filter: saturate(0.8);
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(178deg, rgba(10, 23, 36, 0.42) 0%, rgba(10, 23, 36, 0.62) 55%, var(--noc) 96%);
  z-index: -1;
}
.hero h1 { color: var(--biel); max-width: 15ch; margin-bottom: 0.35em; }
.hero__wstep {
  font-size: clamp(1.08rem, 2.5vw, 1.25rem);
  max-width: 52ch;
  color: rgba(246, 243, 236, 0.88);
  margin-bottom: 2rem;
}
.hero__wstep a { color: var(--papier); }
.hero__akcje { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }
.hero__tel {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--biel);
  text-decoration: none;
  border-bottom: 2px solid var(--zloto);
  padding-bottom: 2px;
}
.hero__tel:hover { color: var(--zloto-jasne); }

/* Hero podstron — niższy */
.hero--podstrona { min-height: 0; padding: clamp(3.5rem, 9vw, 6rem) 0; align-items: center; }
.hero--podstrona::before { background-image: url('../img/panele-niebo.jpg'); background-position: center 72%; }
.hero--podstrona::after { background: linear-gradient(178deg, rgba(10, 23, 36, 0.78) 0%, rgba(10, 23, 36, 0.86) 60%, var(--noc) 98%); }
.hero--podstrona h1 { font-size: clamp(2.1rem, 6vw, 3.3rem); }
.hero--podstrona .hero__wstep { margin-bottom: 0; }

/* Pasek ogniw — sygnatura, subtelna */
.pasek-ogniw {
  height: 9px;
  border-top: 1px solid var(--zloto);
  background-image:
    linear-gradient(90deg, rgba(246, 243, 236, 0.25) 1px, transparent 1px),
    linear-gradient(180deg, #21405F, #102438);
  background-size: 28px 100%, 100% 100%;
}

/* --- Sekcje --- */
.sekcja { padding: var(--luz) 0; }
.sekcja--biala { background: var(--biel); border-top: 1px solid var(--linia); border-bottom: 1px solid var(--linia); }
.sekcja--ciemna { background: linear-gradient(180deg, var(--granat) 0%, var(--noc) 100%); color: rgba(246, 243, 236, 0.88); }
.sekcja--noc { background: var(--noc); color: rgba(246, 243, 236, 0.88); padding-top: 0; }
.sekcja--noc h2, .sekcja--noc h3 { color: var(--biel); }
.sekcja--ciemna h2, .sekcja--ciemna h3 { color: var(--biel); }
.sekcja--ciemna p a, .sekcja--ciemna li a { color: var(--papier); }
.sekcja--ciemna p a:hover, .sekcja--ciemna li a:hover { color: var(--zloto-jasne); }
.sekcja__naglowek { max-width: 640px; margin-bottom: clamp(2rem, 6vw, 3.2rem); }
.sekcja__naglowek--srodek { margin-inline: auto; text-align: center; }
.sekcja__naglowek--srodek .etykieta { justify-content: center; }

/* --- Pas statystyk --- */
.statystyki {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 760px) { .statystyki { grid-template-columns: repeat(4, 1fr); } }
.statystyki .liczba {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 3.1rem);
  font-weight: 560;
  color: var(--zloto);
  line-height: 1.05;
  display: block;
}
.statystyki .opis {
  font-size: 0.95rem;
  color: rgba(246, 243, 236, 0.75);
  display: block;
  margin-top: 0.35rem;
  max-width: 20ch;
}

/* --- Karty --- */
.karty {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .karty { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .karty--cztery { grid-template-columns: repeat(4, 1fr); } .karty--trzy { grid-template-columns: repeat(3, 1fr); } }
.karta {
  background: var(--biel);
  border: 1px solid var(--linia);
  border-radius: 14px;
  padding: 1.7rem 1.6rem;
}
.sekcja--biala .karta { background: var(--papier); }
.karta h3 { margin-bottom: 0.4em; }
.karta p { margin: 0; color: var(--szary); font-size: 0.99rem; }
.karta--foto { padding: 0; overflow: hidden; }
.karta--foto img { border-radius: 0; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(0.85); }
.karta--foto .karta__tresc { padding: 1.4rem 1.6rem 1.6rem; }
.sekcja--ciemna .karta { background: var(--granat-karta); border-color: var(--linia-ciemna); }
.sekcja--ciemna .karta h3 { color: var(--biel); }
.sekcja--ciemna .karta p { color: rgba(246, 243, 236, 0.78); }

/* --- Editorial: tekst + zdjęcie --- */
.dwudzial { display: grid; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
@media (min-width: 880px) { .dwudzial { grid-template-columns: 6fr 5fr; } .dwudzial--odwrocony { grid-template-columns: 5fr 6fr; } .dwudzial--odwrocony > :first-child { order: 2; } }
.dwudzial__zdjecie { position: relative; }
.dwudzial__zdjecie img {
  border-radius: 14px;
  filter: saturate(0.85);
  position: relative;
  z-index: 1;
}
.dwudzial__zdjecie::before {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1.5px solid var(--zloto);
  border-radius: 14px;
  opacity: 0.55;
}

/* --- Wyimek (pull quote firmowy) --- */
.wyimek {
  border: 0;
  margin: clamp(2rem, 6vw, 3rem) 0;
  padding: 0;
  max-width: 30ch;
}
.wyimek p {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 540;
  font-style: italic;
  line-height: 1.25;
  color: var(--noc);
  margin: 0;
}
.sekcja--ciemna .wyimek p { color: var(--zloto-jasne); }

/* --- Kroki procesu --- */
.kroki { list-style: none; margin: 0; padding: 0; counter-reset: krok; max-width: 720px; }
.kroki li { counter-increment: krok; position: relative; padding: 0 0 2rem 4.4rem; }
.kroki li::before {
  content: counter(krok, decimal-leading-zero);
  position: absolute;
  left: 0; top: -0.3rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.9rem;
  color: var(--zloto);
  font-variant-numeric: tabular-nums;
}
.kroki li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0.95rem; top: 2.4rem; bottom: 0.4rem;
  width: 1px;
  background: var(--linia);
}
.kroki h3 { margin-bottom: 0.25em; }
.kroki p { color: var(--szary); margin: 0; }

/* --- Akordeon (FAQ / dane techniczne) --- */
.akordeon { border-top: 1px solid var(--linia); }
.akordeon details { border-bottom: 1px solid var(--linia); }
.akordeon summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 3rem 1.25rem 0;
  font-family: var(--serif);
  font-weight: 580;
  font-size: 1.12rem;
  color: var(--noc);
  position: relative;
}
.akordeon summary::-webkit-details-marker { display: none; }
.akordeon summary::after {
  content: '+';
  position: absolute;
  right: 0.4rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.35rem;
  color: var(--zloto);
}
.akordeon details[open] summary::after { content: '−'; }
.akordeon summary:hover { color: #9A6F1E; }
.akordeon__tresc { padding: 0 0 1.4rem; color: var(--szary); max-width: 68ch; }
.akordeon__tresc p:last-child { margin-bottom: 0; }
.akordeon__tresc strong { color: var(--atrament); }

/* --- Opinie --- */
.opinie { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 880px) { .opinie { grid-template-columns: repeat(3, 1fr); } }
.opinia {
  background: var(--biel);
  border: 1px solid var(--linia);
  border-radius: 14px;
  padding: 1.8rem 1.7rem 1.6rem;
  margin: 0;
  position: relative;
}
.opinia::before {
  content: '\201E';
  font-family: var(--serif);
  font-size: 3.6rem;
  line-height: 0;
  color: var(--zloto);
  display: block;
  margin: 0.9rem 0 1.1rem;
}
.opinia p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 460;
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--atrament);
  margin: 0;
}
.sekcja--ciemna .opinia { background: var(--granat-karta); border-color: var(--linia-ciemna); }
.sekcja--ciemna .opinia p { color: rgba(246, 243, 236, 0.92); }

.motto { border: 0; margin: 2.4rem 0 0; padding: 1.6rem 0 0; border-top: 1px solid var(--linia); max-width: 44ch; }
.motto p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; font-weight: 500; color: var(--noc); margin: 0 0 0.4em; line-height: 1.35; }
.motto cite { font-family: var(--mono); font-style: normal; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--szary); }

/* --- Tabele --- */
.przewijanie { overflow-x: auto; }
.tabela-danych { width: 100%; border-collapse: collapse; background: var(--biel); border: 1px solid var(--linia); border-radius: 14px; overflow: hidden; min-width: 560px; }
.tabela-danych th, .tabela-danych td { padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--linia); }
.tabela-danych th { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--szary); background: var(--papier); font-weight: 500; }
.tabela-danych td.liczba, .tabela-danych th.liczba { text-align: right; font-variant-numeric: tabular-nums; }
.tabela-danych td strong { color: #9A6F1E; }
.tabela-danych tr:last-child td { border-bottom: 0; }

/* --- Kalkulator --- */
.kalkulator {
  background: var(--biel);
  border: 1px solid var(--linia);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2.4rem);
}
.kalkulator__pole { margin-bottom: 1.7rem; }
.kalkulator__pole > label, .kalkulator__pole > .pole-nazwa {
  display: block;
  font-weight: 700;
  color: var(--noc);
  margin-bottom: 0.55rem;
}
.kalkulator output {
  font-family: var(--serif);
  font-weight: 620;
  font-size: 1.55rem;
  color: #9A6F1E;
  display: block;
  margin-bottom: 0.3rem;
  font-variant-numeric: tabular-nums;
}
.kalkulator input[type="range"] { width: 100%; accent-color: var(--zloto); height: 44px; }
.segmenty { display: flex; border: 1px solid var(--linia); border-radius: 10px; overflow: hidden; }
.segmenty input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.segmenty label {
  flex: 1;
  text-align: center;
  padding: 0.7rem 0.6rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--szary);
  background: var(--papier);
  border-right: 1px solid var(--linia);
}
.segmenty label:last-child { border-right: 0; }
.segmenty input:checked + label { background: var(--granat); color: var(--biel); }
.segmenty input:focus-visible + label { outline: 3px solid var(--zloto); outline-offset: -3px; }
.kalkulator__wyniki {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
  margin: 0.5rem 0 0;
}
@media (min-width: 640px) { .kalkulator__wyniki { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .kalkulator__wyniki { grid-template-columns: repeat(3, 1fr); } }
.wynik { background: var(--papier); border: 1px solid var(--linia); border-radius: 12px; padding: 1rem 1.2rem; }
.wynik dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--szary);
  margin-bottom: 0.35rem;
}
.wynik dd {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--noc);
  font-variant-numeric: tabular-nums;
}
.wynik--wyrozniony { background: var(--granat); border-color: var(--granat); }
.wynik--wyrozniony dt { color: rgba(246, 243, 236, 0.65); }
.wynik--wyrozniony dd { color: var(--zloto-jasne); }
.zalozenia {
  background: var(--papier);
  border: 1px solid var(--linia);
  border-radius: 12px;
  padding: 1.3rem 1.5rem;
  margin-top: 1.6rem;
}
.zalozenia h3 { font-size: 1.02rem; margin-bottom: 0.6em; }
.zalozenia ul { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; color: var(--szary); }
.zalozenia li { padding: 0.18rem 0; }
.zalozenia .mono { font-family: var(--mono); font-size: 0.8rem; }

/* --- Pas kontaktowy --- */
.pas-kontakt { text-align: center; }
.pas-kontakt .etykieta { justify-content: center; }
.pas-kontakt h2 { max-width: 24ch; margin-inline: auto; }
.pas-kontakt > .zawartosc > p { max-width: 54ch; margin-inline: auto; }
.pas-kontakt__telefony {
  display: flex;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.2rem 0 0.5rem;
}
.pas-kontakt__telefony a { text-decoration: none; }
.pas-kontakt__telefony .dzial {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.6);
  display: block;
  margin-bottom: 0.3rem;
}
.pas-kontakt__telefony .numer {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.3rem, 4vw, 1.6rem);
  color: var(--biel);
}
.pas-kontakt__telefony a:hover .numer { color: var(--zloto-jasne); }

/* --- Listy --- */
.lista-plusow { list-style: none; margin: 0 0 1em; padding: 0; }
.lista-plusow li { position: relative; padding: 0.32rem 0 0.32rem 1.6rem; }
.lista-plusow li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.86rem;
  width: 11px; height: 7px;
  background: var(--zloto);
  border-radius: 1px;
  box-shadow: inset -4px 0 0 -3px var(--papier);
}
.sekcja--biala .lista-plusow li::before { box-shadow: inset -4px 0 0 -3px var(--biel); }
.sekcja--ciemna .lista-plusow li::before { box-shadow: inset -4px 0 0 -3px var(--granat); }

.lista-miejscowosci { columns: 2; column-gap: 2rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .lista-miejscowosci { columns: 4; } }
.lista-miejscowosci li { padding: 0.28rem 0; color: var(--szary); break-inside: avoid; }
.lista-miejscowosci li::before { content: '· '; color: var(--zloto); font-weight: 700; }

.mapa-obszar img { max-width: 480px; margin: 0 auto; }

/* --- Stopka --- */
.stopka { background: var(--noc); color: rgba(246, 243, 236, 0.78); padding: clamp(3rem, 7vw, 4.5rem) 0 2rem; }
.stopka__siatka { display: grid; gap: 2.2rem; grid-template-columns: 1fr; margin-bottom: 2.5rem; }
@media (min-width: 700px) { .stopka__siatka { grid-template-columns: repeat(3, 1fr); } }
.stopka h3 { color: var(--biel); font-size: 1.06rem; font-weight: 580; margin-bottom: 0.9em; }
.stopka ul { list-style: none; margin: 0; padding: 0; }
.stopka li { padding: 0.24rem 0; }
.stopka a { color: rgba(246, 243, 236, 0.78); text-decoration: none; }
.stopka a:hover { color: var(--zloto-jasne); }
.stopka__meta {
  border-top: 1px solid var(--linia-ciemna);
  padding-top: 1.4rem;
  font-size: 0.86rem;
  color: rgba(246, 243, 236, 0.5);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.stopka address { font-style: normal; }
.stopka .mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; }

/* --- Dolny pasek na telefonie --- */
.pasek-dol {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(10, 23, 36, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--linia-ciemna);
}
.pasek-dol a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
  text-decoration: none;
  padding: 0.72rem 0.5rem;
  border-radius: 8px;
}
.pasek-dol__tel { background: var(--zloto); color: var(--noc); }
.pasek-dol__mail { color: var(--papier); border: 1.5px solid var(--linia-ciemna); }
@media (min-width: 768px) { .pasek-dol { display: none; } }
@media (max-width: 767px) { body { padding-bottom: 4.6rem; } }

/* --- Drobiazgi --- */
.tekst-drugorzedny { color: var(--szary); }
.sekcja--ciemna .tekst-drugorzedny { color: rgba(246, 243, 236, 0.65); }
.srodek { text-align: center; }
.odstep-gora { margin-top: 2.2rem; }
.przypisy { font-size: 0.85rem; color: var(--szary); border-top: 1px solid var(--linia); padding-top: 1.2rem; margin-top: 2.5rem; }
.przypisy p { margin-bottom: 0.35em; }
