:root {
    --color-bg: #f4efe8;
    --color-surface: #ffffff;
    --color-text: #2c241c;
    --color-muted: #6b5e52;
    --color-accent: #5a3921;
    --color-accent-dark: #3a2817;
    --color-line: #e4d9ce;
    --color-placeholder: #f7f3ef;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(44, 36, 28, 0.06);
    --nav-height: 52px;
    --cta-height: 72px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Palatino Linotype", Palatino, "Times New Roman", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 12px);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--color-text);
    background: var(--color-bg);
    padding-bottom: calc(var(--cta-height) + env(safe-area-inset-bottom));
}

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

a {
    color: var(--color-accent);
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-accent);
}

h1 {
    font-size: 1.8rem;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-line);
}

h2 {
    font-size: 1.45rem;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-line);
}

h3 {
    font-size: 1.05rem;
    margin: 0 0 0.25rem;
    color: var(--color-text);
}

p {
    margin: 0 0 0.85rem;
}

p:last-child {
    margin-bottom: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 100;
    padding: 8px 12px;
    background: var(--color-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
}

.skip-link:focus {
    top: 12px;
}

.hero {
    display: flex;
    flex-direction: column;
    color: #fff;
    text-align: center;
    background: var(--color-accent);
}

.hero-photos {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    background: #1c1612;
    scrollbar-width: thin;
}

.hero-photos img {
    flex: 0 0 auto;
    height: min(48vh, 380px);
    width: auto;
    max-width: none;
    object-fit: contain;
    scroll-snap-align: start;
}

.hero-content {
    width: min(100%, 640px);
    margin: 0 auto;
    padding: 28px 20px 36px;
}

.hero h1 {
    margin: 0;
    padding: 0;
    border: 0;
    color: #fff;
    font-size: clamp(2rem, 8vw, 3rem);
}

.hero .eyebrow {
    margin: 0 0 8px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.88);
}

.hero .subtitle {
    margin: 12px 0 4px;
    font-size: 1.1rem;
}

.hero .places {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.9);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 0 22px;
}

.countdown-unit {
    flex: 1 1 0;
    max-width: 92px;
    padding: 10px 6px 8px;
    background: rgba(44, 36, 28, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

.countdown-unit span {
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
    line-height: 1.1;
}

.countdown-done {
    margin: 0 0 22px;
    font-size: 1.05rem;
}

.hero .btn {
    background: #fff;
    color: var(--color-accent);
}

.hero .btn:hover,
.hero .btn:focus-visible {
    background: var(--color-placeholder);
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--color-line);
    backdrop-filter: blur(10px);
}

.site-nav ul {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 6px 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.site-nav ul::-webkit-scrollbar {
    display: none;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 12px;
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
    border-radius: 999px;
    font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="true"] {
    background: var(--color-placeholder);
    color: var(--color-accent);
}

.container {
    width: min(100% - 32px, 760px);
    margin: 0 auto;
    padding: 8px 0 32px;
}

section {
    margin: 16px 0 20px;
    padding: 20px 18px;
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    background: var(--color-accent);
    color: #fff;
    text-decoration: none;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
    background: var(--color-accent-dark);
}

.btn-secondary {
    background: var(--color-placeholder);
    color: var(--color-accent);
    border: 1px solid var(--color-line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: #efe7de;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.timeline {
    list-style: none;
    margin: 16px 0 0;
    padding: 0 0 0 8px;
    border-left: 2px solid var(--color-line);
}

.timeline li {
    position: relative;
    padding: 0 0 22px 20px;
}

.timeline li:last-child {
    padding-bottom: 0;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
}

.timeline .time {
    display: block;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 2px;
}

.note {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.placeholder {
    background: var(--color-placeholder);
    border-left: 3px solid var(--color-accent);
    padding: 12px 14px;
    margin: 12px 0 0;
    font-size: 0.95rem;
}

.place-card + .place-card {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--color-line);
}

.place-card h3 {
    margin-bottom: 4px;
}

.address {
    margin: 0 0 8px;
    color: var(--color-muted);
}

.image-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 16px -18px 0;
    padding: 0 18px 6px;
    scrollbar-width: thin;
}

.image-gallery img {
    flex: 0 0 78%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    scroll-snap-align: start;
    background: var(--color-line);
}

.hotel-facts {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.hotel-facts li {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-line);
}

.hotel-facts li:last-child {
    border-bottom: 0;
}

.hotel-facts span {
    flex: 0 0 7.5rem;
    color: var(--color-muted);
}

.faq details {
    border-top: 1px solid var(--color-line);
    padding: 4px 0;
}

.faq details:first-of-type {
    border-top: 0;
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    color: var(--color-accent);
    font-weight: 400;
    font-size: 1.25rem;
}

.faq details[open] summary::after {
    content: "–";
}

.faq details p {
    margin: 0 0 14px;
    color: var(--color-muted);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0 0;
}

.avatar {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.contact-card .role,
.contact-card .phone {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.contact-card a {
    text-decoration: none;
}

footer {
    width: min(100% - 32px, 760px);
    margin: 0 auto 24px;
    padding: 18px;
    text-align: center;
    color: var(--color-muted);
    font-size: 0.92rem;
}

footer a {
    color: var(--color-accent);
    text-decoration: none;
    margin: 0 10px;
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
}

footer a:hover,
footer a:focus-visible {
    text-decoration: underline;
}

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--color-surface);
    border-top: 1px solid var(--color-line);
}

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

.site-dialog {
    width: min(100vw, 640px);
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 56px 16px 24px;
    border: 0;
    background: var(--color-surface);
    color: var(--color-text);
}

.site-dialog::backdrop {
    background: rgba(44, 36, 28, 0.72);
}

.site-dialog h2 {
    margin-top: 0;
}

.dialog-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--color-text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.site-dialog iframe {
    width: 100%;
    min-height: 70vh;
    border: 0;
}

body.legal-page {
    padding-bottom: 40px;
}

.legal-page .container {
    padding-top: 24px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gate-page .eyebrow {
    margin: 0 0 8px;
}

.gate-form {
    display: grid;
    gap: 12px;
    margin-top: 20px;
    max-width: 28rem;
}

.gate-form label {
    font-weight: 600;
}

.gate-form input[type="password"] {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    font: inherit;
    background: var(--color-surface);
    color: var(--color-text);
}

.gate-form .btn {
    width: 100%;
}

.gate-error {
    min-height: 1.4em;
    margin: 0;
    color: #8a2b2b;
}

.back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 8px;
    text-decoration: none;
    font-weight: 600;
}

.back:hover,
.back:focus-visible {
    text-decoration: underline;
}

@media (min-width: 720px) {
    body {
        padding-bottom: 0;
    }

    .hero-photos img {
        height: min(56vh, 520px);
    }

    .hero-content {
        padding: 40px 24px 56px;
    }

    .countdown {
        gap: 12px;
        margin-bottom: 28px;
    }

    .countdown-unit {
        max-width: 110px;
        padding: 14px 8px 12px;
    }

    .sticky-cta {
        display: none;
    }

    .container,
    footer {
        width: min(100% - 48px, 860px);
    }

    section {
        padding: 28px 28px;
    }

    .image-gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        overflow: visible;
        margin: 20px 0 0;
        padding: 0;
    }

    .image-gallery img {
        width: 100%;
        flex: none;
        height: 200px;
    }

    .site-dialog {
        width: min(92vw, 720px);
        height: auto;
        max-height: min(88vh, 820px);
        margin: auto;
        border-radius: var(--radius);
        padding: 28px 28px 20px;
    }

    .site-dialog iframe {
        min-height: 420px;
    }
}
