@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Ciepła paleta architektoniczna + oliwkowa zieleń z index.html */
    --ink: #141c16;
    --ink-soft: #2c382f;
    --muted: #5a665d;
    --ink-muted: #5a665d;

    /* Tła: ciepły alabaster, trawertyn i miękka biel */
    --stone: #f5f3ec;
    --bg-page: #f5f3ec;
    --paper: #ffffff;
    --white: #ffffff;
    --surface-warm: #edeae0;
    --surface-glass: rgba(255, 255, 255, 0.86);

    /* Krawędzie: subtelne, organiczne obrysy */
    --line: rgba(20, 28, 22, 0.08);
    --line-strong: rgba(20, 28, 22, 0.15);

    /* Akcenty oliwkowo-zielone i słoneczne (spójne dla obu kalkulatorów) */
    --brand: #4d7c0f;
    --brand-dark: #365314;
    --brand-soft: #eef7df;
    --green-primary: #3f6212;
    --green-bright: #84cc16;
    --mint: #a3e635;
    --mint-soft: #eef7df;
    --mint-card: #f5faec;

    /* Ciepłe światło domowe / energia słoneczna */
    --orange-accent: #f59e0b;
    --orange-deep: #d97706;
    --danger: #dc2626;

    /* Sekcja Hero i panele wyników */
    --hero: #eef3e6;
    --hero-overlay: linear-gradient(95deg, rgba(245, 243, 236, 0.98) 0%, rgba(245, 243, 236, 0.94) 40%, rgba(242, 246, 234, 0.72) 66%, rgba(242, 246, 234, 0.18) 100%);
    --hero-title: #141c16;
    --hero-sub: #365314;
    --hero-body: #2c382f;
    --hero-promo: #3f6212;

    --bg-dark: #111a13;
    --bg-deep: #18261b;
    --result-bg-1: #131f16;
    --result-bg-2: #1e3122;
    --footer-bg: #121714;
    --footer-bottom-bg: #0c100d;

    /* Przyciski CTA */
    --cta: #84cc16;
    --cta-hover: #95df22;
    --cta-shadow: rgba(132, 204, 22, 0.34);

    /* Nowoczesna geometria Squircle & Tactile Bento */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 999px;

    /* Wielowarstwowe, miękkie cienie architektoniczne */
    --shadow-card: 0 2px 6px rgba(20, 28, 22, 0.03), 0 18px 42px -12px rgba(20, 28, 22, 0.07);
    --shadow-sm: 0 2px 6px rgba(20, 28, 22, 0.03), 0 18px 42px -12px rgba(20, 28, 22, 0.07);
    --shadow-lg: 0 30px 70px -18px rgba(17, 26, 19, 0.16), 0 4px 16px rgba(17, 26, 19, 0.05);
    --shadow-glow: 0 10px 28px -6px rgba(245, 158, 11, 0.38);

    --font: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-mono: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: var(--font); }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    background-color: var(--stone);
    background-image:
        radial-gradient(circle at 12% 8%, rgba(163, 230, 53, 0.09) 0%, transparent 38%),
        radial-gradient(circle at 88% 22%, rgba(245, 158, 11, 0.06) 0%, transparent 35%);
    color: var(--ink);
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { line-height: 1.15; color: var(--ink); letter-spacing: -0.03em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 4.3vw, 3.45rem); color: var(--hero-title); margin-bottom: 1.1rem; letter-spacing: -0.038em; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.4rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.16rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--ink); }
p { margin-bottom: 1rem; color: var(--muted); }

.container, .wrap { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 88px 0; position: relative; }
.bg-white, .section.white {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.96) 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.section.dark-band {
    background:
        radial-gradient(circle at 85% 20%, rgba(132, 204, 22, 0.14) 0%, transparent 45%),
        linear-gradient(145deg, #111a13 0%, #19291d 100%);
    color: var(--white);
}
.text-center { text-align: center; }

/* LINKI ŚRÓDTEKSTOWE I REDAKCYJNE */
a { color: var(--brand-dark); font-weight: 600; text-decoration: none; transition: all 0.2s var(--ease-out); }
.inline-seo-link, .guide-body a, .sources a {
    color: var(--brand-dark);
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(180deg, transparent 65%, rgba(132, 204, 22, 0.25) 65%);
    padding: 0 2px;
    border-radius: 3px;
    transition: all 0.2s var(--ease-out);
}
.inline-seo-link:hover, .guide-body a:hover, .sources a:hover {
    color: var(--ink);
    background: rgba(132, 204, 22, 0.38);
}

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: var(--r-sm); }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 10000; background: var(--cta); color: var(--ink); padding: 12px 20px; border-radius: var(--r-pill); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 14px; }

