@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/butler');
/* ========================================
   USTAWIENIA GLOBALNE
   ======================================== */

html:root {
    --color-bg: #f3f0e9;
    --color-text: #39373a;
    --color-accent: #879482;
}

* {
    margin: 0;
    padding: 0;
}
html{
    scroll-padding-top: 75px;
    scroll-behavior: smooth;    
}
@media (max-width: 767.98px) {
    html {
        scroll-padding-top: 65px;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-bg);
}

/* Reset domyślnych stylów linków */
a {
    color: inherit;
    text-decoration: none;
}


.animate,
.animate1 {
    opacity: 0;
}


/* ========================================
   NAGŁÓWEK I MENU — OSIEDLE ZACISZE
   ======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    padding-block: 15px;
    background-color: var(--color-bg);

    transition:
        padding 0.35s ease,
        box-shadow 0.35s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    min-height: 54px;
}

/* LOGO */

.site-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.site-logo img {
    display: block;
    width: 265px;
    max-width: 80%;
    height: auto;
    object-fit: contain;

    transition: width 0.35s ease;
}

/* MENU DESKTOPOWE */

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 1.3vw, 20px);

    flex: 0 1 auto;
    min-width: 0;
}

.nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    padding-block: 8px;

    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;

    font-size: 13.4px;
    font-weight: 400;
    letter-spacing: 0.035em;

    transition: color 0.25s ease;
}

/* Podkreślenie aktywnej pozycji */

.nav-link::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;

    height: 1px;
    background-color: var(--color-accent);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* HAMBURGER */

.menu-toggle {
    display: none;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    padding: 0;

    border: 0;
    background: transparent;
    color: var(--color-text);

    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

/* NAGŁÓWEK PO PRZEWINIĘCIU */

.site-header.is-scrolled {
    padding-block: 5px;
    box-shadow: 0 4px 18px rgb(0 0 0 / 4%);
}

.site-header.is-scrolled .site-logo img {
    width: 220px;
}

/* TABLETY I MNIEJSZE EKRANY */

@media (max-width: 991.98px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }
}

/* TELEFONY */

@media (max-width: 575.98px) {
    .site-header {
        padding-block: 7px;
    }

    .site-header.is-scrolled {
        padding-block: 3px;
    }

    .site-logo img {
        width: 220px;
    }

    .site-header.is-scrolled .site-logo img {
        width: 160px;
    }
}

/* OGRANICZENIE ANIMACJI */

@media (prefers-reduced-motion: reduce) {
    .site-header,
    .site-logo img,
    .nav-link,
    .nav-link::after {
        transition: none;
    }
}


/* ========================================
   MENU MOBILNE
   ======================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1100;

    display: flex;
    flex-direction: column;

    width: 90%;
    max-width: 420px;
    height: 100vh;
    height: 100dvh;

    padding: 28px 28px 36px;
    background: var(--color-bg);

    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;

    transition:
        transform 0.35s ease,
        visibility 0.35s ease;

    overflow-y: auto;
    overscroll-behavior: contain;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 35px;
}

.mobile-menu-title {
    color: var(--color-text);
    font-size: 11px;
    letter-spacing: 0.12em;
}

.menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border: 0;
    background: transparent;
    color: var(--color-accent);

    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.mobile-nav-link {
    padding: 13px 0;
    border-bottom: 1px solid rgb(57 55 58 / 15%);

    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;

    font-size: 13px;
    letter-spacing: 0.04em;

    transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-accent);
}

.mobile-nav-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    margin-top: 20px;
    padding: 13px 16px;

    border: 1px solid var(--color-accent);
    color: var(--color-text);

    font-size: 13px;
    text-align: center;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.mobile-nav-cta:hover {
    background: var(--color-accent);
    color: #fff;
}

/* Tło za wysuniętym panelem */

.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;

    background: rgb(30 28 27 / 25%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

/* Stan otwarty */

body.menu-open {
    overflow: hidden;
}

body.menu-open .mobile-menu {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

body.menu-open .menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Animacje wyłączone na żądanie użytkownika */

@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .menu-backdrop,
    .mobile-nav-link,
    .mobile-nav-cta {
        transition: none;
    }
}


/* ========================================
   BANER GŁÓWNY
   ======================================== */

#baner {
    position: relative;
    display: flex;
    align-items: center;

    width: 100%;
    max-width: 1920px;
    min-height: 530px;
    height: clamp(530px, 42vw, 964px);
    margin-inline: auto;

    background-image: url("../img/baner.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;

    color: var(--color-bg);
}

/* TREŚĆ BANERU */

.baner-content {
    max-width: 950px;
    padding-block: 50px;
}

.baner-eyebrow {
    margin-bottom: 15px;

    color: #76886e;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.baner-content h1 {
    max-width: 950px;
    margin-bottom: 5px;

    color: #f3f0e9;
    font-family: 'Butler', serif;
    font-size: clamp(38px, 4.2vw, 68px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0.7px;
}

.baner-subtitle {
    margin-bottom: 30px;

    color: #c8a978;
    font-family: 'Butler', serif;
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 400;
    line-height: 1.2;
}

.baner-description {
    max-width: 600px;
    margin-bottom: 40px;

    color: #f3f0e9;
    font-size: 16px;
    line-height: 1.65;
}

/* PRZYCISKI */

.baner-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.baner-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    min-height: 52px;
    padding: 14px 20px;

    border: 2px solid #76886e;
    color: #f3f0e9;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.045em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.baner-button i {
    color: #f3f0e9;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
}

/* Przycisk główny */

.baner-button-primary {
    background-color: #c8a978;
    border-color: #c8a978;
    color: #29443a;
}

.baner-button-primary:hover {
    background-color: #b99a69;
    border-color: #b99a69;
    color: #29443a;
}

/* Przycisk obrysowany */

.baner-button-outline {
    background-color: transparent;
    border-color: #76886e;
    color: #f3f0e9;
}

.baner-button-outline:hover {
    background-color: #76886e;
    color: #f3f0e9;
}

/* TELEFON */

.baner-phone {
    position: absolute;
    top: 0;
    right: max(24px, calc((100% - 1320px) / 2));
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 14px 24px;

    background-color: #c8a978;
    color: #29443a;

    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;

    transition: background-color 0.25s ease;
}

.baner-phone:hover {
    background-color: #d0b587;
    color: #29443a;
}

/* ========================================
   BANER — TABLETY
   ======================================== */

@media (max-width: 991.98px) {
    .baner-content {
        max-width: 750px;
    }

    .baner-content h1 {
        font-size: clamp(38px, 5.5vw, 54px);
    }
}

/* ========================================
   BANER — TELEFONY
   ======================================== */

@media (max-width: 767.98px) {
    #baner {
        min-height: 620px;
        height: auto;

        background-image:
            linear-gradient(
                90deg,
                rgb(31 57 48 / 78%) 0%,
                rgb(31 57 48 / 58%) 60%,
                rgb(31 57 48 / 22%) 100%
            ),
            url("../img/baner.jpg");

        background-position: 60% center top;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .baner-phone {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        white-space: nowrap;
    }

    .baner-content {
        padding-top: 100px;
        padding-bottom: 55px;
    }

    .baner-eyebrow {
        font-size: 14px;
    }

    .baner-content h1 {
        margin-bottom: 20px;
        font-size: clamp(34px, 8vw, 46px);
        line-height: 1.12;
    }

    .baner-subtitle {
        font-size: 19px;
    }

    .baner-description {
        max-width: 440px;
        margin-bottom: 30px;
        font-size: 15px;
    }

    .baner-buttons {
        align-items: stretch;
        flex-direction: column;
        max-width: 320px;
    }

    .baner-button {
        justify-content: space-between;
    }
}

/* BARDZO MAŁE TELEFONY */

@media (max-width: 380px) {
    .baner-content h1 {
        font-size: 32px;
    }

    .baner-button {
        padding-inline: 14px;
        font-size: 11px;
    }
}

/* OGRANICZENIE ANIMACJI */

@media (prefers-reduced-motion: reduce) {
    .baner-button,
    .baner-phone {
        transition: none;
    }
}




/* ========================================
   O INWESTYCJI — PARAMETRY OSIEDLA
   ======================================== */

.investment-intro {
    padding-block: 28px 38px;
    background-color: var(--color-bg);
    color: #171817;
}

/* Tytuł sekcji */

.section-title {
    margin-bottom: 24px;
    color: #171817;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
    padding: 10px;
}

/* Siatka Bootstrapa */

.investment-stats {
    align-items: stretch;
}

/* Pojedynczy parametr */

.investment-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding: 10px 12px;
    text-align: center;
}

