:root {
    --ink: #18231d;
    --muted: #627067;
    --paper: #f7f3eb;
    --paper-2: #ebe8dc;
    --white: #ffffff;
    --line: #ded8ca;
    --forest: #2e604b;
    --forest-dark: #173b2e;
    --terracotta: #b55f3b;
    --amber: #d5aa5a;
    --sky: #d7e9ee;
    --shadow: 0 24px 70px rgba(27, 39, 32, .16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox-source {
    cursor: zoom-in;
}

.lightbox-source:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 3px;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

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

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 30;
    background: rgba(247, 243, 235, .86);
    border-bottom: 1px solid rgba(222, 216, 202, .72);
    backdrop-filter: blur(18px);
}

.nav {
    min-height: 74px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo,
.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    flex: 0 0 44px;
}

.brand-logo {
    object-fit: contain;
    background: var(--white);
}

.brand-mark {
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--forest), var(--terracotta));
    font-weight: 900;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 20px;
    line-height: 1;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.nav-links {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
}

.nav-links a:hover,
.nav-links a.is-active,
.text-link:hover {
    color: var(--terracotta);
}

.language-picker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.language-picker span {
    text-transform: uppercase;
}

.language-picker select {
    width: auto;
    min-height: 40px;
    max-width: 150px;
    padding: 8px 30px 8px 10px;
    border-radius: 8px;
    background: var(--white);
    font-weight: 800;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    background: var(--forest);
    color: var(--white);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(46, 96, 75, .24);
}

.button.ghost {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .4);
    box-shadow: none;
}

.button.wide {
    width: 100%;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    padding: 150px 0 42px;
    background: var(--forest-dark);
}

.home-hero {
    min-height: 86vh;
}

.hero-media,
.hero-placeholder {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-placeholder {
    background:
        linear-gradient(120deg, rgba(46, 96, 75, .92), rgba(181, 95, 59, .72)),
        repeating-linear-gradient(45deg, rgba(255,255,255,.08) 0 1px, transparent 1px 20px);
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(15, 28, 23, .86), rgba(15, 28, 23, .36) 58%, rgba(15, 28, 23, .78)),
        linear-gradient(180deg, rgba(15, 28, 23, .2), rgba(15, 28, 23, .82));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    padding-bottom: 130px;
}

.kicker {
    margin: 0 0 14px;
    color: var(--amber);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0;
}

.kicker.dark {
    color: var(--terracotta);
}

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

h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(56px, 9vw, 120px);
    line-height: .9;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    font-size: clamp(34px, 4.7vw, 64px);
    line-height: 1;
    letter-spacing: 0;
}

h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
}

.hero-text {
    max-width: 650px;
    margin: 24px 0 30px;
    color: rgba(255,255,255,.88);
    font-size: clamp(18px, 2vw, 23px);
}

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

.quick-panel {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 30px;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.quick-panel a {
    padding: 20px;
    border-right: 1px solid var(--line);
}

.quick-panel a:last-child {
    border-right: 0;
}

.quick-panel span,
.contact-cards span span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

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

.section {
    padding: 92px 0;
}

.page-hero {
    padding: 154px 0 70px;
    background: var(--paper);
}

.page-hero h1 {
    color: var(--ink);
}

.page-hero p {
    max-width: 720px;
    color: var(--muted);
    font-size: 20px;
}

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

.intro-grid,
.terms-grid,
.reservation-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 54px;
    align-items: start;
}

.intro-grid p,
.section-heading p,
.terms-grid p,
.reservation-copy p {
    color: var(--muted);
    font-size: 18px;
}

.section-heading {
    margin-bottom: 34px;
}

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

.section-heading.split p {
    max-width: 450px;
    margin: 0;
}

.accommodations-section {
    overflow: hidden;
}

.accommodation-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(330px, 420px);
    gap: 20px;
    overflow-x: auto;
    padding: 4px 0 18px;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--forest) rgba(46, 96, 75, .12);
}