/* PŁYWAJĄCY GÓRNY PASEK NAWIGACJI (GLASS ARCHITECTURAL BAR) */
.site-topbar {
    background: rgba(18, 25, 20, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand-logo { display: inline-flex; align-items: center; gap: 12px; color: #ffffff; text-decoration: none; border: 0; }
.brand-logo:hover { color: #ffffff; }
.brand-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--brand), var(--brand-dark));
    color: var(--mint);
    display: grid;
    place-items: center;
    border: 1px solid rgba(163, 230, 53, 0.35);
    box-shadow: 0 6px 16px rgba(77, 124, 15, 0.35);
    flex-shrink: 0;
}
.brand-logo-mark svg { width: 19px; height: 19px; display: block; }
.brand-wordmark { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: #ffffff; white-space: nowrap; }
.brand-wordmark-smart { color: var(--mint); font-weight: 800; }
.brand-wordmark-dot { color: var(--cta); }
.brand-wordmark-tld { color: rgba(255, 255, 255, 0.72); font-weight: 600; font-size: 0.88em; }

.topbar-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar-links a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    border: 0;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: var(--r-pill);
    transition: all 0.2s var(--ease-out);
}
.topbar-links a:hover { color: #ffffff; background: rgba(255, 255, 255, 0.08); }

.mode-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    padding: 4px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 255, 255, 0.12);
    gap: 4px;
}
.mode-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: var(--r-pill);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    color: rgba(255, 255, 255, 0.78);
    transition: all 0.2s var(--ease-out);
    white-space: nowrap;
}
.mode-pill:hover { color: #ffffff; background: rgba(255, 255, 255, 0.08); }
.mode-pill.active {
    background: linear-gradient(135deg, var(--mint), var(--cta));
    color: var(--ink);
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(132, 204, 22, 0.35);
}
.mode-badge {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: var(--r-pill);
    background: rgba(245, 158, 11, 0.22);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.45);
}
.mode-pill.active .mode-badge { background: rgba(20, 28, 22, 0.18); color: var(--ink); border-color: transparent; }

/* PASEK BETA (SMART ENERGY) */
.beta-notice-bar {
    background: linear-gradient(90deg, #161d17 0%, #1f291f 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    padding: 8px 0;
}
.beta-notice-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.beta-notice-bar strong { color: #fbbf24; font-weight: 700; }
.beta-notice-bar a { color: #fbbf24; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* PRZYCISKI (DOTYKOWE KAPSUŁY TACTILE PILL) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--r-pill);
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.24s var(--ease-out);
    font-size: 0.95rem;
    text-align: center;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-cta {
    background: linear-gradient(135deg, #99e627 0%, #78be10 100%);
    color: var(--ink);
    font-weight: 800;
    box-shadow: 0 10px 26px -6px var(--cta-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-cta:hover {
    background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
    box-shadow: 0 14px 32px -6px var(--cta-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #161104;
    font-weight: 800;
    box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover { background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%); color: #161104; }
.btn-secondary, .btn-dark {
    background: var(--ink);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 8px 20px -6px rgba(20, 28, 22, 0.3);
}
.btn-secondary:hover, .btn-dark:hover { background: var(--brand-dark); color: #ffffff; }
.btn-outline {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--line-strong);
    color: var(--ink-soft);
    backdrop-filter: blur(8px);
}
.btn-outline:hover { background: var(--white); border-color: var(--brand); color: var(--ink); }
.hero .btn-outline { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: rgba(255, 255, 255, 0.22); }
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); border-color: rgba(255, 255, 255, 0.4); }

/* HERO SECTION — KALKULATOR SMART HOME (INDEX.HTML) */
.hero-section {
    background-color: var(--hero);
    background-image: var(--hero-overlay), url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=85");
    background-size: cover;
    background-position: right center;
    padding: 64px 0 92px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 25%, rgba(163, 230, 53, 0.16) 0%, transparent 45%);
    pointer-events: none;
}

.hero-section .hero-grid { display: grid; grid-template-columns: 0.96fr 1.22fr; gap: 52px; align-items: start; position: relative; z-index: 1; }
.hero-text { color: var(--hero-title); padding-top: 10px; z-index: 2; position: relative; }
.hero-text p.highlight-sub { font-size: 1.14rem; font-weight: 600; color: var(--hero-sub); margin-bottom: 1.15rem; line-height: 1.52; }
.hero-text p.hero-desc { color: var(--hero-body); font-size: 0.98rem; margin-bottom: 1.1rem; }
.hero-text p.promo-text {
    color: var(--hero-promo);
    font-weight: 700;
    margin-bottom: 1.6rem;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.78);
    padding: 10px 16px;
    border-radius: var(--r-md);
    border: 1px solid rgba(77, 124, 15, 0.18);
    backdrop-filter: blur(10px);
}
.hero-text p.promo-text::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--cta);
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.28);
}

.hero-heading-row { display: flex; align-items: center; gap: 22px; margin-bottom: 1.1rem; }
.hero-heading-row h1 { flex: 1 1 auto; margin-bottom: 0; }
.hero-illustration {
    display: block;
    flex: 0 0 128px;
    width: 128px;
    max-width: 128px;
    height: auto;
    margin: 0;
    border-radius: var(--r-lg);
    box-shadow: 0 20px 40px -14px rgba(20, 28, 22, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.hero-trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.hero-trust-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px -8px rgba(20, 28, 22, 0.08);
    backdrop-filter: blur(12px);
    text-decoration: none;
    transition: all 0.22s var(--ease-out);
}
.hero-trust-pill:hover { transform: translateY(-3px); border-color: var(--brand); background: #ffffff; box-shadow: 0 14px 28px -8px rgba(77, 124, 15, 0.16); }
.hero-trust-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--brand-soft), #dcf2b8);
    color: var(--brand-dark);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.hero-trust-icon svg { width: 16px; height: 16px; }
.hero-trust-pill span { font-size: 0.78rem; font-weight: 700; line-height: 1.25; color: var(--ink); }

/* OKNO KALKULATORA SMART HOME (GLASS BENTO CONSOLE) */
.calculator-wrapper {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: var(--r-xl);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 32px 72px -20px rgba(20, 28, 22, 0.22),
        0 4px 18px -2px rgba(20, 28, 22, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    overflow: hidden;
    position: relative;
    z-index: 10;
}
.calc-header {
    background: rgba(245, 243, 236, 0.65);
    padding: 20px 32px;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.step-indicator-text {
    background: var(--white);
    color: var(--brand-dark);
    border: 1px solid rgba(77, 124, 15, 0.22);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(20, 28, 22, 0.04);
}
.progress-bar { height: 8px; background: rgba(20, 28, 22, 0.08); width: 180px; border-radius: var(--r-pill); overflow: hidden; padding: 1px; }
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--cta));
    width: 20%;
    border-radius: var(--r-pill);
    transition: width 0.45s var(--ease-out);
}

.step-container { padding: 36px 32px; display: none; animation: fadeIn 0.32s var(--ease-out); }
.step-container.active { display: block; }
.step-title { font-size: 1.48rem; margin-bottom: 8px; font-weight: 800; color: var(--ink); letter-spacing: -0.025em; }
.micro-copy { font-size: 0.92rem; color: var(--muted); margin-bottom: 26px; line-height: 1.58; }
.calc-footer {
    padding: 20px 32px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    background: rgba(245, 243, 236, 0.55);
    align-items: center;
}

/* DOTYKOWY SUWAK METRAŻU */
.slider-wrapper {
    margin: 24px 0 8px;
    text-align: center;
    background: linear-gradient(180deg, #faf9f5 0%, #f1efe7 100%);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 34px 28px;
    box-shadow: inset 0 2px 6px rgba(20, 28, 22, 0.03);
}
.slider-val {
    font-size: 3.7rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 22px;
    display: block;
    line-height: 1;
    letter-spacing: -0.045em;
    font-variant-numeric: tabular-nums;
}
.slider-val span { color: var(--brand); }
#home-size {
    width: 100%;
    cursor: pointer;
    accent-color: var(--brand);
    height: 10px;
    background: linear-gradient(90deg, var(--brand) var(--p, 21.8%), rgba(20, 28, 22, 0.12) var(--p, 21.8%));
    border-radius: var(--r-pill);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
#home-size::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: var(--white);
    border-radius: 50%;
    cursor: grab;
    border: 6px solid var(--brand);
    box-shadow: 0 4px 14px rgba(77, 124, 15, 0.4);
    transition: transform 0.15s ease;
}
#home-size::-webkit-slider-thumb:hover { transform: scale(1.1); }
#home-size::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--white);
    border-radius: 50%;
    cursor: grab;
    border: 6px solid var(--brand);
    box-shadow: 0 4px 14px rgba(77, 124, 15, 0.4);
}