/* Wartości — wspólny obszar pionowego centrowania */

.investment-stat-value {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 58px;
    margin-bottom: 8px;

    color: #7d8b78;
    font-family: 'Butler', serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
}

/* Wyróżnione liczby */

.investment-stat-value--number {
    font-size: 45px;
}

/* Podpisy — wspólna wysokość i wyrównanie */

.investment-stat-label {
    width: 100%;
    padding-top: 5px;

    color: #171817;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
}

/* ========================================
   DESKTOP — 6 KOLUMN
   Bootstrap lg i wyżej
   ======================================== */

@media (min-width: 992px) {
    .investment-stat:not(:nth-child(6n + 1)) {
        border-left: 1px solid #d8c8aa;
    }
}

/* ========================================
   TABLETY — 3 KOLUMNY
   Bootstrap md
   ======================================== */

@media (min-width: 768px) and (max-width: 991.98px) {
    .investment-stats {
        row-gap: 0;
    }

    .investment-stat {
        padding: 18px 8px;
    }

    /* Pionowe separatory między kolumnami */

    .investment-stat:not(:nth-child(3n + 1)) {
        border-left: 1px solid #d8c8aa;
    }

    /* Poziomy separator przed drugim rzędem */

    .investment-stat:nth-child(n + 4) {
        border-top: 1px solid #d8c8aa;
    }

    .investment-stat-value {
        font-size: 26px;
    }

    .investment-stat-value--number {
        font-size: 45px;
    }

    .investment-stat-label {
        font-size: 12px;
    }
}

/* ========================================
   TELEFONY — 2 KOLUMNY
   ======================================== */

@media (max-width: 767.98px) {
    .investment-intro {
        padding-block: 28px;
    }

    .investment-stat {
        padding: 18px 8px;
    }

    /* Pionowe separatory między kolumnami */

    .investment-stat:nth-child(even) {
        border-left: 1px solid #d8c8aa;
    }

    /* Poziome separatory między rzędami */

    .investment-stat:nth-child(n + 3) {
        border-top: 1px solid #d8c8aa;
    }

    .investment-stat-value {
        font-size: 25px;
    }

    .investment-stat-value--number {
        font-size: 40px;
    }

    .investment-stat-label {
        font-size: 12px;
    }
}

/* ========================================
   BARDZO MAŁE TELEFONY
   ======================================== */

@media (max-width: 380px) {
    .investment-stat {
        padding-inline: 5px;
    }

    .investment-stat-value {
        font-size: 22px;
    }

    .investment-stat-value--number {
        font-size: 36px;
    }

    .investment-stat-label {
        font-size: 11px;
    }
}


/* ========================================
   O INWESTYCJI — KORZYŚCI
   ======================================== */

.investment-benefits {
    padding-block: 32px 38px;
    background-color: #e8e2d5;
}

/* Nagłówek bloku */

.investment-benefits-header {
    margin-bottom: 45px;
    text-align: center;
}

.investment-benefits-header .section-title {
    margin-bottom: 12px;
}

.investment-benefits-subtitle {
    margin: 0;
    color: #7d8b78;
    font-family: 'Butler', serif;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 400;
    line-height: 1.2;
}

/* Kafelki */


.benefit-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;

    height: auto;
    min-height: 0;
    aspect-ratio: 1.3 / 1;

    background-color: #405543;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* Gradient nakładany na zdjęcie */

.benefit-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgb(64 85 67 / 0%) 25%,
        rgb(64 85 67 / 25%) 48%,
        rgb(64 85 67 / 96%) 78%,
        #405543 100%
    );
}

/* Zdjęcia */

.benefit-card-garden {
    background-image: url("../img/1.jpg");
}

.benefit-card-estate {
    background-image: url("../img/2.jpg");
}

.benefit-card-standard {
    background-image: url("../img/3.jpg");
}

.benefit-card-nature {
    background-image: url("../img/4.jpg");
}

/* Tekst na kafelku */

.benefit-card-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 18px 20px 20px;
    color: #f3f0e9;
}

.benefit-card-content h3 {
    margin-bottom: 12px;
    color: #f3f0e9;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.benefit-card-content p {
    margin: 0;
    color: #f3f0e9;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.55;
}

/* ========================================
   TABLETY
   ======================================== */

@media (max-width: 991.98px) {
    .investment-benefits {
        padding-block: 30px;
    }

    .investment-benefits-header {
        margin-bottom: 22px;
    }

    .benefit-card-content {
        padding: 16px;
    }
}

/* ========================================
   TELEFONY
   ======================================== */

@media (max-width: 575.98px) {
    .investment-benefits {
        padding-block: 28px;
    }

    .investment-benefits-subtitle {
        font-size: 25px;
    }


    .benefit-card-content {
        padding: 14px;
    }

    .benefit-card-content h3 {
        font-size: 13px;
        letter-spacing: 0.05em;
    }

    .benefit-card-content p {
        font-size: 11px;
    }
}

