:root {
    --cream: #fff7ed;
    --paper: #fffdf9;
    --orange: #f59e0b;
    --orange-soft: #fed7aa;
    --red: #dc2626;
    --ink: #231f20;
    --muted: #6b625b;
    --green: #2f8f2f;
    --green-soft: #dff4d8;
    --green-pale: #f1faed;
    --line: #eadfd4;
    --shadow: 0 22px 70px rgba(73, 45, 17, .16);
    --content-width: min(1400px, calc(100vw - 32px));
}

* {
    box-sizing: border-box;
}

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

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0;
    background: rgba(255, 253, 249, .92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: var(--content-width);
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 0;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 20px;
    color: var(--muted);
    font-weight: 700;
    font-size: .94rem;
}

nav a {
    position: relative;
    padding: 6px 0;
    text-decoration: none;
    transition: color .18s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .18s ease;
}

nav a:hover,
nav a:focus-visible {
    color: var(--ink);
}

nav a:hover::after,
nav a:focus-visible::after {
    transform: scaleX(1);
}

nav a.nav-cta {
    padding: 8px 14px;
    border-radius: 8px;
    color: #2b1700;
    background: var(--orange);
    box-shadow: 0 10px 22px rgba(245, 158, 11, .24);
}

nav a.nav-cta::after {
    display: none;
}

nav a.nav-cta:hover,
nav a.nav-cta:focus-visible {
    color: #2b1700;
    background: #fbbf24;
}

.hero {
    position: relative;
    min-height: 86vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: #1f2933;
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 20, 14, .72), rgba(28, 20, 14, .18) 58%, rgba(28, 20, 14, .05));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: var(--content-width);
    margin: 0 auto;
    padding: 0 0 9vh;
    color: white;
}

.eyebrow {
    margin: 0 0 10px;
    color: #b45309;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #fde68a;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(2.8rem, 7vw, 6.8rem);
    line-height: .92;
    letter-spacing: 0;
}

h2 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
    letter-spacing: 0;
}

h3 {
    margin: 0;
    font-size: 1.25rem;
}

.hero-content p:not(.eyebrow) {
    max-width: 640px;
    font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.footer-contact,
.admin-actions,
.calendar-head,
.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 38px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button.primary {
    color: #2b1700;
    background: var(--orange);
    box-shadow: 0 12px 30px rgba(245, 158, 11, .32);
}

.button.primary:hover,
.button.primary:focus-visible {
    background: #fbbf24;
    box-shadow: 0 16px 36px rgba(245, 158, 11, .44);
}

.button.ghost {
    color: white;
    border-color: rgba(255, 255, 255, .58);
    background: rgba(255, 255, 255, .12);
}

.button.ghost:hover,
.button.ghost:focus-visible {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .84);
}

.button.ghost.dark {
    color: var(--ink);
    border-color: var(--line);
    background: white;
}

.button.ghost.dark:hover,
.button.ghost.dark:focus-visible {
    border-color: var(--orange);
    background: var(--cream);
}

.button.full {
    width: 100%;
}

.button.small {
    min-height: 38px;
    padding: 8px 12px;
    background: #f3f4f6;
}

.button.small:hover,
.button.small:focus-visible {
    background: #e5e7eb;
}

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

.button.danger:hover,
.button.danger:focus-visible {
    background: #b91c1c;
}

.intro-band {
    width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: var(--cream);
    border-block: 1px solid var(--line);
    box-shadow: 0 0 0 100vmax var(--cream);
    clip-path: inset(0 -100vmax);
}

.intro-band div {
    min-width: 0;
    padding: 24px clamp(14px, 2vw, 24px);
    border-right: 1px solid var(--line);
}

.intro-band strong,
.intro-band span {
    display: block;
}

.intro-band strong {
    font-size: clamp(1.35rem, 2vw, 2.15rem);
}

.intro-band span {
    color: var(--muted);
    font-size: clamp(.84rem, 1vw, 1rem);
}

