:root {
    --ink: #171b18;
    --muted: #626c68;
    --paper: #f7f8f4;
    --warm: #ece8de;
    --line: #dce2dc;
    --accent: #207a62;
    --accent-dark: #123f35;
    --clay: #bf5d3f;
    --gold: #d2a93a;
    --blue: #3d7194;
    --danger: #a83232;
    --white: #fff;
    --surface: rgba(255, 255, 255, .86);
    --surface-solid: #ffffff;
    --shadow-soft: 0 18px 48px rgba(23, 27, 24, .08);
    --shadow-lift: 0 26px 70px rgba(23, 27, 24, .13);
    --focus: 0 0 0 4px rgba(32, 122, 98, .14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        linear-gradient(180deg, #fbfcf8 0%, #f3f5ee 42%, #eee9de 100%);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

.hero {
    min-height: 90vh;
    background:
        linear-gradient(90deg, rgba(12, 18, 14, .78) 0%, rgba(12, 18, 14, .48) 48%, rgba(12, 18, 14, .14) 100%),
        linear-gradient(0deg, rgba(12, 18, 14, .5), rgba(12, 18, 14, 0) 38%),
        url("../1.jpeg") center / cover;
    color: var(--white);
    display: flex;
    flex-direction: column;
    position: relative;
}

.page-hero {
    min-height: 62vh;
    color: var(--white);
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(90deg, rgba(12, 18, 14, .78), rgba(12, 18, 14, .24)),
        url("../6.jpg") center / cover;
}

.activities-hero {
    background:
        linear-gradient(90deg, rgba(12, 18, 14, .78), rgba(12, 18, 14, .24)),
        url("https://commons.wikimedia.org/wiki/Special:FilePath/Vineyard%20at%20the%20foot%20of%20the%20Rock%20of%20Solutr%C3%A9%2C%20France%20%2851695822070%29.jpg") center / cover;
}

.reservation-hero {
    background:
        linear-gradient(90deg, rgba(12, 18, 14, .78), rgba(12, 18, 14, .24)),
        url("../1.jpeg") center / cover;
}

.gallery-hero {
    background:
        linear-gradient(90deg, rgba(12, 18, 14, .78), rgba(12, 18, 14, .24)),
        url("../1.jpeg") center / cover;
}

.contact-hero {
    background:
        linear-gradient(90deg, rgba(12, 18, 14, .78), rgba(12, 18, 14, .24)),
        url("../5.jpeg") center / cover;
}

.page-hero-copy {
    width: min(850px, calc(100% - 36px));
    margin: auto auto 8vh clamp(18px, 8vw, 105px);
}

.page-hero-copy p:not(.eyebrow) {
    max-width: 680px;
    font-size: 1.14rem;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 16px clamp(18px, 5vw, 70px);
    background: rgba(12, 16, 13, .34);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(18px) saturate(120%);
}

.brand {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0;
}

.brand img {
    display: block;
    width: 168px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 6px;
    font-size: .95rem;
}

.nav-links a,
footer a {
    text-decoration: none;
}

.nav-links a {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 13px;
    color: rgba(255, 255, 255, .9);
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .18);
    color: var(--white);
}

.hero-copy {
    width: min(850px, calc(100% - 36px));
    margin: auto auto 9vh clamp(18px, 8vw, 105px);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .08em;
}

h1,
h2 {
    line-height: 1.08;
    margin: 0 0 18px;
}

h1 {
    font-size: clamp(2.25rem, 7vw, 5.25rem);
    max-width: 900px;
    letter-spacing: 0;
}

h2 {
    font-size: clamp(1.7rem, 4vw, 3rem);
}

.hero-copy p:not(.eyebrow) {
    max-width: 650px;
    font-size: 1.18rem;
    color: rgba(255, 255, 255, .88);
}

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

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-facts span {
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    font-weight: 800;
    font-size: .9rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 16px;
    background: var(--white);
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(23, 27, 24, .08);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(23, 27, 24, .13);
}

.button.primary {
    background: linear-gradient(135deg, var(--accent), #155f4f);
    border-color: rgba(18, 63, 53, .32);
    color: var(--white);
}

.button.ghost {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .52);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.button.small {
    min-height: 34px;
    padding: 6px 10px;
    font-size: .85rem;
}

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

.summary-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    background: rgba(255, 255, 255, .74);
    padding: clamp(18px, 4vw, 34px) clamp(18px, 5vw, 70px);
    backdrop-filter: blur(12px);
}

.summary-band div {
    display: grid;
    gap: 6px;
    min-height: 136px;
    align-content: center;
    background:
        linear-gradient(135deg, rgba(32, 122, 98, .1), rgba(210, 169, 58, .08)),
        var(--white);
    border: 1px solid rgba(32, 122, 98, .16);
    border-radius: 8px;
    padding: 22px clamp(18px, 3vw, 30px);
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.summary-band div:hover {
    border-color: rgba(32, 122, 98, .32);
    box-shadow: var(--shadow-lift);
    transform: translateY(-2px);
}

.summary-band strong {
    display: block;
    color: var(--accent-dark);
    font-size: clamp(1.8rem, 4vw, 2.55rem);
    line-height: 1;
}

.summary-band span {
    color: var(--clay);
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.summary-band small {
    color: var(--muted);
    font-size: .96rem;
}

.ratings-strip {
    display: grid;
    grid-template-columns: minmax(0, 560px);
    gap: 16px;
    padding-top: 26px;
    padding-bottom: 26px;
    background: #fffdf8;
}

.availability-check {
    background: #fffdf8;
}

.availability-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr)) auto;
    gap: 14px;
    align-items: end;
    background: var(--surface-solid);
    border: 1px solid rgba(32, 122, 98, .16);
    border-radius: 8px;
    padding: clamp(18px, 3vw, 28px);
    box-shadow: var(--shadow-soft);
}

.availability-form label {
    margin-bottom: 0;
}

.rating-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 6px 18px;
    border: 1px solid rgba(32, 122, 98, .14);
    border-radius: 8px;
    padding: 20px;
    background: var(--white);
    text-decoration: none;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease;
}

