:root {
    --bg: #fbf6ed;
    --surface: #ffffff;
    --text: #1c1916;
    --muted: #6e655d;
    --primary: #9b5c32;
    --primary-dark: #5d341d;
    --primary-deep: #2d1a10;
    --gold: #d9ad74;
    --soft: #fff0dc;
    --soft-2: #f8e3c6;
    --border: #ead7bf;
    --success: #3f7d50;
    --danger: #9d3d2f;
    --shadow: 0 26px 70px rgba(72, 43, 22, 0.14);
    --shadow-soft: 0 16px 38px rgba(72, 43, 22, 0.08);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top left, rgba(217, 173, 116, 0.42), transparent 36rem), radial-gradient(circle at 90% 10%, rgba(155, 92, 50, 0.16), transparent 28rem), var(--bg);
    line-height: 1.65;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

button,
input,
textarea {
    font: inherit;
}

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

code {
    padding: 0.18rem 0.38rem;
    border-radius: 0.45rem;
    background: rgba(103, 58, 31, 0.08);
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(251, 246, 237, 0.88);
    border-bottom: 1px solid rgba(234, 215, 191, 0.9);
    backdrop-filter: blur(20px);
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.82rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

    .brand > span:last-child {
        display: grid;
        line-height: 1.15;
    }

    .brand small {
        color: var(--muted);
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 16px 34px rgba(155, 92, 50, 0.3);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    font-size: 0.95rem;
    font-weight: 850;
}

    .nav-links a {
        padding: 0.66rem 0.9rem;
        border-radius: 999px;
        transition: 0.2s ease;
    }

        .nav-links a:hover {
            background: var(--soft);
            color: var(--primary-dark);
        }

.nav-button {
    color: #fff !important;
    background: var(--primary);
    padding-inline: 1.15rem !important;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    cursor: pointer;
}

    .nav-toggle span {
        display: block;
        width: 21px;
        height: 2px;
        margin: 5px auto;
        background: var(--text);
    }

.hero,
.details-hero {
    padding: 88px 0 36px;
}

.hero-premium {
    position: relative;
    overflow: hidden;
}

    .hero-premium::before {
        content: "";
        position: absolute;
        inset: 2rem 0 auto auto;
        width: 42vw;
        height: 42vw;
        min-width: 360px;
        min-height: 360px;
        border-radius: 999px;
        background: rgba(217, 173, 116, 0.16);
        filter: blur(4px);
        z-index: -1;
    }

.hero-grid,
.details-grid {
    display: grid;
    grid-template-columns: 1fr 0.88fr;
    align-items: center;
    gap: 3.5rem;
}

.eyebrow {
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    line-height: 1.08;
}

h1 {
    max-width: 790px;
    margin-bottom: 1.4rem;
    font-size: clamp(3rem, 6vw, 6rem);
    letter-spacing: -0.075em;
}

h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3.35rem);
    letter-spacing: -0.055em;
}

h3 {
    font-size: 1.28rem;
    letter-spacing: -0.02em;
}

.hero-text {
    max-width: 690px;
    margin-bottom: 1.8rem;
    color: var(--muted);
    font-size: 1.14rem;
}

.hero-actions,
.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.3rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.86rem 1.4rem;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

    .button.primary {
        color: #fff;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        box-shadow: 0 18px 34px rgba(155, 92, 50, 0.25);
    }

    .button.secondary {
        color: var(--primary-dark);
        background: var(--surface);
        border: 1px solid var(--border);
    }

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

.hero-pills,
.highlight-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hero-pills {
    margin-top: 1.75rem;
}

    .hero-pills span,
    .highlight-list span {
        padding: 0.52rem 0.85rem;
        border: 1px solid rgba(234, 215, 191, 0.9);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.78);
        color: #4d4138;
        font-size: 0.9rem;
        font-weight: 850;
    }

.hero-visual {
    position: relative;
    min-height: 550px;
    overflow: hidden;
    border: 12px solid rgba(255, 255, 255, 0.72);
    border-radius: 40px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.premium-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 26, 16, 0.34), transparent 48%);
    pointer-events: none;
}