.accommodation-card {
    min-height: 100%;
    display: grid;
    grid-template-rows: 260px 1fr;
    overflow: hidden;
    scroll-snap-align: start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.accommodation-image {
    background: var(--paper-2);
}

.accommodation-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.home-label {
    width: fit-content;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--sky);
    color: var(--forest-dark);
    font-size: 13px;
    font-weight: 900;
}

.accommodation-copy p {
    margin: 0;
    color: var(--muted);
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-list span {
    padding: 8px 10px;
    border-radius: 8px;
    background: #eef3ee;
    color: var(--forest-dark);
    font-size: 13px;
    font-weight: 800;
}

.text-link {
    width: fit-content;
    color: var(--forest);
    font-weight: 900;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.listing-grid {
    display: grid;
    gap: 24px;
}

.listing-card {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.listing-image {
    min-height: 330px;
    background: var(--paper-2);
}

.listing-copy {
    display: flex;
    flex-direction: column;
    gap: 17px;
    padding: clamp(24px, 4vw, 44px);
}

.listing-copy h2 {
    font-size: clamp(28px, 3vw, 42px);
}

.listing-copy p {
    margin: 0;
    color: var(--muted);
}

.useful-section {
    background: var(--white);
}

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

.useful-card {
    min-height: 190px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.useful-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

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

.area-section {
    background: #eef5f2;
}

.beach-section {
    background: #f7f3ea;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.experience-card {
    display: grid;
    grid-template-rows: 210px 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.experience-card img,
.media-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.experience-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

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

.media-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 180px;
    gap: 10px;
    margin-top: 28px;
}

.media-gallery figure {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--white);
}

.media-gallery figure.wide {
    grid-column: span 2;
    grid-row: span 2;
}

.compact-gallery {
    grid-auto-rows: 160px;
}

.detail-features {
    margin-top: 24px;
}

.detail-hero {
    min-height: 86vh;
    position: relative;
    display: grid;
    align-items: end;
    overflow: hidden;
    padding: 150px 0 72px;
    color: var(--white);
    background: var(--forest-dark);
}

.detail-media {
    position: absolute;
    inset: 0;
}

.detail-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15,28,23,.84), rgba(15,28,23,.28)),
        linear-gradient(180deg, rgba(15,28,23,.15), rgba(15,28,23,.85));
    pointer-events: none;
}

.detail-hero-copy {
    position: relative;
    z-index: 2;
}

.detail-hero-copy p {
    max-width: 660px;
    color: rgba(255,255,255,.86);
    font-size: 21px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: start;
}

.detail-grid p {
    color: var(--muted);
    font-size: 18px;
}

.info-panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.info-panel dl {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
}

.info-panel dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.info-panel dt {
    color: var(--muted);
    font-weight: 800;
}

.info-panel dd {
    margin: 0;
    font-weight: 900;
    text-align: right;
}

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

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

.gallery-tile {
    min-height: 210px;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    cursor: pointer;
}

.gallery-tile.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(46,96,75,.12), rgba(181,95,59,.16)),
        var(--paper-2);
    color: var(--forest-dark);
    text-align: center;
}

.image-placeholder span {
    font-size: 18px;
    font-weight: 900;
}

.image-placeholder small {
    color: var(--muted);
}

.terms-section {
    background: var(--forest-dark);
    color: var(--white);
}

.terms-grid p {
    color: rgba(255,255,255,.78);
}

.terms-card {
    padding: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
}

.terms-card ul {
    margin: 18px 0 0;
    padding-left: 20px;
    color: rgba(255,255,255,.82);
}

.terms-card li + li {
    margin-top: 10px;
}

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