/* ========================================
   BLOK 3 — STANDARD DOMU
======================================== */

.house-standard {
    padding-block: 45px 55px;
    background-color: var(--color-bg);
    color: #171817;
}

.house-standard-header {
    margin-bottom: 28px;
    text-align: center;
}

.house-standard-header .section-title {
    margin-bottom: 12px;
}

.house-standard-subtitle {
    margin: 0;
    color: #7d8b78;
    font-family: 'Butler', serif;
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.house-standard-grid {
    align-items: stretch;
    row-gap: 28px;
}

.house-standard-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    text-align: center;
    text-transform: lowercase;
}

.house-standard-icon {
    display: block;
    width: 100%;
    max-width: 76px;
    height: 76px;
    margin-bottom: 14px;
    object-fit: contain;
}

.house-standard-item p {
    max-width: 130px;
    margin: 0;
    color: #7d8b78;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

/* TABLET */

@media (max-width: 991.98px) {
    .house-standard {
        padding-block: 30px 36px;
    }

    .house-standard-header {
        margin-bottom: 26px;
    }

    .house-standard-icon {
        max-width: 72px;
        height: 72px;
        margin-bottom: 12px;
    }

    .house-standard-item p {
        font-size: 14px;
    }
}

/* TELEFON */

@media (max-width: 575.98px) {
    .house-standard {
        padding-block: 28px 32px;
    }

    .house-standard-header {
        margin-bottom: 24px;
    }

    .house-standard-subtitle {
        font-size: 25px;
    }

    .house-standard-grid {
        row-gap: 26px;
    }

    .house-standard-icon {
        max-width: 68px;
        height: 68px;
        margin-bottom: 10px;
    }

    .house-standard-item p {
        max-width: 145px;
        font-size: 14px;
        line-height: 1.4;
    }

    /* Dziewiąty element wyśrodkowany w ostatnim rzędzie */
    .house-standard-grid > div:nth-child(9) {
        margin-inline: auto;
    }
}
.white-bar{
    background-color: white;
    min-height: 35px;
}


/* ========================================
   ZNAJDŹ LOKAL — NAGŁÓWEK I LEGENDA
======================================== */

#znajdz-lokal {
    background-color: var(--color-bg);
    /*scroll-margin-top: 80px;*/
}

/* NAGŁÓWEK */

.find-local-header {
    padding-block: 34px 30px;
    background-color: var(--color-bg);
}

.find-local-heading {
    text-align: center;
}

.find-local-heading .section-title {
    margin-bottom: 12px;
}

.find-local-subtitle {
    margin: 0;
    color: #7d8b78;
    font-family: 'Butler', serif;
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* LEGENDA MAPY */

.find-local-legend {
    padding-block: 14px;
    background-color: #e8e2d5;
}

.find-local-legend-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 26px;
    row-gap: 12px;
}

.find-local-legend-instruction {
    margin: 0;
    color: #171817;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.find-local-legend-items {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 28px;
    row-gap: 10px;
}

.find-local-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #39373a;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
}

/* KROPKI STATUSÓW */

.find-local-legend-dot {
    display: inline-block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.find-local-legend-dot-available {
    background-color: #60a94c;
}

.find-local-legend-dot-reserved {
    background-color: #e9830b;
}

.find-local-legend-dot-sold {
    background-color: #b0000b;
}

/* TABLET */

@media (max-width: 991.98px) {
    .find-local-header {
        padding-block: 30px 26px;
    }

    .find-local-legend-inner {
        column-gap: 22px;
    }

    .find-local-legend-items {
        column-gap: 22px;
    }
}

/* TELEFON */

@media (max-width: 575.98px) {
    .find-local-header {
        padding-block: 28px 24px;
    }

    .find-local-subtitle {
        font-size: 25px;
    }

    .find-local-legend {
        padding-block: 16px;
    }

    .find-local-legend-inner {
        flex-direction: column;
        gap: 14px;
    }

    .find-local-legend-items {
        column-gap: 18px;
        row-gap: 10px;
    }

    .find-local-legend-dot {
        flex-basis: 13px;
        width: 13px;
        height: 13px;
    }

    .find-local-legend-item {
        gap: 7px;
        font-size: 10px;
    }

    .find-local-legend-instruction {
        font-size: 10px;
    }
}


/* ========================================
   LOKALIZACJA
======================================== */

.location-section {
    padding-block: 38px 48px;
    background-color: #ffffff;
    color: #171817;
    scroll-margin-top: 80px;
}

/* NAGŁÓWEK */

.location-header {
    margin-bottom: 34px;
    text-align: center;
}

.location-header .section-title {
    margin-bottom: 12px;
}

.location-subtitle {
    margin: 0;
    color: #7d8b78;
    font-family: 'Butler', serif;
    font-size: clamp(25px, 2.7vw, 36px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* PRZYCISK GOOGLE MAPS */

.location-map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    padding: 11px 20px;

    background-color: #879482;
    border: 1px solid #879482;
    border-radius: 3px;

    color: #f3f0e9;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.location-map-button:hover {
    background-color: #405543;
    border-color: #405543;
    color: #f3f0e9;
}

.location-map-button:focus-visible {
    outline: 2px solid #405543;
    outline-offset: 4px;
}

.location-map-button i {
    font-size: 15px;
}

/* UKŁAD MAPY I PANELU */

.location-content {
    align-items: stretch;
}

.location-map-image {
    display: block;
    height: 100%;
    overflow: hidden;
}

.location-map-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* PANEL Z ODLEGŁOŚCIAMI */

.location-distances {
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 100%;
    padding: 30px 28px;
    background-color: #879482;
    color: #f3f0e9;
}

.location-distances-list {
    display: flex;
    flex-direction: column;
    gap: 17px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.location-distances-list li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    color: #f3f0e9;
    font-family: 'Butler', serif;
    font-size: clamp(18px, 1.7vw, 24px);
    font-weight: 400;
    line-height: 1.3;
}

/* DEKORACYJNY LISTEK */

.location-leaf {
    position: relative;
    top: -1px;
    flex: 0 0 10px;
    width: 10px;
    height: 15px;
}

.location-leaf::before {
    position: absolute;
    inset: 1px 1px 1px 0;
    content: "";
    background-color: #f3f0e9;
    border-radius: 100% 0 100% 0;
    transform: rotate(-15deg);
}

.location-distance-value {
    white-space: nowrap;
}

/* TABLET */

@media (max-width: 991.98px) {
    .location-section {
        padding-block: 32px 38px;
    }

    .location-header {
        margin-bottom: 28px;
    }

    .location-distances {
        padding: 26px 24px;
    }

    .location-distances-list {
        gap: 14px;
    }

    .location-distances-list li {
        font-size: 21px;
    }
}

/* TELEFON */

@media (max-width: 575.98px) {
    .location-section {
        padding-block: 28px 32px;
    }

    .location-header {
        margin-bottom: 24px;
    }

    .location-subtitle {
        font-size: 25px;
    }

    .location-map-button {
        margin-top: 18px;
        padding: 11px 18px;
        font-size: 12px;
    }

    .location-distances {
        min-height: auto;
        padding: 26px 24px;
    }

    .location-distances-list {
        gap: 14px;
    }

    .location-distances-list li {
        font-size: 20px;
    }
}

#lokalizacja {
    scroll-margin-top: 0px;
}




/* GALERIA */

.gallery-section {
    padding: 70px 0;
}

.gallery-title {
    margin: 0 0 34px;
    text-align: center;
    color: #171817;
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 5px;
}

.gallery-card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 57px;
    margin: 0 0 14px;
    border: 2px solid #879f43;
    color: #8ca348;
    font-family: 'Butler', Georgia, serif;
    font-size: 30px;
    font-weight: 500;
    text-align: center;
}

