/* =========================================
   ZMIENNE KOLORYSTYCZNE I BAZA
========================================= */
:root {
    --neon-blue: #00d4ff;
    --deep-blue: #0052cc;
    --whatsapp-green: #25D366;
    --dark-bg: #0a0b10;
    --card-bg: #161b22;
    --text-white: #f0f6fc;
    --facebook-blue: #1877F2;
    --youtube-red: #FF0000;
    --tiktok-pink: #ee1d52;
}

html { 
    scroll-behavior: smooth; 
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo { 
    font-family: 'Orbitron', sans-serif; 
}

/* =========================================
   NAWIGACJA
========================================= */
nav {
    background: rgba(10, 11, 16, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.logo { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--neon-blue); 
    text-decoration: none; 
}

.logo span { color: #fff; }

.nav-menu { 
    display: flex; 
    list-style: none; 
    gap: 20px; 
}

.nav-menu a { 
    text-decoration: none; 
    color: var(--text-white); 
    font-weight: bold; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    transition: 0.3s; 
}

.nav-menu a:hover { color: var(--neon-blue); }

.nav-menu a.nav-text-neon-green {
    color: #00ff66 !important;
    font-weight: 700;
    text-shadow: 0 0 8px #00ff66, 0 0 15px rgba(0, 255, 102, 0.5);
    transition: all 0.3s ease;
}

.nav-menu a.nav-text-neon-green:hover {
    color: #fff !important;
    text-shadow: 0 0 15px #00ff66, 0 0 30px #00ff66;
}

.nav-right { display: flex; gap: 15px; align-items: center; }
.nav-contact-link { text-decoration: none; font-weight: bold; font-size: 0.9rem; transition: 0.3s; }
.nav-phone { color: var(--neon-blue); }
.nav-whatsapp { color: var(--whatsapp-green); }

/* =========================================
   HEADER & HERO SEKCJA
========================================= */
header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 82, 204, 0.1) 0%, var(--dark-bg) 70%);
    padding: 120px 5% 60px;
}

header h1 { 
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    text-transform: uppercase; 
}

.main-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #fff; 
}

.main-title span { color: var(--neon-blue); }

.hero-badge {
    background: rgba(0, 212, 255, 0.1);
    color: var(--neon-blue);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid var(--neon-blue);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: bold;
}

#hero-text { transition: opacity 0.3s ease-in-out; }
.hero-description {
    font-size: 1.1rem;
    color: #b0b8c1;
    max-width: 850px;
    margin-bottom: 40px;
    line-height: 1.8;
    z-index: 2; 
    position: relative;
}
.hero-description strong { color: var(--neon-blue); font-weight: 700; }

.language-switcher img:hover { 
    transform: scale(1.1); 
    transition: transform 0.2s; 
}

/* =========================================
   PRZYCISKI (BUTTONS)
========================================= */
.cta-group { 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap; 
    justify-content: center; 
    position: relative; 
    z-index: 2; 
}

.btn {
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-call {
    background: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

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

.btn-whatsapp:hover {
    background: var(--whatsapp-green);
    color: white;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.btn-online {
    background: transparent;
    border: 2px solid #00ff66;
    color: #00ff66;
}

.btn-online:hover {
    background: #00ff66;
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
}

.btn-small {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    text-decoration: none;
    font-size: 0.8rem;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-block;
}

.btn-neon {
    padding: 5px 12px;
    font-size: 0.7rem;
    color: var(--neon-blue);
    background: transparent;
    border: 1px solid var(--neon-blue);
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 212, 255, 0.4), inset 0 0 5px rgba(0, 212, 255, 0.1);
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.8);
    display: inline-block;
}

.btn-neon:hover {
    background: var(--neon-blue);
    color: var(--dark-bg, #0a0b10);
    box-shadow: 0 0 20px var(--neon-blue), inset 0 0 10px var(--neon-blue);
    text-shadow: none;
}

/* =========================================
   ROBOT 3D & EKRAN ŁADOWANIA
========================================= */
#robot-3d-container {
    width: 95%; 
    max-width: 1300px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
    background: #000;
    aspect-ratio: 1.8 / 1; 
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 75% 100%, 50% 90%, 25% 100%, 0% 90%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
    cursor: grab;
}

#robot-3d-container:active { cursor: grabbing; }

#switch-robot-btn {
    position: absolute; 
    bottom: 80px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 1000; 
    background: rgba(0, 212, 255, 0.15); 
    border: 1px solid rgba(0, 212, 255, 0.6); 
    color: var(--neon-blue); 
    padding: 8px 16px; 
    border-radius: 8px; 
    font-family: 'Orbitron', sans-serif; 
    cursor: pointer; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    font-weight: bold; 
    box-shadow: 0 0 15px rgba(0,212,255,0.2); 
    transition: all 0.3s ease; 
    backdrop-filter: blur(4px); 
    text-align: center;
    width: max-content; 
    max-width: 90%;
}

#switch-robot-btn:hover {
    background: rgba(0, 212, 255, 0.8);
    color: #0a0b10;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    border-color: var(--neon-blue);
}

