:root {
    --brand: #114b5f;
    --brand-2: #1a936f;
    --ink: #17212b;
    --muted: #607080;
    --line: #dbe3ea;
    --soft: #f4f7f6;
    --paper: #ffffff;
}

body {
    background: var(--soft);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

.bg-brand {
    background: var(--brand);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
}

.brand-lockup img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, .95);
    padding: 3px;
}

.hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(17, 75, 95, .92), rgba(17, 75, 95, .54)),
        url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1800&q=80") center/cover;
    color: #fff;
}

.hero-content {
    max-width: 680px;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1;
    margin: 0 0 1rem;
}

.hero p {
    font-size: 1.15rem;
    max-width: 620px;
}

.eyebrow {
    color: var(--brand-2);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: .35rem;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #9be2c9;
}

.home-hero {
    position: relative;
    min-height: 680px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.home-hero-media {
    position: absolute;
    inset: 0;
}

.home-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 45, 58, .92), rgba(13, 45, 58, .58), rgba(13, 45, 58, .2));
}

.home-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 2rem;
    align-items: end;
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.home-hero-copy {
    max-width: 760px;
}

.home-hero-copy .eyebrow {
    color: #9be2c9;
}

.home-hero-copy h1 {
    font-size: clamp(3rem, 7vw, 6.4rem);
    font-weight: 800;
    line-height: .92;
    margin-bottom: 1rem;
}

.home-hero-copy p {
    max-width: 680px;
    font-size: 1.16rem;
}

.home-booking-panel {
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 24px 48px rgba(9, 22, 28, .24);
}

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

.home-intro {
    background: #fbf7f0;
    padding: 3rem 0;
}

.home-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: start;
}

.home-intro h2,
.home-experience-copy h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
}

.home-intro p {
    color: var(--muted);
    font-size: 1.08rem;
}

.home-room-section,
.home-services-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.split-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

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

.home-room-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(23, 33, 43, .08);
}

.home-room-card > img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.home-room-card > div {
    padding: 1.1rem;
}

.home-room-card h3,
.home-service-card h3 {
    font-weight: 800;
    font-size: 1.25rem;
}

.home-room-card p,
.home-service-card p {
    color: var(--muted);
}

.home-experience-band {
    background: var(--brand);
    color: #fff;
    padding: 4rem 0;
}

.home-experience-band .eyebrow {
    color: #9be2c9;
}

.home-experience-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
}

.home-experience-copy p {
    color: #d8ece6;
    font-size: 1.06rem;
}

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

.home-feature-list div,
.home-service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
}

.home-feature-list div {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .18);
}

.home-feature-list strong,
.home-feature-list span {
    display: block;
}

.home-feature-list span {
    color: #d8ece6;
}

.home-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-service-card strong {
    color: var(--brand);
}

.section-heading {
    margin-bottom: 1.5rem;
}

.section-heading h1,
.section-heading h2 {
    font-weight: 800;
}

.room-card,
.form-panel,
.contact-panel,
.status-card,
.setup-panel,
.login-panel,
.panel,
.stat-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(23, 33, 43, .06);
}

.room-card {
    overflow: hidden;
}

.room-card h2,
.room-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
}

.room-image {
    min-height: 170px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #114b5f, #1a936f);
    color: #fff;
    font-size: 4rem;
    font-weight: 800;
}

.room-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.room-gallery-strip,
.room-thumb-strip {
    display: grid;
    gap: .5rem;
}

.room-gallery-strip {
    grid-template-columns: repeat(4, 1fr);
    padding: .5rem;
    background: #edf3f1;
}

.room-gallery-strip img,
.room-thumb-strip img,
.admin-room-thumb {
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 7px;
}

.room-gallery-strip img {
    width: 100%;
    height: 58px;
}

.room-thumb-strip {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
}

.room-thumb-strip img {
    width: 100%;
    height: 84px;
}

.admin-room-thumb {
    width: 72px;
    height: 52px;
}

.logo-preview {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: #f9fbfa;
    padding: 1rem;
}

.logo-preview img {
    max-width: 180px;
    max-height: 72px;
    object-fit: contain;
}

.logo-preview span {
    color: var(--muted);
}

