:root {
    --sand-50: #fffaf4;
    --sand-100: #f8f1e8;
    --sand-200: #efe0d1;
    --sand-400: #d7b798;
    --terracotta: #a9643d;
    --terracotta-strong: #8a4c2d;
    --olive: #5a7d6c;
    --olive-soft: #ecf3ee;
    --ink: #1f1c1a;
    --muted: #5e564f;
    --line: rgba(36, 25, 20, .09);
    --shadow-soft: 0 18px 44px rgba(62, 42, 30, .08);
    --shadow-card: 0 12px 28px rgba(49, 35, 27, .08);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #fffdfc 0%, #f7f2eb 100%);
    line-height: 1.6
}

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

.site-header {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 8px 24px rgba(31, 28, 26, .03)
}

.brand {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: .02em
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    font-size: .94rem
}

.nav a {
    padding: .5rem .15rem;
    color: var(--muted);
    transition: color .2s ease
}

.nav a:hover,
.nav a.active {
    color: var(--terracotta)
}

.nav-cta {
    border: 1px solid var(--terracotta);
    border-radius: 999px;
    padding: .58rem 1rem !important;
    background: linear-gradient(135deg, #fff 0%, var(--sand-100) 100%);
    box-shadow: 0 8px 18px rgba(169, 100, 61, .12)
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 1.6rem
}

.hero {
    min-height: 72vh;
    display: flex;
    align-items: center;
    padding: 7rem 7%;
    background: linear-gradient(90deg, rgba(17, 12, 10, .72), rgba(17, 12, 10, .18)), url("../img/principale.jpg") center/cover;
    color: #fff;
    box-shadow: inset 0 -40px 60px rgba(0, 0, 0, .08)
}

.hero-content {
    max-width: 700px
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .75rem;
    font-weight: 800;
    margin: 0 0 .6rem;
    opacity: .78
}

.hero h1,
.page-head h1 {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin: .2rem 0 1rem;
    letter-spacing: -.04em
}

.hero p:not(.eyebrow) {
    font-size: 1.15rem;
    max-width: 650px
}

.actions {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    margin-top: 1.8rem
}

.button {
    display: inline-block;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-strong) 100%);
    color: #fff;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: .8rem 1.3rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 22px rgba(138, 76, 45, .18);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 26px rgba(138, 76, 45, .2);
    filter: brightness(1.02)
}

.button-outline {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(255, 255, 255, .6)
}

.section {
    max-width: 1100px;
    margin: auto;
    padding: 5rem 5%
}

.intro {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem
}

.intro h2,
.callout h2 {
    font-size: 2rem;
    line-height: 1.15;
    margin-top: 0
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding-top: 0
}

.info-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.6rem 1.2rem;
    text-align: center;
    background: rgba(255, 255, 255, .7);
    box-shadow: var(--shadow-card);
}

.info-card span {
    display: block;
    font-size: 1.5rem
}

.info-card strong {
    display: block;
    font-size: 1.25rem
}

.info-card small {
    color: #777
}

.callout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(255, 250, 244, 1) 0%, rgba(238, 230, 220, 1) 100%);
    border: 1px solid rgba(169, 100, 61, .12);
    border-radius: 24px;
    margin-bottom: 5rem;
    box-shadow: var(--shadow-soft)
}

.page-head {
    max-width: 1100px;
    margin: auto;
    padding: 6rem 5% 3rem;
    background: transparent
}

.page-head h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem)
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem
}

.feature-list {
    padding: 0;
    list-style: none
}

.feature-list li {
    padding: .8rem 0;
    border-bottom: 1px solid var(--line)
}

.gallery-category {
    margin-bottom: 3.5rem
}

.gallery-category h2 {
    margin-bottom: 1rem
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem
}

.gallery-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .2s
}

.gallery-grid img:hover {
    transform: scale(1.015)
}

.empty-gallery {
    padding: 2rem;
    border: 1px dashed #ccc;
    border-radius: 10px;
    color: #777
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 2rem
}

.lightbox.open {
    display: flex
}