.gallery-cover {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.5 / 1;
}

.gallery-cover-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-cover:hover .gallery-cover-image {
    transform: scale(1.035);
}

@media (max-width: 575.98px) {
    .gallery-section {
        padding: 45px 0;
    }

    .gallery-title {
        margin-bottom: 26px;
        font-size: 22px;
    }

    .gallery-card-title {
        min-height: 50px;
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-cover-image {
        transition: none;
    }
}


/* Linki zdjęć dostępnych tylko w lightboxie */
.gallery-lightbox-hidden {
    display: none !important;
}



/* ========================================
   KONTAKT — OSIEDLE ZACISZE
   ======================================== */

#kontakt,
.section-contact {
    padding: 35px 0;
    background: #879482;
    color: #f3f0e9;
}

/* Trzy kolumny */

#kontakt .row {
    align-items: stretch;
}

/* Tekst wprowadzający */

#kontakt .contact-intro {
    padding: 18px 0;
}

#kontakt .contact-eyebrow {
    margin-bottom: 10px;
    color: #b87a44;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#kontakt .contact-intro h2 {
    margin-bottom: 18px;
    color: #fff;
    font-family: 'Butler', serif;
    font-size: clamp(27px, 2.4vw, 34px);
    font-weight: 400;
    line-height: 1.2;
}

#kontakt .contact-intro > p:last-child {
    max-width: 390px;
    margin-bottom: 0;
    color: #fff;
    font-size: 13px;
    line-height: 1.9;
}

/* Formularz */

#kontakt .contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

#kontakt .form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#kontakt .contact-form-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 8px;
}

#kontakt .contact-fields {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

#kontakt .contact-field {
    min-width: 0;
}

#kontakt .contact-field input {
    display: block;
    width: 100%;
    min-height: 53px;
    padding: 10px;
    border: 1px solid #39373a;
    border-radius: 4px;
    outline: none;
    background: #e8e2d5;
    color: #39373a;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    transition: border-color 0.2s ease;
}

#kontakt .contact-field input::placeholder {
    color: #39373a;
    opacity: 1;
}

#kontakt .contact-field input:focus {
    border-color: #b87a44;
}

/* Wybór inwestycji */

#kontakt .contact-options {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

#kontakt .contact-options-title {
    display: flex;
    align-items: center;
    min-height: 52px;
    margin: 0;
    padding: 10px;
    border: 2px solid #e8e2d5;
    border-radius: 4px;
    background: transparent;
    color: #e8e2d5;
    font-size: 13px;
}

#kontakt .contact-options-border {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 53px;
    padding: 5px 10px;
    border: 2px solid #e8e2d5;
    border-radius: 4px;
}

#kontakt .contact-option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 17px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #f3f0e9;
    font-size: 12px;
    line-height: 1.3;
    cursor: pointer;
}

#kontakt .contact-option input {
    appearance: none;
    flex: 0 0 11px;
    width: 11px;
    height: 11px;
    margin: 0;
    border: 1px solid #e8e2d5;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

#kontakt .contact-option input:checked {
    background: #e8e2d5;
    box-shadow: inset 0 0 0 2px #879482;
}

#kontakt .contact-option input:focus-visible {
    outline: 1px solid #fff;
    outline-offset: 2px;
}

/* Przycisk formularza */

#kontakt .contact-submit {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #39373a;
    border-radius: 0;
    background: #e8e2d5;
    color: #39373a;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

#kontakt .contact-submit:hover {
    border-color: #b87a44;
    background: #f3f0e9;
}

/* Telefon */

#kontakt .contact-phone-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 100px;
    padding: 24px 12px;
    border: 2px solid #b87a44;
    border-radius: 4px;
    text-align: center;
}

#kontakt .contact-phone-box h3 {
    margin-bottom: 14px;
    color: #fff;
    font-family: 'Butler', serif;
    font-size: clamp(23px, 2vw, 29px);
    font-weight: 400;
}

#kontakt .contact-phone-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    font-family: 'Butler', serif;
    font-size: clamp(20px, 2vw, 29px);
    text-decoration: none;
    white-space: nowrap;
}

#kontakt .contact-phone-number i {
    color: #b87a44;
    font-size: 23px;
}

#kontakt .contact-phone-number:hover {
    color: #e8e2d5;
}

/* Komunikaty walidacji */

#kontakt .contact-field .invalid-feedback {
    display: none;
    margin-top: 4px;
    color: #7b2118;
    font-size: 11px;
}

#kontakt .contact-field input.is-invalid {
    border-color: #b52b20;
}

#kontakt .contact-field input.is-invalid + .invalid-feedback {
    display: block;
}

#kontakt .contact-form-message {
    padding: 9px 12px;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.5;
}

#kontakt .contact-form-message[hidden] {
    display: none;
}

#kontakt .contact-form-message.is-error {
    border: 1px solid #b52b20;
    background: #f3d8d4;
    color: #7b2118;
}

#kontakt .contact-form-message.is-success {
    border: 1px solid #326c42;
    background: #d8eadb;
    color: #204b2c;
}

/* Tablet i telefon */

@media (max-width: 767.98px) {
    #kontakt {
        padding: 30px 0;
    }

    #kontakt .contact-intro {
        padding: 0 0 10px;
    }

    #kontakt .contact-intro h2 {
        font-size: 28px;
    }

    #kontakt .contact-phone-box {
        min-height: 150px;
    }
}