.measurement-label { pointer-events: none; white-space: nowrap; }

.label-inner {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    background: rgba(5, 6, 10, 0.75);
    padding: 6px 12px; 
    border-left: 3px solid var(--neon-blue); 
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
    transform-origin: center center; 
    transition: transform 0.05s linear; 
}

.measurement-label.left-side .label-inner {
    border-left: none;
    border-right: 3px solid var(--neon-blue);
    border-radius: 4px 0 0 4px;
    text-align: right;
}

.label-title {
    font-size: 10px; 
    text-transform: uppercase;
    color: #b0b8c1;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.label-value {
    font-size: 16px; 
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.6);
}

#robot-loader {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #0a0b10;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; 
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.loader-content {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    width: 80%;
    max-width: 400px;
}

.radar-spinner {
    width: 70px; height: 70px;
    border: 2px dashed rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    padding: 2px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.05);
    animation: rotation 4s linear infinite;
}

.radar-spinner::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border: 2px solid transparent;
    border-top-color: var(--neon-blue);
    border-radius: 50%;
    animation: rotation 1s linear infinite;
}

.loader-text {
    color: #b0b8c1;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.loader-percentage {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
    margin-bottom: 15px;
}

.progress-bar-bg {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

#progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--deep-blue), var(--neon-blue));
    box-shadow: 0 0 10px var(--neon-blue);
    transition: width 0.2s ease-out;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =========================================
   SEKCJE STRONY & KARTY
========================================= */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: var(--text-white);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--neon-blue);
    margin: 15px auto 0;
    box-shadow: 0 0 10px var(--neon-blue);
}

.services { 
    padding: 80px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid {
    display: grid !important; 
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; 
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto !important; 
    padding: 0; 
}

.card {
    width: 100%; 
    max-width: none !important; 
    margin: 0; 
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: 0.4s;
    animation: floatEffect 4s ease-in-out infinite;
}

.card:nth-child(2) { animation-delay: 0.5s; }
.card:nth-child(3) { animation-delay: 1s; }

.card:hover { 
    border-color: var(--neon-blue); 
    transform: translateY(-10px); 
}

.card h3 {
    color: var(--neon-blue);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.card i { 
    font-size: 2.5rem; 
    color: var(--neon-blue); 
    margin-bottom: 25px; 
}

.custom-icon {
    width: 230px;          
    height: 230px;         
    object-fit: contain;  
    margin-bottom: 25px;
    filter: drop-shadow(0 0 5px var(--neon-blue));
}

@keyframes floatEffect {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =========================================
   WIDEO SEKCJA & ODTWARZACZ
========================================= */
.video-section { padding: 40px 5%; max-width: 1000px; margin: 0 auto; }
/* Maksymalne i wymuszone rozszerzenie sekcji wideo na dużych ekranach */
@media (min-width: 992px) {
    /* 1. Odblokowujemy całą sekcję nadrzędną, żeby przestała dusić kontener */
    .video-section {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 2. Rozciągamy samą siatkę z nagraniami */
    .video-grid-container {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px !important;
        
        /* Zmuszamy kontener do zajęcia 90% ekranu, ale max 1400px, żeby nie przesadzić */
        width: 90% !important; 
        max-width: 1400px !important; 
        margin: 0 auto !important;
    }
}
/* Twarde wymuszenie poziomego prostokąta (format 16:9) dla wszystkich kafelków */
.video-item {
    position: relative;
    width: 100%;
    
    /* Zmiana na proporcje prostokąta wideo (16:9). 
       Gdyby prostokąty były za szerokie, możesz spróbować też formatu "4 / 3" lub "3 / 2" */
    aspect-ratio: 16 / 9; 
    
    overflow: hidden;
    margin: 0;
}

.video-item video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    
    /* Wideo idealnie wypełni prostokątną ramkę od brzegu do brzegu */
    object-fit: cover !important; 
    
    display: block !important;
}

.play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4); 
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.play-overlay i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.6); 
    text-shadow: 0 0 20px var(--neon-blue); 
    transition: transform 0.3s ease, color 0.3s ease;
}

.play-overlay:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

.play-overlay.hidden {
    opacity: 0;
    pointer-events: none; 
}

.video-section-footer {
    text-align: center;
    margin-top: 30px;
    padding: 0 20px;
}

.video-section-footer .section-description {
    color: #b0b8c1;
    font-size: 0.95rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 25px auto;
    line-height: 1.6;
}

.video-section-footer .cta-button-container { margin-top: 25px; }

.video-section-footer .btn-call {
    font-size: 1rem;
    padding: 12px 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px; 
}