.rating-card:hover {
    box-shadow: var(--shadow-lift);
    transform: translateY(-2px);
}

.rating-card span {
    color: var(--muted);
    font-weight: 800;
}

.rating-card strong {
    grid-row: span 2;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1;
    color: var(--accent-dark);
}

.rating-card small {
    color: var(--muted);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 0 0 18px;
}

.kpi-grid div {
    background: var(--white);
    border: 1px solid rgba(32, 122, 98, .14);
    border-radius: 8px;
    padding: 18px;
    min-height: 92px;
    box-shadow: var(--shadow-soft);
}

.kpi-grid strong {
    display: block;
    font-size: 1.45rem;
    overflow-wrap: anywhere;
}

.kpi-grid span {
    color: var(--muted);
}

main section {
    padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 70px);
}

.section-intro {
    max-width: 460px;
    color: var(--muted);
    margin: 0;
}

.activities-intro {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
    background: #fffdf8;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    background: var(--warm);
}

.activity-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.activity-card:hover {
    border-color: rgba(32, 122, 98, .2);
    box-shadow: var(--shadow-lift);
    transform: translateY(-3px);
}

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

.activity-card > div {
    padding: 18px;
}

.activity-card h2 {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.activity-card p {
    color: var(--muted);
    margin: 0;
}

.activity-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--accent-dark);
    font-weight: 800;
    font-size: .78rem;
    text-transform: uppercase;
}

.route-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, var(--ink), #183a32);
    color: var(--white);
}

.route-band p:not(.eyebrow) {
    max-width: 760px;
}

.gallery-section {
    background: var(--warm);
}

.house-gallery-intro {
    background: #fffdf8;
}

.photo-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 12px;
    min-height: 520px;
}

.photo-main,
.photo-stack button,
.gallery-rail button {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    position: relative;
    overflow: hidden;
}

.photo-main {
    border-radius: 8px;
    min-height: 520px;
    box-shadow: var(--shadow-soft);
}

.photo-main img,
.photo-stack img,
.gallery-rail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .28s ease;
}

.photo-main:hover img,
.photo-stack button:hover img,
.gallery-rail button:hover img {
    transform: scale(1.035);
}

.photo-main span,
.photo-stack span {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(12, 18, 14, .68);
    color: var(--white);
    font-weight: 800;
    font-size: .9rem;
    text-align: left;
    backdrop-filter: blur(12px);
}

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

.photo-stack button {
    min-height: 254px;
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(23, 27, 24, .08);
}

.gallery-rail {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.gallery-rail button {
    aspect-ratio: 4 / 3;
    border-radius: 7px;
    border: 2px solid transparent;
    box-shadow: 0 10px 24px rgba(23, 27, 24, .06);
}

.gallery-rail button.is-active {
    border-color: var(--accent);
}

.booking-layout,
.house-section,
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: start;
}

