/* assets/style.css */

:root {
    --primary: #001f3f;    /* Twój Granat */
    --accent: #FFD700;     /* Elektryczny Złoty */
    --accent-hover: #e6c200;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --radius: 8px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --container: 1280px;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 5%;
}

/* HEADER & NAV */
.site-header {
    background: var(--primary);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.6rem;
    text-decoration: none;
    color: var(--white);
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.header-motto {
    font-size: 0.85rem;
    opacity: 0.8;
    font-style: italic;
    max-width: 300px;
    line-height: 1.2;
    border-left: 2px solid var(--accent);
    padding-left: 15px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent);
}

.btn-cta {
    background: var(--accent);
    color: var(--primary) !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    transition: transform 0.2s, background 0.3s !important;
}

.btn-cta:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
}

/* HERO SECTION */
.hero {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 120px 0;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent);
}

.hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 35px;
}

.cta-group {
    display: flex;
    gap: 15px;
}

.btn-main {
    background: var(--accent);
    color: var(--primary);
    padding: 18px 35px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
}

.btn-sub {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 16px 30px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
}

/* CARDS */
.card.gold {
    background: var(--white);
    color: var(--primary);
    padding: 30px;
    border-radius: var(--radius);
    border-left: 8px solid var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.card.gold h3 { margin-top: 0; }
.card.gold ul { padding-left: 20px; list-style: none; }
.card.gold li { margin-bottom: 10px; font-weight: 500; }
.card.gold li::before { content: "✔"; color: var(--accent); margin-right: 10px; font-weight: 900; }

/* SERVICES GRID */
.section { padding: 80px 0; }
.section.light { background: var(--bg-light); }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.service-card:hover { transform: translateY(-10px); }
.service-card.active { border: 2px solid var(--accent); }
.service-card h4 { color: var(--primary); font-size: 1.4rem; margin-top: 0; }

/* REVIEWS SLIDER (CSS FIX) */
.reviews-section { background: var(--primary); color: var(--white); text-align: center; padding: 50px 0;}
.reviews-viewport { overflow: hidden; margin-top: 5px; }
.reviews-track { display: flex; transition: transform 0.5s ease; }
.review-card {
    flex: 0 0 100%;
    padding: 10px 40px;
}
.review-card p { font-size: 1.3rem; font-style: italic; max-width: 800px; margin: 0 auto 10px; }
.review-card strong { color: var(--accent); font-size: 1.2rem; }

/* FOOTER */
footer {
    background: #000b16;
    color: var(--white);
    padding: 60px 0 30px;
    text-align: center;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .cta-group { justify-content: center; }
    .d-hide-mobile { display: none; }
}
/* FOOTER & MAP SECTION ENHANCEMENTS */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.area-tags span {
    background: var(--bg-light);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #ddd;
}

.site-footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-brand p {
    opacity: 0.7;
    margin-top: 15px;
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-brand span {
    color: var(--accent);
}

.footer-contact h4, .footer-links h4 {
    color: var(--accent);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.footer-contact p, .footer-links a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 10px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover { opacity: 1; color: var(--accent); }

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .grid-2, .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
/* GRID 3x2 DLA USŁUG */
.grid-3x2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-card-mini {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.service-card-mini:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.service-card-mini.highlight {
    border-left: 4px solid var(--accent);
}

.service-card-mini h4 {
    margin: 0 0 12px 0;
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 800;
}

.service-card-mini p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* PIGUŁKI W KAFELKACH */
.pill-btn {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #ddd;
    transition: all 0.2s;
}

.pill-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* GŁÓWNA PIGUŁKA POD GRIDEM */
.pill-link-main {
    display: inline-block;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.pill-link-main:hover {
    background: var(--primary);
    color: var(--white);
}

/* Wyśrodkowanie tekstu pomocnicze */
.text-center { text-align: center; }

/* KONSTRUKCJA WRAPPERA DLA STRZAŁEK LEWO/PRAWO */
.reviews-wrapper {
    display: flex;
    align-items: center; /* Wyśrodkowanie pionowe strzałek względem opinii */
    gap: 20px;           /* Odstęp między strzałką a opinią */
    position: relative;
    max-width: 1000px;   /* Żeby opinie nie były za szerokie na wielkich ekranach */
    margin: 0px auto 0;
}

/* STYL STRZAŁEK */
.reviews-prev, 
.reviews-next {
    background: var(--accent);
    color: var(--primary);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Żeby strzałki się nie zgniatały */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 10;
}

.reviews-prev:hover, 
.reviews-next:hover {
    background: var(--primary);
    color: var(--accent);
    transform: scale(1.1);
}

/* POPRAWKA VIEWPORTU */
.reviews-viewport {
    flex-grow: 1; /* Viewport zabiera całą dostępną przestrzeń między strzałkami */
    overflow: hidden;
    border-radius: var(--radius);
}

/* RESPONSYWNOŚĆ - na małych ekranach strzałki mogą lądować pod spodem, żeby było więcej miejsca na tekst */
@media (max-width: 600px) {
    .reviews-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }
    .reviews-viewport {
        order: -1; /* Opinie na górę */
        width: 100%;
        margin-bottom: 0px;
    }
    .reviews-prev, .reviews-next {
        margin: 0 10px;
    }
}
/* GRID 4x2 DLA 8 USŁUG */
.grid-8 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* Wariacje wyróżnień dla specjalistycznych usług */
.service-card-mini.highlight-pv {
    border-top: 4px solid #2ecc71; /* Zielony dla PV */
}

.service-card-mini.highlight-ev {
    border-top: 4px solid #3498db; /* Niebieski dla EV */
}

.service-card-mini.highlight-smart {
    border-top: 4px solid var(--accent); /* Złoty dla Smart Home */
}

/* Stylizacja kart (podstawowa pozostaje jak wcześniej, tylko dopieszczamy) */
.service-card-mini {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    min-height: 220px;
}

/* Responsywność dla 8 kafelków */
@media (max-width: 1100px) {
    .grid-8 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-8 {
        grid-template-columns: 1fr;
    }
}

/* OFERTA DETAIL STYLES */
.page-header {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.offer-detail { padding: 100px 0; }
.light-bg { background: #f9f9f9; }

.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.offer-grid.reverse { direction: rtl; }
.offer-grid.reverse .offer-text { direction: ltr; }

.badge {
    background: var(--accent);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.offer-text h2 { font-size: 2.5rem; margin-bottom: 20px; color: var(--primary); }
.offer-text ul { list-style: none; padding: 0; margin-top: 25px; }
.offer-text ul li { 
    margin-bottom: 12px; 
    padding-left: 30px; 
    position: relative; 
}
.offer-text ul li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.photo-placeholder {
    background: #eee;
    border: 2px dashed #ccc;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: #888;
    border-radius: var(--radius);
}

@media (max-width: 900px) {
    .offer-grid, .offer-grid.reverse { grid-template-columns: 1fr; direction: ltr; gap: 30px; }
    .photo-placeholder { height: 250px; }
}

/* GALERIA W OFERCIE */
.offer-gallery {
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dwa zdjęcia obok siebie */
    gap: 10px;
}

.work-img {
    background: #e0e0e0;
    aspect-ratio: 4 / 3; /* Zachowuje proporcje zdjęć */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #666;
    border: 1px solid #ddd;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.work-img:hover {
    transform: scale(1.05);
    border-color: var(--accent);
    cursor: pointer;
}

/* Responsywność galerii */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* Na komórce też mogą być 2, jeśli są małe */
    }
}

/* assets/style.css */

/* ... wcześniejsze style (body, container, hero) zostają ... */

/* GRID 12 KAFELKÓW NA INDEX */
.grid-12 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* PODSTAWOWA KARTA USŁUGI */
.service-card-mini {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    min-height: 220px;
}

.service-card-mini:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* KOLORYSTYKA KAFELKÓW (Anchory) */
.highlight-wlz { border-top: 4px solid #34495e; }
.highlight-rozdzielnice { border-top: 4px solid #2980b9; }
.highlight-pomiary { border-top: 4px solid #7f8c8d; }
.highlight-indukcja { border-top: 4px solid #e67e22; }
.highlight-instalacje { border-top: 4px solid var(--primary); }

/* PREMIUM / TECH KOLORY */
.highlight-pv { border-top: 4px solid #2ecc71; }
.highlight-ev { border-top: 4px solid #3498db; }
.highlight-smart { border-top: 4px solid var(--accent); }
.highlight-tech { border-top: 4px solid #9b59b6; }
.highlight-garden { border-top: 4px solid #27ae60; }

/* SEKJA OFERTY - SZCZEGÓŁY */
.offer-detail { padding: 80px 0; }
.light-bg { background: #f9f9f9; }

.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.offer-grid.reverse { direction: rtl; }
.offer-grid.reverse .offer-text, 
.offer-grid.reverse .offer-gallery { direction: ltr; }

.badge {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
    background: #eee;
}

/* KOLORY BADGE W OFERCIE */
.badge.tech { background: #9b59b6; color: #fff; }
.badge.garden { background: #27ae60; color: #fff; }

/* MINI-GALERIE 2x2 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.work-img {
    background: #f0f0f0;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #999;
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
}

.work-img:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .offer-grid, .offer-grid.reverse { 
        grid-template-columns: 1fr; 
        gap: 30px; 
    }
    .grid-12 {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* KOLORY BADGE W OFERCIE */
.badge.primary { background: var(--primary); color: #fff; }
.badge.tech { background: #9b59b6; color: #fff; }
.badge.garden { background: #27ae60; color: #fff; }
.badge.accent { background: var(--accent); color: var(--primary); }

/* STYL DLA KONTRASTU W OFERCIE */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
}

.work-img.full-width {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}

.work-img {
    position: relative;
    overflow: hidden;
}

.work-img .tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c; /* Czerwony dla horroru */
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
}

.work-img .tag.pro {
    background: #27ae60; /* Zielony dla standardu */
}

.work-img.horror {
    border: 2px solid #e74c3c;
    opacity: 0.8;
}

.work-img.pro {
    border: 2px solid #27ae60;
    box-shadow: 0 0 15px rgba(39, 174, 96, 0.2);
}

.comparison-box {
    background: rgba(255, 215, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    margin-top: 20px;
}

/* KOLORY BADGE W OFERCIE */
.badge.primary { background: var(--primary); color: #fff; }
.badge.tech { background: #9b59b6; color: #fff; }
.badge.garden { background: #27ae60; color: #fff; }
.badge.accent { background: var(--accent); color: var(--primary); }

/* SMAKOWITY DETAL DLA REALIZACJI PRO */
.work-img.pro-tag::after {
    content: "Standard Mądry";
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 9px;
    background: var(--accent);
    color: var(--primary);
    padding: 2px 6px;
    font-weight: bold;
    border-radius: 3px;
    text-transform: uppercase;
}
/* --- NAPRAWA BIAŁEGO PASKA (OVERFLOW) --- */
html, body {
    max-width: 100%;
    overflow-x: hidden; /* To zabija biały pasek po prawej raz a dobrze */
}

/* --- HEADER I NAV (RESPONSYWNOŚĆ) --- */
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Pozwala menu przeskoczyć pod logo na małych ekranach */
    gap: 15px;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

@media (max-width: 600px) {
    .main-nav {
        justify-content: center; /* Wyśrodkowanie menu na smartfonie */
        width: 100%;
    }
    .main-nav a {
        font-size: 0.9rem; /* Trochę mniejszy tekst, żeby się mieścił */
        padding: 5px 8px;
    }
}

/* --- HERO BUTTONS (PROPORCJE) --- */
.cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-main, .btn-sub {
    padding: 12px 25px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    transition: 0.3s;
    flex: 0 1 auto; /* Przycisk zajmuje tyle miejsca ile potrzebuje, nie więcej */
}

.btn-main {
    background: var(--accent);
    color: var(--primary);
}

.btn-sub {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

@media (max-width: 480px) {
    .btn-main, .btn-sub {
        width: 100%; /* Na bardzo małych ekranach przyciski jeden pod drugim */
    }
}

/* --- STYLIZACJA "SPRAWDŹ PEŁNĄ OFERTĘ" --- */
.pill-link-main {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #f0f0f0;
    color: var(--text-dark);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.pill-link-main:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pill-link-main::after {
    content: " →"; /* Subtelna strzałka */
    margin-left: 8px;
}

/* --- FOOTER "NA SKRÓTY" --- */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link-item {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.footer-link-item::before {
    content: "›";
    color: var(--accent);
    margin-right: 8px;
    font-size: 1.2rem;
}

.footer-link-item:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.reviews-viewport {
    overflow-x: auto; /* Włącza natywne przewijanie palcem */
    scroll-snap-type: x mandatory; /* "Przyciąga" karty opinii do krawędzi */
    scrollbar-width: none; /* Ukrywa pasek przewijania na Firefox */
}
.reviews-viewport::-webkit-scrollbar {
    display: none; /* Ukrywa pasek przewijania na Chrome/Safari */
}
.review-card {
    scroll-snap-align: center; /* Karta centruje się przy przewijaniu palcem */
    flex: 0 0 100%; /* Każda karta na całą szerokość viewportu */
}

/* --- NAPRAWA HEADERA --- */
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Pozwala elementom przejść do nowej linii */
}

.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Wąski ekran (Smartfon/Tablet) */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column; /* Układa Logo i Menu pionowo */
        text-align: center;
        gap: 15px;
    }
    
    .main-nav {
        flex-direction: column; /* Układa Oferta, Cennik itp. pod sobą */
        width: 100%;
        gap: 10px;
    }

    .main-nav a {
        display: block;
        width: 100%;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-phone {
        border-bottom: none !important;
        margin-top: 5px;
    }
}

/* --- FOOTER FIX --- */
.footer-bottom {
    clear: both;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background: rgba(0,0,0,0.2);
}

.footer-link-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

/* Strzałka, która nie rozwala wyśrodkowania tekstu */
.footer-link-item::before {
    content: "›";
    color: var(--accent);
    margin-right: 8px;
    font-weight: bold;
}

@media (max-width: 900px) {
    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-link-item {
        justify-content: center;
    }
}
/* --- KONTAKT.PHP STYLES --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    padding: 40px 0;
}

.info-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.info-card.gold {
    background: var(--accent);
    color: var(--primary);
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-list li .icon {
    font-size: 1.5rem;
}

.contact-list a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* Formularz */
.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* SEO CITIES TAGS */
.seo-cities {
    margin-top: 25px;
}

.seo-cities h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--accent);
}

.city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.city-tags a {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.city-tags a:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Responsywność dla 3 kolumn */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-link-item {
        justify-content: center;
    }
}
.seo-section {
    margin-top: 5px;
	text-align: center;
}

.seo-title {
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.city-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
	align: center;
}

.city-tags a {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    background: rgba(255,255,255,0.05);
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.4s;
}

.city-tags a:hover {
    color: var(--primary);
    background: var(--accent);
    border-color: var(--accent);
}

.contact-map {
    margin-top: 30px;
    box-shadow: var(--shadow); /* Twoja zmienna z cieniem */
    border: 3px solid var(--white);
    border-radius: 12px;
    overflow: hidden;
    line-height: 0; /* Usuwa dziwną szparę pod iframe */
}

/* Możesz też dodać efekt "czarno-biały", który robi się kolorowy po najechaniu (bardzo pro) */
.contact-map iframe {
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.5s ease;
}

.contact-map:hover iframe {
    filter: grayscale(0%);
}
.logistics-info {
    margin-top: 15px;
    padding: 10px 15px;
    background: rgba(255, 215, 0, 0.1); /* Delikatny złoty podkład */
    border-left: 4px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 4px;
}

.logistics-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--white);
}

.logistics-info .badge {
    background: var(--accent);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

.fair-logistics {
    background: rgba(0, 31, 63, 0.03); /* Bardzo jasny granat */
    border: 1px solid rgba(0, 31, 63, 0.1);
    border-left: 4px solid var(--accent);
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
    text-align: left;
}

.logistics-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.1rem;
}

.fair-logistics p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.logistics-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.logistics-list li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.logistics-list li span {
    filter: grayscale(100%); /* Ikony emoji subtelniejsze */
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .logistics-list {
        grid-template-columns: 1fr 1fr; /* Na PC w dwóch rzędach dla oszczędności miejsca */
    }
}

.fair-logistics {
    background: var(--white); /* Zamiast rgba(0, 31, 63, 0.03) */
    color: var(--primary);    /* Tekst musi być wtedy ciemny */
    border: 1px solid rgba(0, 31, 63, 0.1);
    border-left: 4px solid var(--accent);
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
    text-align: left;
}

/* Żeby opisy wewnątrz też były czytelne na białym tle */
.fair-logistics p, .fair-logistics li {
    color: var(--primary) !important;
}

/* ==========================================================================
   FAQ & PROCESS STYLES - CLEAN VERSION
   ========================================================================== */

/* 1. HERO SECTION */
.faq-hero { 
    background: var(--primary); 
    color: var(--white); 
    padding: 100px 0 60px; 
    text-align: center; 
}

.faq-hero .sub-title { 
    color: var(--accent); 
    text-transform: uppercase; 
    font-weight: 800; 
    font-size: 0.8rem; 
    letter-spacing: 2px; 
    display: block;
    margin-bottom: 10px;
}

.faq-hero h1 span { 
    display: block; 
    color: var(--accent); 
}

.faq-hero .badge { 
    background: rgba(255, 215, 0, 0.1); 
    color: var(--accent); 
    padding: 5px 15px; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
}

/* 2. WORK PROCESS SEKCJA */
.work-process { 
    padding: 80px 0; 
    background: var(--white); 
}

.section-header { 
    text-align: center; 
    margin-bottom: 50px; 
}

.section-header h2 { 
    font-size: 2.2rem; 
    color: var(--primary); 
    margin-bottom: 10px; 
}

.steps-wrapper { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
}

.process-card { 
    background: var(--bg-light); 
    padding: 30px; 
    border-radius: var(--radius); 
    border-bottom: 4px solid #eee; 
    transition: transform 0.3s, border-color 0.3s; 
    position: relative;
}

.process-card:hover { 
    border-bottom-color: var(--accent); 
    transform: translateY(-5px); 
}

.step-icon { 
    font-size: 2.5rem; 
    font-weight: 900; 
    color: rgba(0, 31, 63, 0.05); 
    margin-bottom: 10px; 
    position: absolute;
    top: 10px;
    right: 20px;
}

/* 3. FAQ GRID SYSTEM */
.faq-main { 
    padding: 60px 0 100px; 
    background: #fdfdfd; 
}

.faq-grid { 
    display: grid; 
    grid-template-columns: 350px 1fr; 
    gap: 50px; 
}

.sticky-box { 
    position: sticky; 
    top: 120px; 
    background: var(--primary); 
    color: var(--white); 
    padding: 30px; 
    border-radius: var(--radius); 
}

.sticky-box h3 { color: var(--accent); margin-top: 0; }

.sticky-box ul { 
    list-style: none; 
    padding: 20px 0; 
    margin: 0;
}

.sticky-box ul li { 
    margin-bottom: 10px; 
    font-size: 0.9rem; 
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* 4. ACCORDION UI (KLASY .acc-item) */
.acc-item { 
    background: var(--white); 
    border: 1px solid #eee; 
    border-radius: var(--radius); 
    margin-bottom: 15px; 
    overflow: hidden; 
    transition: box-shadow 0.3s;
}

.acc-header { 
    padding: 20px 25px; 
    font-weight: 700; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    transition: 0.3s; 
    color: var(--primary);
    background: none;
    width: 100%;
    border: none;
    text-align: left;
}

.acc-header::after { 
    content: '\002B'; /* Plus */
    font-size: 1.2rem; 
    color: var(--accent); 
}

.acc-item.active {
    box-shadow: var(--shadow);
}

.acc-item.active .acc-header { 
    background: var(--bg-light); 
}

.acc-item.active .acc-header::after { 
    content: '\2212'; /* Minus */
}

.acc-content { 
    max-height: 0; 
    padding: 0 25px; 
    transition: all 0.3s ease-out; 
    color: var(--text-muted); 
    line-height: 1.8; 
    overflow: hidden;
}

.acc-item.active .acc-content { 
    max-height: 500px; 
    padding: 20px 25px 30px; 
}

/* 5. RESPONSIVE */
@media (max-width: 992px) {
    .faq-grid { grid-template-columns: 1fr; }
    .faq-sidebar { order: 2; }
    .sticky-box { position: static; }
    .section-header h2 { font-size: 1.8rem; }
}
/* Uproszczony Proces */
.section-header-compact {
    text-align: center;
    margin-bottom: 40px;
}

.section-header-compact h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.section-header-compact p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.steps-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.mini-step {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
}

.mini-step:hover {
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.mini-num {
    display: block;
    color: var(--accent);
    font-weight: 800;
    font-size: 0.75rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.mini-step h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    color: var(--primary);
}

.mini-step p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-muted);
}

/* Responsywność - na telefonach 2 kolumny lub lista */
@media (max-width: 992px) {
    .steps-row {
        flex-wrap: wrap;
    }
    .mini-step {
        flex: calc(50% - 15px);
        min-width: 200px;
    }
}

/* Subtelniejszy Hero */
.hero {
    padding: 60px 0; /* Zmniejszone z np. 100px */
}

.hero h1 {
    font-size: 2.8rem; /* Nieco mniejszy font */
    line-height: 1.2;
}

/* Case Study - Stylizacja */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.case-card {
    background: #fff;
    padding: 30px;
    border-bottom: 3px solid var(--accent);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.case-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.case-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- FILOZOFIA MAVERICKA - CSS --- */

.maverick-philosophy {
    background-color: #0d0f14; /* Bardzo głęboki antracyt */
    padding: 100px 0;
    color: #f1f5f9;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #d4af37; /* Złoto Maverick */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto;
}

/* Grid dla kart */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Karta Filozofii */
.p-card {
    background: #161a20;
    padding: 40px;
    border: 1px solid #2d3748;
    border-radius: 0; /* Ostre kąty = Maverick nie owija w bawełnę */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.p-card:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

/* Ikony */
.p-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    filter: grayscale(1);
    transition: 0.3s;
}

.p-card:hover .p-icon {
    filter: grayscale(0);
}

/* Karta Highlight (Ta złota) */
.p-card.highlight {
    border: 1px solid #d4af37;
    background: linear-gradient(145deg, #1a1e26 0%, #0d0f14 100%);
}

.p-card.highlight::before {
    content: "ZASADA NR 1";
    position: absolute;
    top: 0;
    right: 0;
    background: #d4af37;
    color: #000;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 5px 12px;
}

.p-card h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.p-card p {
    line-height: 1.7;
    color: #cbd5e1;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .section-header h2 { font-size: 2rem; }
    .maverick-philosophy { padding: 60px 0; }
}

/* --- MODERN MAVERICK COMPACT SECTION --- */

.maverick-philosophy.maverick-compact {
    background-color: #f8f9fa; /* Bardzo jasne tło, pasuje do reszty strony */
    padding: 60px 0; /* Mniejszy padding góra/dół */
    color: #333;
}

.maverick-compact .section-header {
    margin-bottom: 30px;
    text-align: center;
}

.maverick-compact .section-header h2 {
    font-size: 1.8rem; /* Mniejszy, bardziej elegancki nagłówek */
    color: #1a1d23;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.maverick-compact .section-header p {
    font-size: 0.95rem;
    color: #666;
}

/* Grid kart */
.maverick-compact .philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* Mniejsze karty */
    gap: 20px;
}

/* Styl pojedynczej karty */
.maverick-compact .p-card {
    background: #ffffff;
    padding: 25px; /* Skompresowany środek */
    border: 1px solid #e1e4e8;
    border-radius: 0; /* Maverick trzyma ostre kąty */
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Efekt najazdu - Złoto Mavericka */
.maverick-compact .p-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37; /* Złoto pojawia się tylko przy interakcji */
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15);
}

.maverick-compact .p-icon {
    font-size: 1.8rem; /* Mniejsza ikona */
    margin-bottom: 15px;
    display: block;
}

.maverick-compact .p-card h4 {
    font-size: 1.1rem; /* Mniejszy font tytułu */
    margin-bottom: 10px;
    color: #1a1d23;
    font-weight: 700;
}

.maverick-compact .p-card p {
    font-size: 0.88rem; /* Mniejszy, czytelny tekst */
    line-height: 1.5;
    color: #555;
    margin: 0;
}

/* Wyróżnienie "Zasada Nr 1" - teraz subtelniejsze */
.maverick-compact .p-card.highlight {
    border: 1px solid #d4af37;
    background: #fffdf5; /* Delikatny złoty odcień tła */
}

.maverick-compact .p-card.highlight::after {
    content: "ZASADA NR 1";
    position: absolute;
    top: 0;
    right: 0;
    background: #d4af37;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 3px 8px;
}

/* Responsywność */
@media (max-width: 768px) {
    .maverick-compact .section-header h2 { font-size: 1.5rem; }
    .maverick-compact .philosophy-grid { gap: 15px; }
}
/* --- ODŚWIEŻONY JASNY STYL HERO MAVERICK --- */

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: center;
}

.hero-content .lead {
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #ffffff; /* Tekst w hero pozostaje jasny na niebieskim tle */
}

/* KARTA BADGE - WERSJA JASNA */
.hero-badge-card .card.light-glass {
    background: rgba(255, 255, 255, 0.95); /* Jasne tło */
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent); /* Złota ramka dla prestiżu */
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-tag {
    display: block;
    color: var(--primary); /* Ciemny granat dla nagłówków w jasnej karcie */
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.card-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--accent) 0%, rgba(0, 31, 63, 0.1) 100%);
    margin: 20px 0;
}

/* LISTA TAK/NIE */
.status-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.status-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--text-dark); /* Ciemny tekst na jasnym tle */
}

.icon-y { color: #2d6a4f; margin-right: 10px; font-weight: bold; } /* Mocniejsza zieleń dla jasnego tła */
.icon-n { color: #c53030; margin-right: 10px; font-weight: bold; } /* Mocniejsza czerwień */

/* MINI KORZYŚCI */
.mini-benefits {
    display: grid;
    gap: 10px;
}

.benefit-tag {
    font-size: 0.85rem;
    color: #444;
    padding-left: 12px;
    border-left: 3px solid var(--accent);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content .lead { margin: 0 auto 30px auto; }
    .hero-badge-card .card { max-width: 450px; margin: 0 auto; text-align: left; }
    .cta-group { justify-content: center; display: flex; gap: 10px; }
}

/* Wymuszenie centrowania na każdej szerokości ekranu */
.seo-section {
    text-align: center;
    width: 100%;
}

.city-tags {
    display: flex;
    flex-wrap: wrap;       /* To pozwala na przechodzenie do nowej linii */
    justify-content: center; /* To centruje wszystko w każdym wierszu */
    gap: 10px;             /* Odstępy między miastami */
    max-width: 1200px;      /* Ogranicz szerokość, a wiersze same się ułożą po ok. 8-10 miast */
    margin: 0 auto;        /* Wyśrodkowanie całego kontenera */
}

/* ==========================================================================
   DODATEK: STYLE DLA CENNIKA (Dopasowane do Maverick Style)
   ========================================================================== */

/* Nagłówek cennika */
.section h1 {
    color: var(--primary);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

/* Kontener siatki cen (jeśli używasz kart) */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.price-card {
    background: var(--white);
    border: 1px solid #e1e4e8;
    padding: 30px;
    border-radius: var(--radius);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

/* Tabele responsywne */
.table-responsive {
    overflow-x: auto;
    margin-top: 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.price-table th {
    background: var(--primary);
    color: var(--white);
    text-align: left;
    padding: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
}

.price-table tr:hover {
    background-color: rgba(255, 215, 0, 0.05); /* Delikatne złote podświetlenie wiersza */
}

/* Ceny i Odznaki */
.price {
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge.hot { background: #fff0f0; color: #c53030; border: 1px solid #feb2b2; }
.badge.pro { background: #ebf8ff; color: #2b6cb0; border: 1px solid #bee3f8; }
.badge.new { background: #f0fff4; color: #2f855a; border: 1px solid #c6f6d5; }

/* Karta podsumowania (gold card) */
.card.gold {
    background: #fffdf0;
    border: 2px solid var(--accent);
    padding: 30px;
    border-radius: var(--radius);
    color: var(--primary);
}

.card.gold strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.card.gold ul {
    padding-left: 20px;
}

.card.gold ul li {
    margin-bottom: 8px;
    list-style-type: "⚡ ";
}

/* Responsywność cennika */
@media (max-width: 768px) {
    .price-table th, .price-table td {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .price {
        display: block;
        margin-top: 5px;
    }
}

footer {
    background: #111827; /* Ciemny, profesjonalny kolor */
    color: #fff;
    padding: 10px 50px;
    border-top: 4px solid #fbbf24; /* Akcent Twojej marki */
    text-align: center;
}

.footer-highlight {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fbbf24; /* Ten Twój akcent */
    margin-bottom: 15px;
}

/* --- SEKCJA BŁĘDU 403 --- */
.error-body {
    background: #0a0a0a !important; /* Wymuszamy czarne tło tylko dla błędu */
    margin: 0;
}

.access-denied {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    color: #fff;
}

.error-visual .glitch {
    font-size: clamp(5rem, 15vw, 8rem);
    font-weight: 900;
    color: var(--accent); /* Twoje złoto */
    margin: 0;
    position: relative;
    animation: glitch-anim 0.6s infinite;
}

@keyframes glitch-anim {
    0% { text-shadow: 2px 0 0 #ff0000, -2px -1px 0 #00ff00; transform: translate(0); }
    20% { text-shadow: -2px 0 0 #ff0000, 2px 1px 0 #00ff00; transform: translate(-2px, 1px); }
    40% { transform: translate(-2px, -1px); }
    60% { text-shadow: 2px 1px 0 #ff0000, -2px -1px 0 #00ff00; transform: translate(2px, 1px); }
    100% { text-shadow: 2px 0 0 #ff0000, -2px -1px 0 #00ff00; transform: translate(0); }
}

.hazard-sign {
    width: 80px;
    height: 70px;
    background: var(--accent);
    margin: 0 auto 20px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hazard-sign .bolt { color: #000; font-size: 2.5rem; font-weight: bold; margin-top: 10px; }

.warning-box {
    border: 2px dashed var(--accent);
    padding: 20px;
    background: rgba(255, 215, 0, 0.05);
    margin: 30px auto;
    max-width: 500px;
}

.actions-stack {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    margin-top: 40px;
}

.actions-stack .btn-main {
    background: var(--accent);
    color: var(--primary);
    padding: 18px 45px;
    text-decoration: none;
    font-weight: 900;
    border-radius: var(--radius);
    width: 100%;
    max-width: 350px;
	text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s;
}

.actions-stack .btn-main:hover {
    transform: scale(1.05);
}

.actions-stack .btn-outline {
    background: transparent;
    color: #999;
    border: 1px solid #444;
    padding: 8px 15px;
    text-decoration: none;
    font-weight: normal;
	font-size: 0.85rem;
    border-radius: var(--radius);
    width: auto;
    min-width: 180px;
	transition: all 0.3s ease;
}

.actions-stack .btn-outline:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

.hero-smart-bg {
    position: relative;
    background: url('assets/img/modern-switchboard.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* To robi efekt paralaksy */
    padding: 100px 0;
    overflow: hidden;
}

/* Ciemna nakładka, żeby biały tekst "siedział" */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2; /* Musi być nad overlay */
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.tech-label {
    display: inline-block;
    background: #0b5ed7;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-content h1 span {
    color: #ffc107; /* Złoty akcent na "Smart Elektryka" */
    text-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
}

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-smart-bg { background-attachment: scroll; } /* Wyłączamy paralaksę na mobile dla wydajności */
}