:root {
    --green-950: #17382f;
    --green-700: #3f6658;
    --cream: #f5f0e8;
    --beige: #dfd2c2;
    --gold: #b49a6a;
    --white: #ffffff;
    --graphite: #242824;
    --muted: #68706b;
    --line: rgba(23, 56, 47, 0.16);
    --font-body: "Manrope", Arial, sans-serif;
    --font-display: "Playfair Display", Georgia, serif;
    --shadow: 0 24px 70px rgba(11, 34, 27, 0.16);
    --container: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    color: var(--graphite);
    background: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--green-950);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.topbar {
    color: rgba(255, 255, 255, 0.78);
    background: var(--green-950);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    gap: 14px;
}

.topbar a {
    color: var(--white);
    font-weight: 700;
}

.topbar__separator {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(23, 56, 47, 0.08);
    background: rgba(255, 255, 255, 0.97);
}

.site-header__inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--green-950);
}

.brand__mark {
    display: grid;
    width: 39px;
    height: 43px;
    place-items: center;
    border: 1px solid var(--gold);
    font-family: var(--font-display);
    font-size: 1.55rem;
    line-height: 1;
}
.brand__logo{display:block;max-width:160px;max-height:52px;object-fit:contain}

.brand__text {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.045em;
    line-height: 1.05;
    text-transform: uppercase;
}

.brand__text small {
    display: block;
    margin-top: 5px;
    color: var(--green-700);
    font-family: var(--font-body);
    font-size: 0.54rem;
    font-weight: 700;
    letter-spacing: 0.34em;
}

.menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 10px;
    place-content: center;
    gap: 5px;
    border: 0;
    color: var(--green-950);
    background: transparent;
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
    position: fixed;
    z-index: 90;
    inset: 111px 0 0;
    display: flex;
    padding: 35px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 220ms ease;
}

.main-nav.is-open {
    transform: translateX(0);
}

.main-nav > a:not(.button) {
    padding: 11px 5px;
    border-bottom: 1px solid var(--line);
    color: var(--green-950);
    font-weight: 600;
}

.button {
    display: inline-flex;
    min-height: 50px;
    padding: 13px 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 0;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--header,
.button--primary {
    color: var(--white);
    background: var(--green-950);
}

.button--header:hover,
.button--primary:hover {
    background: var(--green-700);
}

.button--gold {
    color: var(--green-950);
    background: var(--gold);
}

.button--gold:hover {
    background: #c6ae80;
}

.button--full {
    width: 100%;
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--green-950);
}

.hero__backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.68;
    background-color: #37564b;
    background-image:
        linear-gradient(100deg, rgba(8, 28, 22, 0.92) 0%, rgba(17, 45, 36, 0.66) 55%, rgba(27, 54, 45, 0.8) 100%),
        radial-gradient(circle at 78% 25%, rgba(180, 154, 106, 0.3), transparent 24%),
        repeating-linear-gradient(112deg, transparent 0 48px, rgba(255, 255, 255, 0.025) 48px 49px);
}
.hero__media{position:absolute;inset:0}.hero__media img{position:absolute;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .6s ease}.hero__media img.is-active{opacity:1}.hero__backdrop{z-index:1}.hero__grid{z-index:2}

.hero::after {
    position: absolute;
    right: -70px;
    bottom: -115px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(223, 210, 194, 0.26);
    border-radius: 50%;
    content: "";
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    padding-block: 68px 54px;
    gap: 44px;
}

.hero__content {
    align-self: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green-700);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 28px;
    height: 1px;
    background: var(--gold);
    content: "";
}

.eyebrow--light {
    color: var(--beige);
}

.hero h1,
.section h2,
.final-cta h2,
.thank-you h1 {
    margin: 16px 0 22px;
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(2.55rem, 9vw, 5.15rem);
}

.hero__content > p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
}

.hero__actions {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.text-link {
    display: inline-flex;
    padding-block: 6px;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--gold);
    color: var(--green-950);
    font-size: 0.84rem;
    font-weight: 700;
}