@media (max-width: 575.98px) {
    #kontakt .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #kontakt .contact-options {
        gap: 6px;
    }

    #kontakt .contact-options-title {
        min-height: 42px;
    }

    #kontakt .contact-options-border {
        min-height: 53px;
    }

    #kontakt .contact-phone-number {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #kontakt .contact-field input,
    #kontakt .contact-submit {
        transition: none;
    }
}
#kontakt .contact-field input {
    min-height: 40px;
}

#kontakt .contact-options-title {
    min-height: 40px;
}

#kontakt .contact-options-border {
    min-height: 50px;
}


/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    padding-block: 22px 12px;
    /*background-color: #111111;*/
    color: #f3f0e9;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    justify-self: start;
}

.footer-logo img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
}

.footer-copyright {
    justify-self: center;
    margin: 0;
    color: #d0d0d0;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 35px;
}

.footer-legal-link {
    color: #d0d0d0;
    font-size: 10px;
    text-decoration: none;
    text-transform: uppercase;
}

.footer-legal-link:hover {
    color: #b87a44;
}

/* Linki prawne ukryte do czasu przygotowania dokumentów */
.footer-legal {
    display: none;
}

/* Podpis wykonawcy strony */

.footer-bottom {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgb(255 255 255 / 10%);
}

.footer-bottom {
    grid-column: 2;
    justify-self: center;
    margin-top: -12px;
    padding: 0;
    border: 0;
}

.footer-bottom p,
.footer-bottom a {
    margin: 0;
    color: #777777;
    font-size: 10px;
    line-height: 1.5;
    text-decoration: none;
    text-align: center;
}

.footer-bottom a:hover {
    color: #b87a44;
}

/* Responsywność */