.hero-visual img {
    height: 550px;
}

.glass-card {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    display: grid;
    gap: 0.25rem;
    padding: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 45px rgba(35, 26, 18, 0.16);
    backdrop-filter: blur(16px);
}

    .glass-card strong {
        font-size: 1.15rem;
    }

    .glass-card small,
    .glass-card span:not(.rating) {
        color: var(--muted);
    }

.rating {
    width: fit-content;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    color: var(--primary-dark);
    background: var(--soft);
    font-weight: 950;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2.4rem;
}

    .trust-strip div {
        padding: 1.3rem;
        border: 1px solid rgba(234, 215, 191, 0.88);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.72);
        box-shadow: var(--shadow-soft);
        backdrop-filter: blur(12px);
    }

    .trust-strip strong {
        display: block;
        color: var(--primary-dark);
        font-size: 1.65rem;
        line-height: 1;
    }

    .trust-strip span {
        color: var(--muted);
        font-size: 0.9rem;
        font-weight: 800;
    }

.section {
    padding: 86px 0;
}

    .section.soft {
        background: radial-gradient(circle at 12% 18%, rgba(217, 173, 116, 0.18), transparent 24rem), var(--soft);
    }

.section-heading {
    max-width: 840px;
    margin-bottom: 2.25rem;
}

    .section-heading p:last-child {
        color: var(--muted);
        font-size: 1.05rem;
    }

.split-heading {
    max-width: none;
    display: grid;
    grid-template-columns: 0.95fr 0.85fr;
    align-items: end;
    gap: 2rem;
}

.apartment-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.78fr;
    align-items: stretch;
    gap: 1.35rem;
}

.apartment-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow);
}

    .apartment-card.featured {
        display: grid;
        grid-template-columns: 0.92fr 1fr;
    }

    .apartment-card.coming-soon {
        opacity: 0.96;
    }

.apartment-image {
    position: relative;
    min-height: 375px;
    background: var(--soft);
}

    .apartment-image img {
        height: 100%;
        min-height: 375px;
    }

.status {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 0.46rem 0.82rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 950;
}

    .status.available {
        background: var(--success);
    }

    .status.soon {
        background: var(--primary);
    }

.apartment-content {
    padding: 2rem;
}

.card-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.apartment-content h3 {
    margin-bottom: 0.4rem;
    font-size: 1.72rem;
}

.address {
    color: var(--primary-dark);
    font-weight: 900;
}

.price-note {
    white-space: nowrap;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    color: var(--primary-dark);
    background: var(--soft);
    font-size: 0.82rem;
    font-weight: 950;
}

.apartment-content p {
    color: var(--muted);
}

.highlight-list {
    margin-top: 1rem;
}

.soon-box {
    display: inline-flex;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    color: var(--primary-dark);
    background: var(--soft);
    font-weight: 950;
}

.experience-grid,
.faq-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    align-items: start;
    gap: 2rem;
}

    .experience-grid p,
    .faq-grid p {
        color: var(--muted);
    }

.selling-points {
    display: grid;
    gap: 0.9rem;
}

    .selling-points div {
        display: flex;
        gap: 0.85rem;
        align-items: center;
        padding: 1rem;
        border: 1px solid var(--border);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.78);
        box-shadow: var(--shadow-soft);
    }

    .selling-points span {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border-radius: 999px;
        color: #fff;
        background: var(--success);
        font-weight: 950;
    }