.text-link span {
    transition: transform 180ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.text-link--light {
    color: var(--white);
}

.lead-card {
    padding: 31px 25px;
    color: var(--graphite);
    background: var(--cream);
    box-shadow: var(--shadow);
}

.lead-card h2 {
    margin: 10px 0 8px;
    color: var(--green-950);
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 500;
    line-height: 1.15;
}

.lead-card > p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.lead-form,
.field {
    display: grid;
}

.lead-form {
    gap: 14px;
}

.form-row {
    display: grid;
    gap: 14px;
}

.field {
    gap: 5px;
}

.field label {
    color: var(--green-950);
    font-size: 0.7rem;
    font-weight: 700;
}

.field input {
    width: 100%;
    min-height: 47px;
    padding: 10px 12px;
    border: 1px solid rgba(23, 56, 47, 0.25);
    border-radius: 0;
    color: var(--graphite);
    background: rgba(255, 255, 255, 0.7);
}

.field input:focus {
    border-color: var(--green-700);
    outline: 2px solid rgba(63, 102, 88, 0.14);
}

.field input[aria-invalid="true"] {
    border-color: #963e33;
}

.field__error {
    min-height: 0.8rem;
    color: #963e33;
    font-size: 0.65rem;
    line-height: 1.3;
}

.check {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 9px;
    color: #565c57;
    font-size: 0.66rem;
    line-height: 1.45;
    cursor: pointer;
}

.check input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--green-950);
}

.check input[aria-invalid="true"] {
    outline: 2px solid rgba(150, 62, 51, 0.35);
    outline-offset: 2px;
}

.check strong {
    color: #963e33;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
}

.form-message {
    min-height: 1.2rem;
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.5;
}

.form-message--notice {
    padding: 10px 12px;
    border-left: 2px solid var(--gold);
    color: var(--green-950);
    background: var(--beige);
}

.form-alert {
    padding: 12px 14px;
    border-left: 3px solid #963e33;
    color: #712d25;
    background: rgba(150, 62, 51, 0.09);
    font-size: 0.72rem;
    line-height: 1.5;
}

.proof-strip {
    color: var(--white);
    background: var(--green-700);
}

.proof-strip__grid {
    display: grid;
}

