:root {
    --paper: #fbfaf6;
    --surface: #ffffff;
    --mist: #eef3ef;
    --sage: #6f826c;
    --deep: #202823;
    --muted: #6d746f;
    --line: #e2ded4;
    --brass: #b98b4b;
    --clay: #9a6654;
    --danger: #b84b4b;
    --shadow: 0 18px 50px rgba(32, 40, 35, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--deep);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
    padding: 14px 20px;
    background: rgba(251, 250, 246, 0.88);
    border-bottom: 1px solid rgba(226, 222, 212, 0.8);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 750;
    letter-spacing: 0;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 14px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.main-nav.is-open {
    display: flex;
}

.main-nav a {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 650;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--deep);
    background: var(--mist);
}

.main-nav .nav-whatsapp {
    color: #fff;
    background: #1f7a53;
}

.nav-toggle {
    display: inline-grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--deep);
}

.hero-slider {
    position: relative;
    min-height: 78vh;
    overflow: hidden;
    background: var(--deep);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: end;
    min-height: 78vh;
    padding: 92px 0 72px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 600ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 25, 22, 0.76), rgba(20, 25, 22, 0.42), rgba(20, 25, 22, 0.18)),
        var(--hero-image) center / cover no-repeat;
}

.hero-content {
    position: relative;
    width: min(840px, calc(100% - 32px));
    margin-inline: auto;
    color: #fff;
}

.hero-content h1,
.page-hero h1,
.room-detail-hero h1 {
    margin: 12px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 10vw, 92px);
    line-height: 0.95;
    letter-spacing: 0;
}

.hero-content p {
    width: min(620px, 100%);
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
}

.eyebrow,
.section-kicker {
    display: inline-block;
    color: var(--brass);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 34px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.44);
}

.hero-dots button.is-active {
    background: #fff;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 750;
    line-height: 1.15;
    text-align: center;
}

.button.primary {
    color: #fff;
    background: var(--deep);
}

.button.secondary {
    color: var(--deep);
    background: var(--surface);
    border-color: var(--line);
}

.button.ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
}

.button.danger {
    color: #fff;
    background: var(--danger);
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.intro-band {
    padding: 48px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.intro-layout,
.split-section,
.map-layout,
.detail-layout {
    display: grid;
    gap: 28px;
}

.intro-layout h2,
.section h2,
.content-block h2,
.feature-panel h2,
.admin-panel h2,
.admin-form h2 {
    margin: 8px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 6vw, 46px);
    line-height: 1.08;
    letter-spacing: 0;
}

.intro-layout p,
.section p {
    color: var(--muted);
}

.feature-list {
    display: grid;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--mist);
    border: 1px solid rgba(111, 130, 108, 0.18);
    border-radius: 8px;
}

.feature-item span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--brass);
}

.section {
    padding: 72px 0;
}

.section.muted {
    background: var(--mist);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: var(--clay);
    font-weight: 800;
}

.room-grid {
    display: grid;
    gap: 20px;
}

.room-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.room-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.room-card div {
    padding: 20px;
}

.room-card h2,
.room-card h3 {
    margin: 0 0 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    line-height: 1.1;
}

.room-card p {
    margin: 0 0 14px;
}

.chip-list,
.feature-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0 0 16px;
    list-style: none;
}

.chip-list li,
.feature-checks li {
    padding: 7px 10px;
    color: var(--deep);
    background: var(--mist);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.gallery-preview,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gallery-tile {
    position: relative;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: var(--deep);
    cursor: zoom-in;
}

.gallery-tile img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    opacity: 0.88;
    transition: transform 220ms ease, opacity 220ms ease;
}

.gallery-tile:hover img {
    opacity: 1;
    transform: scale(1.04);
}

.gallery-tile span {
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 5px 9px;
    overflow-wrap: break-word;
    color: #fff;
    background: rgba(32, 40, 35, 0.72);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 750;
}

.video-frame,
.map-frame {
    overflow: hidden;
    min-height: 280px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.video-frame iframe,
.video-frame video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.map-frame iframe {
    display: block;
    min-height: 320px;
}

.page-hero,
.room-detail-hero {
    position: relative;
    padding: 84px 0 52px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.page-hero.compact h1,
.room-detail-hero h1 {
    font-size: clamp(40px, 9vw, 76px);
}

.page-hero p,
.room-detail-hero p {
    width: min(680px, 100%);
    margin: 0;
    color: var(--muted);
}

.room-detail-hero {
    min-height: 62vh;
    display: grid;
    align-items: end;
    color: #fff;
    background: var(--deep);
}

.room-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 25, 22, 0.78), rgba(20, 25, 22, 0.38)),
        var(--hero-image) center / cover no-repeat;
}

.room-detail-hero .container {
    position: relative;
}

.room-detail-hero p {
    color: rgba(255, 255, 255, 0.86);
}

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