.contact-logo {
    max-width: 180px;
    max-height: 96px;
    object-fit: contain;
    display: block;
    margin-bottom: 1rem;
}

.form-panel,
.contact-panel,
.status-card,
.setup-panel,
.login-panel,
.panel {
    padding: 1.25rem;
}

.info-band {
    background: #e9f4ef;
    padding: 3rem 0;
}

.info-band h3 {
    font-size: 1.1rem;
    font-weight: 800;
}

.site-footer {
    background: #102a34;
    color: #d6e6e1;
}

.login-screen {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
}

.login-panel {
    width: min(100%, 430px);
}

.admin-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: calc(100vh - 56px);
}

.admin-sidebar {
    background: #0f2630;
    color: #fff;
    padding: 1rem;
}

.sidebar-title {
    font-weight: 800;
    padding: .75rem;
    margin-bottom: .5rem;
}

.admin-sidebar a {
    display: block;
    color: #d7e6e5;
    text-decoration: none;
    padding: .68rem .75rem;
    border-radius: 7px;
    margin-bottom: .15rem;
}

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

.admin-main {
    padding: 1.25rem;
    min-width: 0;
}

.admin-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-top h1 {
    font-weight: 800;
    margin: 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card {
    padding: 1rem;
}

.stat-card span {
    display: block;
    color: var(--muted);
    font-size: .9rem;
}

.stat-card strong {
    display: block;
    font-size: 1.55rem;
    margin-top: .35rem;
}

.panel h2 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.mini-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
    padding: .65rem 0;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .75rem;
}

.status-grid span {
    display: block;
    color: var(--muted);
}

.status-grid strong {
    display: block;
    color: var(--ink);
}

.qty-input {
    width: 72px;
}

.rooms-hero {
    background: #fbf7f0;
    padding: 5rem 0 3rem;
}

.rooms-hero h1 {
    max-width: 760px;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1;
}

.rooms-hero p {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.1rem;
}

.room-anchor-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .75rem;
    margin-top: 2rem;
}

.room-anchor-list a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid #eadfce;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(23, 33, 43, .05);
}

.room-anchor-list span {
    font-weight: 800;
}

.room-anchor-list strong {
    color: var(--brand);
    white-space: nowrap;
}

.rooms-stack {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.room-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 2rem;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--line);
}

.room-showcase-reverse {
    grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr);
}

.room-showcase-reverse .room-showcase-media {
    order: 2;
}

.room-showcase-media {
    min-width: 0;
}

.room-main-photo,
.room-photo-grid button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.room-main-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(23, 33, 43, .12);
}

.room-photo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .6rem;
    margin-top: .75rem;
}

.room-photo-grid img {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 7px;
}

.room-showcase-copy h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: .75rem;
}

.room-rate {
    color: var(--brand);
    font-weight: 800;
    margin-bottom: .75rem;
}

.room-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.room-meta span {
    padding: .45rem .7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
}

.included-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
}

.included-panel h3 {
    font-size: 1rem;
    font-weight: 800;
}

.included-panel ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem .9rem;
    margin: 0;
    padding-left: 1.1rem;
}

.availability-band {
    background: var(--brand);
    color: #fff;
    padding: 3rem 0;
}

.availability-band .eyebrow {
    color: #9be2c9;
}

.availability-band p {
    color: #d8ece6;
    margin: 0;
}

.availability-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.availability-inner h2 {
    font-weight: 800;
}

.room-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: rgba(9, 22, 28, .9);
}

.room-lightbox[hidden] {
    display: none;
}

.room-lightbox img {
    max-width: min(1100px, 96vw);
    max-height: 86vh;
    border-radius: 8px;
    object-fit: contain;
}

.room-lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.availability-hero {
    background: #fbf7f0;
    padding: 4rem 0 2.5rem;
}

.availability-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1;
}

.availability-hero p {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.08rem;
}

.availability-actions,
.availability-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}

.availability-actions {
    margin-top: 1.5rem;
}

.availability-legend {
    margin-bottom: 1rem;
}

.availability-legend span {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    padding: .5rem .7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: .9rem;
    font-weight: 700;
}

.availability-legend i {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
}

.legend-open,
.availability-cell.open {
    background: #d9f7e7;
    color: #0f6a3e;
}