/* KAFELKI WYBORU W STYLU PRZYCISKÓW ŚCIENNYCH SMART HOME */
.options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 12px; }
.options-grid-3 { grid-template-columns: repeat(3, 1fr); }
.options-grid-compact { grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 10px; }
.options-grid label { position: relative; display: block; }
.options-grid input[type="radio"], .options-grid input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-label {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 42px 18px 18px;
    border: 1px solid rgba(20, 28, 22, 0.11);
    border-radius: 18px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s var(--ease-out);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--ink);
    background: var(--white);
    height: 100%;
    line-height: 1.35;
    box-shadow: 0 2px 6px rgba(20, 28, 22, 0.02);
}
.option-label small { display: block; font-weight: 500; font-size: 0.79rem; color: var(--muted); margin-top: 4px; }
.option-label::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 7px;
    border: 1.5px solid rgba(20, 28, 22, 0.2);
    background: var(--stone);
    transition: all 0.2s var(--ease-out);
}
.options-grid input[type="radio"] + .option-label::before { border-radius: 50%; }
.option-label:hover {
    border-color: rgba(77, 124, 15, 0.45);
    background: #fafcf6;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -10px rgba(20, 28, 22, 0.1);
}
.options-grid input:focus-visible + .option-label { outline: 2px solid var(--brand); outline-offset: 2px; }
.options-grid input:checked + .option-label {
    border-color: var(--brand);
    background: linear-gradient(145deg, #f3fae6 0%, #e7f5cf 100%);
    color: var(--ink);
    box-shadow: 0 8px 20px -8px rgba(77, 124, 15, 0.22), inset 0 0 0 1px var(--brand);
}
.options-grid input:checked + .option-label::before {
    border-color: var(--brand);
    background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
    box-shadow: 0 0 10px rgba(132, 204, 22, 0.5);
}

.smart-ready-box {
    padding: 24px;
    border: 1px solid rgba(77, 124, 15, 0.35);
    border-radius: var(--r-lg);
    background: linear-gradient(145deg, #f3fae6 0%, #e9f6d2 100%);
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.smart-ready-box strong { display: inline-block; color: var(--brand-dark); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.05em; margin-bottom: 8px; background: var(--white); padding: 4px 12px; border-radius: var(--r-pill); }
.smart-ready-box span { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.55; display: block; }

/* BOKS WYNIKOWY KALKULATORA SMART HOME */
.result-box {
    text-align: center;
    padding: 32px 28px;
    background:
        radial-gradient(circle at 85% 15%, rgba(163, 230, 53, 0.2) 0%, transparent 45%),
        linear-gradient(155deg, var(--result-bg-1), var(--result-bg-2));
    border-radius: var(--r-lg);
    color: #ffffff;
    margin-bottom: 22px;
    border: 1px solid rgba(163, 230, 53, 0.25);
    box-shadow: 0 20px 45px -15px rgba(19, 31, 22, 0.35);
}
.result-box h3 { color: var(--mint); margin-bottom: 8px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 800; }
.price-range { font-size: clamp(1.8rem, 3vw, 2.45rem); font-weight: 800; color: #ffffff; margin: 6px 0 16px; line-height: 1.1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }

.summary-details { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-md); padding: 18px 20px; margin-top: 16px; text-align: left; font-size: 0.89rem; backdrop-filter: blur(8px); }
.summary-details h4 { color: #ffffff; font-size: 0.92rem; margin-bottom: 10px; }
.summary-details ul { list-style: none; padding-left: 0; color: rgba(255, 255, 255, 0.9); margin-bottom: 10px; }
.summary-details ul li { margin-bottom: 5px; position: relative; padding-left: 22px; }
.summary-details ul li::before { content: "✓"; color: var(--mint); font-weight: 800; position: absolute; left: 0; }

.scope-box { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.scope-card { background: #faf9f5; border: 1px solid var(--line); padding: 18px 20px; border-radius: var(--r-md); font-size: 0.87rem; }
.scope-card h4 { color: var(--ink); margin-bottom: 10px; font-size: 0.94rem; }
.scope-card ul { list-style: none; padding: 0; color: var(--muted); }
.scope-card ul li { margin-bottom: 5px; position: relative; padding-left: 16px; }
.scope-card ul li::before { content: "•"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.scope-card.excluded ul li::before { color: var(--orange-accent); }

.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form input {
    padding: 14px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-md);
    font-size: 0.93rem;
    font-weight: 500;
    background: #faf9f5;
    color: var(--ink);
    outline: none;
    transition: all 0.2s var(--ease-out);
}
.lead-form input:focus { background: var(--white); border-color: var(--brand); box-shadow: 0 0 0 4px rgba(77, 124, 15, 0.12); }
.lead-form input::placeholder { color: #78847b; }
.lead-form .full-row { grid-column: 1 / -1; }
.form-notice { margin: 4px 0 0; font-size: 0.85rem; font-weight: 600; color: #b3341b; min-height: 1.2em; grid-column: 1 / -1; }

/* KARTY BENTO W SEKCJACH INFORMACYJNYCH */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all 0.25s var(--ease-out);
}
.card:hover { transform: translateY(-4px); border-color: rgba(77, 124, 15, 0.28); box-shadow: 0 24px 48px -16px rgba(20, 28, 22, 0.11); }
.card.accent-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--mint));
}
.card-svg-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--brand-soft), #dff4bc);
    color: var(--brand-dark);
    border: 1px solid rgba(77, 124, 15, 0.16);
    display: inline-grid;
    place-items: center;
    margin-bottom: 18px;
}
.card-svg-icon svg { width: 22px; height: 22px; }

.factor-card {
    padding: 26px 26px;
    border-radius: var(--r-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    transition: all 0.24s var(--ease-out);
}
.factor-card:hover { transform: translateY(-4px); border-color: rgba(77, 124, 15, 0.3); box-shadow: 0 22px 44px -14px rgba(20, 28, 22, 0.1); }
.factor-card h3 { font-size: 1.08rem; color: var(--ink); margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.factor-card h3 span {
    font-weight: 800;
    color: var(--brand-dark);
    background: var(--brand-soft);
    border: 1px solid rgba(77, 124, 15, 0.2);
    font-size: 0.76rem;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    font-variant-numeric: tabular-nums;
}
.factor-card p { margin-bottom: 0; font-size: 0.93rem; }

.feature-scope-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 16px; margin-top: 36px; text-align: left; }
.feature-scope-card {
    background: var(--stone);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.22s var(--ease-out);
}
.feature-scope-card:hover { border-color: var(--brand); background: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.feature-scope-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--ink), var(--brand-dark));
    color: var(--mint);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.feature-scope-icon svg { width: 19px; height: 19px; }
.feature-scope-card div { font-size: 0.9rem; color: var(--muted); line-height: 1.48; }
.feature-scope-card strong { color: var(--ink); display: block; margin-bottom: 3px; font-size: 0.96rem; }

/* SPIS TREŚCI I ROZWIJANE PORADNIKI INWESTORA */
.guides-toc { max-width: 960px; margin: 0 auto 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.guides-toc-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--white);
    border: 1px solid var(--line-strong);
    color: var(--ink-soft);
    padding: 9px 16px;
    border-radius: var(--r-pill);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s var(--ease-out);
    box-shadow: 0 2px 6px rgba(20, 28, 22, 0.03);
}
.guides-toc-pill span { color: var(--brand); font-weight: 800; font-variant-numeric: tabular-nums; }
.guides-toc-pill:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); transform: translateY(-1px); }