/* =========================================
   OBSZAR DZIAŁANIA & MAPA
========================================= */
.area-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.area-container {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    gap: 40px;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.area-text { flex: 1.2; }

.area-text h3 { 
    color: var(--neon-blue); 
    margin-bottom: 25px; 
    font-family: 'Orbitron', sans-serif; 
    font-size: 1.8rem;
}

.area-text ul { list-style: none; margin-top: 25px; }
.area-text ul li { margin-bottom: 12px; color: #b0b8c1; font-size: 1rem; }
.area-text ul li i { color: var(--neon-blue); margin-right: 12px; }

.area-map-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.area-map-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 50%;
    border: 3px solid var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    transition: transform 0.4s ease;
}

.area-map-image img:hover { transform: scale(1.03); }

.zoom-text {
    margin-top: 15px;
    color: var(--neon-blue);
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.zoom-text:hover { opacity: 1; text-shadow: 0 0 10px var(--neon-blue); }

.map-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.map-modal img {
    max-width: 90%;
    max-height: 90%;
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 30px var(--neon-blue);
}

.area-map-placeholder {
    background: #0a1628;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    width: 100%;
    
    /* Zabezpieczenia na duże ekrany */
    max-width: 600px; 
    max-height: 450px;
    margin: 0 auto;
    align-self: center; /* Zapobiega wymuszaniu równej wysokości kolumn */
    
    aspect-ratio: 4/3;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.05);
}

#mapCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* =========================================
   AKTUALNOŚCI (NEWS)
========================================= */
.news-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start !important;
}

.news-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: auto !important; 
}

.news-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.1); 
}

.news-image { overflow: hidden; }

.news-image img {
    width: 100%;
    height: 550px; 
    object-fit: cover; 
    border-bottom: 2px solid var(--neon-blue);
    display: block;
    cursor: zoom-in; 
    transition: transform 0.3s ease; 
}

.news-image:hover img { transform: scale(1.05); }

.news-content {
    padding: 20px;
    flex-grow: 1; 
}

.news-content p {
    font-size: 0.85rem;
    color: #b0b8c1;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-link {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.news-text {
    display: -webkit-box;
    -webkit-line-clamp: 4; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.news-text.expanded {
    -webkit-line-clamp: unset; 
}

.read-more-btn {
    background: transparent;
    border: none;
    color: var(--neon-blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 0 0 0;
    margin-top: 10px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.read-more-btn:hover {
    text-shadow: 0 0 8px var(--neon-blue);
}

.hidden-news { display: none !important; }

/* =========================================
   FAQ
========================================= */
.faq-section {
    padding: 80px 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-details {
    background: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.faq-details:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.05);
}

.faq-summary {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--neon-blue);
    font-size: 1.1rem;
    list-style: none; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-summary::-webkit-details-marker { display: none; }

.faq-summary:after {
    content: '\f078'; 
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--neon-blue);
    transition: transform 0.3s ease;
}

.faq-details[open] .faq-summary:after { transform: rotate(180deg); }

.faq-content {
    padding: 0 20px 20px;
    color: #b0b8c1;
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 10px;
    padding-top: 15px;
}

/* =========================================
   GALERIA SWIPER
========================================= */
.gallery-section {
    padding: 80px 5%;
    background: rgba(0, 0, 0, 0.3);
}

.gallery-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0 50px 0;
}

.swiper-gallery {
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.05);
}

.swiper-gallery .swiper-slide {
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
}

.swiper-gallery img {
    width: 100%;
    height: 300px; 
    object-fit: cover;
    border-bottom: 2px solid var(--neon-blue);
    transition: 0.5s;
}

.swiper-gallery .swiper-slide:hover img { filter: brightness(1.2); }

.slide-caption {
    padding: 15px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--text-white);
    background: var(--card-bg);
}

.gallery-container .swiper-button-next, 
.gallery-container .swiper-button-prev {
    color: var(--neon-blue);
    transform: scale(0.7);
}