@media (max-width: 767.98px) {
    .site-footer {
        padding-block: 24px 12px;
    }

    .footer-main {
        flex-direction: column;
        justify-content: center;
        gap: 14px;
        text-align: center;
    }

    .footer-logo img {
        width: 170px;
    }

    .footer-copyright {
        font-size: 10px;
    }

    .footer-bottom {
        justify-content: center;
        /*margin-top: 18px;*/
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-bottom a {
        transition: none;
    }
}

.footer-copyright a {
    color: #999;
    font-size: 10px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-copyright a:hover {
    color: #b87a44;
}

.footer-legal-separator {
    color: #666;
    margin: 0 6px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    justify-self: start;
}

.footer-center {
    grid-column: 2;
    text-align: center;
}

.footer-copyright {
    margin: 0;
    color: #111111;
    font-size: 11px;
    line-height: 1.8;
    text-align: center;
}

.footer-bottom {
    grid-column: 3;
    justify-self: end;
}

.footer-bottom p {
    margin: 0;
    color: #777;
    font-size: 10px;
    line-height: 1.5;
    text-align: right;
}

.footer-bottom a {
    color: #777;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #b87a44;
}

@media (max-width: 767.98px) {
    .footer-main {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 14px;
        text-align: center;
    }

    .footer-logo img {
        width: 170px;
    }

    .footer-center {
        order: 2;
    }

    .footer-bottom {
        order: 3;
        align-self: center;
    }

    .footer-bottom p {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-bottom a {
        transition: none;
    }
}


/* Interaktywna mapa osiedla */
.osiedle-map {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 971;
    overflow: visible;
}

.osiedle-map-background {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.osiedle-map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.osiedle-map-svg svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.osiedle-map-svg polygon,
.osiedle-map-svg path {
    cursor: pointer;
    transition: fill 0.2s ease, opacity 0.2s ease;
    pointer-events: all;
}

.osiedle-map-svg polygon:hover,
.osiedle-map-svg path:hover {
    opacity: 0.8;
}

/* ========================================
   MAPA OSIEDLA — STATUSY I DYMKI
   ======================================== */

/* Obszary SVG */
.osiedle-map-svg polygon,
.osiedle-map-svg path {
    cursor: pointer;
    pointer-events: all;
    transition: fill 0.15s ease, stroke-width 0.15s ease;
    vector-effect: non-scaling-stroke;
}

/* Statusy lokali */
.osiedle-map-svg .status-wolny {
    fill: rgba(35, 170, 65, 0.58) !important;
    stroke: #08752a !important;
    stroke-width: 2.5 !important;
    stroke-opacity: 1 !important;
}

.osiedle-map-svg .status-rezerwacja {
    fill: rgba(255, 157, 0, 0.60) !important;
    stroke: #a95c00 !important;
    stroke-width: 2.5 !important;
    stroke-opacity: 1 !important;
}

.osiedle-map-svg .status-sprzedany {
    fill: rgba(225, 35, 45, 0.58) !important;
    stroke: #a20e19 !important;
    stroke-width: 2.5 !important;
    stroke-opacity: 1 !important;
}

.osiedle-map-svg .status-unknown {
    fill: rgba(120, 120, 120, 0.55) !important;
    stroke: #444 !important;
    stroke-width: 2.5 !important;
    stroke-opacity: 1 !important;
}

/* Hover: mocniejszy kontur bez zasłaniania zdjęcia */
.osiedle-map-svg .status-wolny:hover,
.osiedle-map-svg .status-wolny:focus {
    fill: rgba(35, 190, 65, 0.68) !important;
    stroke: #064d1c !important;
    stroke-width: 4 !important;
}

.osiedle-map-svg .status-rezerwacja:hover,
.osiedle-map-svg .status-rezerwacja:focus {
    fill: rgba(255, 170, 20, 0.70) !important;
    stroke: #713c00 !important;
    stroke-width: 4 !important;
}

.osiedle-map-svg .status-sprzedany:hover,
.osiedle-map-svg .status-sprzedany:focus {
    fill: rgba(235, 40, 50, 0.68) !important;
    stroke: #650610 !important;
    stroke-width: 4 !important;
}

/* Dymek Bootstrap — przezroczysty kontener, karta ma własne tło */
.osiedle-popover {
    --bs-popover-max-width: 190px;
    --bs-popover-border-width: 0;
    --bs-popover-border-radius: 0;
    --bs-popover-bg: transparent;
    --bs-popover-body-padding-x: 0;
    --bs-popover-body-padding-y: 0;

    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.osiedle-popover > .popover-arrow,
.osiedle-popover .popover-header {
    display: none !important;
}

.osiedle-popover .popover-body {
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

/* Karta lokalu */
.osiedle-card {
    position: relative;
    width: 190px;
    overflow: visible !important;
    border-radius: 10px;
    background: transparent !important;
    color: #292929;
    text-align: center;
    font-family: inherit;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22);
}

.osiedle-card-header {
    padding: 7px 8px 8px;
    border-radius: 10px 10px 0 0 !important;
    background: var(--home-color, #6fa65a) !important;
    color: #fff;
}

.osiedle-card-number {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.8px;
}

.osiedle-card-status {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.osiedle-card-link,
.osiedle-card-link:hover,
.osiedle-card-link:focus,
.osiedle-card-link:active {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
}

.osiedle-card-footer {
    padding: 7px 8px 8px;
    border-radius: 0 0 10px 10px !important;
    background: #fff !important;
}

.osiedle-card-area {
    color: #39373a;
    font-size: 11px;
    line-height: 1.4;
}

.osiedle-card-price {
    margin-top: 4px;
    color: #39373a;
    font-size: 13px;
    font-weight: 700;
}

.osiedle-card-contact {
    display: inline-block;
    margin-top: 5px;
    color: #55784b;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.osiedle-card-contact:hover {
    color: #344c2e;
    text-decoration: underline;
}

/* Mniejsze dymki na telefonach */
@media (max-width: 576px) {
    .osiedle-popover {
        --bs-popover-max-width: 150px;
    }

    .osiedle-card {
        width: 150px;
    }

    .osiedle-card-number {
        font-size: 24px;
        letter-spacing: -0.5px;
    }

    .osiedle-card-header {
        padding: 5px 6px;
    }

    .osiedle-card-status,
    .osiedle-card-link {
        margin-top: 3px;
        font-size: 9px;
    }

    .osiedle-card-footer {
        padding: 5px 6px 6px;
    }

    .osiedle-card-area,
    .osiedle-card-contact {
        font-size: 10px;
    }

    .osiedle-card-price {
        font-size: 11px;
    }

    .osiedle-card-contact {
        margin-top: 3px;
    }

    .osiedle-card::after {
        bottom: -8px;
        border-left-width: 8px;
        border-right-width: 8px;
        border-top-width: 8px;
    }

    .osiedle-popover.bs-popover-bottom .osiedle-card::after {
        top: -8px;
        border-bottom-width: 8px;
    }
}

@media (max-width: 380px) {
    .osiedle-popover {
        --bs-popover-max-width: 130px;
    }

    .osiedle-card {
        width: 130px;
    }

    .osiedle-card-number {
        font-size: 21px;
    }

    .osiedle-card-area,
    .osiedle-card-contact {
        font-size: 9px;
    }
}


/* ========================================
   MODAL — POLITYKA PRYWATNOŚCI
======================================== */

.privacy-modal {
    background-color: #f3f0e9;
    color: #292c2f;
    border: 1px solid rgba(184, 122, 68, 0.35);
    border-radius: 4px;
}

/* Nagłówek */
.privacy-modal .modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(184, 122, 68, 0.35);
}

.privacy-eyebrow {
    margin: 0 0 6px;
    color: #b87a44;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.privacy-modal .modal-title {
    margin: 0;
    color: #292c2f;
    font-weight: 600;
}

/* Treść */
.privacy-modal .modal-body {
    padding: 28px;
    line-height: 1.8;
}

.privacy-modal .modal-body h1,
.privacy-modal .modal-body h2,
.privacy-modal .modal-body h3 {
    color: #292c2f;
}

.privacy-modal .modal-body h1 {
    font-size: 24px;
}

.privacy-modal .modal-body h2 {
    margin-top: 24px;
    font-size: 19px;
}

.privacy-modal .modal-body p {
    color: #5e5b5c;
}

/* Stopka modala */
.privacy-modal .modal-footer {
    padding: 16px 28px;
    border-top: 1px solid rgba(184, 122, 68, 0.25);
}

.privacy-close {
    padding: 10px 24px;
    border: 1px solid #b87a44;
    border-radius: 2px;
    color: #292c2f;
    background: transparent;
    transition: background-color .2s ease, color .2s ease;
}

.privacy-close:hover {
    background-color: #b87a44;
    color: #fff;
}

/* Wąskie ekrany */
@media (max-width: 576px) {
    .privacy-modal .modal-header {
        padding: 20px;
    }

    .privacy-modal .modal-body {
        padding: 20px;
    }

    .privacy-modal .modal-footer {
        padding: 14px 20px;
    }
}

/* Dymek mapy — przywrócenie grota Bootstrap */
.mpark-custom-popover.bs-popover-top > .popover-arrow {
    bottom: calc(-1 * (var(--bs-popover-arrow-height)));
}

.mpark-custom-popover.bs-popover-top > .popover-arrow::before,
.mpark-custom-popover.bs-popover-top > .popover-arrow::after {
    position: absolute;
    display: block;
    content: "";
    border-color: transparent;
    border-style: solid;
}

.mpark-custom-popover.bs-popover-top > .popover-arrow::before {
    bottom: 0;
    border-width: var(--bs-popover-arrow-height) var(--bs-popover-arrow-width) 0;
    border-top-color: var(--bs-popover-arrow-outer-color);
}

.mpark-custom-popover.bs-popover-top > .popover-arrow::after {
    bottom: var(--bs-popover-border-width);
    border-width: var(--bs-popover-arrow-height) var(--bs-popover-arrow-width) 0;
    border-top-color: var(--bs-popover-bg);
}

/* Poligony mapy — bez ramki przy kliknięciu myszą */
.osiedle-map-svg polygon:focus:not(:focus-visible),
.osiedle-map-svg path:focus:not(:focus-visible) {
    outline: none;
}
/* Własny grot pod dymkiem lokalu */
/*.osiedle-popover .popover-arrow {
    display: none !important;
}

.osiedle-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    z-index: 5;
}*/


/* Własny grot dymka — domyślnie pod kartą */
.osiedle-popover .popover-arrow {
    display: none !important;
}

.osiedle-card {
    position: relative;
    overflow: visible !important;
}

.osiedle-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    z-index: 5;
}

/* Dymek pod działką — grot u góry */
.osiedle-popover.bs-popover-bottom .osiedle-card::after {
    top: -10px;
    bottom: auto;
    border-top: 0;
    border-bottom: 10px solid #fff;
}


/* Karta musi pozwalać grotowi wystawać */
.osiedle-card {
    position: relative;
    overflow: visible !important;
}


/* TEST: grot u góry dymka */
.osiedle-popover.bs-popover-bottom .osiedle-card::after {
    top: -10px !important;
    bottom: auto !important;
    border-top: 0 !important;
    border-bottom: 10px solid #fff !important;
}


/* Grot dymka — kierunek zależny od rzeczywistego położenia */

.osiedle-popover .popover-arrow {
    display: none !important;
}

.osiedle-card {
    position: relative;
    overflow: visible !important;
}

/* Grot dymka — domyślnie na dole */
.osiedle-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    top: auto;
    right: auto;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    border-bottom: 0;
    z-index: 5;
}

/* Dymek po prawej stronie działki — grot po lewej */
.osiedle-card.arrow-left::after {
    left: -10px;
    top: 50%;
    right: auto;
    bottom: auto;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;
    border-left: 0;
}

/* Dymek po lewej stronie działki — grot po prawej */
.osiedle-card.arrow-right::after {
    left: auto;
    right: -10px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #fff;
    border-right: 0;
}

/* Dymek pod działką — grot u góry */
.osiedle-card.arrow-top::after {
    left: 50%;
    top: -10px;
    right: auto;
    bottom: auto;
    transform: translateX(-50%);
    border-top: 0;
    border-bottom: 10px solid #fff;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
}


/* Ujednolicenie przezroczystości działek */
.osiedle-map-svg polygon {
    opacity: 1 !important;
    fill-opacity: 0.5 !important;
    filter: none !important;
}

/* Jednolity efekt po najechaniu */
.osiedle-map-svg polygon:hover {
    opacity: 1 !important;
    fill-opacity: 0.68 !important;
    filter: none !important;
}
#osiedle-map-svg .status-wylaczony {
    fill: #999999 !important;
}


/* =========================================
   PROSTA CENA — MATUX DEVELOPER
========================================= */

#prosta-cena-widget {
    --matux-gold: #b87a44;
    --matux-gold-dark: #986238;
    --matux-text: #151715;
    --matux-grey: #5e5b5c;
    --matux-bg: #f3f0e9;
    --matux-border: #e5dfd5;

    font-family: inherit !important;
    color: var(--matux-text) !important;
    background: transparent !important;
}

#prosta-cena-widget .prosta-cena-investment-cache {
    padding: 0 !important;
    background: transparent !important;
}

/* Pasek sortowania */

#prosta-cena-widget .prosta-cena-filter-actions {
    background: #fff !important;
    border: 1px solid var(--matux-border) !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    padding: 14px 18px !important;
    margin-bottom: 18px !important;
}

