:root {
    --dr-forest: #1f5c45;
    --dr-forest-dark: #163d2f;
    --dr-forest-soft: #e8f3ee;
    --dr-amber: #c86b2b;
    --dr-amber-hover: #a8551f;
    --dr-sand: #f3efe6;
    --dr-ink: #1c2421;
    --dr-muted: #5c6b64;
    --dr-card: #ffffff;
    --dr-radius: 1rem;
}

* { box-sizing: border-box; }

html {
    overflow-x: hidden;
}

body {
    font-family: "Source Sans 3", system-ui, sans-serif;
    color: var(--dr-ink);
    background:
        radial-gradient(circle at top right, rgba(200, 107, 43, 0.08), transparent 35%),
        linear-gradient(180deg, #f7f4ee 0%, #eef4f0 45%, #f7f4ee 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.font-display,
.brand-mark,
h1, h2, h3,
.hero-title {
    font-family: "Fraunces", Georgia, serif;
}

a { color: var(--dr-forest); }
a:hover { color: var(--dr-forest-dark); }

.main-content {
    padding-bottom: 5.5rem;
    min-height: 70vh;
}

@media (min-width: 992px) {
    .main-content { padding-bottom: 2rem; }
}

/* Navbar */
.site-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(31, 92, 69, 0.08);
}

.brand-mark {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dr-forest) !important;
    letter-spacing: -0.02em;
}

.brand-mark span { color: var(--dr-amber); }

.nav-link-custom {
    font-weight: 600;
    color: var(--dr-ink) !important;
}

.btn-forest {
    background: var(--dr-forest);
    border-color: var(--dr-forest);
    color: #fff;
}
.btn-forest:hover, .btn-forest:focus {
    background: var(--dr-forest-dark);
    border-color: var(--dr-forest-dark);
    color: #fff;
}

.btn-amber {
    background: var(--dr-amber);
    border-color: var(--dr-amber);
    color: #fff;
}
.btn-amber:hover, .btn-amber:focus {
    background: var(--dr-amber-hover);
    border-color: var(--dr-amber-hover);
    color: #fff;
}

.btn-outline-forest {
    color: var(--dr-forest);
    border-color: var(--dr-forest);
}
.btn-outline-forest:hover {
    background: var(--dr-forest);
    color: #fff;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(22, 61, 47, 0.88), rgba(31, 92, 69, 0.72)),
        url("https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=1600&q=80") center/cover;
    color: #fff;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-inner {
    width: 100%;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.85;
    margin: 0;
}