.proof-strip__grid > div {
    display: grid;
    min-height: 82px;
    padding: 20px 0;
    grid-template-columns: 38px 1fr;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.proof-strip__grid > div:last-child {
    border-bottom: 0;
}

.proof-strip span {
    color: var(--beige);
    font-family: var(--font-display);
    font-size: 0.8rem;
}

.proof-strip strong {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section {
    padding-block: 78px;
}

.section--cream {
    background: var(--cream);
}

.section--dark {
    color: var(--white);
    background: var(--green-950);
}

.split-layout {
    display: grid;
    gap: 42px;
}

.visual-placeholder {
    position: relative;
    display: grid;
    min-height: 390px;
    padding: 24px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(23, 56, 47, 0.16);
    color: var(--green-950);
    background-color: var(--beige);
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 50%);
    text-align: center;
}

.visual-placeholder::before,
.visual-placeholder::after {
    position: absolute;
    border: 1px solid rgba(23, 56, 47, 0.18);
    content: "";
}

.visual-placeholder::before {
    inset: 24px;
}

.visual-placeholder::after {
    width: 190px;
    height: 190px;
    border-radius: 50%;
}

.visual-placeholder > span {
    position: relative;
    z-index: 1;
    padding: 14px;
    background: rgba(245, 240, 232, 0.82);
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.visual-placeholder small {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.section-copy {
    align-self: center;
}

.section h2,
.final-cta h2 {
    color: var(--green-950);
    font-size: clamp(2.2rem, 6vw, 3.7rem);
}

.section-copy p,
.section-heading > p {
    color: var(--muted);
}

.section-copy .note,
.note {
    padding: 14px 16px;
    border-left: 2px solid var(--gold);
    color: #616762;
    background: var(--cream);
    font-size: 0.76rem;
}

.section-copy .text-link {
    margin-top: 12px;
}

.section-heading {
    display: grid;
    margin-bottom: 38px;
    gap: 10px;
}

.section-heading h2 {
    max-width: 750px;
    margin-bottom: 0;
}

.section-heading > p {
    max-width: 500px;
    margin: 0;
    align-self: end;
    font-size: 0.88rem;
}

.section-heading--light h2 {
    color: var(--white);
}

.section-heading--light > p {
    color: rgba(255, 255, 255, 0.65);
}

.feature-grid {
    display: grid;
    gap: 1px;
    background: rgba(23, 56, 47, 0.16);
}

.feature-card {
    min-height: 250px;
    padding: 28px;
    background: var(--white);
}

.feature-card__number {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 0.78rem;
}

.feature-card h3 {
    max-width: 230px;
    margin: 48px 0 12px;
    color: var(--green-950);
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.18;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.location__layout {
    display: grid;
    gap: 22px;
}

.map-placeholder {
    position: relative;
    display: grid;
    min-height: 380px;
    padding: 30px;
    place-content: center;
    overflow: hidden;
    border: 1px solid var(--line);
    color: var(--green-950);
    background-color: #e7e4db;
    background-image:
        linear-gradient(34deg, transparent 47%, rgba(63, 102, 88, 0.14) 48% 51%, transparent 52%),
        linear-gradient(118deg, transparent 44%, rgba(180, 154, 106, 0.18) 45% 48%, transparent 49%);
    text-align: center;
}

.map-placeholder__pin {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 auto 18px;
    border: 8px solid var(--green-950);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.map-placeholder strong {
    font-family: var(--font-display);
    font-size: 1.4rem;
}

.map-placeholder small {
    color: var(--muted);
    font-size: 0.68rem;
}

.location-map-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-placeholder__link {
    color: inherit;
    text-decoration: none;
}

.map-placeholder__link:hover strong {
    text-decoration: underline;
}

.distance-list {
    display: grid;
    align-content: stretch;
}

.distance-list > div {
    display: grid;
    padding: 19px 0;
    border-bottom: 1px solid var(--line);
}

.distance-list span,
.apartment-card__body > span {
    color: var(--gold);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.distance-list strong {
    margin-block: 3px;
    color: var(--green-950);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
}

.distance-list small {
    color: var(--muted);
    font-size: 0.68rem;
}

.temporary-disclaimer {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.68rem;
}

.apartment-grid {
    display: grid;
    gap: 18px;
}

.apartment-card {
    color: var(--graphite);
    background: var(--white);
}

.apartment-card__visual {
    display: grid;
    min-height: 225px;
    place-items: center;
    color: rgba(255, 255, 255, 0.7);
    background-color: var(--green-700);
    background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 25%, transparent 25% 50%, rgba(255, 255, 255, 0.04) 50% 75%, transparent 75%);
    background-size: 60px 60px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.apartment-card__body {
    padding: 24px;
}

.apartment-card h3 {
    margin: 7px 0 4px;
    color: var(--green-950);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
}

.apartment-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.72rem;
}

.agent__layout {
    display: grid;
    gap: 35px;
}

.agent__portrait {
    display: grid;
    min-height: 430px;
    padding: 30px;
    place-content: center;
    color: var(--cream);
    background: var(--green-700);
    text-align: center;
}

.agent__portrait span {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
}
.agent__portrait img{width:100%;height:100%;object-fit:cover}

.visual-placeholder > img,
.map-placeholder > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-placeholder > .static-image-placeholder {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
}

.agent__portrait small {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.agent__copy {
    align-self: center;
}

.agent__copy h2 {
    margin-bottom: 4px;
}

.agent__company {
    margin: 0 0 22px;
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.agent__copy > p:not(.agent__company) {
    max-width: 620px;
    color: var(--muted);
}

.agent__phone {
    display: grid;
    margin-top: 24px;
    color: var(--green-950);
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1.2;
}

.agent__phone small {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.final-cta {
    padding-block: 65px;
    color: var(--white);
    background: var(--green-700);
}

.final-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
}

.final-cta h2 {
    max-width: 730px;
    margin-bottom: 0;
    color: var(--white);
}

.site-footer {
    padding-top: 58px;
    color: rgba(255, 255, 255, 0.65);
    background: #102a23;
}

.site-footer__grid {
    display: grid;
    gap: 34px;
}

.brand--footer {
    color: var(--white);
}

.site-footer__grid p {
    max-width: 350px;
    font-size: 0.78rem;
}

.site-footer h2 {
    margin: 0 0 12px;
    color: var(--beige);
    font-size: 0.68rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.site-footer__grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.75rem;
}

.site-footer__grid a:hover {
    color: var(--white);
}

.site-footer__bottom {
    display: flex;
    margin-top: 44px;
    padding-block: 20px;
    flex-direction: column;
    gap: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.62rem;
}

.thank-you {
    display: grid;
    min-height: 70vh;
    padding-block: 80px;
    place-items: center;
    background: var(--cream);
}

.thank-you__inner {
    max-width: 760px;
    text-align: center;
}

.thank-you__mark {
    display: grid;
    width: 70px;
    height: 78px;
    margin: 0 auto 28px;
    place-items: center;
    border: 1px solid var(--gold);
    color: var(--green-950);
    font-family: var(--font-display);
    font-size: 2.8rem;
}

.thank-you h1 {
    color: var(--green-950);
    font-size: clamp(2.6rem, 8vw, 4.5rem);
}

.thank-you p {
    max-width: 650px;
    margin-inline: auto;
    color: var(--muted);
}

.thank-you .button {
    margin-top: 18px;
}

@media (min-width: 640px) {
    .container {
        width: min(100% - 64px, var(--container));
    }

    .topbar__inner {
        justify-content: flex-end;
    }

    .form-row,
    .feature-grid,
    .apartment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proof-strip__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .proof-strip__grid > div {
        padding-inline: 22px;
        border-right: 1px solid rgba(255, 255, 255, 0.14);
        border-bottom: 0;
    }

    .proof-strip__grid > div:first-child {
        padding-left: 0;
    }

    .proof-strip__grid > div:last-child {
        padding-right: 0;
        border-right: 0;
    }

    .site-footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .site-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 900px) {
    body.menu-open {
        overflow: auto;
    }

    .site-header__inner {
        min-height: 88px;
    }

    .menu-toggle {
        display: none;
    }

    .main-nav {
        position: static;
        display: flex;
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: clamp(13px, 1.8vw, 26px);
        background: transparent;
        transform: none;
    }

    .main-nav > a:not(.button) {
        padding: 7px 0;
        border-bottom: 1px solid transparent;
        font-size: 0.72rem;
    }

    .main-nav > a:not(.button):hover {
        border-color: var(--gold);
    }

    .button--header {
        min-height: 43px;
        padding: 11px 17px;
        font-size: 0.72rem;
    }

    .hero__grid {
        min-height: 720px;
        padding-block: 76px;
        grid-template-columns: minmax(0, 1.35fr) minmax(355px, 0.65fr);
        align-items: center;
        gap: 58px;
    }

    .lead-card {
        padding: 34px;
    }

    .section {
        padding-block: 112px;
    }

    .split-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 8vw;
    }

    .visual-placeholder {
        min-height: 580px;
    }

    .section-heading {
        margin-bottom: 55px;
        grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
        align-items: end;
        gap: 50px;
    }

    .section-heading h2 {
        margin-top: 18px;
    }

    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .feature-card {
        min-height: 330px;
        padding: 34px 27px;
    }

    .feature-card h3 {
        margin-top: 78px;
    }

    .location__layout {
        grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
        gap: 50px;
    }

    .map-placeholder {
        min-height: 500px;
    }

    .distance-list > div {
        align-content: center;
    }

    .apartment-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .agent__layout {
        grid-template-columns: minmax(330px, 0.75fr) minmax(0, 1.25fr);
        gap: 8vw;
    }

    .agent__portrait {
        min-height: 560px;
    }

    .final-cta {
        padding-block: 82px;
    }

    .final-cta__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Publiczne oferty */
.apartment-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

img.apartment-card__visual {
    width: 100%;
    min-height: 0;
    aspect-ratio: 20 / 13;
    object-fit: cover;
}

.apartment-card__placeholder {
    aspect-ratio: 20 / 13;
}

.apartment-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.apartment-card__unit {
    margin-top: 12px !important;
    color: var(--green-700) !important;
    font-weight: 700;
}

.apartment-card__facts {
    display: flex;
    padding: 0;
    margin: 15px 0;
    flex-wrap: wrap;
    gap: 7px 15px;
    color: var(--muted);
    font-size: 0.7rem;
    list-style: none;
}

.apartment-card__facts li + li::before {
    margin-right: 15px;
    color: var(--gold);
    content: "•";
}

.apartment-card__price {
    display: block;
    margin: auto 0 18px;
    color: var(--green-950);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
}

.apartment-card__link {
    align-self: flex-start;
}

.offer-status {
    display: inline-flex;
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.offer-status--available { color: #205c45; background: #dff2e8; }
.offer-status--reserved { color: #735313; background: #fff0c9; }
.offer-status--sold { color: #274c70; background: #e2edf8; }
.offer-status--unavailable { color: #71342f; background: #f5dfdc; }
.apartment-card__body > .offer-status--available { color: #205c45; }
.apartment-card__body > .offer-status--reserved { color: #735313; }
.apartment-card__body > .offer-status--sold { color: #274c70; }
.apartment-card__body > .offer-status--unavailable { color: #71342f; }

.offers-section-actions {
    display: flex;
    margin-top: 34px;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.offers-empty {
    max-width: 760px;
    padding: 34px;
    color: var(--green-950);
    background: var(--cream);
}

.offers-empty p {
    margin: 0 0 22px;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.3;
}

.page-hero {
    padding: 80px 0;
    color: var(--white);
    background: var(--green-950);
}

.page-hero h1 {
    max-width: 780px;
    margin: 16px 0;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 500;
    line-height: 1.02;
}

.page-hero p {
    max-width: 700px;
    color: rgba(255,255,255,.75);
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: inherit;
    font-size: .72rem;
    font-weight: 700;
}

.offers-list-section .apartment-card {
    border: 1px solid var(--line);
}

.public-message {
    max-width: 760px;
    padding: clamp(26px, 5vw, 52px);
    margin-inline: auto;
    background: var(--cream);
    text-align: center;
}

.public-message h1,
.public-message h2 {
    margin: 8px 0 12px;
    color: var(--green-950);
    font-family: var(--font-display);
    font-weight: 500;
}

.public-message .button {
    margin-top: 16px;
}

.public-pagination {
    display: flex;
    margin-top: 42px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}

.public-pagination a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    color: var(--green-950);
}

.public-pagination a[aria-current="page"] {
    color: var(--white);
    background: var(--green-950);
}

.public-cta {
    display: flex;
    padding: clamp(25px, 5vw, 48px);
    margin-top: 54px;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    background: var(--cream);
}

.public-cta h2 {
    margin: 7px 0;
    color: var(--green-950);
    font-family: var(--font-display);
    font-weight: 500;
}

.public-cta p { margin: 0; color: var(--muted); }
.public-not-found { min-height: 58vh; display: grid; align-items: center; }

.offer-detail-hero {
    padding: 40px 0 78px;
    background: var(--cream);
}

.offer-detail-grid {
    display: grid;
    gap: 35px;
}

.offer-gallery__stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--green-700);
}

.offer-gallery__stage > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-gallery__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    padding: 30px;
    place-items: center;
    color: rgba(255,255,255,.75);
    background-image: linear-gradient(145deg, rgba(255,255,255,.06) 25%, transparent 25% 50%, rgba(255,255,255,.04) 50% 75%, transparent 75%);
    background-size: 60px 60px;
    text-align: center;
}

.offer-gallery__stage > img[hidden],
.offer-gallery__placeholder[hidden] {
    display: none;
}

.offer-gallery__navigation {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 8px;
}

.offer-gallery__navigation button {
    width: 44px;
    height: 44px;
    border: 0;
    color: var(--green-950);
    background: var(--white);
    cursor: pointer;
}

.offer-gallery__thumbs {
    display: grid;
    margin-top: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.offer-gallery__thumbs button {
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    aspect-ratio: 3 / 2;
    background: var(--green-700);
    cursor: pointer;
}

.offer-gallery__thumbs button[aria-pressed="true"] { border-color: var(--gold); }
.offer-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.offer-detail-summary {
    align-self: center;
}

.offer-detail-unit {
    margin: 26px 0 4px;
    color: var(--green-700);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.offer-detail-summary h1 {
    margin: 0 0 15px;
    color: var(--green-950);
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.7rem);
    font-weight: 500;
    line-height: 1.05;
}

.offer-detail-lead { color: var(--muted); }

.offer-facts {
    display: grid;
    margin: 28px 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.offer-facts div { padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.offer-facts dt { color: var(--muted); font-size: .63rem; text-transform: uppercase; }
.offer-facts dd { margin: 2px 0 0; color: var(--green-950); font-weight: 700; }

.offer-price {
    display: grid;
    margin-bottom: 25px;
}

.offer-price span { color: var(--muted); font-size: .65rem; text-transform: uppercase; }
.offer-price strong { color: var(--green-950); font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; }
.offer-price small { color: var(--muted); }

.offer-content-grid,
.offer-contact-grid {
    display: grid;
    gap: 38px;
}

.offer-content-grid h2,
.offer-contact-grid h2 {
    margin: 12px 0 20px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.15;
}

.offer-floor-plan img {
    width: 100%;
    max-height: 650px;
    margin-bottom: 15px;
    border: 1px solid var(--line);
    object-fit: contain;
    background: var(--white);
}

.offer-floor-plan__pdf {
    padding: 35px;
    border: 1px solid var(--line);
    background: var(--cream);
}

.offer-floor-plan__pdf > span {
    display: grid;
    width: 70px;
    height: 84px;
    place-items: center;
    color: var(--white);
    background: var(--green-950);
    font-weight: 700;
}

.offer-contact-section {
    color: var(--white);
    background: var(--green-950);
}

.offer-contact-section .lead-card { color: var(--graphite); }

@media (min-width: 760px) {
    .public-cta { flex-direction: row; align-items: center; justify-content: space-between; }
    .offer-gallery__thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
    .offer-detail-grid { grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: 7vw; }
    .offer-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8vw; }
    .offer-contact-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr); align-items: center; gap: 8vw; }
}
