:root {
    --primary: #8f6657;
    --ink: #2c2926;
    --paper: #fffdf9;
    --cream: #faf7f2;
    --soft: #f3e8df;
    --line: #e7ded6;
    --muted: #77706a;
    --danger: #a74848;
    --radius: 22px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

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

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

button,
input,
select {
    font: inherit
}

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

.topbar {
    border-bottom: 1px solid var(--line);
    background: #f8f3ef;
    color: var(--muted);
    font-size: 12px
}

.topbar-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line)
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 22px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    white-space: nowrap
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    font-size: 20px
}

.brand small {
    display: block;
    margin-top: 3px;
    font-family: inherit;
    font-size: 9px;
    letter-spacing: .18em;
    color: var(--muted)
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1
}

.nav-links a {
    padding: 10px 11px;
    border-radius: 999px;
    font-size: 11px;
    color: var(--muted)
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary);
    border-radius: 999px;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--paper);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer
}

.button:hover {
    background: #765246
}

.button-outline {
    background: transparent;
    color: var(--primary)
}

.button.full {
    width: 100%;
    border-radius: 12px
}

.menu-button {
    display: none;
    margin-left: auto;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 999px;
    padding: 9px 13px
}

.hero {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: 36px;
    align-items: stretch;
    padding-block: 42px
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px
}

.eyebrow {
    margin: 0;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em
}

.hero h1,
.page-intro h1,
.auth-side h1,
.auth-form h1,
.panel-heading h1 {
    margin: 16px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 500;
    line-height: 1.02
}

.hero-copy>p:not(.eyebrow),
.page-intro>p:not(.eyebrow),
.auth-form>p:not(.eyebrow),
.panel-heading>p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.7
}

.hero-image {
    min-height: 470px;
    overflow: hidden;
    border-radius: var(--radius)
}

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

.button-row {
    display: flex;
    gap: 10px;
    margin-top: 24px
}

.trust {
    border: none;
    background: var(--paper)
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-block: 22px
}

.trust-grid div {
    display: grid;
    gap: 4px;
    padding-left: 14px;
    border-left: 2px solid var(--soft)
}

.trust-grid b {
    font-size: 14px
}

.trust-grid span {
    font-size: 12px;
    color: var(--muted)
}

.section {
    padding-block: 64px
}

.soft-section {
    background: #f4ede6
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px
}

.section-heading h2 {
    margin: 9px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-weight: 500
}

.section-heading a {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700
}

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

.data-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper)
}

.data-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--soft)
}

.data-card-body {
    padding: 20px
}

.data-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 500
}

.data-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5
}

.data-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary)
}

.page-intro {
    max-width: 800px;
    padding-block: 70px 25px
}

.page-intro h1 {
    font-size: 52px
}

.page-intro.compact {
    padding-bottom: 12px
}

.booking-card {
    margin-bottom: 70px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper)
}

.auth-shell {
    display: grid;
    min-height: calc(100vh - 129px);
    place-items: center;
    padding: 48px 20px
}

.auth-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    width: min(100%, 1000px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--paper);
    box-shadow: 0 24px 60px #5d44321c
}

.auth-side {
    min-height: 500px;
    padding: 42px 36px;
    background: var(--soft);
    display: flex;
    flex-direction: column;
    justify-content: center
}

.auth-side .brand {
    position: absolute;
    align-self: flex-start;
    top: 24px
}

.auth-side h1 {
    font-size: 40px
}

.auth-side ul {
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 14px;
    line-height: 2
}

.auth-side li::before {
    content: '— '
}

.auth-form {
    padding: 58px 48px
}

.auth-form h1 {
    font-size: 39px
}

.auth-form form {
    display: grid;
    gap: 14px;
    margin-top: 25px
}

.auth-form label {
    display: grid;
    gap: 7px;
    font-size: 13px;
    font-weight: 700
}

.auth-form input {
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink)
}

.auth-form>a {
    display: block;
    margin-top: 14px;
    color: var(--primary);
    font-size: 13px
}

.form-message,
.panel-feedback {
    min-height: 0;
    color: var(--danger);
    font-size: 13px
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #f1e7df
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 28px;
    padding-block: 48px
}

.footer-grid p {
    max-width: 320px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6
}

.footer-grid div:not(:first-child) {
    display: grid;
    align-content: start;
    gap: 10px;
    font-size: 14px;
    color: var(--muted)
}

.footer-grid b {
    color: var(--ink)
}

.copyright {
    padding-block: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px
}

.panel-page {
    background: #f6f0ea
}

.panel-shell {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh
}