.booking-copy,
.house-section > div,
.contact-copy {
    position: sticky;
    top: 24px;
}

.contact-section {
    background: #fffdf8;
}

.contact-details {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    color: var(--muted);
    font-weight: 800;
}

.contact-form {
    border-top-color: var(--clay);
}

.booking-form,
.panel,
.login-card {
    background: var(--surface-solid);
    border: 1px solid rgba(32, 122, 98, .14);
    border-radius: 8px;
    padding: clamp(18px, 3vw, 30px);
    box-shadow: var(--shadow-soft);
}

.booking-form {
    border-top: 5px solid var(--accent);
}

label {
    display: grid;
    gap: 7px;
    margin-bottom: 15px;
    font-weight: 800;
    font-size: .9rem;
}

input,
textarea,
select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d6ded7;
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--ink);
    background: #fbfcf8;
    font: inherit;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent);
    box-shadow: var(--focus);
    background: var(--white);
    outline: 0;
}

textarea {
    resize: vertical;
}

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

.notice {
    border-radius: 8px;
    padding: 14px 16px;
    margin: 18px 0;
    font-weight: 700;
    border: 1px solid transparent;
}

.notice.success {
    background: #e7f3ee;
    color: var(--accent-dark);
    border-color: rgba(32, 122, 98, .16);
}

.notice.error,
.form-error {
    background: #faeaea;
    color: var(--danger);
    border-color: rgba(168, 50, 50, .15);
}

.form-error {
    border-radius: 6px;
    padding: 8px 10px;
    margin: 8px 0;
    font-size: .9rem;
}

.price-preview {
    display: grid;
    gap: 12px;
    margin: 2px 0 18px;
    padding: 16px;
    border: 1px solid rgba(47, 111, 94, .2);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(32, 122, 98, .08), rgba(61, 113, 148, .07)),
        #fffdf8;
    box-shadow: 0 14px 38px rgba(23, 27, 24, .07);
}

.price-preview[hidden] {
    display: none;
}

.price-preview > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: end;
}

.price-preview span,
.price-preview small {
    color: var(--muted);
    font-weight: 800;
}

.price-preview strong {
    color: var(--accent-dark);
    font-size: 2rem;
    line-height: 1;
}

.price-preview ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.section-heading,
.admin-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 22px;
}

.month-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

.month-nav a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(32, 122, 98, .16);
    border-radius: 8px;
    background: var(--white);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(23, 27, 24, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.month-nav a:hover {
    border-color: rgba(32, 122, 98, .36);
    box-shadow: 0 16px 34px rgba(23, 27, 24, .11);
    transform: translateY(-1px);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    padding: clamp(12px, 2vw, 18px);
    border: 1px solid rgba(47, 111, 94, .16);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(47, 111, 94, .07), rgba(199, 163, 63, .08)),
        #fffdf8;
    box-shadow: var(--shadow-soft);
}

.calendar-head,
.calendar-day {
    background: var(--white);
    min-height: 94px;
    padding: 10px;
}

.calendar-head {
    min-height: auto;
    font-weight: 800;
    text-align: center;
    color: var(--muted);
    background: transparent;
    text-transform: uppercase;
    font-size: .76rem;
}