.content-block,
.feature-panel,
.contact-card,
.legal-content {
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.content-block p,
.legal-content p {
    margin-top: 0;
    color: var(--muted);
}

.feature-panel {
    align-self: start;
}

.feature-checks {
    display: grid;
    gap: 10px;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    padding-bottom: 20px;
    overflow-x: auto;
}

.filter-tabs button {
    flex: 0 0 auto;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
    font-weight: 750;
}

.filter-tabs button.is-active {
    color: #fff;
    background: var(--deep);
    border-color: var(--deep);
}

.contact-grid {
    display: grid;
    gap: 14px;
}

.contact-card span {
    display: block;
    color: var(--brass);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-card strong,
.contact-card a {
    display: block;
    margin-top: 8px;
    font-size: 20px;
    line-height: 1.35;
}

.legal-content {
    max-width: 880px;
}

.legal-content h2 {
    margin: 28px 0 8px;
    font-size: 26px;
}

.site-footer {
    padding: 48px 20px 24px;
    color: #e9eee9;
    background: var(--deep);
}

.footer-grid {
    display: grid;
    width: min(1120px, 100%);
    margin: 0 auto;
    gap: 28px;
}

.footer-grid h2 {
    margin: 0 0 10px;
    font-size: 14px;
    text-transform: uppercase;
}

.footer-grid p {
    margin: 10px 0;
    color: rgba(233, 238, 233, 0.76);
}

.footer-grid a {
    display: block;
    color: rgba(233, 238, 233, 0.82);
    margin: 7px 0;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    width: min(1120px, 100%);
    margin: 36px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(233, 238, 233, 0.18);
    color: rgba(233, 238, 233, 0.72);
    font-size: 14px;
}

.floating-whatsapp {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 35;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
    color: #fff;
    background: #1f7a53;
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-weight: 800;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(18, 22, 20, 0.88);
}

.lightbox[hidden] {
    display: none;
}

.lightbox-inner {
    width: min(1020px, 100%);
}

.lightbox img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    background: #111;
    border-radius: 8px;
}

.lightbox-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    color: #fff;
}

.lightbox-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.login-body {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(120deg, rgba(32, 40, 35, 0.72), rgba(111, 130, 108, 0.22)),
        url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}

.login-card,
.install-card {
    width: min(460px, 100%);
    padding: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.login-card h1,
.install-card h1 {
    margin: 8px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    line-height: 1;
}

.admin-body {
    display: grid;
    min-height: 100vh;
    background: #f4f5f1;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--deep);
    color: #fff;
}

.admin-logo {
    font-weight: 850;
}

.admin-sidebar nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
}

.admin-sidebar nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    font-weight: 750;
}

.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.admin-shell {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    padding: 20px 0 34px;
}

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

.admin-topbar span {
    color: var(--brass);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
}

.admin-topbar h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1;
}

.admin-stats {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.admin-stats article,
.admin-panel,
.admin-form,
.seo-row {
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(32, 40, 35, 0.06);
}

.admin-stats span {
    display: block;
    color: var(--muted);
    font-weight: 750;
}

.admin-stats strong {
    display: block;
    margin-top: 8px;
    font-size: 32px;
}

.admin-panel,
.admin-form {
    margin-bottom: 18px;
}

.admin-link-grid {
    display: grid;
    gap: 10px;
}

.admin-link-grid a {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--mist);
    font-weight: 750;
}

.form-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
}

.form-grid.one {
    grid-template-columns: 1fr;
}

label {
    display: grid;
    gap: 7px;
    color: var(--deep);
    font-weight: 750;
}

input,
textarea,
select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--deep);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(111, 130, 108, 0.16);
}

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-row input {
    width: 18px;
    min-height: 18px;
}

.full {
    grid-column: 1 / -1;
}

.admin-table {
    display: grid;
    gap: 10px;
}

.admin-row {
    display: grid;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fbfaf6;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.admin-row img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}

.admin-row span {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

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

.thumb-grid form {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfaf6;
}

.thumb-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

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

.seo-list {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
}

.seo-row {
    display: grid;
    gap: 12px;
}

.seo-row h2 {
    margin: 0;
    font-size: 24px;
}

.alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 750;
}

.alert.success {
    color: #194d35;
    background: #dff3e8;
    border: 1px solid #bfe4d0;
}

.alert.error {
    color: #7d2525;
    background: #f7dddd;
    border: 1px solid #edb9b9;
}

.muted-text {
    color: var(--muted);
    font-size: 14px;
}

.admin-footer {
    padding: 12px 0;
    color: var(--muted);
    font-size: 14px;
}

@media (min-width: 700px) {
    .gallery-preview,
    .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .room-grid.expanded {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-block.wide {
        grid-column: 1 / -1;
    }

    .contact-grid,
    .admin-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-row {
        grid-template-columns: 140px 1fr auto auto;
    }

    .admin-table.compact .admin-row {
        grid-template-columns: 1fr auto auto;
    }

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

    .admin-two-col {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

@media (min-width: 920px) {
    .site-header {
        padding-inline: 32px;
    }

    .nav-toggle {
        display: none;
    }

    .main-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .main-nav a {
        padding: 9px 10px;
    }

    .intro-layout,
    .split-section,
    .map-layout,
    .detail-layout {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .detail-layout {
        grid-template-columns: minmax(0, 1fr) 360px;
        align-items: start;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    }

    .admin-body {
        grid-template-columns: 240px 1fr;
    }

    .admin-sidebar {
        align-items: stretch;
        justify-content: start;
        flex-direction: column;
        min-height: 100vh;
        padding: 22px 16px;
    }

    .admin-sidebar nav {
        flex-direction: column;
        overflow: visible;
    }

    .admin-shell {
        padding: 28px 0 44px;
    }
}

@media (max-width: 520px) {
    .section-head {
        align-items: start;
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .button {
        width: 100%;
    }

    .floating-whatsapp {
        left: 16px;
        right: 16px;
    }
}