.hero-title {
    font-size: clamp(2.1rem, 9vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    animation: riseIn 0.7s ease both;
    word-break: break-word;
}

.hero-sub {
    font-size: clamp(0.98rem, 2.6vw, 1.1rem);
    opacity: 0.92;
    max-width: 34rem;
    line-height: 1.5;
    animation: riseIn 0.8s ease 0.1s both;
}

.hero-search {
    background: rgba(255,255,255,0.96);
    border-radius: var(--dr-radius);
    padding: 1rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    animation: riseIn 0.9s ease 0.15s both;
    color: var(--dr-ink);
}

.form-select-hero,
.form-control-hero {
    min-height: 2.85rem;
    font-size: 1rem;
    border-radius: 0.75rem;
}

.hero-search-btn {
    min-height: 2.95rem;
    font-weight: 700;
    border-radius: 0.75rem;
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 576px) {
    .hero-inner {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
    }

    .hero-search {
        padding: 1.15rem 1.25rem;
    }
}

@media (min-width: 768px) {
    .hero {
        min-height: 58vh;
    }

    .hero-inner {
        padding-top: 2.75rem;
        padding-bottom: 2.75rem;
    }
}

@media (min-width: 992px) {
    .hero {
        min-height: 72vh;
    }

    .hero-inner {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .hero-kicker {
        font-size: 0.78rem;
    }
}

/* Room cards */
.room-card {
    background: var(--dr-card);
    border: 0;
    border-radius: var(--dr-radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(28, 36, 33, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(28, 36, 33, 0.12);
}

.room-card img {
    height: 190px;
    object-fit: cover;
    width: 100%;
}

.price-tag {
    color: var(--dr-amber);
    font-weight: 700;
    font-size: 1.05rem;
}

.badge-soft {
    background: var(--dr-forest-soft);
    color: var(--dr-forest);
    font-weight: 600;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
}

/* Auth */
.page-auth .main-content {
    min-height: calc(100vh - 72px);
    display: flex;
    flex-direction: column;
    padding-bottom: 5.5rem;
}

@media (min-width: 992px) {
    .page-auth .main-content {
        padding-bottom: 0;
    }
    .page-auth .footer-site {
        display: none !important;
    }
}

.auth-shell {
    flex: 1;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-panel {
    width: 100%;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 24px 60px rgba(28, 36, 33, 0.1);
    overflow: hidden;
}

.auth-panel--split {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .auth-panel--split {
        grid-template-columns: minmax(240px, 0.95fr) 1.15fr;
        min-height: 480px;
    }
}

.auth-aside {
    position: relative;
    background:
        linear-gradient(165deg, rgba(22, 61, 47, 0.94) 0%, rgba(31, 92, 69, 0.88) 45%, rgba(168, 85, 31, 0.9) 100%),
        url("https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?auto=format&fit=crop&w=900&q=80") center/cover;
    color: #fff;
    min-height: 180px;
    display: flex;
    align-items: flex-end;
}

.auth-aside-inner {
    padding: 1.5rem 1.5rem 1.75rem;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 70%);
}

@media (min-width: 768px) {
    .auth-aside {
        min-height: 100%;
        align-items: flex-end;
    }
    .auth-aside-inner {
        padding: 2rem;
    }
}

.auth-kicker {
    font-family: "Fraunces", Georgia, serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.auth-aside-title {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.auth-aside-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.92;
    max-width: 16rem;
}

.auth-form-pane {
    padding: 1.75rem 1.35rem 1.75rem;
}

@media (min-width: 768px) {
    .auth-form-pane {
        padding: 2.5rem 2.25rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.auth-form-title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.auth-form-sub {
    color: var(--dr-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.auth-form .auth-field {
    margin-bottom: 1.15rem;
}

.auth-form .auth-field--row {
    margin-bottom: 1.35rem;
}

.auth-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--dr-ink);
}

.form-control-auth {
    min-height: 2.85rem;
    padding: 0.65rem 0.9rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(28, 36, 33, 0.14);
    background: #fafaf8;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-control-auth:focus {
    background: #fff;
    border-color: var(--dr-forest);
    box-shadow: 0 0 0 0.2rem rgba(31, 92, 69, 0.14);
}

.btn-auth {
    min-height: 2.85rem;
    border-radius: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.auth-links {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(28, 36, 33, 0.08);
}

.auth-links p {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--dr-muted);
}

.auth-links p:last-child {
    margin-bottom: 0;
}

.auth-links a {
    font-weight: 600;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Legacy auth-card kept for register pages until updated */
.auth-card {
    background: #fff;
    border-radius: calc(var(--dr-radius) + 0.25rem);
    box-shadow: 0 20px 50px rgba(28, 36, 33, 0.08);
    overflow: hidden;
}

/* Dashboard */
.dash-sidebar {
    background: #fff;
    border-radius: var(--dr-radius);
    box-shadow: 0 8px 24px rgba(28, 36, 33, 0.06);
    padding: 1rem;
}

.dash-sidebar .nav-link {
    border-radius: 0.65rem;
    color: var(--dr-ink);
    font-weight: 600;
    padding: 0.65rem 0.85rem;
}

.dash-sidebar .nav-link.active,
.dash-sidebar .nav-link:hover {
    background: var(--dr-forest-soft);
    color: var(--dr-forest);
}

.stat-card {
    background: #fff;
    border-radius: var(--dr-radius);
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(28, 36, 33, 0.06);
    border-left: 4px solid var(--dr-forest);
}

.stat-card.amber { border-left-color: var(--dr-amber); }

/* Mobile bottom nav */
.mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(31, 92, 69, 0.1);
    padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom));
}

.mobile-bottom-nav a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: var(--dr-muted);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.35rem 0.15rem;
}

.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover {
    color: var(--dr-forest);
}

.mobile-bottom-nav i {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
}

@media (min-width: 992px) {
    .mobile-bottom-nav { display: none !important; }
}

/* Filters offcanvas */
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--dr-forest-soft);
    color: var(--dr-forest);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.gallery-thumb {
    width: 72px;
    height: 56px;
    object-fit: cover;
    border-radius: 0.5rem;
    cursor: pointer;
    opacity: 0.7;
    border: 2px solid transparent;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    opacity: 1;
    border-color: var(--dr-forest);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--dr-forest);
    box-shadow: 0 0 0 0.2rem rgba(31, 92, 69, 0.15);
}

.table thead th {
    background: var(--dr-forest-soft);
    color: var(--dr-forest-dark);
    font-weight: 700;
    border: 0;
}

.footer-site {
    background: var(--dr-forest-dark);
    color: rgba(255,255,255,0.85);
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-site a { color: #fff; text-decoration: none; }
.footer-site a:hover { color: #f0c39a; }

/* Browse rooms page */
.page-browse {
    overflow-x: hidden;
}

.browse-hero {
    background:
        linear-gradient(135deg, rgba(232, 243, 238, 0.95), rgba(247, 244, 238, 0.9)),
        radial-gradient(circle at top right, rgba(200, 107, 43, 0.12), transparent 40%);
    border-bottom: 1px solid rgba(31, 92, 69, 0.08);
}

.browse-hero-inner {
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
}

.browse-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--dr-muted);
}

.browse-title {
    font-size: clamp(1.75rem, 7vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--dr-ink);
    animation: riseIn 0.55s ease both;
    line-height: 1.15;
}

.browse-sub {
    color: #5a635f;
    max-width: 32rem;
    font-size: 0.95rem;
    line-height: 1.5;
    animation: riseIn 0.65s ease 0.05s both;
}

.browse-search {
    animation: riseIn 0.7s ease 0.08s both;
}

.browse-search-row {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.browse-search-field {
    position: relative;
    flex: 1;
}

.browse-search-field i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dr-muted);
    pointer-events: none;
}

.browse-search-field .form-control {
    min-height: 2.85rem;
    padding-left: 2.35rem;
    border-radius: 0.75rem;
    font-size: 1rem;
}

.browse-search-btn {
    min-height: 2.85rem;
    border-radius: 0.75rem;
    font-weight: 700;
    width: 100%;
}

.browse-localities {
    margin-top: 1.15rem;
    animation: riseIn 0.75s ease 0.12s both;
}

.browse-localities-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dr-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.browse-localities-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    margin-inline: -0.15rem;
    padding-inline: 0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.browse-loc-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(31, 92, 69, 0.12);
    color: var(--dr-ink);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.browse-loc-chip span {
    color: var(--dr-muted);
    font-weight: 500;
    font-size: 0.78rem;
}

.browse-loc-chip:hover,
.browse-loc-chip.active {
    background: var(--dr-forest-soft);
    border-color: rgba(31, 92, 69, 0.25);
    color: var(--dr-forest);
}

.browse-loc-chip.active span {
    color: var(--dr-forest);
}

.browse-body {
    padding-top: 1.15rem;
    padding-bottom: 2rem;
}

.browse-results-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.browse-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    font-weight: 700;
}

.browse-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #fff;
    color: var(--dr-forest);
    font-size: 0.7rem;
    font-weight: 700;
}