.gallery-container .swiper-pagination-bullet-active {
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

/* =========================================
   STATYSTYKI
========================================= */
.stats-section {
    padding: 60px 5%;
    background: linear-gradient(to bottom, #0a0b10, #11141d);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item { padding: 20px; }

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--neon-blue);
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.stat-label {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #b0b8c1;
}

/* =========================================
   OPINIE (REVIEWS)
========================================= */
.reviews-section {
    padding: 80px 5%;
    background: linear-gradient(to bottom, var(--dark-bg), #050608);
    text-align: center;
}

.reviews-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    padding: 20px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.reviews-container::-webkit-scrollbar { display: none; }

.review-card {
    min-width: 250px;
    max-width: 250px;
    height: 250px;
    background: var(--card-bg);
    border-radius: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: 0.3s;
    flex-shrink: 0;
}

.review-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

.google-stars { color: #fbbc05; margin-bottom: 10px; font-size: 0.85rem; }

.review-text {
    font-size: 0.75rem;
    color: #b0b8c1;
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.reviewer-name { font-weight: bold; color: var(--neon-blue); font-size: 0.85rem; }
.google-logo { width: 20px; margin-top: 10px; }

/* =========================================
   FACEBOOK SIDE BOX
========================================= */
.fb-side-box {
    position: fixed;
    left: -300px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    background: #1877F2;
    z-index: 9999;
    transition: all 0.5s ease;
    border-radius: 0 15px 15px 0;
    display: flex;
    align-items: center;
    border: 1px solid var(--neon-blue);
    border-left: none;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.fb-side-box:hover { left: 0; }

.fb-icon-label {
    position: absolute;
    right: -50px;
    width: 50px;
    height: 120px;
    background: #1877F2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    border: 1px solid var(--neon-blue);
    border-left: none;
}

.fb-icon-label i { color: white; font-size: 2rem; }

.fb-content { width: 100%; padding: 10px; text-align: center; }

.fb-content p {
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
}

/* =========================================
   STOPKA (FOOTER)
========================================= */
footer {
    padding: 60px 5% 20px;
    background: #050608;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.footer-info h4 { color: var(--neon-blue); margin-bottom: 15px; text-transform: uppercase; }
.footer-info p { margin-bottom: 10px; color: #8b949e; }

.footer-contact a.phone-link {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Orbitron';
    margin-bottom: 10px;
}

.footer-contact a.mail-link {
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 10px;
    transition: 0.3s;
    color: var(--neon-blue);
}

.social-links { display: flex; gap: 12px; margin-top: 25px; flex-wrap: wrap; }

.social-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    transition: 0.4s;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-icon:hover { 
    color: var(--neon-blue); 
    border-color: var(--neon-blue); 
    box-shadow: 0 0 15px var(--neon-blue); 
}

.map-box { display: flex; flex-direction: column; gap: 15px; }
.mini-map { 
    height: 250px; 
    border-radius: 15px; 
    overflow: hidden; 
    border: 1px solid rgba(0, 212, 255, 0.3); 
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%); 
}

.copyright { 
    text-align: center; 
    margin-top: 40px; 
    padding-top: 20px; 
    border-top: 1px solid #111; 
    font-size: 0.8rem; 
    color: #444; 
}

/* =========================================
   MEDIA QUERIES (RWD - EKRANY MOBILNE)
========================================= */
#mobile-robot-fallback { display: none; }

@media (min-width: 1024px) {
    .video-grid-container { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    header h1 { font-size: 2.2rem; }
    .main-title { font-size: 1.0rem; }
    .cta-group { flex-direction: column; width: 100%; max-width: 300px; }
    .footer-contact a.phone-link { font-size: 1.5rem; }
    .reviews-container { justify-content: flex-start; padding: 10px; }
    .stat-number { font-size: 2.2rem; }
    
    .grid { grid-template-columns: 1fr; padding: 0 5%; }
    
    .area-container { flex-direction: column; text-align: center; padding: 30px 20px; }
    .area-text { margin-bottom: 30px; }
    .area-text ul { display: inline-block; text-align: left; }
    .area-map-image img { max-width: 280px; }

    .news-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); padding: 0 15px; }

    nav { flex-direction: column; padding: 10px 0; height: auto; }
    .logo { margin-bottom: 10px; font-size: 1.2rem; }
    .nav-right { display: flex; justify-content: center; gap: 5px; width: 100%; margin-bottom: 10px; padding: 5px 0; border-bottom: 1px solid rgba(0, 212, 255, 0.1); }
    .nav-contact-link { padding: 4px 8px !important; font-size: 0.75rem !important; }
    .nav-menu { display: flex; justify-content: center; gap: 15px; width: 100%; }
    .nav-menu a { font-size: 0.75rem; padding: 5px; }
    header, .contact-hero { padding-top: 120px !important; }

    #robot-3d-container {
        width: 100%;
        aspect-ratio: 1.3 / 1;
        clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 50% 100%, 0% 95%);
    }
    .label-inner { padding: 4px 8px; }
    .label-value { font-size: 12px; }
    .label-title { font-size: 7px; }
}

@media (max-width: 768px) {
    #robot-3d-container { display: none !important; }
    
    #mobile-robot-fallback {
        display: block;
        width: 95%; max-width: 1300px; margin: 40px auto;
        aspect-ratio: 1.3 / 1; 
        clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 50% 100%, 0% 95%);
        border-radius: 15px; 
        box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
        background: #000; position: relative; z-index: 5;
    }
    
    #mobile-robot-fallback img { 
        width: 100%; height: 100%; 
        object-fit: cover; opacity: 0.8; 
    }

    #switch-robot-btn {
        font-size: 0.6rem;
        padding: 6px 12px;
        bottom: 50px; 
        width: max-content; 
        max-width: 85%; 
        white-space: normal;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .fb-side-box { display: none; }
    
    .nav-menu {
        gap: 6px; 
        flex-wrap: nowrap; 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        padding-bottom: 5px;
        scrollbar-width: none; 
    }
    .nav-menu::-webkit-scrollbar { display: none; }
    .nav-menu a { font-size: 0.65rem; white-space: nowrap; padding: 3px 5px; }
}/* =========================================
   ZMIENNE KOLORYSTYCZNE I BAZA
========================================= */
:root {
    --neon-blue: #00d4ff;
    --deep-blue: #0052cc;
    --whatsapp-green: #25D366;
    --dark-bg: #0a0b10;
    --card-bg: #161b22;
    --text-white: #f0f6fc;
    --facebook-blue: #1877F2;
    --youtube-red: #FF0000;
    --tiktok-pink: #ee1d52;
}

html { 
    scroll-behavior: smooth; 
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo { 
    font-family: 'Orbitron', sans-serif; 
}

/* =========================================
   NAWIGACJA
========================================= */
nav {
    background: rgba(10, 11, 16, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.logo { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--neon-blue); 
    text-decoration: none; 
}

.logo span { color: #fff; }

.nav-menu { 
    display: flex; 
    list-style: none; 
    gap: 20px; 
}

.nav-menu a { 
    text-decoration: none; 
    color: var(--text-white); 
    font-weight: bold; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    transition: 0.3s; 
}

.nav-menu a:hover { color: var(--neon-blue); }

.nav-menu a.nav-text-neon-green {
    color: #00ff66 !important;
    font-weight: 700;
    text-shadow: 0 0 8px #00ff66, 0 0 15px rgba(0, 255, 102, 0.5);
    transition: all 0.3s ease;
}

.nav-menu a.nav-text-neon-green:hover {
    color: #fff !important;
    text-shadow: 0 0 15px #00ff66, 0 0 30px #00ff66;
}

.nav-right { display: flex; gap: 15px; align-items: center; }
.nav-contact-link { text-decoration: none; font-weight: bold; font-size: 0.9rem; transition: 0.3s; }
.nav-phone { color: var(--neon-blue); }
.nav-whatsapp { color: var(--whatsapp-green); }

/* =========================================
   HEADER & HERO SEKCJA
========================================= */
header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 82, 204, 0.1) 0%, var(--dark-bg) 70%);
    padding: 120px 5% 60px;
}

header h1 { 
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    text-transform: uppercase; 
}

.main-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #fff; 
}