.legend-reserved,
.availability-cell.reserved {
    background: #fff0c2;
    color: #82610c;
}

.legend-occupied,
.availability-cell.occupied {
    background: #ffd6d6;
    color: #8d2525;
}

.legend-blocked,
.availability-cell.blocked {
    background: #dfe5ea;
    color: #53606c;
}

.availability-calendar {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.availability-calendar-head,
.availability-row {
    display: grid;
    grid-template-columns: 230px repeat(30, 42px);
    min-width: 1490px;
}

.availability-calendar-head {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f6faf8;
    border-bottom: 1px solid var(--line);
}

.room-heading,
.date-heading,
.availability-room,
.availability-cell {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.room-heading,
.date-heading {
    padding: .65rem .5rem;
    font-size: .78rem;
    text-align: center;
}

.room-heading {
    text-align: left;
    font-weight: 800;
}

.date-heading strong,
.date-heading span {
    display: block;
}

.availability-room {
    padding: .75rem;
    background: #fff;
}

.availability-room strong,
.availability-room span {
    display: block;
}

.availability-room span {
    color: var(--muted);
    font-size: .85rem;
}

.availability-cell {
    min-height: 58px;
    display: grid;
    place-items: center;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 800;
}

.availability-cell.open:hover {
    outline: 2px solid var(--brand);
    outline-offset: -2px;
}

.customer-auth-screen {
    background: #fbf7f0;
}

.customer-portal-hero {
    background:
        linear-gradient(90deg, rgba(17, 75, 95, .92), rgba(17, 75, 95, .62)),
        url("https://images.unsplash.com/photo-1590490360182-c33d57733427?auto=format&fit=crop&w=1800&q=80") center/cover;
    color: #fff;
    padding: 5rem 0;
}

.customer-portal-hero .eyebrow {
    color: #9be2c9;
}

.customer-portal-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1;
}

.customer-portal-hero p {
    max-width: 680px;
    color: #d8ece6;
    font-size: 1.08rem;
}

.booking-services-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f9fbfa;
    padding: 1rem;
}

.booking-services-panel h2 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
}

.booking-service-note {
    color: var(--muted);
    font-size: .9rem;
}

.booking-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: .75rem;
}

.booking-service-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 76px;
    gap: .75rem;
    align-items: center;
    padding: .85rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.booking-service-option span,
.booking-service-option strong,
.booking-service-option small,
.booking-service-option em {
    display: block;
}

.booking-service-option small {
    color: var(--muted);
}

.booking-service-option em {
    color: var(--brand);
    font-style: normal;
    font-weight: 800;
    margin-top: .25rem;
}

.booking-service-total {
    margin-top: .85rem;
    text-align: right;
}

.booking-estimate-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.booking-estimate-panel div {
    border-right: 1px solid var(--line);
    padding-right: .75rem;
}

.booking-estimate-panel div:last-child {
    border-right: 0;
}

.booking-estimate-panel span,
.booking-estimate-panel strong {
    display: block;
}

.booking-estimate-panel span {
    color: var(--muted);
    font-size: .9rem;
}

.booking-estimate-panel strong {
    font-size: 1.1rem;
}

.table {
    min-width: 760px;
}

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

.btn-primary:hover {
    background: #0d3949;
    border-color: #0d3949;
}

@media (max-width: 900px) {
    .home-hero-inner,
    .home-intro-grid,
    .home-experience-grid {
        grid-template-columns: 1fr;
    }

    .home-booking-panel {
        max-width: 440px;
    }

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

    .room-showcase,
    .room-showcase-reverse {
        grid-template-columns: 1fr;
    }

    .room-showcase-reverse .room-showcase-media {
        order: 0;
    }

    .availability-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-sidebar nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: .25rem;
    }
}

@media (max-width: 640px) {
    .home-hero {
        min-height: 620px;
    }

    .home-hero-inner {
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    .split-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-room-grid,
    .home-service-grid,
    .home-feature-list {
        grid-template-columns: 1fr;
    }

    .rooms-hero {
        padding: 3rem 0 2rem;
    }

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

    .included-panel ul {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 470px;
    }

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

    .form-panel,
    .panel {
        padding: 1rem;
    }
}