.gallery {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-auto-rows: 230px;
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    height: 100%;
    border: 0;
    border-radius: 24px;
    background: transparent;
    box-shadow: 0 18px 38px rgba(80, 48, 24, 0.1);
    cursor: zoom-in;
}

    .gallery-item img {
        height: 100%;
        transition: transform 0.28s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.045);
    }

    .gallery-item:first-child {
        grid-row: span 2;
    }

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.amenity-card,
.info-card,
.nearby-card {
    padding: 1.55rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.amenity-icon {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: var(--soft);
    color: var(--primary-dark);
    font-size: 1.35rem;
    font-weight: 950;
}

.amenity-card h3,
.info-card h3 {
    margin-bottom: 0.75rem;
}

.amenity-card ul {
    padding-left: 1.15rem;
    color: var(--muted);
}

.amenity-card li + li {
    margin-top: 0.28rem;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    align-items: center;
    gap: 2rem;
}

    .location-grid > div > p {
        color: var(--muted);
    }

.nearby-card {
    margin-top: 1.5rem;
}

.nearby-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

    .nearby-list div {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid var(--border);
    }

        .nearby-list div:last-child {
            border-bottom: 0;
            padding-bottom: 0;
        }

    .nearby-list span {
        color: var(--muted);
        text-align: right;
    }

.map-card {
    padding: 1rem;
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.map-placeholder {
    min-height: 420px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(155, 92, 50, 0.15), rgba(233, 200, 158, 0.42)), repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.72) 0 12px, rgba(255, 255, 255, 0.22) 12px 24px);
}

    .map-placeholder span {
        color: var(--primary-dark);
        font-size: 2.8rem;
        font-weight: 950;
    }

    .map-placeholder p {
        color: #4e3d30;
        font-weight: 950;
    }

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.info-card p {
    color: var(--muted);
    font-weight: 800;
}

.info-card small {
    display: block;
    margin-top: 0.6rem;
    color: var(--muted);
}

.faq-list {
    display: grid;
    gap: 0.8rem;
}

    .faq-list details {
        border: 1px solid var(--border);
        border-radius: 22px;
        background: var(--surface);
        box-shadow: var(--shadow-soft);
    }

    .faq-list summary {
        padding: 1.15rem 1.25rem;
        color: var(--primary-dark);
        font-weight: 950;
        cursor: pointer;
    }

    .faq-list p {
        padding: 0 1.25rem 1.25rem;
    }

.contact-section {
    padding-top: 46px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    gap: 2rem;
    padding: 2.2rem;
    border-radius: 38px;
    color: #fff;
    background: radial-gradient(circle at top right, rgba(233, 200, 158, 0.24), transparent 24rem), linear-gradient(135deg, var(--primary-dark), var(--primary-deep));
    box-shadow: var(--shadow);
}

    .contact-grid .eyebrow,
    .contact-grid p {
        color: rgba(255, 255, 255, 0.82);
    }