.main-title span { color: var(--neon-blue); }

.hero-badge {
    background: rgba(0, 212, 255, 0.1);
    color: var(--neon-blue);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid var(--neon-blue);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: bold;
}

#hero-text { transition: opacity 0.3s ease-in-out; }
.hero-description {
    font-size: 1.1rem;
    color: #b0b8c1;
    max-width: 850px;
    margin-bottom: 40px;
    line-height: 1.8;
    z-index: 2; 
    position: relative;
}
.hero-description strong { color: var(--neon-blue); font-weight: 700; }

.language-switcher img:hover { 
    transform: scale(1.1); 
    transition: transform 0.2s; 
}

/* =========================================
   PRZYCISKI (BUTTONS)
========================================= */
.cta-group { 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap; 
    justify-content: center; 
    position: relative; 
    z-index: 2; 
}

.btn {
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-call {
    background: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

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

.btn-whatsapp:hover {
    background: var(--whatsapp-green);
    color: white;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.btn-online {
    background: transparent;
    border: 2px solid #00ff66;
    color: #00ff66;
}

.btn-online:hover {
    background: #00ff66;
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
}

.btn-small {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    text-decoration: none;
    font-size: 0.8rem;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-block;
}

.btn-neon {
    padding: 5px 12px;
    font-size: 0.7rem;
    color: var(--neon-blue);
    background: transparent;
    border: 1px solid var(--neon-blue);
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 212, 255, 0.4), inset 0 0 5px rgba(0, 212, 255, 0.1);
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.8);
    display: inline-block;
}

.btn-neon:hover {
    background: var(--neon-blue);
    color: var(--dark-bg, #0a0b10);
    box-shadow: 0 0 20px var(--neon-blue), inset 0 0 10px var(--neon-blue);
    text-shadow: none;
}

/* =========================================
   ROBOT 3D & EKRAN ŁADOWANIA
========================================= */
#robot-3d-container {
    width: 95%; 
    max-width: 1300px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
    background: #000;
    aspect-ratio: 1.8 / 1; 
    clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 75% 100%, 50% 90%, 25% 100%, 0% 90%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
    cursor: grab;
}

#robot-3d-container:active { cursor: grabbing; }

#switch-robot-btn {
    position: absolute; 
    bottom: 80px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 1000; 
    background: rgba(0, 212, 255, 0.15); 
    border: 1px solid rgba(0, 212, 255, 0.6); 
    color: var(--neon-blue); 
    padding: 8px 16px; 
    border-radius: 8px; 
    font-family: 'Orbitron', sans-serif; 
    cursor: pointer; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    font-weight: bold; 
    box-shadow: 0 0 15px rgba(0,212,255,0.2); 
    transition: all 0.3s ease; 
    backdrop-filter: blur(4px); 
    text-align: center;
    width: max-content; 
    max-width: 90%;
}

#switch-robot-btn:hover {
    background: rgba(0, 212, 255, 0.8);
    color: #0a0b10;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    border-color: var(--neon-blue);
}

.measurement-label { pointer-events: none; white-space: nowrap; }

.label-inner {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    background: rgba(5, 6, 10, 0.75);
    padding: 6px 12px; 
    border-left: 3px solid var(--neon-blue); 
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
    transform-origin: center center; 
    transition: transform 0.05s linear; 
}

.measurement-label.left-side .label-inner {
    border-left: none;
    border-right: 3px solid var(--neon-blue);
    border-radius: 4px 0 0 4px;
    text-align: right;
}

.label-title {
    font-size: 10px; 
    text-transform: uppercase;
    color: #b0b8c1;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.label-value {
    font-size: 16px; 
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.6);
}