.contact-cards {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.contact-cards a,
.contact-cards > span {
    display: block;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.contact-cards strong {
    display: block;
    margin-top: 4px;
}

.reservation-form {
    display: grid;
    gap: 16px;
    padding: clamp(22px, 4vw, 34px);
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

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

label {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 900;
    font-size: 14px;
}

.optional-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

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

textarea {
    min-height: 120px;
    resize: vertical;
}

.form-status {
    min-height: 24px;
    margin: 0;
    color: var(--muted);
    font-weight: 800;
}

.form-status.success {
    color: var(--forest);
}

.form-status.error {
    color: #a93324;
}

.availability-widget {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7f3ea;
}

.availability-head {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 8px;
    align-items: center;
    text-align: center;
}

.availability-head strong {
    color: var(--ink);
    font-size: 14px;
}

.calendar-nav {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
}

.availability-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

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

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.available {
    background: #1f6fd1;
}

.legend-dot.booked {
    background: #c63d32;
}

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

.availability-month {
    min-width: 0;
}

.availability-month h4 {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 14px;
}

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

.calendar-weekdays {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.calendar-day,
.calendar-empty {
    aspect-ratio: 1;
    min-width: 0;
}

.calendar-day {
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--white);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.calendar-day.is-available {
    background: #1f6fd1;
}

.calendar-day.is-booked {
    background: #c63d32;
    cursor: not-allowed;
}

.calendar-day.is-past {
    background: #d8d1c3;
    color: #7c7467;
    cursor: not-allowed;
}

.calendar-day.is-selected {
    outline: 3px solid #14110d;
    outline-offset: 1px;
}

.footer {
    padding: 72px 0 28px;
    background: var(--white);
    border-top: 1px solid var(--line);
}

.footer-main {
    display: block;
}

.footer-main p {
    max-width: 460px;
    color: var(--muted);
}

.footer strong {
    color: var(--ink);
}

.footer-brand {
    display: block;
    font-size: 30px;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.footer-contact a,
.footer-contact span {
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--paper);
    color: var(--forest-dark);
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.lightbox {
    width: min(980px, calc(100% - 28px));
    border: 0;
    border-radius: 8px;
    padding: 0;
    background: var(--ink);
    color: var(--white);
}

.lightbox::backdrop {
    background: rgba(0,0,0,.72);
}

.lightbox img {
    max-height: 76vh;
    object-fit: contain;
    background: #101714;
}

.lightbox p {
    margin: 0;
    padding: 14px 18px 18px;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: rgba(255,255,255,.92);
    color: var(--ink);
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 900px) {
    .nav {
        grid-template-columns: auto 1fr auto;
    }

    .header-button {
        display: none;
    }

    .language-picker {
        justify-self: end;
    }

    .language-picker span {
        display: none;
    }

    .nav-toggle {
        display: block;
        justify-self: end;
    }

    .nav-links {
        position: fixed;
        top: 74px;
        right: 16px;
        left: 16px;
        display: none;
        grid-column: 1 / -1;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: grid;
        gap: 12px;
    }

    .hero {
        min-height: 760px;
        padding-top: 120px;
    }

    .hero-content {
        padding-bottom: 170px;
    }

    .quick-panel,
    .intro-grid,
    .terms-grid,
    .reservation-grid,
    .listing-card,
    .detail-grid,
    .useful-grid,
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .quick-panel {
        bottom: 18px;
    }

    .quick-panel a {
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 14px 16px;
    }

    .quick-panel a:last-child {
        border-bottom: 0;
    }

    .accommodation-scroll {
        grid-auto-columns: minmax(280px, 82vw);
    }

    .listing-image {
        min-height: 280px;
    }

    .section-heading.split {
        display: grid;
        align-items: start;
    }

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

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

    .availability-months {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .shell {
        width: min(100% - 24px, 1180px);
    }

    .brand small {
        display: none;
    }

    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 36px;
    }

    .section {
        padding: 66px 0;
    }

    .form-row,
    .gallery-grid,
    .media-gallery {
        grid-template-columns: 1fr;
    }

    .media-gallery {
        grid-auto-rows: 240px;
    }

    .media-gallery figure.wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .availability-widget {
        padding: 10px;
    }

    .calendar-day {
        font-size: 11px;
    }

    .gallery-tile.featured {
        grid-column: span 1;
        grid-row: span 1;
    }
}