.calendar-day {
    appearance: none;
    border: 1px solid rgba(220, 226, 220, .95);
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font: inherit;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.calendar-day:hover:not(:disabled) {
    border-color: var(--accent);
    box-shadow: 0 14px 34px rgba(32, 122, 98, .13);
    transform: translateY(-1px);
}

.calendar-day:disabled {
    cursor: not-allowed;
}

.calendar-day > span {
    align-items: center;
    display: inline-flex;
    font-size: 1.05rem;
    font-weight: 800;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.calendar-day small {
    border-radius: 999px;
    padding: 4px 7px;
    color: var(--white);
    background: var(--accent);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-day.is-muted {
    color: #a5a096;
    background: #f5f1e8;
    opacity: .65;
}

.calendar-day.is-pending small {
    background: var(--gold);
    color: var(--ink);
}

.calendar-day.is-external small,
.calendar-day.is-blocked small {
    background: var(--blue);
}

.calendar-day.is-selected {
    background: var(--accent);
    border-color: var(--accent-dark);
    color: var(--white);
    box-shadow: 0 18px 44px rgba(32, 122, 98, .22);
}

.calendar-day.is-selected small {
    background: rgba(255, 255, 255, .18);
    color: var(--white);
}

.calendar-day.is-in-range {
    background: #e5f2ed;
    border-color: rgba(47, 111, 94, .28);
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 16px;
    color: var(--muted);
    font-weight: 800;
}

.calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    width: 13px;
    height: 13px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--white);
}

.legend-dot.is-unavailable {
    border-color: var(--blue);
    background: var(--blue);
}

.legend-dot.is-selected {
    border-color: var(--accent);
    background: var(--accent);
}

.calendar-note {
    color: var(--muted);
    margin-bottom: 0;
}

.feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.feature-list li {
    background: var(--white);
    border: 1px solid rgba(191, 93, 63, .14);
    border-left: 5px solid var(--clay);
    padding: 16px 18px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 12px 34px rgba(23, 27, 24, .06);
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px clamp(18px, 5vw, 70px);
    background: linear-gradient(135deg, #151a17, #102b25);
    color: var(--white);
}

.footer-brand img {
    display: block;
    width: 152px;
    height: auto;
}

.lightbox[hidden] {
    display: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    align-items: center;
    gap: 12px;
    padding: 28px;
    background: rgba(15, 14, 12, .92);
    color: var(--white);
}

.lightbox figure {
    margin: 0;
    display: grid;
    gap: 12px;
    justify-items: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

.lightbox figcaption {
    font-weight: 800;
}

.lightbox-close,
.lightbox-nav {
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    cursor: pointer;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
}

.lightbox-nav {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
}

.admin-page {
    background:
        linear-gradient(180deg, #f8faf6 0%, #eef2ea 100%);
}

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

.login-card {
    width: min(420px, 100%);
    margin: 12vh auto;
}

.admin-actions {
    display: flex;
    gap: 10px;
}

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

.client-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
}

.panel h2 {
    font-size: 1.35rem;
}

.panel h3 {
    margin: 18px 0 12px;
}

.stack-form {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.compact-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.compact-list form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: 0 8px 22px rgba(23, 27, 24, .04);
}

code {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    background: #eef3ee;
    padding: 4px 6px;
    border-radius: 4px;
}

.payment-link {
    margin-top: 8px;
    color: var(--accent-dark);
    font-size: .82rem;
}

.reservations-panel {
    margin-top: 18px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: .82rem;
    text-transform: uppercase;
    background: #f5f7f1;
    letter-spacing: .04em;
}

tr:last-child td {
    border-bottom: 0;
}

tbody tr {
    transition: background .18s ease;
}

tbody tr:hover {
    background: #fbfcf8;
}

.status {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 9px;
    background: #eee;
    font-weight: 800;
    font-size: .82rem;
}

.status.is-confirmed {
    background: #dff0e9;
    color: var(--accent-dark);
}

.status.is-pending {
    background: #f4e3aa;
}

.status.is-cancelled {
    background: #f3dada;
    color: var(--danger);
}

.status.is-external,
.status.is-blocked {
    background: #dbe8f5;
    color: #234969;
}

.inline-form {
    display: inline-flex;
    gap: 6px;
    margin: 0 0 6px;
    align-items: center;
}

.inline-form select {
    min-width: 130px;
}

@media (max-width: 900px) {
    .summary-band,
    .ratings-strip,
    .availability-form,
    .activities-grid,
    .kpi-grid,
    .booking-layout,
    .house-section,
    .contact-section,
    .admin-grid,
    .client-auth-grid {
        grid-template-columns: 1fr;
    }

    .photo-showcase {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .photo-main {
        min-height: 420px;
    }

    .photo-stack button {
        min-height: 220px;
    }

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

    .booking-copy,
    .house-section > div,
    .contact-copy {
        position: static;
    }

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

    .activities-intro,
    .route-band {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .topbar,
    .section-heading,
    .admin-header,
    footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    .brand img {
        width: 150px;
    }

    .hero {
        min-height: 86vh;
    }

    .page-hero {
        min-height: 58vh;
    }

    .hero-copy {
        margin-bottom: 7vh;
    }

    .photo-main {
        min-height: 300px;
    }

    .photo-stack {
        grid-template-columns: 1fr;
    }

    .photo-stack button {
        min-height: 190px;
    }

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

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .lightbox {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 6px;
        padding: 16px;
    }

    .lightbox-nav {
        width: 42px;
        height: 42px;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .calendar-grid {
        font-size: .85rem;
    }

    .calendar-head,
    .calendar-day {
        min-height: 72px;
        padding: 7px;
    }

    .calendar-day small {
        white-space: normal;
        border-radius: 5px;
    }
}