.browse-active-filters {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    margin-bottom: 0.85rem;
    -webkit-overflow-scrolling: touch;
}

.browse-active-filters .filter-chip {
    flex-shrink: 0;
    white-space: nowrap;
}

.browse-active-filters .filter-chip i {
    font-size: 0.7rem;
}

.browse-clear-link {
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.browse-filters {
    background: #fff;
    border-radius: var(--dr-radius);
    box-shadow: 0 8px 24px rgba(28, 36, 33, 0.06);
    padding: 1.15rem;
    position: sticky;
    top: 5rem;
}

.browse-type-toggle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
}

.browse-type-toggle label {
    position: relative;
    display: block;
    text-align: center;
    margin: 0;
    cursor: pointer;
}

.browse-type-toggle input {
    position: absolute;
    opacity: 0;
    inset: 0;
    margin: 0;
    cursor: pointer;
}

.browse-type-toggle span {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.55rem 0.25rem;
    border-radius: 0.55rem;
    border: 2px solid rgba(28, 36, 33, 0.14);
    background: #fff;
    color: var(--dr-muted);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.browse-type-toggle label:hover span {
    border-color: rgba(31, 92, 69, 0.35);
    color: var(--dr-forest);
}

.browse-type-toggle label:has(input:checked) span,
.browse-type-toggle label.is-selected span {
    background: var(--dr-forest);
    border-color: var(--dr-forest);
    color: #fff;
    box-shadow: 0 4px 12px rgba(31, 92, 69, 0.25);
}

.browse-amenities {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-height: 180px;
    overflow-y: auto;
}

.browse-amenity-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin: 0;
    cursor: pointer;
    min-height: 1.75rem;
}