.contact-details {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

    .contact-details a {
        color: #ffffff;
        font-weight: 900;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-weight: 950;
    transition: 0.2s ease;
}

    .contact-button:hover {
        transform: translateY(-2px);
        background: rgba(255, 255, 255, 0.2);
    }

    .contact-button.call {
        background: #ffffff;
        color: var(--primary-dark);
    }

    .contact-button.whatsapp {
        background: #25d366;
        color: #ffffff;
        border-color: #25d366;
    }

    .contact-button.viber {
        background: #7360f2;
        color: #ffffff;
        border-color: #7360f2;
    }

    .contact-button.maps {
        background: var(--gold);
        color: var(--primary-deep);
        border-color: var(--gold);
    }

.contact-form {
    display: grid;
    gap: 0.9rem;
    padding: 1.5rem;
    border-radius: 28px;
    color: var(--text);
    background: var(--surface);
}

    .contact-form label {
        display: grid;
        gap: 0.4rem;
        color: #4a3d34;
        font-weight: 950;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    gap: 0.8rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.86rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #fff;
    color: var(--text);
    font: inherit;
    resize: vertical;
}

    .contact-form input:focus,
    .contact-form textarea:focus {
        outline: 3px solid rgba(155, 92, 50, 0.16);
        border-color: var(--primary);
    }

.field-validation-error,
.contact-form span[data-valmsg-for] {
    color: var(--danger);
    font-size: 0.85rem;
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 88px;
    z-index: 2000;
    max-width: 430px;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    color: #fff;
    background: var(--success);
    box-shadow: var(--shadow);
    font-weight: 950;
}

    .toast.error {
        background: var(--danger);
    }

.sticky-booking {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 1400;
    display: none;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0.8rem 0.7rem 1rem;
    border: 1px solid rgba(234, 215, 191, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    transform: translateX(-50%);
}

    .sticky-booking span {
        color: var(--muted);
        font-weight: 850;
        white-space: nowrap;
    }

    .sticky-booking a {
        padding: 0.55rem 0.9rem;
        border-radius: 999px;
        color: #fff;
        background: var(--primary);
        font-weight: 950;
    }

        .sticky-booking a:first-of-type {
            background: var(--primary-dark);
        }

        .sticky-booking a:last-of-type {
            background: var(--primary);
        }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    place-items: center;
    padding: 2rem 5.5rem;
    background: rgba(20, 13, 8, 0.82);
}

    .lightbox.open {
        display: grid;
    }

    .lightbox img {
        max-width: min(1100px, 94vw);
        max-height: 80vh;
        border-radius: 24px;
        box-shadow: var(--shadow);
        object-fit: contain;
    }

.lightbox-stage {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    margin: 0;
}

.lightbox-counter {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(20, 13, 8, 0.62);
    font-size: 0.92rem;
    font-weight: 950;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    color: var(--text);
    background: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    z-index: 2;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
    font-size: 2.35rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

    .lightbox-nav:hover,
    .lightbox-nav:focus-visible,
    .lightbox-close:hover,
    .lightbox-close:focus-visible {
        outline: 3px solid rgba(255, 255, 255, 0.42);
        background: #ffffff;
    }

.lightbox-prev {
    left: clamp(14px, 4vw, 48px);
}

.lightbox-next {
    right: clamp(14px, 4vw, 48px);
}

.footer {
    padding: 2rem 0 5.5rem;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
}

.footer strong {
    color: var(--text);
}

.footer a {
    color: var(--primary-dark);
    font-weight: 950;
    text-decoration: none;
}

    .footer a:hover {
        text-decoration: underline;
        text-underline-offset: 4px;
    }

/* Admin panel */

.admin-page {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    padding: 70px 0;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.admin-eyebrow {
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.admin-header h1 {
    font-size: clamp(36px, 5vw, 58px);
    margin-bottom: 10px;
}

.admin-header p {
    color: var(--muted);
}

.admin-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.75rem 1.1rem;
    border: 0;
    border-radius: 999px;
    background: var(--primary-dark);
    color: #ffffff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.admin-card {
    display: block;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: 0.2s ease;
}

    .admin-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }

.admin-card-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: var(--soft);
    font-size: 26px;
}

.admin-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.admin-card p {
    color: var(--muted);
}

@media (min-width: 900px) {
    .sticky-booking {
        display: flex;
    }
}

@media (max-width: 1080px) {
    .hero-grid,
    .details-grid,
    .location-grid,
    .contact-grid,
    .apartment-grid,
    .apartment-card.featured,
    .experience-grid,
    .faq-grid,
    .split-heading {
        grid-template-columns: 1fr;
    }

    .amenity-grid,
    .info-grid,
    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-visual,
    .hero-visual img {
        min-height: 450px;
        height: 450px;
    }
}

@media (max-width: 900px) {
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .admin-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 86px;
        left: 18px;
        right: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border: 1px solid var(--border);
        border-radius: 24px;
        background: #fff;
        box-shadow: var(--shadow);
    }

        .nav-links.open {
            display: flex;
        }

    .hero,
    .details-hero,
    .section {
        padding: 58px 0;
    }

    h1 {
        font-size: clamp(2.7rem, 15vw, 4rem);
    }

    .hero-actions,
    .card-actions,
    .form-row {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .trust-strip,
    .gallery,
    .amenity-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-auto-rows: 230px;
    }

    .gallery-item:first-child {
        grid-row: span 1;
    }

    .lightbox {
        padding: 4.5rem 0.75rem 1.25rem;
    }

        .lightbox img {
            max-width: 96vw;
            max-height: 74vh;
            border-radius: 16px;
        }

    .lightbox-close {
        top: 14px;
        right: 14px;
        width: 44px;
        height: 44px;
        font-size: 1.75rem;
    }

    .lightbox-nav {
        width: 46px;
        height: 46px;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 0.75rem;
    }

    .lightbox-next {
        right: 0.75rem;
    }

    .nearby-list div {
        display: grid;
    }

    .nearby-list span {
        text-align: left;
    }

    .contact-grid {
        padding: 1.35rem;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-button {
        width: 100%;
    }

    .sticky-booking {
        display: none;
    }

    .footer {
        padding-bottom: 2rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
.admin-table-card {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 840px;
}

    .admin-table th,
    .admin-table td {
        padding: 18px 20px;
        text-align: left;
        border-bottom: 1px solid var(--border);
        vertical-align: top;
    }

    .admin-table th {
        color: var(--primary-dark);
        background: var(--soft);
        font-size: 13px;
        font-weight: 950;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .admin-table tr:last-child td {
        border-bottom: 0;
    }

    .admin-table td small {
        display: block;
        margin-top: 4px;
        color: var(--muted);
        font-size: 13px;
    }

.admin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
}

    .admin-badge.success {
        color: #ffffff;
        background: var(--success);
    }

    .admin-badge.warning {
        color: var(--primary-deep);
        background: var(--gold);
    }

    .admin-badge.info {
        color: #ffffff;
        background: #2f6f86;
    }

    .admin-badge.neutral {
        color: var(--primary-dark);
        background: #efe3d5;
    }

.admin-empty {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

    .admin-empty h2 {
        margin-bottom: 10px;
        font-size: 28px;
    }

    .admin-empty p {
        color: var(--muted);
    }

.admin-inquiries-grid {
    display: grid;
    gap: 18px;
}

.admin-calendar-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 18px;
    margin-bottom: 18px;
}

.admin-muted {
    color: var(--muted);
}

.calendar-export-links,
.calendar-source-form {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

    .calendar-export-links div {
        display: grid;
        gap: 6px;
        padding: 12px;
        border-radius: 16px;
        background: var(--soft);
    }

    .calendar-export-links code {
        overflow-wrap: anywhere;
        color: var(--primary-dark);
        font-weight: 850;
    }

    .calendar-source-form label {
        display: grid;
        gap: 6px;
        color: var(--primary-dark);
        font-weight: 950;
    }

    .calendar-source-form input,
    .calendar-source-form select {
        width: 100%;
        padding: 0.78rem 0.9rem;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: #ffffff;
        color: var(--text);
        font: inherit;
    }

    .calendar-source-form input:focus,
    .calendar-source-form select:focus {
        outline: 3px solid rgba(155, 92, 50, 0.16);
        border-color: var(--primary);
    }

.calendar-check {
    display: flex !important;
    align-items: center;
    gap: 0.55rem !important;
}

    .calendar-check input {
        width: 18px;
        height: 18px;
        accent-color: var(--primary);
    }

@media (max-width: 860px) {
    .admin-calendar-grid {
        grid-template-columns: 1fr;
    }
}

.admin-inquiry-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.admin-inquiry-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

    .admin-inquiry-header h2 {
        margin-bottom: 6px;
        font-size: 26px;
    }

    .admin-inquiry-header p {
        color: var(--muted);
    }

.admin-status-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.admin-inquiry-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

    .admin-inquiry-details p {
        padding: 14px;
        border-radius: 18px;
        background: var(--soft);
        color: var(--text);
    }

    .admin-inquiry-details strong {
        display: block;
        margin-bottom: 4px;
        color: var(--primary-dark);
    }

    .admin-inquiry-details small {
        display: block;
        margin-top: 3px;
        color: var(--muted);
        font-size: 12px;
        font-weight: 800;
    }

.admin-detail-badge {
    display: grid;
    align-content: start;
    gap: 4px;
}

.admin-inquiry-message {
    padding: 18px;
    border-radius: 20px;
    background: #f8f4ee;
}

    .admin-inquiry-message strong {
        display: block;
        margin-bottom: 8px;
        color: var(--primary-dark);
    }

    .admin-inquiry-message p {
        color: var(--muted);
    }

@media (max-width: 760px) {
    .admin-inquiry-header {
        flex-direction: column;
    }

    .admin-status-stack {
        justify-content: flex-start;
    }

    .admin-inquiry-details {
        grid-template-columns: 1fr;
    }
}
/* Mobile improvements only */

@media (max-width: 760px) {
    body {
        line-height: 1.55;
    }

    .container {
        width: min(100% - 24px, 1180px);
    }

    .site-header {
        position: sticky;
    }

    .nav {
        min-height: 72px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 15px;
    }

    .brand strong {
        font-size: 15px;
    }

    .brand small {
        font-size: 10px;
    }

    .nav-links {
        top: 76px;
    }

    .hero,
    .details-hero {
        padding-top: 42px;
        padding-bottom: 34px;
    }

    h1 {
        font-size: clamp(42px, 13vw, 58px);
        letter-spacing: -0.06em;
    }

    h2 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .hero-text {
        font-size: 16px;
        margin-bottom: 22px;
    }

    .hero-visual,
    .hero-visual img {
        min-height: 340px;
        height: 340px;
        border-radius: 28px;
    }

    .hero-visual {
        border-width: 8px;
    }

    .glass-card {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 14px;
        border-radius: 18px;
    }

    .hero-pills,
    .highlight-list {
        gap: 8px;
    }

        .hero-pills span,
        .highlight-list span {
            font-size: 13px;
            padding: 8px 11px;
        }

    .trust-strip {
        margin-top: 22px;
        gap: 10px;
    }

        .trust-strip div {
            padding: 16px;
            border-radius: 18px;
        }

    .section {
        padding: 54px 0;
    }

    .section-heading {
        margin-bottom: 24px;
    }

        .section-heading p:last-child {
            font-size: 16px;
        }

    .apartment-content {
        padding: 22px;
    }

    .card-title-row {
        flex-direction: column;
    }

    .apartment-content h3 {
        font-size: 26px;
    }

    .apartment-image,
    .apartment-image img {
        min-height: 280px;
        height: 280px;
    }

    .gallery {
        grid-auto-rows: 220px;
        gap: 12px;
    }

    .amenity-card,
    .info-card,
    .nearby-card {
        padding: 20px;
        border-radius: 22px;
    }

    .map-placeholder {
        min-height: 320px;
        border-radius: 22px;
    }

    .contact-grid {
        border-radius: 28px;
        gap: 22px;
    }

    .contact-form {
        padding: 18px;
        border-radius: 22px;
    }

        .contact-form input,
        .contact-form textarea {
            font-size: 16px;
        }

    .contact-buttons {
        gap: 10px;
    }

    .contact-button,
    .button {
        min-height: 52px;
        font-size: 15px;
    }

    .sticky-booking {
        display: flex;
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        transform: none;
        justify-content: space-between;
        border-radius: 22px;
    }

        .sticky-booking span {
            display: none;
        }

        .sticky-booking a {
            flex: 1;
            text-align: center;
        }

    .footer {
        padding-bottom: 92px;
    }

    .admin-page {
        padding: 42px 0;
    }

    .admin-card,
    .admin-inquiry-card,
    .admin-table-card,
    .admin-empty {
        border-radius: 22px;
    }
}
.language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid var(--border);
}

    .language-switcher a {
        padding: 0.42rem 0.55rem;
        border-radius: 999px;
        background: var(--soft);
        color: var(--primary-dark);
        font-size: 12px;
        font-weight: 950;
    }

        .language-switcher a:hover {
            background: var(--primary);
            color: #ffffff;
        }

@media (max-width: 760px) {
    .language-switcher {
        border-left: 0;
        margin-left: 0;
        padding-left: 0;
        justify-content: center;
    }
}
.map-embed {
    overflow: hidden;
    border-radius: 24px;
    background: var(--soft);
}

    .map-embed iframe {
        width: 100%;
        height: 360px;
        display: block;
        border: 0;
    }

.map-actions {
    display: grid;
    gap: 14px;
    padding: 18px 4px 4px;
}

    .map-actions p {
        color: var(--muted);
    }

    .map-actions strong {
        color: var(--primary-dark);
    }

@media (max-width: 760px) {
    .map-embed iframe {
        height: 300px;
    }
}
.booking-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 2rem;
    align-items: start;
}

    .booking-grid p {
        color: var(--muted);
    }

.booking-prices {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

    .booking-prices div {
        padding: 1.2rem;
        border: 1px solid var(--border);
        border-radius: 22px;
        background: #ffffff;
        box-shadow: var(--shadow-soft);
    }

    .booking-prices strong {
        display: block;
        color: var(--primary-dark);
        font-size: 2rem;
        line-height: 1;
    }

    .booking-prices span {
        display: block;
        margin-top: 0.45rem;
        color: var(--muted);
        font-weight: 800;
    }

.booking-form {
    display: grid;
    gap: 0.9rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

    .booking-form label {
        display: grid;
        gap: 0.4rem;
        color: #4a3d34;
        font-weight: 950;
    }

    .booking-form input,
    .booking-form select,
    .booking-form textarea {
        width: 100%;
        padding: 0.86rem 0.95rem;
        border: 1px solid var(--border);
        border-radius: 15px;
        background: #fff;
        color: var(--text);
        font: inherit;
        resize: vertical;
    }

        .booking-form input:focus,
        .booking-form select:focus,
        .booking-form textarea:focus {
            outline: 3px solid rgba(155, 92, 50, 0.16);
            border-color: var(--primary);
        }

@media (max-width: 900px) {
    .booking-grid {
        grid-template-columns: 1fr;
    }
}
.admin-badge.danger {
    color: #ffffff;
    background: var(--danger);
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 18px;
}

.admin-action-button {
    min-height: 42px;
    padding: 0.65rem 1rem;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 950;
    cursor: pointer;
    transition: 0.2s ease;
}

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

    .admin-action-button.confirm {
        background: var(--success);
    }

    .admin-action-button.cancel {
        background: var(--danger);
    }
.apartments-page-grid {
    grid-template-columns: 1fr;
}

    .apartments-page-grid .apartment-card {
        display: grid;
        grid-template-columns: 0.9fr 1fr;
    }

.map-embed {
    overflow: hidden;
    border-radius: 24px;
    background: var(--soft);
}

    .map-embed iframe {
        width: 100%;
        height: 360px;
        display: block;
        border: 0;
    }

.map-actions {
    display: grid;
    gap: 14px;
    padding: 18px 4px 4px;
}

    .map-actions p {
        color: var(--muted);
    }

    .map-actions strong {
        color: var(--primary-dark);
    }

@media (max-width: 900px) {
    .apartments-page-grid .apartment-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .map-embed iframe {
        height: 300px;
    }
}
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 1rem;
    align-items: stretch;
}

.about-card {
    padding: 1.55rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

    .about-card.large {
        grid-row: span 2;
    }

    .about-card p {
        color: var(--muted);
        margin-top: 0.8rem;
    }

.about-icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border-radius: 18px;
    background: var(--soft);
    font-size: 1.6rem;
}

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

    .about-card.large {
        grid-row: auto;
    }
}
.form-hint {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.booking-price-summary {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--soft);
}

.booking-price-placeholder {
    color: var(--muted);
    font-weight: 900;
}

.booking-price-breakdown {
    display: grid;
    gap: 0.65rem;
}

    .booking-price-breakdown[hidden],
    .booking-price-placeholder[hidden],
    .booking-price-breakdown div[hidden] {
        display: none;
    }

    .booking-price-breakdown div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        color: var(--muted);
    }

    .booking-price-breakdown strong {
        color: var(--text);
        white-space: nowrap;
    }

    .booking-price-total,
    .booking-price-now {
        padding-top: 0.65rem;
        border-top: 1px solid var(--border);
    }

        .booking-price-total strong,
        .booking-price-now strong {
            color: var(--primary-dark);
            font-size: 1.15rem;
        }

.payment-methods {
    display: grid;
    gap: 0.75rem;
}

    .payment-methods > strong {
        color: var(--text);
        font-weight: 950;
    }

.payment-option {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 0.8rem !important;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    cursor: pointer;
    transition: 0.2s ease;
}

    .payment-option:hover {
        border-color: var(--primary);
        background: var(--soft);
    }

    .payment-option input {
        width: 18px !important;
        height: 18px;
        accent-color: var(--primary);
    }

    .payment-option span {
        display: grid;
        gap: 0.15rem;
    }

    .payment-option b {
        color: var(--primary-dark);
    }

    .payment-option small {
        color: var(--muted);
        font-weight: 800;
    }
.clickable-main-image {
    display: block;
    width: 100%;
    padding: 0;
    border: 12px solid rgba(255, 255, 255, 0.72);
    text-align: left;
    cursor: zoom-in;
}

    .clickable-main-image img {
        transition: transform 0.28s ease;
    }

    .clickable-main-image:hover img {
        transform: scale(1.025);
    }
.language-switcher a.active {
    background: var(--primary);
    color: #ffffff;
}

.nav-inline-form {
    display: inline-flex;
}

.nav-link-button {
    border: 0;
    background: transparent;
    color: var(--primary-dark);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.account-shell {
    display: grid;
    justify-items: center;
}

.account-profile {
    display: grid;
    gap: 1.25rem;
}

.account-card {
    width: min(100%, 720px);
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

    .account-card label {
        display: grid;
        gap: 0.4rem;
        color: #4a3d34;
        font-weight: 950;
    }

    .account-card input {
        width: 100%;
        padding: 0.86rem 0.95rem;
        border: 1px solid var(--border);
        border-radius: 15px;
        background: #fff;
        color: var(--text);
        font: inherit;
    }

    .account-card input:focus {
        outline: 3px solid rgba(155, 92, 50, 0.16);
        border-color: var(--primary);
    }

    .account-card span[data-valmsg-for],
    .account-validation {
        color: var(--danger);
        font-weight: 800;
    }

.account-check {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 0.6rem !important;
}

    .account-check input {
        width: 18px;
        height: 18px;
        accent-color: var(--primary);
    }

.account-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

    .account-links a {
        color: var(--primary-dark);
        font-weight: 950;
    }

.account-message {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    font-weight: 900;
}

    .account-message.success {
        color: #ffffff;
        background: var(--success);
    }

    .account-message.error {
        color: #ffffff;
        background: var(--danger);
    }

.profile-details {
    display: grid;
    gap: 0.8rem;
}

    .profile-details p {
        padding: 1rem;
        border-radius: 18px;
        background: var(--soft);
    }

    .profile-details strong {
        display: block;
        color: var(--primary-dark);
    }

.profile-reservations,
.profile-booking-section,
.profile-bookings,
.profile-booking-card {
    display: grid;
    gap: 1rem;
}

.profile-reservations {
    width: min(100%, 980px);
}

    .profile-reservations h2,
    .profile-reservations h3 {
        margin: 0;
    }

.profile-empty {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    font-weight: 850;
}

.profile-bookings {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.profile-booking-card {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

    .profile-booking-card.inactive {
        opacity: 0.72;
        box-shadow: none;
    }

.profile-booking-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

    .profile-booking-card-header strong {
        display: block;
        color: var(--primary-dark);
        font-size: 1.05rem;
    }

    .profile-booking-card-header span {
        color: var(--muted);
        font-weight: 800;
    }

.profile-status-badge {
    flex: 0 0 auto;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 950;
}

    .profile-status-badge.success {
        color: #ffffff;
        background: var(--success);
    }

    .profile-status-badge.warning {
        color: #5d341d;
        background: #ffe8b3;
    }

    .profile-status-badge.neutral {
        color: #4a3d34;
        background: var(--soft);
    }

.profile-booking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
}

    .profile-booking-grid div {
        min-width: 0;
        padding: 0.75rem;
        border-radius: 14px;
        background: var(--soft);
    }

    .profile-booking-grid dt {
        color: var(--muted);
        font-size: 0.78rem;
        font-weight: 900;
    }

    .profile-booking-grid dd {
        margin: 0.18rem 0 0;
        color: var(--text);
        font-weight: 950;
        overflow-wrap: anywhere;
    }

@media (max-width: 640px) {
    .profile-booking-card-header {
        align-items: stretch;
        flex-direction: column;
    }

    .profile-booking-grid {
        grid-template-columns: 1fr;
    }
}
