/*
Theme Name: Hello Elementor Child
Theme URI: https://twojastrona.pl/
Description: Motyw podrzędny do Hello Elementor
Author: Twoja nazwa
Author URI: https://twojastrona.pl/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/



.investment-single {
    background: #0f0f10;
    color: #fff;
    padding: 40px 0 100px;
}

.investment-wrap {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.investment-eyebrow {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c8a64e;
    margin-bottom: 10px;
}

.investment-title {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    margin: 0 0 12px;
    color: #fff;
}

.investment-location {
    margin: 0;
    font-size: 18px;
    color: rgba(255,255,255,0.72);
}

.investment-hero__top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 32px;
}

.investment-price-box {
    min-width: 240px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 18px 20px;
    backdrop-filter: blur(8px);
}

.investment-price-box__label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
}

.investment-price-box__value {
    font-size: 26px;
    line-height: 1.1;
    color: #fff;
}

.investment-gallery {
    margin-bottom: 38px;
}

.investment-gallery__main {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: #171718;
    min-height: 620px;
    border: 1px solid rgba(255,255,255,0.07);
}

.investment-gallery__slide {
    display: none;
    height: 100%;
}

.investment-gallery__slide.is-active {
    display: block;
}

.investment-gallery__slide img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    display: block;
}

.investment-gallery__status {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 5;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(12px);
    background: rgba(20,20,20,0.7);
    border: 1px solid rgba(255,255,255,0.08);
}

.investment-gallery__status.is-planowane {
    color: #f2c14e;
}

.investment-gallery__status.is-sprzedaz {
    color: #8ee28e;
}

.investment-gallery__status.is-zakonczone {
    color: #d6d6d6;
}

.investment-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(15,15,16,0.72);
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    transition: 0.2s ease;
}

.investment-gallery__arrow:hover {
    background: rgba(15,15,16,0.92);
}

.investment-gallery__arrow--prev {
    left: 18px;
}

.investment-gallery__arrow--next {
    right: 18px;
}

.investment-gallery__thumbs {
    display: flex;
    gap: 14px;
    margin-top: 18px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.investment-gallery__thumb {
    border: 0;
    background: none;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.55;
    transition: 0.2s ease;
    flex: 0 0 120px;
}

.investment-gallery__thumb.is-active,
.investment-gallery__thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.investment-gallery__thumb img {
    width: 120px;
    height: 85px;
    object-fit: cover;
    display: block;
    filter: saturate(0.7) brightness(0.85);
}

.investment-gallery__thumb.is-active img,
.investment-gallery__thumb:hover img {
    filter: none;
}

.investment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.8fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 28px;
}

.investment-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.025));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.2);
}

.investment-card h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 26px;
    color: #fff;
}

.investment-content {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.investment-content h2,
.investment-content h3,
.investment-content h4 {
    color: #fff;
}

.investment-content .wp-block-gallery {
    margin-top: 24px;
}

.investment-facts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.investment-facts li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.investment-facts li:last-child {
    border-bottom: 0;
}

.investment-facts span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.56);
}

.investment-facts strong {
    font-size: 17px;
    color: #fff;
}

.investment-details__grid {
    display: grid;
    grid-template-columns: 1fr;
}

.investment-tech-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.investment-tech-item {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.06);
}

.investment-tech-item span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.58);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.investment-tech-item strong {
    color: #fff;
    font-size: 17px;
    line-height: 1.5;
}

.investment-next-fixed {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 220px;
    max-width: 280px;
    padding: 16px 18px;
    text-decoration: none;
    color: #fff;
    background: rgba(20,20,20,0.9);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
    backdrop-filter: blur(12px);
}

.investment-next-fixed span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.58);
}

.investment-next-fixed strong {
    font-size: 16px;
    line-height: 1.35;
}

.investment-next-fixed em {
    font-style: normal;
    font-size: 18px;
    color: #c8a64e;
}

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

    .investment-hero__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .investment-price-box {
        min-width: unset;
        width: 100%;
    }

    .investment-gallery__main,
    .investment-gallery__slide img {
        min-height: 420px;
        height: 420px;
    }
}

@media (max-width: 767px) {
    .investment-single {
        padding-top: 24px;
    }

    .investment-wrap {
        width: min(100% - 24px, 1200px);
    }

    .investment-card {
        padding: 22px;
        border-radius: 20px;
    }

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

    .investment-gallery__main,
    .investment-gallery__slide img {
        min-height: 300px;
        height: 300px;
    }

    .investment-gallery__arrow {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .investment-next-fixed {
        right: 12px;
        left: 12px;
        bottom: 12px;
        max-width: none;
    }
}


.investment-locals {
    margin: 28px 0;
}

.investment-locals__card {
    overflow: hidden;
}

.investment-locals__header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.investment-locals__header h2 {
    margin-bottom: 0;
}

.investment-locals__header p {
    max-width: 360px;
    margin: 0;
    color: rgba(255,255,255,0.68);
    line-height: 1.6;
}

.investment-locals__eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d8b24c;
}

.investment-locals__table-wrap {
    overflow-x: auto;
}

.investment-locals__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.investment-locals__table th,
.investment-locals__table td {
    padding: 16px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.investment-locals__table th {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.52);
    font-weight: 700;
}

.investment-locals__table td {
    color: rgba(255,255,255,0.78);
}

.investment-locals__table td strong {
    color: #fff;
}

.investment-locals__status {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.investment-locals__status.is-wolny {
    color: #86d996;
    background: rgba(134,217,150,0.10);
    border: 1px solid rgba(134,217,150,0.22);
}

.investment-locals__status.is-rezerwacja {
    color: #d8b24c;
    background: rgba(216,178,76,0.10);
    border: 1px solid rgba(216,178,76,0.22);
}

.investment-locals__status.is-sprzedany {
    color: #c5c5c5;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
}

.investment-locals__download {
    display: inline-flex;
    padding: 9px 14px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(216,178,76,0.58);
    border-radius: 10px;
    transition: 0.25s ease;
}

.investment-locals__download:hover {
    background: rgba(216,178,76,0.10);
    border-color: #d8b24c;
    color: #fff;
}

@media (max-width: 767px) {
    .investment-locals__header {
        flex-direction: column;
    }
}


.investment-locals__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1150px;
}

.investment-locals__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.investment-locals__filter {
    min-height: 42px;
    padding: 9px 16px;
    color: #fff;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s ease;
}

.investment-locals__filter:hover,
.investment-locals__filter.is-active {
    background: rgba(216,178,76,0.12);
    border-color: rgba(216,178,76,0.5);
    color: #fff;
}

.investment-locals__table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1250px;
}


.single-local-page {
    background: #0f0f10;
    color: #fff;
}

.single-local-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.single-local-hero {
    padding: 90px 0 60px;
}

.single-local-hero__top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

.single-local-eyebrow {
    margin-bottom: 12px;
    color: #d8b24c;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px;
}

.single-local-title {
    margin: 0 0 14px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
}

.single-local-address {
    margin: 0 0 24px;
    color: rgba(255,255,255,.72);
    font-size: 18px;
    line-height: 1.7;
}

.single-local-investment-link {
    color: #d8b24c;
    text-decoration: none;
}

.single-local-price-box {
    min-width: 320px;
    padding: 34px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
}

.single-local-status {
    display: inline-flex;
    margin-bottom: 28px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.single-local-status.is-wolny {
    background: rgba(39,174,96,.15);
    color: #4cd27f;
}

.single-local-status.is-rezerwacja {
    background: rgba(241,196,15,.14);
    color: #f1c40f;
}

.single-local-status.is-sprzedany {
    background: rgba(231,76,60,.14);
    color: #ff7c72;
}

.single-local-price {
    margin-bottom: 22px;
}

.single-local-price span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,.58);
    font-size: 14px;
}

.single-local-price strong {
    font-size: 30px;
    line-height: 1.2;
}

.single-local-details {
    padding: 0 0 70px;
}

.single-local-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.single-local-card {
    padding: 30px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
}

.single-local-card span {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,.6);
    font-size: 14px;
}

.single-local-card strong {
    font-size: 24px;
    line-height: 1.3;
}

.single-local-files {
    padding-bottom: 70px;
}

.single-local-file-box {
    display: flex;
    gap: 26px;
    align-items: flex-start;
    padding: 42px;
    background: linear-gradient(135deg, rgba(216,178,76,.14), rgba(255,255,255,.02));
    border: 1px solid rgba(216,178,76,.22);
    border-radius: 28px;
}

.single-local-file-icon svg {
    width: 44px;
    height: 44px;
    stroke: #d8b24c;
    fill: none;
    stroke-width: 1.6;
}

.single-local-file-content span {
    display: block;
    margin-bottom: 10px;
    color: #d8b24c;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px;
}

.single-local-file-content h2 {
    margin: 0 0 14px;
    font-size: 36px;
}

.single-local-file-content p {
    margin: 0 0 24px;
    color: rgba(255,255,255,.72);
    line-height: 1.8;
}

.single-local-download,
.single-local-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(216,178,76,.5);
    border-radius: 14px;
    transition: .25s ease;
}

.single-local-download:hover,
.single-local-cta-button:hover {
    background: rgba(216,178,76,.12);
}

.single-local-history {
    padding-bottom: 70px;
}

.single-local-history-box {
    padding: 42px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 28px;
}

.single-local-history-header span {
    display: block;
    margin-bottom: 12px;
    color: #d8b24c;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px;
}

.single-local-history-header h2 {
    margin: 0 0 20px;
    font-size: 38px;
}

.single-local-history-content {
    color: rgba(255,255,255,.74);
    line-height: 1.9;
}

.single-local-cta {
    padding-bottom: 90px;
}

.single-local-cta-box {
    padding: 60px 40px;
    text-align: center;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 30px;
}

.single-local-cta-box h2 {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 52px);
}

.single-local-cta-box p {
    max-width: 680px;
    margin: 0 auto 28px;
    color: rgba(255,255,255,.72);
    line-height: 1.8;
}

@media (max-width: 900px) {

    .single-local-hero__top {
        flex-direction: column;
    }

    .single-local-price-box {
        width: 100%;
        min-width: unset;
    }

    .single-local-grid {
        grid-template-columns: 1fr;
    }

    .single-local-file-box {
        flex-direction: column;
    }
}

.wsg-estate-map {
    background: #0f0f10;
    padding: 40px 0 70px;
    color: #fff;
}

.wsg-estate-map__wrap {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.wsg-estate-map__title {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 52px);
    color: #fff;
}

.wsg-estate-map__lead {
    margin: 0 0 32px;
    color: rgba(255,255,255,0.68);
    font-size: 18px;
    line-height: 1.7;
}

.wsg-estate-map__image {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(216,178,76,0.22);
    box-shadow: 0 28px 70px rgba(0,0,0,0.35);
    background: #111;
}

.wsg-estate-map__image img {
    width: 100%;
    display: block;
}

.wsg-estate-map__hotspot {
    position: absolute;
    width: 13px;
    height: 13px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #d8b24c;
    border: 2px solid rgba(255,255,255,0.9);
    box-shadow: 0 0 0 rgba(216,178,76,0.7);
    text-decoration: none;
    cursor: pointer;
    z-index: 4;
    animation: wsgPulse 1.8s infinite;
    transition: 0.25s ease;
}

.wsg-estate-map__hotspot::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(216,178,76,0.12);
    z-index: -1;
}

.wsg-estate-map__hotspot:hover {
    transform: translate(-50%, -50%) scale(1.35);
    background: #fff;
    border-color: #d8b24c;
    z-index: 10;
    animation: none;
}

@keyframes wsgPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(216,178,76,0.65);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(216,178,76,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(216,178,76,0);
    }
}

.wsg-estate-map__label {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 14px);
    transform: translateX(-50%);
    padding: 8px 12px;
    white-space: nowrap;
    background: rgba(17,17,17,0.96);
    border: 1px solid rgba(216,178,76,0.34);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
}

.wsg-estate-map__hotspot:hover .wsg-estate-map__label {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

.wsg-estate-map__label span {
    color: #d8b24c;
}

/* Ustawienia robocze hotspotów */

.hotspot-1-1  { left: 15%; top: 42%; }
.hotspot-1-2  { left: 20%; top: 40.8%; }
.hotspot-1-3  { left: 25%; top: 39.6%; }
.hotspot-1-4  { left: 30%; top: 38.4%; }
.hotspot-1-5  { left: 35%; top: 37.2%; }
.hotspot-1-6  { left: 40%; top: 36%; }
.hotspot-1-7  { left: 45%; top: 34.8%; }
.hotspot-1-8  { left: 50%; top: 33.8%; }
.hotspot-1-9  { left: 55%; top: 33%; }
.hotspot-1-10 { left: 60%; top: 32.8%; }
.hotspot-1-11 { left: 65%; top: 33.8%; }
.hotspot-1-12 { left: 70%; top: 35%; }

.hotspot-2-1  { left: 39%; top: 61%; }
.hotspot-2-2  { left: 43%; top: 58.8%; }
.hotspot-2-3  { left: 47%; top: 56.5%; }
.hotspot-2-4  { left: 51%; top: 54.5%; }
.hotspot-2-5  { left: 55%; top: 52.5%; }
.hotspot-2-6  { left: 59%; top: 50.5%; }
.hotspot-2-7  { left: 63%; top: 48.7%; }
.hotspot-2-8  { left: 67%; top: 47%; }
.hotspot-2-9  { left: 71%; top: 45.5%; }
.hotspot-2-10 { left: 75%; top: 44.2%; }
.hotspot-2-11 { left: 79%; top: 43%; }
.hotspot-2-12 { left: 83%; top: 42%; }

.investment-locals__history-row[hidden] {
    display: none !important;
}