.section {
    padding: clamp(58px, 8vw, 112px) 0;
}

.split {
    width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}

.split.reverse {
    grid-template-columns: minmax(320px, .86fr) minmax(0, 1fr);
    background: #f7fbf8;
    box-shadow: 0 0 0 100vmax #f7fbf8;
    clip-path: inset(0 -100vmax);
}

.section p {
    color: var(--muted);
    font-size: 1.06rem;
}

.section-photo,
.assemble img,
.manual-hero img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.spec-grid div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

.spec-grid span,
.spec-grid strong {
    display: block;
}

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

.spec-grid strong {
    font-size: 1.35rem;
}

.reservation-section {
    background: var(--cream);
}

.pricing-section {
    background: #f7fbf8;
}

.included-section {
    background: var(--paper);
}

.section-heading {
    width: var(--content-width);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
}

.section-heading p {
    max-width: 760px;
}

.price-grid {
    width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.price-grid article,
.deposit-note {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
}

.price-grid article {
    padding: clamp(18px, 3vw, 26px);
}

.price-grid span,
.price-grid strong,
.price-grid small {
    display: block;
}

.price-grid span {
    color: var(--muted);
    font-weight: 900;
}

.price-grid strong {
    margin-top: 10px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.price-grid small {
    margin-top: 6px;
    color: var(--muted);
}

.deposit-note {
    width: var(--content-width);
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
    padding: 18px 22px;
    border-left: 8px solid var(--orange);
}

.deposit-note strong {
    display: block;
    font-size: 1.08rem;
}

.deposit-note p {
    margin: 6px 0 0;
}

.included-grid {
    width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.included-grid article {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
}

.included-grid strong,
.included-grid span {
    display: block;
}

.included-grid strong {
    font-size: 1.2rem;
}

.included-grid span {
    margin-top: 6px;
    color: var(--muted);
}

.warning-note {
    width: var(--content-width);
    margin: 16px auto 0;
    padding: 18px 22px;
    border: 1px solid #a8d69b;
    border-left: 8px solid var(--green);
    border-radius: 8px;
    background: var(--green-pale);
}

.warning-note strong {
    display: block;
    color: #185c18;
    font-size: 1.08rem;
}

.warning-note p {
    margin: 6px 0 0;
    color: #285f28;
}

.booking-layout {
    width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 22px;
    align-items: start;
}

.calendar-panel,
.booking-form,
.login-box,
.admin-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
}

.calendar-panel,
.booking-form {
    padding: clamp(16px, 3vw, 28px);
}

.calendar-head {
    justify-content: space-between;
    margin-bottom: 18px;
}

.icon-link {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cream);
    border: 1px solid var(--line);
    text-decoration: none;
    font-size: 1.8rem;
    line-height: 1;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.icon-link:hover,
.icon-link:focus-visible {
    transform: translateY(-2px);
    border-color: var(--orange);
    background: #fff3dc;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.weekday-row {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 900;
    text-align: center;
}

.day {
    min-height: clamp(46px, 7vw, 76px);
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #f8fff8;
    font-weight: 900;
    font-size: 1rem;
    transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.day.empty {
    border: 0;
    background: transparent;
}

.day.available {
    color: #064e3b;
    background: var(--green-pale);
    cursor: pointer;
}

.day.available:hover,
.day.available:focus-visible {
    transform: translateY(-2px);
    border-color: #8fcf79;
    background: var(--green-soft);
    box-shadow: 0 10px 22px rgba(47, 143, 47, .16);
}

.day.tentative {
    color: #733f00;
    background: var(--orange-soft);
}

.day.confirmed {
    color: white;
    background: var(--red);
}

.day.past {
    color: #9ca3af;
    background: #f3f4f6;
}

.day.selected {
    outline: 3px solid var(--green);
    outline-offset: 2px;
    color: #185c18;
    background: var(--green-soft);
}

.legend {
    margin-top: 18px;
    color: var(--muted);
    font-size: .94rem;
}

.legend i {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    border-radius: 4px;
    vertical-align: -2px;
}

.legend .free {
    background: var(--green-pale);
    border: 1px solid #b8dfaa;
}

.legend .tentative {
    background: var(--orange-soft);
}

.legend .confirmed {
    background: var(--red);
}

.booking-form {
    display: grid;
    gap: 14px;
}

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

.price-summary {
    padding: 16px;
    border: 1px solid #a8d69b;
    border-left: 8px solid var(--green);
    border-radius: 8px;
    background: var(--green-pale);
}

.price-summary span,
.price-summary strong,
.price-summary small {
    display: block;
}

.price-summary span {
    color: #285f28;
    font-weight: 900;
}

.price-summary strong {
    margin-top: 4px;
    color: #185c18;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.05;
}

.price-summary small {
    margin-top: 6px;
    color: #285f28;
}

label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-weight: 800;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 13px;
    color: var(--ink);
    background: #fffdf9;
    font: inherit;
}

textarea {
    resize: vertical;
}

.notice {
    width: var(--content-width);
    margin: 0 auto 18px;
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 800;
}

.notice.success {
    color: #064e3b;
    background: #d1fae5;
}

.notice.error {
    color: #7f1d1d;
    background: #fee2e2;
}

.assemble {
    width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
}

.footer {
    padding: 34px 0;
    color: white;
    background: #1f2933;
}

.footer-inner {
    width: var(--content-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.footer strong,
.footer span {
    display: block;
}

.footer span {
    color: #d1d5db;
}

.footer-contact a {
    color: white;
    font-weight: 800;
    text-decoration-color: rgba(255, 255, 255, .35);
    text-underline-offset: 4px;
    transition: color .18s ease, text-decoration-color .18s ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
    color: #fde68a;
    text-decoration-color: #fde68a;
}

.admin-body {
    background: var(--cream);
}

.admin-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 40px auto;
}

.login-box {
    width: min(420px, 100%);
    margin: 14vh auto 0;
    padding: 28px;
    display: grid;
    gap: 16px;
}

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

.admin-list {
    display: grid;
    gap: 14px;
}

.admin-card {
    display: grid;
    grid-template-columns: .75fr 1fr auto;
    gap: 18px;
    padding: 18px;
    border-left-width: 8px;
}

.admin-card.tentative {
    border-left-color: var(--orange);
}

.admin-card.confirmed {
    border-left-color: var(--red);
}

.admin-card span,
.admin-card small,
.admin-card a {
    display: block;
    color: var(--muted);
}

.admin-card p {
    margin: 0 0 6px;
    font-weight: 900;
}

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

.empty-state {
    padding: 22px;
    border-radius: 8px;
    background: white;
}

.manual-hero {
    width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr);
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
    padding: clamp(58px, 8vw, 112px) 0;
    background: var(--cream);
    box-shadow: 0 0 0 100vmax var(--cream);
    clip-path: inset(0 -100vmax);
}

.steps {
    width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: clamp(42px, 6vw, 72px) 0;
}

.steps article {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

.steps span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: #2b1700;
    background: var(--orange);
    font-weight: 900;
}

@media (max-width: 880px) {
    .header-inner,
    .footer-inner,
    .admin-top {
        align-items: flex-start;
        flex-direction: column;
    }

    nav {
        justify-content: flex-start;
    }

    .hero {
        min-height: 78vh;
    }

    .price-grid,
    .included-grid,
    .split,
    .split.reverse,
    .booking-layout,
    .assemble,
    .manual-hero,
    .steps,
    .admin-card {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 520px) {
    .intro-band {
        grid-template-columns: 1fr;
    }

    .intro-band div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .calendar-grid {
        gap: 5px;
    }

    .day {
        min-height: 43px;
        font-size: .9rem;
    }

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