/* Zmienne CSS do łatwego zarządzania motywem */
:root {
    --primary-color: #e04b2a;
    /* Zgaszony pomarańcz/czerwień podchodzący pod logo agencji */
    --primary-hover: #c43b1c;
    --bg-dark: #111111;
    --text-light: #f8f8f8;
    --font-main: 'Montserrat', sans-serif;
    --transition-smooth: all 0.3s ease-in-out;
}

/* Reset stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

/* --- Sekcja Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

/* Tło z paralaksą i powolnym zoomem */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Ścieżka do zdjęcia z Twojego folderu img. Overlay zapewnia czytelność tekstu */
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.85)), url('img/1em.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.1);
    animation: zoomOut 12s ease-out forwards;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    /* Dynamiczna wielkość fontu */
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero .subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    margin-bottom: 3rem;
    color: #d1d1d1;
    max-width: 700px;
    margin-inline: auto;
    line-height: 1.6;
}

/* --- Kafelki Glassmorphism --- */
.quick-stats {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.stat-tile {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    /* Efekt matowego szkła */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    min-width: 180px;
    transition: var(--transition-smooth);
}

.stat-tile:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #aaaaaa;
}

/* --- Przyciski (CTA) --- */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(224, 75, 42, 0.3);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: none;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* --- Klasy Animacji --- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Opóźnienia dla kaskadowego pojawiania się elementów */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Animacja tła */
@keyframes zoomOut {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

/* --- Responsywność (Mobile) --- */
@media (max-width: 768px) {
    .quick-stats {
        gap: 1rem;
    }

    .stat-tile {
        min-width: 140px;
        padding: 1rem;
        flex: 1 1 calc(50% - 1rem);
        /* Dwa kafelki w rzędzie na małym ekranie */
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* --- Pasek Korzyści (Benefits Bar) --- */
.benefits-bar {
    background-color: #161616;
    /* Lekko jaśniejszy niż tło strony, by się odciąć */
    border-top: 3px solid var(--primary-color);
    padding: 2.5rem 2rem;
    position: relative;
    z-index: 10;
    margin-top: -5px;
    /* Likwiduje ewentualne przerwy między sekcjami */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex: 1;
    min-width: 220px;
    transition: var(--transition-smooth);
}

.benefit-item:hover {
    transform: translateY(-3px);
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(224, 75, 42, 0.1);
    /* Delikatne tło w kolorze akcentu */
    color: var(--primary-color);
    border-radius: 12px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.benefit-item:hover .icon-wrapper {
    background-color: var(--primary-color);
    color: #ffffff;
}

.benefit-item span {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    color: #eeeeee;
}

/* --- Responsywność dla Paska Korzyści --- */
@media (max-width: 1024px) {
    .benefits-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .benefits-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefits-bar {
        padding: 2rem 1.5rem;
    }

    .benefit-item {
        background: rgba(255, 255, 255, 0.02);
        padding: 1rem;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* --- Sekcja: Galeria / Wnętrze --- */
.gallery-section {
    padding: 7rem 2rem;
    background-color: var(--bg-dark);
    position: relative;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    /* Lewa kolumna trochę węższa niż galeria */
    gap: 5rem;
    align-items: center;
}

/* --- Lewa strona (Tekst) --- */
.gallery-content {
    padding-right: 1rem;
}

.section-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.catchphrase {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
}

.gallery-desc {
    color: #a0a0a0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.gallery-desc strong {
    color: #ffffff;
    font-weight: 600;
}

.gallery-features {
    list-style: none;
    margin-top: 2.5rem;
}

.gallery-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #dddddd;
    font-size: 1.05rem;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(224, 75, 42, 0.15);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}

/* --- Prawa strona (Asymetryczny Grid) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
}

.grid-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background-color: #1a1a1a;
    /* Placeholder pod zdjęcie wczytujące się */
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
}

/* Efekt premium przy najechaniu myszką */
.grid-item:hover img {
    transform: scale(1.08);
}

/* Ułożenie asymetryczne (Masonry Effect za pomocą Grida) */
.img-large {
    grid-column: 1 / 3;
    /* Zajmuje dwie pierwsze kolumny */
    grid-row: 1 / 3;
    /* Zajmuje dwa pierwsze rzędy na wysokość */
}

/* Mniejsze kafelki obok dużego domyślnie zajmują po 1 komórce, układają się same w kolumnie 3 */

.img-wide {
    grid-column: 2 / 4;
    /* Na dole rozciąga się na 2 i 3 kolumnę */
    grid-row: 3;
}

/* --- Responsywność --- */
@media (max-width: 992px) {
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .gallery-content {
        text-align: center;
        padding-right: 0;
    }

    .gallery-features li {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .gallery-section {
        padding: 5rem 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 0.8rem;
    }

    .img-large {
        grid-column: 1 / -1;
        /* Na mobile zajmuje całą szerokość */
        grid-row: 1 / 3;
    }

    .img-wide {
        grid-column: 1 / -1;
        /* Na mobile szerokie zdjęcie na całą szerokość */
        grid-row: 4;
    }
}

/* --- Sekcja: Dom Przyszłości (Ekologia i Technologia) --- */
.tech-eco-section {
    padding: 7rem 2rem;
    background-color: #0a0a0a;
    /* Głębsza czerń dla kontrastu z poprzednią sekcją */
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-eco-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tech-eco-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.tech-eco-desc {
    color: #a0a0a0;
    line-height: 1.6;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* --- Siatka Kart Technologicznych --- */
.tech-eco-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.tech-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Subtelny gradientowy blask w tle karty */
.tech-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(224, 75, 42, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: rgba(224, 75, 42, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(224, 75, 42, 0.1);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-icon {
    width: 64px;
    height: 64px;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.tech-card:hover .tech-icon {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.tech-card h4 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.tech-card p {
    font-size: 0.95rem;
    color: #888888;
    line-height: 1.6;
}

/* --- Responsywność dla Sekcji Technologicznej --- */
@media (max-width: 1024px) {
    .tech-eco-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .tech-eco-section {
        padding: 5rem 1.5rem;
    }

    .tech-eco-grid {
        grid-template-columns: 1fr;
    }

    .tech-card {
        padding: 2rem 1.5rem;
    }
}

/* --- Sekcja: Interaktywne Rzuty --- */
.floor-plans-section {
    padding: 7rem 2rem;
    background-color: var(--bg-dark);
}

.floor-plans-container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.section-desc {
    color: #a0a0a0;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* --- Nawigacja Zakładek (Tabs) --- */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-main);
}

.tab-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.tab-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(224, 75, 42, 0.2);
}

/* --- Zawartość Zakładek --- */
.tabs-content {
    position: relative;
    min-height: 500px;
    /* Zapobiega skakaniu strony przy przełączaniu */
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Układ Rzutu i Listy (Grid) --- */
.plan-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-image {
    position: relative;
    cursor: zoom-in;
    /* Zmienia kursor na lupkę z plusem */
    background-color: #ffffff;
    /* Gwarantuje białe tło dla rzutu */
    border-radius: 12px;
    padding: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.plan-image:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.plan-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    /* USUNIĘTO: filter: invert(...) ! Rzut jest teraz normalnie biały */
}

.plan-image:hover img {
    transform: scale(1.03);
    /* Delikatne powiększenie przy najechaniu */
}

/* Podpowiedź (Hint) o możliwości kliknięcia */
.zoom-hint {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(17, 17, 17, 0.85);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.plan-image:hover .zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

/* Wymuszenie pokazania podpowiedzi na mobile (gdzie nie ma hover) */
@media (max-width: 768px) {
    .zoom-hint {
        opacity: 1;
        transform: translateY(0);
        bottom: 0.5rem;
        right: 0.5rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* --- Lista Pomieszczeń --- */
.room-list {
    list-style: none;
}

.room-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    color: #dddddd;
    font-size: 1.05rem;
}

.room-list li span:last-child {
    font-weight: 600;
    color: #ffffff;
}

.room-list li.highlight {
    color: var(--primary-color);
}

.room-list li.highlight span:last-child {
    color: var(--primary-color);
}

.room-list li.highlight-outdoor {
    color: #4CAF50;
    /* Delikatny zielony dla tarasów i przestrzeni zewnętrznej */
}

.room-list li.highlight-outdoor span:last-child {
    color: #4CAF50;
}

/* --- Responsywność --- */
@media (max-width: 992px) {
    .plan-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .plan-image {
        order: -1;
        /* Obrazek na górze na mobile */
    }
}

@media (max-width: 600px) {
    .tabs-nav {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .plan-grid {
        padding: 1rem;
    }
}

/* --- Sekcja: Lokalizacja --- */
.location-section {
    /* Zmniejszone paddingi z 7rem na 4.5rem */
    padding: 4.5rem 2rem;
    background-color: #111111;
    position: relative;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    /* Delikatna zmiana proporcji */
    gap: 4rem;
    /* Zmniejszony odstęp między tekstem a mapą */
    align-items: center;
}

.location-desc {
    color: #a0a0a0;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    /* Zmniejszony margines */
}

/* --- Oś Czasu / Atuty Lokalizacji --- */
.location-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    /* Nieco ciaśniej między elementami */
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* ROZWIĄZANIE PROBLEMU KAFELKA */
.time-badge {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 30px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    /* Kluczowe poprawki: */
    white-space: nowrap;
    /* Zabrania łamania tekstu na dwie linijki */
    flex-shrink: 0;
    /* Zabrania zgniatania kafelka przez tekst obok */
    min-width: 115px;
    /* Gwarantuje równą szerokość wszystkich kafelków */
    margin-top: 0.2rem;
    /* Delikatne obniżenie, by zrównać z linią nagłówka h4 */

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--primary-color);
}

.timeline-content h4 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #888888;
    line-height: 1.5;
}

/* --- Prawdziwa Mapa Google --- */
.location-map-wrapper {
    position: relative;
    width: 100%;
}

.google-map-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    /* Nieco wyższa mapa, lepiej wypełnia przestrzeń */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #222222;
}

.google-map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    /* Usunięty filtr szarości - mapa będzie czysta, wyraźna i zyska lekki kontrast */
    filter: contrast(1.05);
}

/* --- Responsywność --- */
@media (max-width: 992px) {
    .location-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .location-section {
        padding: 4rem 1.5rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 0.8rem;
    }

    .time-badge {
        margin-top: 0;
    }
}

/* --- Sekcja: Finansowa i CTA --- */
.cta-section {
    padding: 8rem 2rem;
    background: radial-gradient(circle at top right, rgba(224, 75, 42, 0.05) 0%, #0e0e0e 60%);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
}

/* --- Lewa strona (Oferta) --- */
.offer-badge {
    display: inline-block;
    background-color: rgba(224, 75, 42, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.offer-intro {
    color: #a0a0a0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Blok Cenowy */
.price-block {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.price-old {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #777777;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.old-value {
    text-decoration: line-through;
    font-weight: 500;
}

.price-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.new-value {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.savings-tag {
    background-color: #4CAF50;
    color: #ffffff;
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 30px;
}

/* FOMO text */
.fomo-text {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #e5c158;
    /* Elegancki złoty/żółty ostrzegawczy */
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-icon {
    flex-shrink: 0;
}

/* --- Prawa strona (Nowoczesny Formularz) --- */
.cta-form-box {
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3.5rem 3rem;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.cta-form-box h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-subtitle {
    color: #888888;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 3rem;
}

/* Grupy formularza (Floating Labels) */
.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-group input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-family: var(--font-main);
    transition: var(--transition-smooth);
}

.form-group label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    color: #666666;
    font-size: 1.1rem;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Efekty skupienia (Focus) oraz gdy pole nie jest puste */
.form-group input:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label {
    top: -1.2rem;
    font-size: 0.85rem;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.btn-submit {
    width: 100%;
    border: none;
    padding: 1.2rem;
    font-size: 1rem;
    border-radius: 12px;
    /* Nowoczesny, delikatnie zaokrąglony kształt */
    margin-top: 1rem;
}

/* --- Ekran Sukcesu po wysłaniu --- */
.success-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #161616;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 2;
}

.success-message.active {
    opacity: 1;
    visibility: visible;
}

.success-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.success-message h4 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #a0a0a0;
    line-height: 1.5;
}

/* --- Stopka --- */
.main-footer {
    padding: 3rem 2rem;
    text-align: center;
    background-color: #090909;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.main-footer p {
    font-size: 0.85rem;
    color: #555555;
}

/* --- Responsywność --- */
@media (max-width: 992px) {
    .cta-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        /* Lekko zmniejszony odstęp na tabletach */
    }

    .cta-offer-box {
        text-align: center;
    }

    .fomo-text {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .cta-section {
        /* Zmniejszony padding góra/dół z 5rem na 3.5rem */
        padding: 3.5rem 1.5rem;
    }

    .cta-form-box {
        padding: 2rem 1.5rem;
        /* Trochę mniej powietrza w samym formularzu */
    }

    .price-block {
        padding: 1.2rem;
    }
}

/* --- Sekcja: Pełna Galeria --- */
.full-gallery-section {
    padding: 7rem 2rem;
    background-color: #161616;
    /* Lekka zmiana odcienia szarości dla rytmu sekcji */
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.full-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Siatka 4-kolumnowa */
.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-tile {
    position: relative;
    aspect-ratio: 3 / 2;
    border-radius: 12px;
    overflow: hidden;
    background-color: #222222;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Nowoczesny Hover Effect z płynnym rozmyciem i ikoną plusa */
.tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.zoom-icon {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 300;
    transform: scale(0.6);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Zachowanie Hover */
.gallery-tile:hover img {
    transform: scale(1.08);
}

.gallery-tile:hover .tile-overlay {
    opacity: 1;
}

.gallery-tile:hover .zoom-icon {
    transform: scale(1);
    color: var(--primary-color);
}

/* --- System Nowoczesnego Lightboxa --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: zoomInLight 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#lightbox-caption {
    color: #a0a0a0;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-align: center;
    max-width: 80%;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    color: #ffffff;
    font-size: 3rem;
    font-weight: 200;
    cursor: pointer;
    transition: var(--transition-smooth);
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

@keyframes zoomInLight {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- Responsywność galerii --- */
@media (max-width: 1024px) {
    .full-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .full-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .full-gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1.5rem;
    }
}