.browse-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(31, 92, 69, 0.08);
    border-radius: 0.85rem;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.85rem;
}

.browse-sort-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
}

.browse-sort-form .form-select {
    min-width: 0;
    flex: 1 1 10rem;
    max-width: 16rem;
    min-height: 2.35rem;
}

.browse-page-meta {
    white-space: nowrap;
}

.browse-empty {
    background: #fff;
    border-radius: var(--dr-radius);
    padding: 2rem 1.25rem;
    box-shadow: 0 8px 24px rgba(28, 36, 33, 0.06);
}

.browse-pagination {
    padding-bottom: 0.5rem;
}

.browse-pagination .pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
}

.browse-offcanvas {
    --bs-offcanvas-width: min(380px, 100vw);
}

@media (max-width: 575.98px) {
    .browse-offcanvas {
        --bs-offcanvas-width: 100vw;
    }
}

.browse-offcanvas .browse-filters {
    box-shadow: none;
    padding: 0;
    position: static;
}

.browse-offcanvas .form-control,
.browse-offcanvas .form-select {
    min-height: 2.65rem;
    font-size: 1rem;
}

.browse-offcanvas .btn-forest {
    min-height: 2.85rem;
    font-weight: 700;
}

.browse-card-col {
    animation: riseIn 0.45s ease both;
}

.browse-card-col:nth-child(2) { animation-delay: 0.05s; }
.browse-card-col:nth-child(3) { animation-delay: 0.1s; }
.browse-card-col:nth-child(4) { animation-delay: 0.12s; }
.browse-card-col:nth-child(5) { animation-delay: 0.14s; }
.browse-card-col:nth-child(6) { animation-delay: 0.16s; }

@media (min-width: 576px) {
    .browse-hero-inner {
        padding-top: 1.75rem;
        padding-bottom: 1.75rem;
    }

    .browse-search-row {
        flex-direction: row;
        align-items: stretch;
    }

    .browse-search-btn {
        width: auto;
        padding-inline: 1.25rem;
        flex-shrink: 0;
    }

    .browse-body {
        padding-top: 1.5rem;
        padding-bottom: 2.5rem;
    }

    .browse-localities-track {
        flex-wrap: wrap;
        overflow: visible;
    }
}

@media (min-width: 768px) {
    .browse-hero-inner {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
    }

    .browse-sub {
        font-size: 1rem;
    }

    .browse-toolbar {
        padding: 0.75rem 1rem;
        flex-wrap: nowrap;
    }

    .browse-sort-form .form-select {
        max-width: 14rem;
    }

    .browse-empty {
        padding: 2.5rem 1.5rem;
    }

    .page-browse .room-card img {
        height: 180px;
    }

    .page-browse .room-card .card-body {
        padding: 0.9rem 1rem;
    }
}