#robot-loader {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #0a0b10;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; 
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.loader-content {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    width: 80%;
    max-width: 400px;
}

.radar-spinner {
    width: 70px; height: 70px;
    border: 2px dashed rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    padding: 2px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.05);
    animation: rotation 4s linear infinite;
}

.radar-spinner::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border: 2px solid transparent;
    border-top-color: var(--neon-blue);
    border-radius: 50%;
    animation: rotation 1s linear infinite;
}

.loader-text {
    color: #b0b8c1;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.loader-percentage {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
    margin-bottom: 15px;
}

.progress-bar-bg {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

#progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--deep-blue), var(--neon-blue));
    box-shadow: 0 0 10px var(--neon-blue);
    transition: width 0.2s ease-out;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =========================================
   SEKCJE STRONY & KARTY
========================================= */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: var(--text-white);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--neon-blue);
    margin: 15px auto 0;
    box-shadow: 0 0 10px var(--neon-blue);
}

.services { 
    padding: 80px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid {
    display: grid !important; 
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; 
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto !important; 
    padding: 0; 
}

.card {
    width: 100%; 
    max-width: none !important; 
    margin: 0; 
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: 0.4s;
    animation: floatEffect 4s ease-in-out infinite;
}

.card:nth-child(2) { animation-delay: 0.5s; }
.card:nth-child(3) { animation-delay: 1s; }

.card:hover { 
    border-color: var(--neon-blue); 
    transform: translateY(-10px); 
}

.card h3 {
    color: var(--neon-blue);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.card i { 
    font-size: 2.5rem; 
    color: var(--neon-blue); 
    margin-bottom: 25px; 
}

.custom-icon {
    width: 230px;          
    height: 230px;         
    object-fit: contain;  
    margin-bottom: 25px;
    filter: drop-shadow(0 0 5px var(--neon-blue));
}

@keyframes floatEffect {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =========================================
   WIDEO SEKCJA & ODTWARZACZ
========================================= */
.video-section { padding: 40px 5%; max-width: 1000px; margin: 0 auto; }
.video-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.video-item {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; 
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.video-item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; 
}

.play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4); 
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.play-overlay i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.6); 
    text-shadow: 0 0 20px var(--neon-blue); 
    transition: transform 0.3s ease, color 0.3s ease;
}

.play-overlay:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

.play-overlay.hidden {
    opacity: 0;
    pointer-events: none; 
}

.video-section-footer {
    text-align: center;
    margin-top: 30px;
    padding: 0 20px;
}

.video-section-footer .section-description {
    color: #b0b8c1;
    font-size: 0.95rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 25px auto;
    line-height: 1.6;
}

.video-section-footer .cta-button-container { margin-top: 25px; }

.video-section-footer .btn-call {
    font-size: 1rem;
    padding: 12px 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px; 
}

/* =========================================
   OBSZAR DZIAŁANIA & MAPA
========================================= */
.area-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.area-container {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    gap: 40px;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.area-text { flex: 1.2; }

.area-text h3 { 
    color: var(--neon-blue); 
    margin-bottom: 25px; 
    font-family: 'Orbitron', sans-serif; 
    font-size: 1.8rem;
}

.area-text ul { list-style: none; margin-top: 25px; }
.area-text ul li { margin-bottom: 12px; color: #b0b8c1; font-size: 1rem; }
.area-text ul li i { color: var(--neon-blue); margin-right: 12px; }

.area-map-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.area-map-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 50%;
    border: 3px solid var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    transition: transform 0.4s ease;
}

.area-map-image img:hover { transform: scale(1.03); }

.zoom-text {
    margin-top: 15px;
    color: var(--neon-blue);
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.zoom-text:hover { opacity: 1; text-shadow: 0 0 10px var(--neon-blue); }

.map-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.map-modal img {
    max-width: 90%;
    max-height: 90%;
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 30px var(--neon-blue);
}

/* =========================================
   AKTUALNOŚCI (NEWS)
========================================= */
.news-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start !important;
}

.news-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: auto !important; 
}

.news-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.1); 
}

.news-image { overflow: hidden; }

.news-image img {
    width: 100%;
    height: 550px; 
    object-fit: cover; 
    border-bottom: 2px solid var(--neon-blue);
    display: block;
    cursor: zoom-in; 
    transition: transform 0.3s ease; 
}

.news-image:hover img { transform: scale(1.05); }

.news-content {
    padding: 20px;
    flex-grow: 1; 
}