.guides-wrapper { max-width: 960px; margin: 0 auto; display: grid; gap: 16px; }
.guide-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.22s var(--ease-out);
}
.guide-item[open] { border-color: var(--brand); box-shadow: 0 24px 50px -16px rgba(20, 28, 22, 0.12); }
.guide-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-weight: 800;
    font-size: 1.06rem;
    color: var(--ink);
    background: var(--white);
    transition: background 0.2s ease;
}
.guide-item summary::-webkit-details-marker { display: none; }
.guide-item summary:hover { background: #faf9f5; }
.guide-summary-left { display: flex; align-items: center; gap: 18px; flex: 1; }
.guide-thumb { width: 112px; height: 76px; border-radius: 14px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--line); }
.guide-tag {
    display: inline-block;
    background: var(--brand-soft);
    border: 1px solid rgba(77, 124, 15, 0.2);
    color: var(--brand-dark);
    font-size: 0.69rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: var(--r-pill);
    margin-bottom: 6px;
}
.guide-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--stone);
    border: 1px solid var(--line-strong);
    color: var(--ink);
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.25s var(--ease-out);
}
.guide-item[open] .guide-icon { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: #ffffff; }
.guide-body { padding: 16px 28px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.guide-body h4 { color: var(--ink); font-size: 1.05rem; margin: 20px 0 8px; }
.guide-body ul { padding-left: 20px; margin: 12px 0 18px; color: var(--muted); }
.guide-body li { margin: 7px 0; }
.guide-body li strong { color: var(--ink); }
.guide-callout {
    background: linear-gradient(90deg, var(--brand-soft) 0%, #faf9f5 100%);
    border-left: 4px solid var(--brand);
    padding: 16px 20px;
    border-radius: 0 var(--r-md) var(--r-md) 0;
    color: var(--ink-soft);
    font-size: 0.91rem;
    margin-top: 18px;
}
.guide-related-links { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-strong); display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; }
.guide-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); margin: 16px 0; background: var(--white); }
.guide-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 520px; }
.guide-table th, .guide-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.guide-table th { background: #faf9f5; color: var(--ink); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 800; }
.guide-table tr:last-child td { border-bottom: 0; }

/* FAQ (ZARÓWNO DLA PRZYCISKÓW INDEX.HTML JAK I DETAILS W INDEXSE.HTML) */
.faq-wrapper, .faq { max-width: 860px; margin: 26px auto 0; }
.faq-item, .faq details {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(20, 28, 22, 0.02);
    transition: all 0.2s var(--ease-out);
}
.faq details { padding: 18px 22px; }
.faq details[open], .faq-item.active { border-color: var(--brand); box-shadow: 0 12px 28px -10px rgba(77, 124, 15, 0.12); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.faq details p { color: var(--muted); margin: 12px 0 0; font-size: 0.92rem; }
.faq-q {
    width: 100%;
    border: 0;
    font-family: var(--font);
    text-align: left;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 18px 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--ink);
    background: var(--white);
    transition: background 0.15s ease;
}
.faq-q:hover { background: #faf9f5; }
.faq-q span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--stone);
    border: 1px solid var(--line-strong);
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    color: var(--brand-dark);
    flex-shrink: 0;
    transition: all 0.22s var(--ease-out);
}
.faq-a { padding: 0 22px 20px; display: none; color: var(--muted); font-size: 0.93rem; line-height: 1.65; }
.faq-item.active .faq-q { color: var(--brand-dark); }
.faq-item.active .faq-q span { transform: rotate(45deg); background: var(--brand); color: #ffffff; border-color: var(--brand); }
.faq-item.active .faq-a { display: block; }

/* BANER REGIONALNY */
.region-photo-banner {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: #141c16;
    padding: 52px 48px;
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    text-align: left;
    isolation: isolate;
}
.region-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -2; }
.region-photo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg, rgba(17, 26, 19, 0.96) 0%, rgba(20, 32, 22, 0.86) 55%, rgba(20, 32, 22, 0.25) 100%);
    z-index: -1;
}
.region-photo-banner h2 { color: #ffffff; margin-bottom: 12px; }
.region-photo-banner p { color: rgba(255, 255, 255, 0.84); max-width: 660px; margin-bottom: 24px; font-size: 0.98rem; }
.region-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.region-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    padding: 9px 16px;
    border-radius: var(--r-pill);
    font-size: 0.81rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s var(--ease-out);
}
a.region-badge:hover { border-color: var(--mint); background: rgba(255, 255, 255, 0.18); color: #ffffff; transform: translateY(-2px); }
.region-badge svg { width: 15px; height: 15px; color: var(--mint); }

/* ==========================================================================
   STYLE DEDYKOWANE DLA DRUGIEGO KALKULATORA (SMART ENERGY — INDEXSE.HTML)
   ========================================================================== */
.hero {
    position: relative;
    background:
        radial-gradient(circle at 15% 20%, rgba(132, 204, 22, 0.2) 0%, transparent 42%),
        radial-gradient(circle at 85% 80%, rgba(245, 158, 11, 0.14) 0%, transparent 40%),
        linear-gradient(135deg, #0e1710 0%, #16261a 55%, #1e3523 100%);
    color: var(--white);
    padding: 68px 0 80px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero .hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.73rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--mint);
    background: rgba(163, 230, 53, 0.12);
    border: 1px solid rgba(163, 230, 53, 0.28);
    padding: 6px 14px;
    border-radius: var(--r-pill);
}
.hero h1 { color: var(--white); margin: 18px 0 18px; }
.hero h1 span { background: linear-gradient(90deg, #a3e635, #fbbf24); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.hero-lead { font-size: 1.05rem; color: rgba(255, 255, 255, 0.84); max-width: 620px; margin: 0 0 28px; }
.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.81rem; color: rgba(255, 255, 255, 0.74); }
.hero-trust div strong { display: block; color: var(--white); font-size: 0.92rem; margin-bottom: 3px; }

.hero-visual {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(20, 35, 24, 0.7);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.42);
}
.hero-visual-img { width: 100%; height: 265px; object-fit: cover; filter: brightness(0.92) contrast(1.04); }
.hero-glass-overlay { padding: 24px; background: linear-gradient(180deg, rgba(16, 26, 18, 0.92) 0%, rgba(16, 26, 18, 0.99) 100%); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.hero-glass-overlay h3 { margin: 0 0 6px; font-size: 1.12rem; color: var(--white); }
.hero-glass-overlay p { margin: 0 0 16px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.76); }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.flow-node { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r-md); padding: 12px 8px; text-align: center; font-size: 0.75rem; color: rgba(255, 255, 255, 0.84); }
.flow-node b { display: block; font-size: 0.92rem; color: #fbbf24; margin-bottom: 2px; }

.kicker {
    display: inline-block;
    font-size: 0.73rem;
    color: var(--brand-dark);
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 12px;
    background: var(--brand-soft);
    padding: 5px 14px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(77, 124, 15, 0.22);
}
.section.dark-band .kicker { background: rgba(163, 230, 53, 0.14); color: var(--mint); border-color: rgba(163, 230, 53, 0.28); }
.section.dark-band h2 { color: var(--white); }
.lead { font-size: 1.02rem; color: var(--muted); max-width: 800px; margin: 0; }
.section.dark-band .lead { color: rgba(255, 255, 255, 0.8); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.feature-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.24s var(--ease-out);
    display: flex;
    flex-direction: column;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(77, 124, 15, 0.3); box-shadow: 0 24px 48px -16px rgba(20, 28, 22, 0.12); }
.feature-img-wrap { position: relative; height: 185px; overflow: hidden; background: var(--bg-deep); }
.feature-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.feature-card:hover .feature-img-wrap img { transform: scale(1.04); }
.feature-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(20, 28, 22, 0.85);
    backdrop-filter: blur(10px);
    color: var(--mint);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.feature-body { padding: 24px; flex: 1; }
.feature-body h3 { margin: 0 0 8px; font-size: 1.12rem; }
.feature-body p { margin: 0; color: var(--muted); font-size: 0.91rem; }

/* KONSOLA KALKULATORA SMART ENERGY */
.calculator {
    background: var(--white);
    border: 1px solid rgba(20, 28, 22, 0.1);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-top: 34px;
}
.calc-head {
    background: linear-gradient(135deg, #131f16 0%, #1c2f20 100%);
    color: var(--white);
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.calc-head h2 { margin: 0 0 4px; font-size: 1.32rem; color: #ffffff; }
.calc-head p { margin: 0; color: rgba(255, 255, 255, 0.74); font-size: 0.85rem; }
.calc-presets {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.06);
    padding: 5px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.preset-btn {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.82);
    padding: 8px 15px;
    border-radius: var(--r-pill);
    font-size: 0.77rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
}
.preset-btn:hover { color: #ffffff; background: rgba(255, 255, 255, 0.08); }
.preset-btn.active { background: var(--orange-accent); color: #161104; font-weight: 800; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35); }

.calc-body { padding: 34px; display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 34px; align-items: start; }
.form-section-title {
    grid-column: 1 / -1;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--brand-dark);
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
    margin-top: 10px;
}
.form-section-title:first-child { margin-top: 0; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.field small { display: block; color: var(--muted); font-size: 0.76rem; margin-top: 6px; line-height: 1.45; }
.field input[type=number], .field select {
    width: 100%;
    border: 1px solid var(--line-strong);
    background: #faf9f5;
    border-radius: var(--r-md);
    padding: 12px 14px;
    font: inherit;
    font-size: 0.91rem;
    font-weight: 700;
    color: var(--ink);
    transition: all 0.2s var(--ease-out);
}
.field input[type=number]:focus, .field select:focus { outline: none; background: var(--white); border-color: var(--brand); box-shadow: 0 0 0 4px rgba(77, 124, 15, 0.12); }

.range-card { background: #faf9f5; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.range-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.range-head label { margin-bottom: 0; }
.range-head output {
    font-weight: 800;
    font-size: 1rem;
    color: var(--brand-dark);
    font-variant-numeric: tabular-nums;
    background: var(--brand-soft);
    padding: 4px 12px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(77, 124, 15, 0.22);
}
.field input[type=range] { width: 100%; accent-color: var(--brand); margin: 12px 0 4px; cursor: pointer; height: 8px; }

.check-group { display: grid; gap: 12px; background: #faf9f5; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; }
.checkrow { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.checkrow input { accent-color: var(--brand); width: 19px; height: 19px; margin-top: 2px; flex-shrink: 0; cursor: pointer; }
.checkrow label { font-weight: 700 !important; font-size: 0.88rem !important; margin: 0 !important; cursor: pointer; }
.checkrow label span { display: block; font-weight: 400; font-size: 0.77rem; color: var(--muted); margin-top: 2px; }

.result-panel {
    position: sticky;
    top: 88px;
    background:
        radial-gradient(circle at 85% 12%, rgba(163, 230, 53, 0.18) 0%, transparent 45%),
        linear-gradient(165deg, #121e15 0%, #1b2e20 100%);
    color: var(--white);
    border-radius: var(--r-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(163, 230, 53, 0.24);
}
.result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; gap: 8px; flex-wrap: wrap; }
.result-header h3 { margin: 0; font-size: 1.08rem; color: #ffffff; }
.live-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.38);
    padding: 4px 10px;
    border-radius: var(--r-pill);
}
.result-intro { color: rgba(255, 255, 255, 0.72); font-size: 0.8rem; margin: 0 0 16px; }
.hero-metric-box { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 14px; }
.result-big { font-size: clamp(1.9rem, 3.1vw, 2.45rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; color: var(--mint); font-variant-numeric: tabular-nums; }
.result-big.negative { color: #f87171; }
.result-caption { font-size: 0.78rem; color: rgba(255, 255, 255, 0.78); margin-top: 4px; }

.result-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.stat { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 14px; padding: 12px 14px; }
.stat.highlight { background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.34); }
.stat span { display: block; font-size: 0.72rem; color: rgba(255, 255, 255, 0.72); margin-bottom: 3px; }
.stat.highlight span { color: #fde68a; }
.stat b { font-size: 1.02rem; display: block; color: var(--white); font-variant-numeric: tabular-nums; }
.stat.highlight b { color: #fbbf24; }

.bar-wrap { margin: 14px 0; background: rgba(255, 255, 255, 0.04); padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.09); }
.barlabel { display: flex; justify-content: space-between; font-size: 0.77rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 7px; }
.bar { height: 8px; background: rgba(255, 255, 255, 0.1); border-radius: var(--r-pill); overflow: hidden; }
.bar > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cta), #fbbf24); border-radius: var(--r-pill); transition: width 0.3s var(--ease-out); }

.warning { border-left: 3px solid var(--orange-accent); padding: 10px 14px; background: rgba(245, 158, 11, 0.1); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 0.75rem; color: rgba(255, 255, 255, 0.86); line-height: 1.48; }
.method { font-size: 0.72rem; color: rgba(255, 255, 255, 0.66); margin: 10px 0 0; line-height: 1.42; }

.energy-lead-box { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.energy-lead-box h4 { margin: 0 0 4px; font-size: 0.98rem; color: #ffffff; }
.energy-lead-box p { margin: 0 0 12px; font-size: 0.77rem; color: rgba(255, 255, 255, 0.74); line-height: 1.45; }
.energy-lead-form { display: grid; gap: 9px; }
.energy-lead-form input, .energy-lead-form select {
    width: 100%;
    padding: 11px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 600;
}
.energy-lead-form button { width: 100%; margin-top: 4px; }

.b2b-banner {
    margin-top: 28px;
    background: linear-gradient(135deg, #141c16 0%, #1e2b20 100%);
    border: 1px solid rgba(245, 158, 11, 0.38);
    border-radius: var(--r-lg);
    padding: 26px 30px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-card);
}
.b2b-banner h3 { margin: 0 0 6px; font-size: 1.12rem; color: #fbbf24; }
.b2b-banner p { margin: 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); max-width: 760px; }

.synergy-box {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 34px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-xl);
    padding: 36px;
    margin-top: 30px;
    backdrop-filter: blur(12px);
}
.synergy-img { border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16); height: 290px; }
.synergy-img img { width: 100%; height: 100%; object-fit: cover; }
.synergy-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 12px; }
.synergy-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: rgba(255, 255, 255, 0.86); }
.synergy-list li strong { color: var(--mint); }

.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 32px; }
.article { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.article-thumb { height: 175px; overflow: hidden; position: relative; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-content { padding: 24px; flex: 1; }
.article .tag { font-size: 0.72rem; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: 0.06em; }
.article h3 { font-size: 1.14rem; line-height: 1.3; margin: 6px 0 8px; }
.article p { color: var(--muted); margin: 0 0 10px; font-size: 0.91rem; }
.article details { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.article summary { cursor: pointer; color: var(--brand-dark); font-weight: 700; font-size: 0.87rem; }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px; align-items: start; }
.callout-legal { background: var(--white); border: 1px solid var(--line-strong); border-left: 4px solid var(--orange-accent); padding: 24px 26px; border-radius: 0 var(--r-lg) var(--r-lg) 0; box-shadow: var(--shadow-card); }
.callout-legal strong.legal-heading { color: var(--ink); display: block; margin-bottom: 10px; font-size: 1rem; }
.callout-legal p { margin: 0 0 10px; color: var(--muted); font-size: 0.85rem; line-height: 1.56; }
.callout-legal p strong { color: var(--ink-soft); }
.callout-legal p:last-child { margin-bottom: 0; }
.sources { font-size: 0.89rem; }
.sources h3 { font-size: 1.02rem; margin-bottom: 10px; }
.sources ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; padding-left: 18px; margin: 0; }

/* POLITYKA PRYWATNOŚCI, STOPKA I BANER COOKIES */
.privacy-footer { background: var(--footer-bg); color: rgba(255, 255, 255, 0.75); padding: 12px 0 10px; font-size: 11px; line-height: 1.45; }
.privacy-compact { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.privacy-footer details { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.privacy-footer summary { list-style: none; cursor: pointer; color: rgba(255, 255, 255, 0.85); font-size: 11px; font-weight: 600; padding: 6px 0; display: flex; justify-content: space-between; align-items: center; }
.privacy-footer summary::-webkit-details-marker { display: none; }
.privacy-footer summary span { font-size: 14px; color: var(--mint); line-height: 1; transition: transform 0.2s ease; }
.privacy-footer details[open] summary span { transform: rotate(45deg); }
.privacy-content { max-width: 980px; padding: 8px 0 12px; color: rgba(255, 255, 255, 0.75); }
.privacy-content p { font-size: 11px; line-height: 1.5; color: rgba(255, 255, 255, 0.75); margin: 0 0 7px; }
.privacy-content strong { color: #ffffff; }
.privacy-content h3 { font-size: 11.5px; color: #ffffff; margin: 10px 0 3px; }
.privacy-footer a { color: var(--mint); border: 0; }

.site-footer { background: var(--footer-bottom-bg); padding: 16px 0 18px; color: rgba(255, 255, 255, 0.54); font-size: 11px; line-height: 1.5; border-top: 1px solid rgba(255, 255, 255, 0.06); text-align: center; }
.site-footer .container, .site-footer .wrap { text-align: center; }
.footer-quick-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.footer-quick-nav a { color: rgba(255, 255, 255, 0.74); text-decoration: none; border: 0; font-weight: 500; transition: color 0.15s ease; }
.footer-quick-nav a:hover { color: var(--mint); }

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(580px, calc(100% - 28px));
    z-index: 9999;
    background: rgba(18, 25, 20, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
    border-radius: var(--r-lg);
    padding: 20px 22px;
    color: #ffffff;
    display: none;
}
.cookie-banner.visible { display: block; }
.cookie-title { font-weight: 800; font-size: 0.95rem; margin-bottom: 6px; }
.cookie-text { color: rgba(255, 255, 255, 0.82); font-size: 0.8rem; line-height: 1.55; }
.cookie-text a { color: var(--mint); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookie-btn { border: 0; border-radius: var(--r-pill); padding: 9px 16px; font-weight: 700; font-size: 0.8rem; cursor: pointer; transition: all 0.2s ease; }
.cookie-accept { background: var(--cta); color: var(--ink); font-weight: 800; }
.cookie-reject { background: rgba(255, 255, 255, 0.08); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.2); }
.cookie-settings { background: var(--brand); color: #ffffff; }
.cookie-settings-panel { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.cookie-settings-panel.open { display: block; }
.cookie-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.cookie-row strong { display: block; color: #ffffff; font-size: 0.84rem; }
.cookie-row small { display: block; color: rgba(255, 255, 255, 0.7); margin-top: 2px; font-size: 0.75rem; }
.cookie-switch { font-weight: 700; color: var(--mint); white-space: nowrap; font-size: 0.78rem; }
.cookie-save { margin-top: 12px; background: var(--cta); color: var(--ink); }
.cookie-manage {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 9998;
    display: none;
    background: rgba(18, 25, 20, 0.9);
    color: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--r-pill);
    padding: 7px 14px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
}
.cookie-manage.visible { display: block; }

.mobile-cta-btn { display: none; }
.small { font-size: 0.8rem; color: inherit; opacity: 0.85; }

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9997;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ink);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.22s var(--ease-out);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand); transform: translateY(-2px); }
.back-to-top svg { width: 18px; height: 18px; display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 993px) { .hero-text { position: sticky; top: 96px; align-self: start; } }
@media (max-width: 992px) {
    .hero-section .hero-grid, .hero .hero-grid, .calc-body, .split, .synergy-box { grid-template-columns: 1fr; gap: 36px; }
    .hero-section { padding: 52px 0 64px; background-position: center; }
    .result-panel { position: static; }
    .grid3 { grid-template-columns: 1fr 1fr; }
    .sources ul { grid-template-columns: 1fr; }
    .mobile-cta-btn { display: inline-flex; margin-bottom: 18px; width: 100%; }
    .topbar-links { display: none; }
}
@media (max-width: 768px) {
    .container, .wrap { width: calc(100% - 28px); }
    .section { padding: 64px 0; }
    .hero-heading-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .hero-illustration { width: 96px; max-width: 96px; flex-basis: auto; order: -1; }
    .hero-trust-row, .options-grid, .options-grid-3, .scope-box, .lead-form, .grid3, .article-grid, .fields, .hero-trust, .result-stats { grid-template-columns: 1fr; }
    .field.full { grid-column: auto; }
    .step-container, .calc-head, .calc-body, .synergy-box { padding: 24px 20px; }
    .calc-header { padding: 16px 20px; }
    .calc-footer { flex-direction: column-reverse; gap: 10px; padding: 16px 20px; }
    .btn { width: 100%; }
    .slider-val { font-size: 2.85rem; }
    .guide-item summary { padding: 16px 18px; font-size: 0.96rem; }
    .guide-summary-left { flex-direction: column; align-items: flex-start; gap: 10px; }
    .guide-thumb { width: 100%; height: 120px; }
    .guide-body { padding: 12px 18px 20px; }
    .region-photo-banner { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }