:root {
    --villa-dark: #070907;
    --villa-dark-soft: #0d120f;
    --villa-cream: #f1ede4;
    --villa-cream-soft: #e7e0d4;
    --villa-gold: #b49a63;
    --villa-text: #1b1b18;
    --villa-muted: #787268;
    --villa-border: rgba(180, 154, 99, .25);
    --villa-serif: Georgia, "Times New Roman", serif;
    --villa-sans: "Helvetica Neue", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body.puszczykowo-page {
    margin: 0;
    background: var(--villa-dark);
    color: var(--villa-cream);
    font-family: var(--villa-sans);
    overflow-x: hidden;
}

.puszczykowo-page * {
    box-sizing: border-box;
}

.villa-page {
    position: relative;
    overflow: hidden;
}

.villa-container {
    padding-left: clamp(24px, 6vw, 110px);
    padding-right: clamp(24px, 6vw, 110px);
}

.villa-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #000;
}

.villa-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 115%;
    object-fit: cover;
    transform: scale(1.08);
    opacity: .9;
}

.villa-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 35%, rgba(0,0,0,.08), rgba(0,0,0,.72) 70%),
        linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.15) 55%, rgba(0,0,0,.55));
    z-index: 1;
}

.villa-brand {
    position: absolute;
    top: clamp(28px, 4vw, 56px);
    left: clamp(24px, 6vw, 110px);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--villa-gold);
    font-family: var(--villa-serif);
    font-size: 20px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.villa-contact-link {
    position: fixed;
    top: clamp(28px, 4vw, 56px);
    right: clamp(24px, 6vw, 110px);
    z-index: 20;
    color: var(--villa-cream);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    opacity: .85;
    transition: opacity .35s ease, color .35s ease;
}

.villa-contact-link:hover {
    color: var(--villa-gold);
    opacity: 1;
}

.villa-hero__content {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 120px;
}

.villa-kicker {
    margin-bottom: 28px;
    color: var(--villa-gold);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.villa-title,
.villa-section h2 {
    margin: 0;
    font-family: var(--villa-serif);
    font-weight: 400;
    line-height: .95;
    letter-spacing: -.045em;
}

.villa-title {
    font-size: clamp(58px, 9vw, 148px);
    max-width: 860px;
}

.villa-lead {
    margin-top: 28px;
    max-width: 560px;
    color: rgba(241,237,228,.9);
    font-size: clamp(17px, 1.4vw, 22px);
    line-height: 1.55;
}

.villa-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
    color: var(--villa-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
}

.villa-link span {
    position: relative;
    display: block;
    width: 70px;
    height: 1px;
    background: rgba(180,154,99,.45);
    overflow: hidden;
}

.villa-link span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--villa-gold);
    transform: translateX(-100%);
    transition: transform .45s ease;
}

.villa-link:hover span::after {
    transform: translateX(0);
}

.villa-link--dark {
    color: var(--villa-text);
}

.villa-link--dark span {
    background: rgba(27,27,24,.2);
}

.villa-link--dark span::after {
    background: var(--villa-text);
}

.villa-section {
    position: relative;
}

.villa-section--light,
.villa-section--split,
.villa-section--contact {
    background: var(--villa-cream);
    color: var(--villa-text);
}

.villa-section--dark {
    background:
        radial-gradient(circle at 75% 30%, rgba(35,45,34,.45), transparent 42%),
        linear-gradient(180deg, #060807, #0b100d);
    color: var(--villa-cream);
}

.villa-text-panel {
    position: relative;
    min-height: 640px;
    height: 100%;
    padding: clamp(70px, 9vw, 150px) clamp(28px, 6vw, 110px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.villa-text-panel h2,
.villa-gallery-section h2,
.villa-location h2 {
    font-size: clamp(40px, 5vw, 82px);
}

.villa-text-panel p,
.villa-gallery-section p,
.villa-location p {
    max-width: 520px;
    margin-top: 32px;
    color: var(--villa-muted);
    font-size: 15px;
    line-height: 1.9;
}

.villa-section--dark p {
    color: rgba(241,237,228,.68);
}

.villa-image-panel {
    position: relative;
    min-height: 640px;
    height: 100%;
    overflow: hidden;
    background: #111;
}

.villa-image-panel img {
    width: 100%;
    height: 100%;
    min-height: 640px;
    object-fit: cover;
    transform: scale(1.08);
}

.villa-number,
.villa-bg-number {
    pointer-events: none;
    position: absolute;
    font-family: var(--villa-serif);
    font-size: clamp(90px, 14vw, 260px);
    line-height: 1;
    letter-spacing: -.08em;
    opacity: .055;
}

.villa-number {
    right: 8%;
    bottom: 6%;
    color: #000;
}

.villa-bg-number {
    right: 6%;
    top: 12%;
    color: #fff;
}

.villa-gallery-section {
    padding: clamp(90px, 10vw, 160px) 0;
    overflow: hidden;
}

.villa-gallery-track {
    display: flex;
    gap: clamp(16px, 2vw, 32px);
    margin-top: clamp(60px, 8vw, 110px);
    width: max-content;
    will-change: transform;
}

.villa-gallery-item {
    width: clamp(260px, 28vw, 520px);
    height: clamp(180px, 20vw, 360px);
    overflow: hidden;
    background: #111;
}

.villa-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.85) contrast(1.05);
    transform: scale(1.08);
    transition: transform .8s ease, filter .8s ease;
}

.villa-gallery-item:hover img {
    transform: scale(1);
    filter: saturate(1) contrast(1);
}

.villa-text-panel--details {
    background: var(--villa-cream);
}

.villa-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 44px;
    margin-top: 54px;
    max-width: 560px;
}

.villa-stats div {
    border-top: 1px solid rgba(27,27,24,.16);
    padding-top: 18px;
}

.villa-stats strong {
    display: block;
    font-family: var(--villa-serif);
    font-size: clamp(30px, 3vw, 52px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.04em;
}

.villa-stats span {
    display: block;
    margin-top: 10px;
    color: var(--villa-muted);
    font-size: 12px;
}

.villa-location {
    padding: clamp(90px, 10vw, 170px) 0;
    overflow: hidden;
}

.villa-map {
    position: relative;
    min-height: 460px;
    border: 1px solid rgba(180,154,99,.15);
    background:
        linear-gradient(rgba(180,154,99,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180,154,99,.08) 1px, transparent 1px),
        radial-gradient(circle at 55% 55%, rgba(180,154,99,.16), transparent 12%),
        radial-gradient(circle at 70% 38%, rgba(255,255,255,.08), transparent 22%);
    background-size: 90px 90px, 90px 90px, auto, auto;
    overflow: hidden;
}

.villa-map::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        repeating-linear-gradient(32deg, transparent 0 42px, rgba(180,154,99,.16) 43px, transparent 44px),
        repeating-linear-gradient(112deg, transparent 0 80px, rgba(180,154,99,.1) 81px, transparent 82px);
    opacity: .22;
    transform: rotate(-7deg);
}

.villa-map__pin {
    position: absolute;
    left: 52%;
    top: 50%;
    width: 22px;
    height: 22px;
    border: 2px solid var(--villa-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 14px rgba(180,154,99,.08);
}

.villa-map__pin::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: 32px;
    background: var(--villa-gold);
    transform: translateX(-50%);
}

.villa-map__label {
    position: absolute;
    color: var(--villa-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.villa-map__label small {
    color: rgba(241,237,228,.65);
}

.villa-map__label--poznan {
    right: 12%;
    top: 24%;
}

.villa-map__label--puszczykowo {
    left: 43%;
    top: 66%;
}


.villa-map--google {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    border: 1px solid rgba(180,154,99,.14);
    background: #0b0d0b;
}

.villa-map--google,
#map1 {
    pointer-events: auto;
}


#map1 {
    width: 100%;
    height: 620px;
    filter:
        grayscale(.35)
        contrast(1.08)
        brightness(.72)
        sepia(.18)
        saturate(.72);
}

.villa-contact-data {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 30px;
}

.villa-contact-data a {
    color: var(--villa-text);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.villa-contact-data a:hover {
    color: var(--villa-gold);
}

.villa-to-top {
    position: fixed;
    right: clamp(22px, 3vw, 44px);
    bottom: clamp(22px, 3vw, 44px);
    z-index: 30;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(180,154,99,.38);
    border-radius: 50%;
    background: var(--villa-cream);
    color: var(--villa-text);
    font-size: 20px;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity .35s ease, transform .35s ease, background .35s ease;
}

.villa-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.villa-to-top:hover {
    background: var(--villa-gold);
}

@media (max-width: 991px) {
    .villa-title {
        font-size: clamp(56px, 15vw, 92px);
    }

    .villa-hero__overlay {
        background:
            linear-gradient(180deg, rgba(0,0,0,.52), rgba(0,0,0,.82)),
            linear-gradient(90deg, rgba(0,0,0,.65), transparent);
    }

    .villa-text-panel,
    .villa-image-panel,
    .villa-image-panel img {
        min-height: auto;
    }

    .villa-text-panel {
        padding-top: 86px;
        padding-bottom: 86px;
    }

    .villa-image-panel {
        height: 70vh;
    }

    .villa-image-panel img {
        min-height: 70vh;
    }

    .villa-gallery-track {
        width: auto;
        overflow-x: auto;
        padding-bottom: 20px;
    }

    .villa-gallery-track::-webkit-scrollbar {
        display: none;
    }

    .villa-map {
        margin-top: 60px;
        min-height: 360px;
    }
}

@media (max-width: 575px) {
    .villa-brand {
        font-size: 12px;
    }

    .villa-contact-link {
        font-size: 10px;
    }

    .villa-stats {
        grid-template-columns: 1fr;
    }

    .villa-gallery-item {
        width: 76vw;
    }
}

.villa-contact-panel {
    background:
        radial-gradient(circle at top left,
        rgba(180,154,99,.08),
        transparent 42%),
        var(--villa-cream);
}

.villa-agent {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-top: 54px;
}

.villa-agent__photo {
    position: relative;
    width: 150px;
    min-width: 150px;
    height: 190px;
    overflow: hidden;
    background: #111;
}

.villa-agent__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(180,154,99,.18);
    pointer-events: none;
}