#prosta-cena-widget .prosta-cena-sorting-label {
    color: var(--matux-grey) !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}

#prosta-cena-widget .prosta-cena-sorting-select {
    border: 1px solid var(--matux-border) !important;
    border-radius: 3px !important;
    color: var(--matux-text) !important;
    background: #fff !important;
    font: inherit !important;
    font-size: 13px !important;
}

/* Lista lokali */

#prosta-cena-widget .prosta-cena-apartments-list-view {
    gap: 12px !important;
}

#prosta-cena-widget .prosta-cena-apartment-list-item {
    background: #fff !important;
    border: 1px solid var(--matux-border) !important;
    border-radius: 3px !important;
    box-shadow: 0 2px 8px rgba(21, 23, 21, .035) !important;
    overflow: hidden !important;
    transition: border-color .2s ease, box-shadow .2s ease !important;
}

#prosta-cena-widget .prosta-cena-apartment-list-item:hover {
    transform: none !important;
    border-color: #c9b69f !important;
    box-shadow: 0 3px 12px rgba(21, 23, 21, .06) !important;
}

#prosta-cena-widget .prosta-cena-apartment-list-content {
    padding: 16px 20px !important;
    gap: 20px !important;
}

/* Numer lokalu */

#prosta-cena-widget .prosta-cena-apartment-list-title {
    font-family: inherit !important;
    color: var(--matux-text) !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
}

/* Cena */

#prosta-cena-widget .prosta-cena-apartment-list-prices {
    gap: 10px !important;
    flex-wrap: wrap !important;
}

#prosta-cena-widget .prosta-cena-apartment-list-price-main {
    color: var(--matux-gold) !important;
    font-size: 19px !important;
    font-weight: 600 !important;
}

#prosta-cena-widget .prosta-cena-apartment-list-price-per-m2 {
    color: var(--matux-grey) !important;
    font-size: 13px !important;
}

/* Parametry lokalu */

#prosta-cena-widget .prosta-cena-apartment-list-details {
    gap: 7px !important;
}

#prosta-cena-widget .prosta-cena-apartment-list-detail-tag {
    background: var(--matux-bg) !important;
    color: var(--matux-text) !important;
    border-radius: 3px !important;
    padding: 5px 9px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

#prosta-cena-widget .prosta-cena-apartment-list-detail-icon {
    color: var(--matux-grey) !important;
    width: 12px !important;
    height: 12px !important;
}

/* Status */

#prosta-cena-widget .prosta-cena-apartment-list-status {
    border-radius: 3px !important;
    padding: 5px 10px !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: .3px !important;
    text-transform: uppercase !important;
}

/* Przycisk szczegółów */

#prosta-cena-widget .prosta-cena-apartment-list-button {
    background: var(--matux-gold) !important;
    border: 1px solid var(--matux-gold) !important;
    border-radius: 3px !important;
    color: #fff !important;
    box-shadow: none !important;
    padding: 9px 17px !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    transition: background .2s ease, border-color .2s ease !important;
}

#prosta-cena-widget .prosta-cena-apartment-list-button:hover {
    background: var(--matux-gold-dark) !important;
    border-color: var(--matux-gold-dark) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Responsywność */

@media (max-width: 1023px) {
    #prosta-cena-widget .prosta-cena-apartment-list-content {
        gap: 10px !important;
    }

    #prosta-cena-widget .prosta-cena-apartment-list-right {
        align-items: center !important;
    }
}

@media (max-width: 576px) {
    #prosta-cena-widget .prosta-cena-apartment-list-content {
        padding: 14px !important;
    }

    #prosta-cena-widget .prosta-cena-apartment-list-title {
        font-size: 17px !important;
    }

    #prosta-cena-widget .prosta-cena-apartment-list-price-main {
        font-size: 17px !important;
    }

    #prosta-cena-widget .prosta-cena-apartment-list-price-per-m2 {
        font-size: 12px !important;
    }

    #prosta-cena-widget .prosta-cena-apartment-list-right {
        gap: 8px !important;
    }

    #prosta-cena-widget .prosta-cena-apartment-list-button {
        padding: 9px 13px !important;
        font-size: 11px !important;
    }
}


/* =========================================
   PROSTA CENA — MODAL SZCZEGÓŁÓW
   MATUX DEVELOPER
========================================= */

/* Główne okno */

.prosta-cena-modal-container {
    font-family: inherit !important;
    color: #151715 !important;
}

.prosta-cena-modal-content {
    background: #fff !important;
    border: 1px solid #e5dfd5 !important;
    border-radius: 5px !important;
    box-shadow: 0 15px 50px rgba(21, 23, 21, .18) !important;
    overflow: hidden !important;
}

/* Nagłówek */

.prosta-cena-modal-header {
    background: #f3f0e9 !important;
    border-bottom: 1px solid #e5dfd5 !important;
    padding: 20px 26px !important;
}