.news-content p {
    font-size: 0.85rem;
    color: #b0b8c1;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-link {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.news-text {
    display: -webkit-box;
    -webkit-line-clamp: 4; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.news-text.expanded {
    -webkit-line-clamp: unset; 
}

.read-more-btn {
    background: transparent;
    border: none;
    color: var(--neon-blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    padding: 5px 0 0 0;
    margin-top: 10px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.read-more-btn:hover {
    text-shadow: 0 0 8px var(--neon-blue);
}

.hidden-news { display: none !important; }

/* =========================================
   FAQ
========================================= */
.faq-section {
    padding: 80px 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-details {
    background: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.faq-details:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.05);
}

.faq-summary {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--neon-blue);
    font-size: 1.1rem;
    list-style: none; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-summary::-webkit-details-marker { display: none; }

.faq-summary:after {
    content: '\f078'; 
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--neon-blue);
    transition: transform 0.3s ease;
}

.faq-details[open] .faq-summary:after { transform: rotate(180deg); }

.faq-content {
    padding: 0 20px 20px;
    color: #b0b8c1;
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 10px;
    padding-top: 15px;
}

/* =========================================
   GALERIA SWIPER
========================================= */
.gallery-section {
    padding: 80px 5%;
    background: rgba(0, 0, 0, 0.3);
}

.gallery-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0 50px 0;
}

.swiper-gallery {
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.05);
}

.swiper-gallery .swiper-slide {
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
}

.swiper-gallery img {
    width: 100%;
    height: 300px; 
    object-fit: cover;
    border-bottom: 2px solid var(--neon-blue);
    transition: 0.5s;
}

.swiper-gallery .swiper-slide:hover img { filter: brightness(1.2); }

.slide-caption {
    padding: 15px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--text-white);
    background: var(--card-bg);
}

.gallery-container .swiper-button-next, 
.gallery-container .swiper-button-prev {
    color: var(--neon-blue);
    transform: scale(0.7);
}

.gallery-container .swiper-pagination-bullet-active {
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

/* =========================================
   STATYSTYKI
========================================= */
.stats-section {
    padding: 60px 5%;
    background: linear-gradient(to bottom, #0a0b10, #11141d);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item { padding: 20px; }

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--neon-blue);
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.stat-label {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #b0b8c1;
}

/* =========================================
   OPINIE (REVIEWS)
========================================= */
.reviews-section {
    padding: 80px 5%;
    background: linear-gradient(to bottom, var(--dark-bg), #050608);
    text-align: center;
}

.reviews-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    padding: 20px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.reviews-container::-webkit-scrollbar { display: none; }

.review-card {
    min-width: 250px;
    max-width: 250px;
    height: 250px;
    background: var(--card-bg);
    border-radius: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: 0.3s;
    flex-shrink: 0;
}

.review-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

.google-stars { color: #fbbc05; margin-bottom: 10px; font-size: 0.85rem; }

.review-text {
    font-size: 0.75rem;
    color: #b0b8c1;
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.reviewer-name { font-weight: bold; color: var(--neon-blue); font-size: 0.85rem; }
.google-logo { width: 20px; margin-top: 10px; }

/* =========================================
   FACEBOOK SIDE BOX
========================================= */
.fb-side-box {
    position: fixed;
    left: -300px;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    background: #1877F2;
    z-index: 9999;
    transition: all 0.5s ease;
    border-radius: 0 15px 15px 0;
    display: flex;
    align-items: center;
    border: 1px solid var(--neon-blue);
    border-left: none;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.fb-side-box:hover { left: 0; }

.fb-icon-label {
    position: absolute;
    right: -50px;
    width: 50px;
    height: 120px;
    background: #1877F2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    border: 1px solid var(--neon-blue);
    border-left: none;
}

.fb-icon-label i { color: white; font-size: 2rem; }

.fb-content { width: 100%; padding: 10px; text-align: center; }

.fb-content p {
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
}

/* =========================================
   STOPKA (FOOTER)
========================================= */
footer {
    padding: 60px 5% 20px;
    background: #050608;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.footer-info h4 { color: var(--neon-blue); margin-bottom: 15px; text-transform: uppercase; }
.footer-info p { margin-bottom: 10px; color: #8b949e; }

.footer-contact a.phone-link {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Orbitron';
    margin-bottom: 10px;
}

.footer-contact a.mail-link {
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 10px;
    transition: 0.3s;
    color: var(--neon-blue);
}

.social-links { display: flex; gap: 12px; margin-top: 25px; flex-wrap: wrap; }

.social-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    transition: 0.4s;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-icon:hover { 
    color: var(--neon-blue); 
    border-color: var(--neon-blue); 
    box-shadow: 0 0 15px var(--neon-blue); 
}

.map-box { display: flex; flex-direction: column; gap: 15px; }
.mini-map { 
    height: 250px; 
    border-radius: 15px; 
    overflow: hidden; 
    border: 1px solid rgba(0, 212, 255, 0.3); 
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%); 
}

.copyright { 
    text-align: center; 
    margin-top: 40px; 
    padding-top: 20px; 
    border-top: 1px solid #111; 
    font-size: 0.8rem; 
    color: #444; 
}

/* =========================================
   MEDIA QUERIES (RWD - EKRANY MOBILNE)
========================================= */
#mobile-robot-fallback { display: none; }

@media (min-width: 1024px) {
    .video-grid-container { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    header h1 { font-size: 2.2rem; }
    .main-title { font-size: 1.0rem; }
    .cta-group { flex-direction: column; width: 100%; max-width: 300px; }
    .footer-contact a.phone-link { font-size: 1.5rem; }
    .reviews-container { justify-content: flex-start; padding: 10px; }
    .stat-number { font-size: 2.2rem; }
    
    .grid { grid-template-columns: 1fr; padding: 0 5%; }
    
    .area-container { flex-direction: column; text-align: center; padding: 30px 20px; }
    .area-text { margin-bottom: 30px; }
    .area-text ul { display: inline-block; text-align: left; }
    .area-map-image img { max-width: 280px; }

    .news-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); padding: 0 15px; }

    nav { flex-direction: column; padding: 10px 0; height: auto; }
    .logo { margin-bottom: 10px; font-size: 1.2rem; }
    .nav-right { display: flex; justify-content: center; gap: 5px; width: 100%; margin-bottom: 10px; padding: 5px 0; border-bottom: 1px solid rgba(0, 212, 255, 0.1); }
    .nav-contact-link { padding: 4px 8px !important; font-size: 0.75rem !important; }
    .nav-menu { display: flex; justify-content: center; gap: 15px; width: 100%; }
    .nav-menu a { font-size: 0.75rem; padding: 5px; }
    header, .contact-hero { padding-top: 120px !important; }

    #robot-3d-container {
        width: 100%;
        aspect-ratio: 1.3 / 1;
        clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 50% 100%, 0% 95%);
    }
    .label-inner { padding: 4px 8px; }
    .label-value { font-size: 12px; }
    .label-title { font-size: 7px; }
}

@media (max-width: 768px) {
    #robot-3d-container { display: none !important; }
    
    #mobile-robot-fallback {
        display: block;
        width: 95%; max-width: 1300px; margin: 40px auto;
        aspect-ratio: 1.3 / 1; 
        clip-path: polygon(0% 0%, 100% 0%, 100% 95%, 50% 100%, 0% 95%);
        border-radius: 15px; 
        box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
        background: #000; position: relative; z-index: 5;
    }
    
    #mobile-robot-fallback img { 
        width: 100%; height: 100%; 
        object-fit: cover; opacity: 0.8; 
    }

    #switch-robot-btn {
        font-size: 0.6rem;
        padding: 6px 12px;
        bottom: 50px; 
        width: max-content; 
        max-width: 85%; 
        white-space: normal;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .fb-side-box { display: none; }
    
    .nav-menu {
        gap: 6px; 
        flex-wrap: nowrap; 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        padding-bottom: 5px;
        scrollbar-width: none; 
    }
    .nav-menu::-webkit-scrollbar { display: none; }
    .nav-menu a { font-size: 0.65rem; white-space: nowrap; padding: 3px 5px; }
}
/* --- NOWY UKŁAD SEKCJI OBSZAR DZIAŁANIA --- */
.area-container-new {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.area-header-new {
    text-align: center;
    max-width: 800px;
}

.area-header-new h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    
    /* Dodane dla linii */
    position: relative;
    padding-bottom: 20px; /* Robi miejsce na linię pod tekstem */
}

/* KOD GENERUJĄCY NIEBIESKĄ LINIĘ Z NEONOWYM EFEKTEM */
.area-header-new h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); /* Idealne wyśrodkowanie */
    width: 80px; /* Długość linii - możesz zmniejszyć/zwiększyć */
    height: 3px; /* Grubość linii */
    background: var(--neon-blue, #00d4ff);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.8); /* Efekt świecenia */
    border-radius: 2px;
}

.area-header-new p {
    color: #b0b8c1;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Ustawienia nowej Mapy */
.area-map-placeholder {
    background: #0a1628;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 900px; /* Mapa nie będzie przesadnie szeroka */
    aspect-ratio: 16 / 9; /* Panoramiczny wygląd! */
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.08);
}

/* Układ 3 kafelków pod mapą */
.area-locations-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 równe kolumny na PC */
    gap: 30px;
    width: 100%;
    margin-top: 10px;
}