.lightbox img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain
}

.lightbox button {
    position: absolute;
    right: 25px;
    top: 15px;
    color: #fff;
    background: none;
    border: 0;
    font-size: 3rem;
    cursor: pointer
}

.seasonal-prices {
    padding-top: 1rem
}

.section-heading {
    max-width: 680px;
    margin-bottom: 2rem
}

.section-heading h2 {
    font-size: 2rem;
    line-height: 1.15;
    margin: .2rem 0 .75rem
}

.section-heading>p:last-child {
    color: #666
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem
}

.price-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.8rem;
    border: 1px solid rgba(169, 100, 61, .12);
    border-radius: 22px;
    background: rgba(255, 255, 255, .84);
    box-shadow: var(--shadow-card);
}

.price-card.featured {
    border-color: rgba(138, 76, 45, .35);
    background: linear-gradient(135deg, rgba(255, 250, 244, 1) 0%, rgba(242, 233, 224, 1) 100%);
}

.season-label {
    color: #8b5e3c;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase
}

.price-card h3 {
    margin: .45rem 0
}

.price-amount {
    margin: .35rem 0;
    font-size: 1.3rem;
    font-weight: 700
}

.price-card>p:not(.price-amount) {
    color: #666
}

.text-link {
    margin-top: auto;
    padding-top: .7rem;
    color: #8b5e3c;
    font-weight: 700
}

.text-link:hover {
    text-decoration: underline
}

.calendar-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem
}

.calendar-toolbar button {
    border: 1px solid rgba(169, 100, 61, .18);
    background: #fff;
    border-radius: 12px;
    font-size: 1.5rem;
    width: 42px;
    height: 42px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(31, 28, 26, .04)
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-card)
}

.calendar>div {
    min-height: 85px;
    padding: .55rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.weekday {
    font-weight: 700;
    min-height: auto !important;
    text-align: center;
    background: #f7f3ee
}

.day {
    background: #fff
}

.day.empty {
    background: #fafafa
}

.day .number {
    font-weight: 700
}

.day.available {
    background: #f1f8f2
}

.day.booked {
    background: #faeeee
}

.legend {
    display: flex;
    gap: 2rem;
    margin-top: 1rem
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: .4rem
}

.dot.available {
    background: #75a67b
}

.dot.booked {
    background: #c66
}

.map {
    width: 100%;
    height: 500px;
    border-radius: 14px;
    background: #eee
}

.map-note {
    color: #777;
    font-size: .9rem
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1rem
}

.contact-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    background: rgba(255, 255, 255, .78);
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, box-shadow .2s ease
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(49, 35, 27, .08)
}

.contact-card span {
    font-size: 1.5rem
}

.contact-card small {
    color: #777
}

.contact-form {
    max-width: 650px
}

.contact-form label {
    display: block;
    font-weight: 650;
    margin-bottom: 1rem
}

.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    margin-top: .35rem;
    border: 1px solid #ccc;
    border-radius: 7px;
    padding: .75rem;
    font: inherit
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    color: var(--muted);
    font-size: .9rem;
    background: rgba(255,255,255,.45)
}

code {
    background: #f2f2f2;
    padding: .15rem .3rem;
    border-radius: 4px
}

@media(max-width:800px) {
    .nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 72px;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 5%;
        border-bottom: 1px solid #eee
    }

    .nav.open {
        display: flex
    }

    .menu-toggle {
        display: block
    }

    .intro,
    .two-col {
        grid-template-columns: 1fr;
        gap: 1.5rem
    }

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

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

    .gallery-grid img {
        height: 190px
    }

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

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

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

    .site-footer {
        flex-direction: column
    }

    .hero {
        min-height: 65vh;
        padding: 5rem 7%
    }
}

@media(max-width:480px) {
    .cards {
        grid-template-columns: 1fr 1fr
    }

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

    .gallery-grid img {
        height: 230px
    }

    .calendar>div {
        min-height: 60px;
        padding: .35rem;
        font-size: .85rem
    }
}