.villa-agent__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter:
        saturate(.92)
        contrast(1.04);
}

.villa-agent__label {
    margin-bottom: 14px;
    color: var(--villa-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.villa-agent__name {
    font-family: var(--villa-serif);
    font-size: clamp(42px, 4vw, 68px);
    line-height: .95;
    letter-spacing: -.05em;
    color: var(--villa-text);
}

.villa-contact-data {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
}

.villa-contact-data a {
    color: var(--villa-text);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition:
        color .35s ease,
        transform .35s ease;
}

.villa-contact-data a:hover {
    color: var(--villa-gold);
    transform: translateX(6px);
}

@media (max-width: 767px) {

    .villa-agent {
        flex-direction: column;
        align-items: flex-start;
    }

    .villa-agent__photo {
        width: 100%;
        max-width: 300px;
        height: 400px;
    }
}

.villa-section--potential {
    background: var(--villa-cream);
    color: var(--villa-text);
}

.villa-potential-image {
    position: relative;
    min-height: 760px;
    height: 100%;
    overflow: hidden;
    background: #111;
}

.villa-potential-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,9,7,.35), transparent 55%),
        radial-gradient(circle at 30% 30%, rgba(180,154,99,.16), transparent 45%);
    pointer-events: none;
}

.villa-potential-image img {
    width: 100%;
    height: 100%;
    min-height: 760px;
    object-fit: cover;
    filter:
        saturate(.9)
        contrast(1.05)
        brightness(.88);
    transform: scale(1.06);
}

.villa-potential-panel {
    background:
        radial-gradient(circle at 92% 12%, rgba(180,154,99,.12), transparent 34%),
        var(--villa-cream);
}

.villa-potential-list {
    display: grid;
    gap: 26px;
    margin-top: 54px;
    max-width: 620px;
}

.villa-potential-list div {
    position: relative;
    padding-top: 24px;
    border-top: 1px solid rgba(27,27,24,.16);
}

.villa-potential-list span {
    display: block;
    margin-bottom: 12px;
    color: var(--villa-gold);
    font-family: var(--villa-serif);
    font-size: 24px;
    line-height: 1;
}

.villa-potential-list strong {
    display: block;
    font-family: var(--villa-serif);
    font-size: clamp(24px, 2vw, 36px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.villa-potential-list p {
    max-width: 460px;
    margin-top: 12px;
    margin-bottom: 0;
    color: var(--villa-muted);
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .villa-potential-image,
    .villa-potential-image img {
        min-height: 62vh;
    }
}


@media (max-width: 991px) {
    .villa-gallery-section {
        padding: 84px 0;
    }

    .villa-gallery-track {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        width: 100%;
        margin-top: 48px;
        overflow: visible;
        transform: none !important;
    }

    .villa-gallery-item {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .villa-gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none;
    }
}

.villa-potential-gallery {
    padding:
        clamp(90px, 10vw, 160px)
        clamp(24px, 4vw, 70px)
        clamp(110px, 10vw, 180px);
    background: var(--villa-cream);
}

.villa-potential-gallery__header {
    max-width: 760px;
    margin-bottom: 72px;
}

.villa-potential-gallery__header h3 {
    margin-top: 18px;
    margin-bottom: 26px;

    font-family: var(--villa-serif);
    font-size: clamp(42px, 5vw, 92px);
    font-weight: 400;
    line-height: .92;
    letter-spacing: -.05em;
    color: var(--villa-text);
}

.villa-potential-gallery__header p {
    max-width: 620px;
    color: var(--villa-muted);
    font-size: 15px;
    line-height: 1.9;
}

.villa-potential-gallery__track {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 24px;
}

.villa-potential-gallery__item {
    position: relative;
    overflow: hidden;
    background: #111;
    min-height: 480px;
}

.villa-potential-gallery__item--large {
    min-height: 760px;
}

.villa-potential-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
        transform 1.4s cubic-bezier(.19,1,.22,1),
        filter .6s ease;

    filter:
        saturate(.92)
        contrast(1.04)
        brightness(.92);
}

.villa-potential-gallery__item:hover img {
    transform: scale(1.045);
}

.villa-potential-gallery__item::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(8,10,8,.18)
        );

    pointer-events: none;
}

@media (max-width: 991px) {

    .villa-potential-gallery__track {
        grid-template-columns: 1fr;
    }

    .villa-potential-gallery__item,
    .villa-potential-gallery__item--large {
        min-height: 52vh;
    }
}

.villa-offer-note {
    margin-top: 32px;
    color: rgba(255,255,255,.58);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
}