:root {
    --ink: #1f2521;
    --muted: #6e746f;
    --paper: #f8f5ed;
    --white: #ffffff;
    --green: #24392f;
    --olive: #6f7f4e;
    --gold: #a47b2c;
    --clay: #c96f4a;
    --line: rgba(31, 37, 33, .12);
    --shadow: 0 18px 50px rgba(31, 37, 33, .12);
}

body {
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

.site-nav {
    background: rgba(248, 245, 237, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.navbar-brand span {
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nav-link {
    font-weight: 600;
}

.lang-switcher {
    display: flex;
    gap: 6px;
    padding-left: 8px;
}

.lang-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.lang-switcher a.active {
    background: var(--green);
    color: var(--white);
}

.btn {
    border-radius: 6px;
    font-weight: 700;
    padding: .78rem 1rem;
}

.btn i {
    margin-right: .45rem;
}

.btn-primary {
    background: var(--green);
    border-color: var(--green);
}

.btn-primary:hover {
    background: #17261f;
    border-color: #17261f;
}

.btn-outline-dark {
    border-color: rgba(31, 37, 33, .28);
}

.hero {
    padding: 58px 0 34px;
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: center;
}

.hero-copy {
    padding: clamp(28px, 4vw, 56px) 0 26px;
}

.kicker {
    color: var(--gold);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: .75rem;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    letter-spacing: 0;
}

.hero h1 {
    max-width: 780px;
    font-size: clamp(2.55rem, 6vw, 5.65rem);
    font-weight: 780;
    line-height: .94;
    margin-bottom: 1.2rem;
}

.hero-copy p:not(.kicker),
.section-heading p,
.work-band p,
.property-hero p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.8rem;
}

.hero-gallery {
    display: grid;
    grid-template-columns: 1.25fr .9fr;
    grid-template-rows: repeat(2, minmax(130px, 210px));
    gap: 10px;
}

.hero-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

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

.booking-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: clamp(20px, 3vw, 32px);
}

.booking-panel h2 {
    font-size: 1.45rem;
    font-weight: 800;
}

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

.form-control,
.form-select {
    border-color: rgba(31, 37, 33, .2);
    border-radius: 6px;
    padding: .78rem .85rem;
}

.form-label {
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: .35rem;
}

.section {
    padding: 78px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-heading h2,
.work-band h2,
.detail-block h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 780;
    line-height: 1;
}

.property-card {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(31, 37, 33, .08);
}

.property-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: #ebe6d9;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.property-image:hover img {
    transform: scale(1.04);
}

.image-pending img {
    object-fit: contain;
    padding: 28px;
    opacity: .74;
}

.image-pending span {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: rgba(255, 255, 255, .92);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: .78rem;
    font-weight: 700;
    text-align: center;
}

.property-body {
    padding: 20px;
}

.property-type {
    color: var(--gold);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
    margin-bottom: .5rem;
    text-transform: uppercase;
}

.property-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: .6rem;
}

.property-body p {
    color: var(--muted);
    min-height: 78px;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1rem 0;
}

.property-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 9px;
    background: #f0ede4;
    border-radius: 999px;
    font-weight: 700;
}

.property-meta.large span {
    background: rgba(255, 255, 255, .78);
}

.work-band {
    background: var(--green);
    color: var(--white);
    padding: 74px 0;
}

.work-band p {
    color: rgba(255, 255, 255, .76);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.feature-list span {
    display: flex;
    align-items: center;
    min-height: 54px;
    gap: 10px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 700;
}

.property-hero {
    padding: 64px 0;
    background: linear-gradient(180deg, #f3efe5 0%, var(--paper) 100%);
}

.property-hero h1 {
    font-size: clamp(2.55rem, 6vw, 5rem);
    font-weight: 780;
    line-height: .96;
}

.property-main-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.image-pending-main {
    object-fit: contain;
    background: #ebe6d9;
    padding: 40px;
}

.image-note {
    margin-top: 10px;
    color: var(--muted);
    font-weight: 700;
}

.detail-block {
    padding: 0 0 34px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 34px;
}

.detail-block h2 {
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    margin-bottom: 18px;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-list span {
    border: 1px solid rgba(31, 37, 33, .2);
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--white);
    font-weight: 700;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.amenity-grid li {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    font-weight: 700;
}

.amenity-grid i {
    color: var(--olive);
    margin-right: 8px;
}

.property-booking {
    top: 98px;
}

.result-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.result-box,
.admin-login {
    max-width: 620px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 42px);
}

.result-box > i {
    color: var(--olive);
    font-size: 3rem;
}

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

.admin-table {
    background: var(--white);
}

.legal-page .container {
    max-width: 860px;
}

.site-footer {
    background: #ebe6d9;
    border-top: 1px solid var(--line);
    padding: 52px 0;
}

.site-footer h2 {
    font-size: 1rem;
    font-weight: 800;
}

.site-footer a {
    display: block;
    color: var(--ink);
    margin-bottom: 6px;
}

.footer-logo {
    width: 150px;
    height: auto;
    mix-blend-mode: multiply;
}

@media (max-width: 991.98px) {
    .hero {
        padding-top: 34px;
    }

    .booking-panel {
        box-shadow: 0 12px 28px rgba(31, 37, 33, .1);
    }
}

@media (max-width: 767.98px) {
    .hero-gallery,
    .feature-list,
    .amenity-grid {
        grid-template-columns: 1fr;
    }

    .hero-gallery {
        grid-template-rows: repeat(3, 180px);
    }

    .hero-gallery img:first-child {
        grid-row: auto;
    }

    .section {
        padding: 54px 0;
    }

    .property-body p {
        min-height: auto;
    }
}