.prosta-cena-modal-title {
    color: #151715 !important;
    font-family: inherit !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.prosta-cena-modal-close {
    color: #5e5b5c !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 3px !important;
    padding: 7px !important;
    transition: color .2s ease, background .2s ease !important;
}

.prosta-cena-modal-close:hover {
    color: #b87a44 !important;
    background: rgba(184, 122, 68, .08) !important;
}

.prosta-cena-close-icon {
    width: 22px !important;
    height: 22px !important;
}

/* Wnętrze modala */

.prosta-cena-modal-body {
    background: #fff !important;
}

.prosta-cena-modal-content-inner {
    padding: 24px 26px !important;
}

/* Sekcje */

.prosta-cena-modal-section {
    margin-bottom: 28px !important;
}

.prosta-cena-modal-section:last-child {
    margin-bottom: 0 !important;
}

.prosta-cena-modal-section-title {
    color: #151715 !important;
    font-family: inherit !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    margin: 0 0 16px !important;
}

/* Galeria zdjęć */

.prosta-cena-modal-image-gallery {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}

.prosta-cena-modal-image-item {
    width: 180px !important;
    height: 145px !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    border: 1px solid #e5dfd5 !important;
}

.prosta-cena-modal-image-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform .3s ease !important;
}

.prosta-cena-modal-image-item:hover img {
    transform: scale(1.04) !important;
}

.prosta-cena-modal-image-item-overlay {
    background: rgba(21, 23, 21, .35) !important;
}

/* Historia cen */

.prosta-cena-modal-price-history {
    background: #f8f6f2 !important;
    border: 1px solid #e5dfd5 !important;
    border-radius: 3px !important;
    padding: 16px !important;
    color: #5e5b5c !important;
}

.prosta-cena-modal-price-history > div:first-child {
    color: #5e5b5c !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.prosta-cena-modal-price-history > div:first-child span {
    color: #151715 !important;
}

.prosta-cena-modal-price-history-item {
    background: #fff !important;
    border: 1px solid #e5dfd5 !important;
    border-radius: 3px !important;
    padding: 14px 16px !important;
    margin-top: 10px !important;
}

.prosta-cena-modal-price-history-date {
    color: #5e5b5c !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.prosta-cena-modal-price-history-total {
    color: #b87a44 !important;
    font-size: 17px !important;
    font-weight: 600 !important;
}

.prosta-cena-modal-price-history-per-m2 {
    color: #5e5b5c !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Mobile */

@media (max-width: 576px) {
    .prosta-cena-modal-header {
        padding: 16px 18px !important;
    }

    .prosta-cena-modal-title {
        font-size: 18px !important;
    }

    .prosta-cena-modal-content-inner {
        padding: 18px !important;
    }

    .prosta-cena-modal-section-title {
        font-size: 17px !important;
    }

    .prosta-cena-modal-image-item {
        width: 100% !important;
        max-width: 220px !important;
        height: 150px !important;
    }

    .prosta-cena-modal-price-history {
        padding: 12px !important;
    }

    .prosta-cena-modal-price-history-item {
        padding: 12px !important;
    }
}


/* =========================================
   PROSTACENA – SIATKA LOKALI
   MATUX / OSIEDLE ZACISZE
========================================= */

.prosta-cena-apartment-card {
    background: #fff !important;
    border: 1px solid #e5dfd5 !important;
    border-radius: 5px !important;
    box-shadow: 0 3px 12px rgba(21, 23, 21, .06) !important;
    overflow: hidden !important;
    transition: box-shadow .25s ease, border-color .25s ease !important;
}

.prosta-cena-apartment-card:hover {
    transform: none !important;
    border-color: #c9b69f !important;
    box-shadow: 0 6px 18px rgba(21, 23, 21, .10) !important;
}

/* Zdjęcie */
.prosta-cena-apartment-main-image {
    display: block !important;
    width: 100% !important;
    object-fit: cover !important;
    transition: transform .35s ease !important;
}

.prosta-cena-apartment-card:hover .prosta-cena-apartment-main-image {
    transform: scale(1.02) !important;
}

/* Cena */
.prosta-cena-apartment-number-box {
    background: #b87a44 !important;
    border-radius: 3px !important;
    padding: 9px 13px !important;
    box-shadow: none !important;
}

.prosta-cena-apartment-number {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

.prosta-cena-apartment-area {
    color: rgba(255,255,255,.9) !important;
    font-size: 12px !important;
}

/* Cena całkowita */
.prosta-cena-price-box {
    background: rgba(21,23,21,.92) !important;
    border: 0 !important;
    border-radius: 3px !important;
    padding: 9px 12px !important;
    box-shadow: none !important;
}

.prosta-cena-price-main {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

.prosta-cena-price-per-m2 {
    color: #e5dfd5 !important;
    font-size: 12px !important;
}

/* Status */
.prosta-cena-status-badge {
    border-radius: 3px !important;
    padding: 7px 12px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .3px !important;
    box-shadow: none !important;
    text-transform: uppercase !important;
}

.prosta-cena-status-available {
    background: #e3eee3 !important;
    color: #416b45 !important;
    border: 1px solid #c6ddc7 !important;
}

/* Liczba pokoi */
.prosta-cena-floor-rooms-box {
    background: rgba(21,23,21,.9) !important;
    border-radius: 3px !important;
    padding: 9px 12px !important;
    box-shadow: none !important;
}

.prosta-cena-floor-rooms-item {
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* Dolna część karty */
.prosta-cena-gallery-button-section {
    background: #fff !important;
    padding: 14px 20px 18px !important;
}

.prosta-cena-gallery-button {
    width: 100% !important;
    min-height: 44px !important;
    background: #b87a44 !important;
    border: 1px solid #b87a44 !important;
    border-radius: 3px !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background .2s ease, border-color .2s ease !important;
}

.prosta-cena-gallery-button:hover {
    background: #986238 !important;
    border-color: #986238 !important;
    color: #fff !important;
    box-shadow: none !important;
}

/* Mobile */
@media (max-width: 576px) {
    .prosta-cena-price-main {
        font-size: 15px !important;
    }

    .prosta-cena-apartment-number {
        font-size: 16px !important;
    }

    .prosta-cena-gallery-button-section {
        padding: 12px 14px 15px !important;
    }
}
.prosta-cena-apartment-item,
.prosta-cena-apartment-item *,
.prosta-cena-apartment-card,
.prosta-cena-apartment-image-section,
.prosta-cena-apartment-image-container,
.prosta-cena-apartment-main-image,
.prosta-cena-status-badge-overlay,
.prosta-cena-status-badge,
.prosta-cena-price-box-overlay,
.prosta-cena-price-box,
.prosta-cena-apartment-number-overlay,
.prosta-cena-apartment-number-box,
.prosta-cena-floor-rooms-overlay,
.prosta-cena-floor-rooms-box,
.prosta-cena-gallery-button-section,
.prosta-cena-gallery-button {
    border-radius: 0 !important;
}