@media (min-width: 992px) {
    .browse-hero-inner {
        padding-top: 2.75rem;
        padding-bottom: 2.75rem;
    }

    .browse-body {
        padding-top: 1.75rem;
        padding-bottom: 3rem;
    }

    .browse-localities {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        margin-top: 1.5rem;
    }

    .browse-localities-label {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 575.98px) {
    .page-browse .room-card img {
        height: 210px;
    }

    .browse-type-toggle span {
        font-size: 0.72rem;
        padding: 0.6rem 0.15rem;
    }
}

body.page-browse .main-content {
    padding-bottom: 5.75rem;
}

@supports (padding: max(0px)) {
    body.page-browse .main-content {
        padding-bottom: calc(5.75rem + env(safe-area-inset-bottom));
    }
}

@media (min-width: 992px) {
    body.page-browse .main-content {
        padding-bottom: 2rem;
    }
}

@media (hover: none) {
    .page-browse .room-card:hover {
        transform: none;
        box-shadow: 0 8px 24px rgba(28, 36, 33, 0.06);
    }
}

.room-card-media {
    position: relative;
}

.room-card-badge {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    background: var(--dr-amber);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.room-card-type {
    position: absolute;
    bottom: 0.65rem;
    left: 0.65rem;
    background: rgba(255,255,255,0.94);
    color: var(--dr-forest);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

.room-card-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.room-card-amenities span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dr-muted);
    background: #f3f5f4;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}

/* Homepage responsive */
.page-home {
    overflow-x: hidden;
}

.home-section {
    padding-top: 2rem;
    padding-bottom: 0.5rem;
}

.home-section--last {
    padding-bottom: 2rem;
}

.home-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 1.15rem;
}

.home-section-sub {
    font-size: 0.92rem;
}

.home-section-cta {
    flex-shrink: 0;
}

.home-cta {
    background: linear-gradient(135deg, #1f5c45, #163d2f);
    color: #fff;
    border-radius: calc(var(--dr-radius) + 0.15rem);
    padding: 1.35rem 1.15rem;
    box-shadow: 0 16px 40px rgba(22, 61, 47, 0.2);
}

.home-cta .section-title {
    font-size: clamp(1.35rem, 4vw, 2rem);
}

.home-cta-text {
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.5;
}

.home-cta-actions {
    text-align: stretch;
}

.home-cta-btn {
    width: 100%;
}

@media (min-width: 576px) {
    .home-section {
        padding-top: 2.5rem;
    }

    .home-cta {
        padding: 1.75rem 1.5rem;
    }
}

@media (min-width: 768px) {
    .home-section {
        padding-top: 3rem;
    }

    .home-section--last {
        padding-bottom: 3rem;
    }

    .home-section-head {
        margin-bottom: 1.5rem;
    }

    .home-cta {
        padding: 2.25rem 2rem;
    }

    .home-cta-actions {
        text-align: end;
    }

    .home-cta-btn {
        width: auto;
        min-width: 12rem;
    }

    .room-card img {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .page-home .room-card img {
        height: 200px;
    }

    .page-home .section-title {
        font-size: 1.45rem;
    }

    .site-navbar .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .brand-mark {
        font-size: 1.2rem;
    }
}

/* Navbar mobile/tablet */
.site-navbar .navbar-toggler {
    border-color: rgba(31, 92, 69, 0.2);
    padding: 0.35rem 0.5rem;
}

.site-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(31, 92, 69, 0.15);
}

.site-navbar .navbar-collapse {
    margin-top: 0.5rem;
}

@media (max-width: 991.98px) {
    .site-navbar .navbar-collapse {
        background: #fff;
        border: 1px solid rgba(31, 92, 69, 0.08);
        border-radius: 0.85rem;
        padding: 0.75rem;
        box-shadow: 0 12px 28px rgba(28, 36, 33, 0.08);
        margin-bottom: 0.35rem;
    }

    .site-navbar .navbar-nav {
        margin-bottom: 0.75rem !important;
    }

    .site-navbar .nav-link-custom {
        padding: 0.65rem 0.75rem;
        border-radius: 0.55rem;
    }

    .site-navbar .nav-link-custom:hover {
        background: var(--dr-forest-soft);
    }

    .site-navbar .d-flex.align-items-center {
        width: 100%;
        flex-wrap: wrap;
    }

    .site-navbar .d-flex.align-items-center .btn {
        flex: 1 1 auto;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .page-home .hero {
        min-height: 52vh;
    }

    .page-home .home-section {
        padding-top: 2.75rem;
    }

    .page-home .room-card img {
        height: 180px;
    }
}

/* Safe area for notched phones + bottom nav */
@supports (padding: max(0px)) {
    .mobile-bottom-nav {
        padding-bottom: max(0.35rem, env(safe-area-inset-bottom));
    }

    .page-home .main-content,
    body.page-home .main-content {
        padding-bottom: calc(5.75rem + env(safe-area-inset-bottom));
    }
}

@media (min-width: 992px) {
    body.page-home .main-content {
        padding-bottom: 2rem;
    }
}