.panel-sidebar {
    display: flex;
    position: sticky;
    top: 0;
    height: 100vh;
    flex-direction: column;
    padding: 20px 13px;
    background: #efe2d9;
    border-right: 1px solid var(--line)
}

.panel-sidebar nav {
    display: grid;
    gap: 3px;
    margin-top: 28px;
    overflow: auto
}

.panel-sidebar nav a,
.back-site {
    padding: 11px 13px;
    border-radius: 11px;
    color: #6f5c54;
    font-size: 11px
}

.panel-sidebar nav a:hover,
.panel-sidebar nav a.active {
    background: var(--paper);
    color: var(--primary);
    font-weight: 700
}

.back-site {
    margin-top: auto;
    border: 1px solid var(--line);
    background: #f7eee8
}

.panel-main {
    min-width: 0
}

.panel-header {
    min-height: 72px;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: #fffdf9
}

.panel-header p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em
}

.panel-header strong {
    display: block;
    margin-top: 4px;
    font-size: 14px
}

.account-pill {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: var(--soft);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700
}

.panel-content {
    padding: 36px
}

.panel-heading h1 {
    font-size: 38px
}

.panel-heading>p:not(.eyebrow) {
    max-width: 650px
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 28px
}

.stat-card,
.panel-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper)
}

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

.stat-card b {
    display: block;
    margin-top: 10px;
    font-size: 30px
}

.panel-card {
    grid-column: span 2
}

.panel-card h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 500
}

.panel-card p {
    color: var(--muted);
    font-size: 14px
}

.loading {
    color: var(--muted)
}

@media(max-width:980px) {
    .navbar {
        flex-wrap: wrap;
        padding-block: 14px
    }

    .menu-button {
        display: block
    }

    .nav-links {
        display: none;
        order: 3;
        width: 100%;
        padding-top: 8px;
        border-top: 1px solid var(--line)
    }

    .nav-links.open {
        display: grid;
        grid-template-columns: repeat(2, 1fr)
    }

    .nav-actions {
        margin-left: auto
    }

    .hero {
        grid-template-columns: 1fr
    }

    .hero-image {
        min-height: 320px
    }

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

    .card-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .panel-shell {
        grid-template-columns: 1fr
    }

    .panel-sidebar {
        position: static;
        height: auto
    }

    .panel-sidebar nav {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 16px
    }

    .back-site {
        display: none
    }

    .panel-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:620px) {
    .wrap {
        width: min(100% - 28px, 1180px)
    }

    .topbar {
        display: none
    }

    .navbar {
        min-height: 70px;
        gap: 10px
    }

    .brand {
        font-size: 17px
    }

    .brand-mark {
        width: 36px;
        height: 36px
    }

    .nav-actions a:first-child,
    .nav-actions .button-outline {
        display: none
    }

    .hero {
        padding-block: 15px
    }

    .hero-copy {
        padding: 38px 5px
    }

    .hero h1 {
        font-size: 45px
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr
    }

    .section {
        padding-block: 42px
    }

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

    .section-heading h2 {
        font-size: 31px
    }

    .card-grid {
        grid-template-columns: 1fr
    }

    .auth-shell {
        padding: 0
    }

    .auth-card {
        grid-template-columns: 1fr;
        border: 0;
        border-radius: 0;
        box-shadow: none
    }

    .auth-side {
        display: none
    }

    .auth-form {
        padding: 42px 22px;
        min-height: calc(100vh - 70px)
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .panel-header {
        padding: 14px 18px
    }

    .panel-content {
        padding: 25px 16px
    }

    .panel-sidebar nav {
        grid-template-columns: 1fr 1fr
    }

    .panel-grid {
        grid-template-columns: 1fr
    }

    .panel-card {
        grid-column: span 1
    }
}

.panel-list {
    margin-top: 28px
}

.table-card {
    grid-column: auto;
    padding: 0;
    overflow: hidden
}

.panel-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--line)
}

.panel-list-heading span {
    color: var(--muted);
    font-size: 13px
}

.table-wrap {
    overflow: auto
}

.table-wrap table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    text-align: left;
    font-size: 13px
}

.table-wrap th {
    padding: 13px 16px;
    background: var(--soft);
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase
}

.table-wrap td {
    padding: 14px 16px;
    border-top: 1px solid var(--line)
}

.table-wrap tbody tr:nth-child(even) {
    background: #fffaf6
}

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

.settings-list div {
    padding: 13px;
    border-top: 1px solid var(--line)
}

.settings-list dt {
    color: var(--muted);
    font-size: 12px
}

.settings-list dd {
    margin: 5px 0 0;
    font-size: 14px;
    font-weight: 600
}