.location-box {
    background: rgba(10, 22, 40, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.location-box:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.4);
}

.location-box h4 {
    color: var(--neon-blue, #00d4ff);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-box p {
    color: #b0b8c1;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Pasek na samym dole ("Nie ma Twojej miejscowości...") */
.area-footer-new {
    text-align: center;
    background: rgba(0, 212, 255, 0.05);
    padding: 15px 40px;
    border-radius: 30px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: #fff;
    margin-top: 10px;
}

.area-footer-new p { margin: 0; }
.area-footer-new strong { color: var(--neon-blue, #00d4ff); }

/* --- RESPONSYWNOŚĆ DLA URZĄDZEŃ MOBILNYCH --- */
@media (max-width: 900px) {
    .area-locations-new {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny na tabletach */
    }
}

@media (max-width: 650px) {
    .area-locations-new {
        grid-template-columns: 1fr; /* 1 kolumna na telefonach */
    }
    .area-map-placeholder {
        aspect-ratio: 4 / 3; /* Powrót do kwadratu na małych ekranach */
    }
    .area-footer-new {
        padding: 15px 20px;
    }
}

.district-links a {
    color: #b0b8c1; /* Kolor standardowego tekstu na Twojej stronie */
    text-decoration: none;
    transition: color 0.3s ease;
}

.district-links a:hover {
    color: var(--neon-blue, #00d4ff); /* Twój niebieski akcent */
    text-decoration: underline;
}