:root {
    --forest: #24372f;
    --forest-deep: #182820;
    --sand: #eee7dc;
    --ivory: #f8f5ef;
    --paper: #fffdf9;
    --ink: #20251f;
    --muted: #666c64;
    --line: rgba(32, 37, 31, .16);
    --terracotta: #9d694e;
    --white: #fff;
    --serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --shadow: 0 24px 70px rgba(25, 40, 32, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: .7rem 1rem;
    background: var(--white);
    color: var(--ink);
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    left: 0;
    transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
    background: rgba(248, 245, 239, .96);
    box-shadow: 0 8px 30px rgba(25, 40, 32, .09);
    backdrop-filter: blur(12px);
}
.header-inner {
    width: min(1440px, calc(100% - 48px));
    min-height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}
.brand {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    letter-spacing: .08em;
    color: var(--white);
}
.brand-name {
    font-family: var(--serif);
    font-size: 1.48rem;
    letter-spacing: .18em;
}
.brand-place {
    margin-top: .46rem;
    font-size: .63rem;
    text-transform: uppercase;
    letter-spacing: .22em;
}
.site-header.is-scrolled .brand,
.site-header.is-scrolled .main-nav a { color: var(--ink); }
.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.4vw, 24px);
}
.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: .78rem;
    letter-spacing: .035em;
    position: relative;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -7px;
    height: 1px;
    background: currentColor;
    transition: right .2s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { right: 0; }
.header-cta {
    border: 1px solid rgba(255,255,255,.65);
    background: transparent;
    color: var(--white);
    padding: .78rem 1rem;
    font-size: .78rem;
    letter-spacing: .05em;
}
.site-header.is-scrolled .header-cta {
    border-color: var(--forest);
    color: var(--forest);
}
.menu-toggle { display: none; }

.hero {
    min-height: 780px;
    height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 58%) minmax(420px, 42%);
    background: var(--forest);
}
.hero-photo {
    min-height: 100%;
    background:
        linear-gradient(90deg, rgba(17,28,23,.05), rgba(17,28,23,.16)),
        url("../images/hero-villa-magopajo.jpg") center / cover no-repeat;
}
.hero-content {
    position: relative;
    min-height: 100%;
    padding: 150px clamp(46px, 6vw, 112px) 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}
.hero-content::before {
    content: "";
    position: absolute;
    top: 18%;
    right: 8%;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
}
.eyebrow {
    margin: 0 0 1.1rem;
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .19em;
    text-transform: uppercase;
}
.eyebrow-dark { color: var(--terracotta); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; }
h1 {
    margin-bottom: 1.4rem;
    font-size: clamp(3rem, 5vw, 6.3rem);
    letter-spacing: -.035em;
    max-width: 760px;
}
h2 {
    margin-bottom: 1.35rem;
    font-size: clamp(2.25rem, 4vw, 4.8rem);
    letter-spacing: -.03em;
}
h3 { font-size: 1.6rem; }
.hero-lead {
    max-width: 590px;
    font-family: var(--serif);
    font-size: clamp(1.18rem, 1.6vw, 1.55rem);
    line-height: 1.45;
    color: rgba(255,255,255,.87);
}
.hero-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.4rem;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.hero-features li { display: flex; align-items: center; gap: 1.4rem; }
.hero-features li:not(:last-child)::after {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
    min-height: 50px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .86rem 1.35rem;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
    transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--ivory); color: var(--forest); }
.button-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.button-outline-light:hover { background: rgba(255,255,255,.08); }
.button-dark { background: var(--forest); color: var(--white); }
.button-full { width: 100%; }
.hero-note {
    margin: 2rem 0 0;
    color: rgba(255,255,255,.67);
    font-size: .78rem;
}

.section { padding: clamp(80px, 10vw, 150px) max(24px, calc((100vw - 1280px) / 2)); }
.section-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px, 8vw, 130px); }
.intro h2 { max-width: 720px; }
.intro-copy { padding-top: 2rem; color: var(--muted); font-size: 1.06rem; }
.facts {
    margin-top: clamp(55px, 8vw, 105px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}
.facts article { padding: 28px 18px; text-align: center; border-right: 1px solid var(--line); }
.facts article:last-child { border-right: 0; }
.facts strong { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 400; line-height: 1; }
.facts span { display: block; margin-top: .65rem; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

.section-sand { background: var(--sand); }
.section-forest { background: var(--forest); color: var(--white); }
.story {
    display: grid;
    grid-template-columns: minmax(300px, .95fr) minmax(400px, 1.05fr);
    align-items: center;
    gap: clamp(50px, 9vw, 140px);
}
.story-reverse .story-media { order: 2; }
.story-reverse .story-copy { order: 1; }
.story-media { position: relative; }
.story-media::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 60%;
    height: 65%;
    right: -7%;
    bottom: -7%;
    border: 1px solid rgba(157, 105, 78, .48);
}
.story-reverse .story-media::after { right: auto; left: -7%; }
.story-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: min(650px, 72vw);
    object-fit: cover;
    box-shadow: var(--shadow);
}
.story-media-pool img { object-position: center 58%; }
.story-copy { max-width: 650px; }
.story-copy p { color: var(--muted); font-size: 1.05rem; }
.feature-list { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 30px; }
.feature-list li { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }

.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 50px; margin-bottom: 55px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 560px; color: var(--muted); }
.section-heading-light > p { color: rgba(255,255,255,.67); }
.gallery-grid {
    display: grid;
    grid-template-columns: 1.55fr .7fr .7fr;
    gap: 18px;
    min-height: 560px;
}
.gallery-grid figure { margin: 0; overflow: hidden; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-grid figure:hover img { transform: scale(1.025); }
.gallery-main { min-height: 560px; }

.room-tabs-shell { min-width: 0; }
.room-tabs {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(255,255,255,.17);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.3) transparent;
}
.room-tabs::-webkit-scrollbar { height: 6px; }
.room-tabs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.28); }
.room-tab {
    flex: 0 0 auto;
    min-height: 54px;
    padding: .58rem 1rem .54rem;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 0;
    background: transparent;
    color: rgba(255,255,255,.76);
    white-space: nowrap;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .16rem;
    line-height: 1.05;
}
.room-tab-name {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .045em;
}
.room-tab:hover { color: var(--white); border-color: rgba(255,255,255,.52); }
.room-tab:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.room-tab.is-active { background: var(--ivory); border-color: var(--ivory); color: var(--forest-deep); }
.room-panels { margin-top: 30px; }
.room-panel[hidden] { display: none; }
.room-panel:focus { outline: none; }
.room-panel-layout {
    display: grid;
    grid-template-columns: minmax(270px, .62fr) minmax(0, 1.38fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}
.room-copy {
    padding: 31px 0 0;
    border-top: 1px solid rgba(255,255,255,.24);
}
.room-kicker {
    margin: 0 0 1.2rem;
    color: rgba(255,255,255,.62) !important;
    font-size: .7rem !important;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.room-copy h3 {
    margin: 0 0 1.25rem;
    color: var(--white);
    font-family: var(--serif);
    font-size: clamp(2.2rem, 4.2vw, 4.25rem);
    font-weight: 400;
    line-height: 1;
}
.room-copy > p:not(.room-kicker) { color: rgba(255,255,255,.72); font-size: .98rem; }
.room-details { margin: 2rem 0 0; padding: 0; list-style: none; }
.room-details li {
    padding: .85rem 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.86);
    font-size: .78rem;
}
.room-photos { min-width: 0; display: grid; gap: 14px; }
.room-photos figure { margin: 0; min-width: 0; overflow: hidden; background: rgba(255,255,255,.06); }
.room-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.room-photos figure:hover img { transform: scale(1.025); }
.room-photos-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.room-photos-two figure { aspect-ratio: 3 / 4; }
.room-photos-one { grid-template-columns: minmax(0, 1fr); }
.room-photos-one figure { width: min(100%, 640px); aspect-ratio: 3 / 4; }
.room-photos-five {
    grid-template-columns: 1.22fr .8fr .8fr;
    grid-template-rows: repeat(2, minmax(255px, 1fr));
    min-height: 620px;
}
.region-explorer-heading {
    max-width: 820px;
    margin: clamp(64px, 8vw, 110px) 0 34px;
    padding-top: clamp(44px, 6vw, 72px);
    border-top: 1px solid var(--line);
}
.region-explorer-heading h3 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 3.8vw, 3.8rem);
    line-height: 1.06;
}
.region-explorer-heading > p:last-child {
    max-width: 690px;
    color: var(--muted);
    font-size: 1rem;
}

.region-guides { background: var(--paper); }
.interest-tabs-shell { min-width: 0; }
.interest-tabs {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--line);
    scrollbar-width: thin;
    scrollbar-color: rgba(36,55,47,.24) transparent;
}
.interest-tabs::-webkit-scrollbar { height: 6px; }
.interest-tabs::-webkit-scrollbar-thumb { background: rgba(36,55,47,.2); }
.interest-tab {
    flex: 0 0 auto;
    min-height: 52px;
    padding: .56rem 1rem .52rem;
    border: 1px solid rgba(32,37,31,.14);
    background: transparent;
    color: rgba(32,37,31,.72);
    white-space: nowrap;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.interest-tab-name {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .045em;
}
.interest-tab:hover { color: var(--ink); border-color: rgba(32,37,31,.32); }
.interest-tab:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.interest-tab.is-active { background: var(--forest); border-color: var(--forest); color: var(--white); }
.interest-panels { margin-top: 30px; }
.interest-panel[hidden] { display: none; }
.interest-panel:focus { outline: none; }
.interest-panel-layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(280px, 1.08fr);
    gap: clamp(26px, 4vw, 64px);
    align-items: center;
}
.interest-media {
    margin: 0;
    overflow: hidden;
    background: rgba(255,255,255,.72);
    box-shadow: var(--shadow);
}
.interest-media img {
    width: 100%;
    height: min(500px, 48vw);
    object-fit: cover;
}
.interest-copy {
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.interest-kicker {
    margin: 0 0 1rem;
    color: var(--terracotta);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.interest-copy h3 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 3.8vw, 3.8rem);
    line-height: 1.02;
}
.interest-copy > p:not(.interest-kicker) { color: var(--muted); font-size: 1rem; }
.interest-details { margin: 1.8rem 0 0; padding: 0; list-style: none; }
.interest-details li {
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: .88rem;
}

.availability {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: clamp(50px, 8vw, 120px);
    align-items: start;
}
.availability-copy { max-width: 590px; position: sticky; top: 132px; }
.availability-copy > p:not(.eyebrow) { color: var(--muted); }
.availability-detail { margin: -0.65rem 0 2rem; font-size: .8rem; }
.availability-legend { display: flex; flex-wrap: wrap; gap: 18px 22px; margin: 2rem 0; font-size: .82rem; }
.legend-dot { width: 11px; height: 11px; display: inline-block; margin-right: 7px; border-radius: 50%; }
.legend-available { background: #819878; }
.legend-unavailable { background: #b9afa1; }
.legend-past { background: transparent; border: 1px solid #bbb7ae; }
.calendar-card { background: var(--ivory); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.calendar-topline { min-height: 74px; padding: 0 30px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; }
.calendar-sync { min-height: 48px; padding: 13px 30px; display: flex; align-items: center; border-bottom: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.42); font-size: .75rem; }
.calendar-sync::before { content: ""; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: #c2a37f; box-shadow: 0 0 0 4px rgba(194,163,127,.14); }
.calendar-sync.is-ready::before { background: #819878; box-shadow: 0 0 0 4px rgba(129,152,120,.14); }
.calendar-sync.is-warning::before { background: #b6875f; box-shadow: 0 0 0 4px rgba(182,135,95,.14); }
.calendar-sync.is-error::before { background: #a45d51; box-shadow: 0 0 0 4px rgba(164,93,81,.14); }
.calendar-months { padding: 32px 30px 24px; }
.calendar-month + .calendar-month { margin-top: 38px; padding-top: 34px; border-top: 1px solid var(--line); }
.calendar-month-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 19px; }
.calendar-month-heading h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 2.55rem); font-weight: 400; }
.calendar-month-heading span { color: var(--muted); font-size: .72rem; letter-spacing: .12em; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.calendar-weekday { padding: 0 0 8px; color: var(--muted); text-align: center; text-transform: uppercase; letter-spacing: .08em; font-size: .62rem; font-weight: 700; }
.calendar-day { position: relative; min-width: 0; min-height: 52px; display: grid; place-items: center; border: 1px solid transparent; background: rgba(255,255,255,.74); color: var(--ink); font-size: .82rem; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.calendar-day.is-empty { background: transparent; }
.calendar-day.is-pending { color: transparent; background: linear-gradient(90deg, rgba(225,220,211,.42), rgba(255,255,255,.78), rgba(225,220,211,.42)); background-size: 220% 100%; animation: calendar-loading 1.3s linear infinite; }
.calendar-day.is-available { border-color: rgba(104,130,96,.22); background: #fff; }
.calendar-day.is-available::after { content: ""; position: absolute; right: 6px; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: #819878; }
.calendar-day.is-unavailable { color: #8a8378; background: #ddd6cc; }
.calendar-day.is-unavailable::after { content: ""; position: absolute; left: 23%; right: 23%; top: 50%; height: 1px; background: rgba(116,105,92,.42); transform: rotate(-35deg); }
.calendar-day.is-past { color: #aaa59c; background: transparent; border-color: rgba(32,37,31,.06); }
.calendar-day.is-today { outline: 1px solid var(--terracotta); outline-offset: -3px; }
.calendar-day.is-unknown { color: #8d867d; background: repeating-linear-gradient(135deg, rgba(226,220,211,.62), rgba(226,220,211,.62) 5px, rgba(248,245,239,.72) 5px, rgba(248,245,239,.72) 10px); }
.calendar-footnote, .calendar-error { margin: 0; padding: 0 30px 28px; color: var(--muted); font-size: .7rem; }
.calendar-error { color: #934c43; }
@keyframes calendar-loading { to { background-position: -220% 0; } }

.bike-access { background: #f2eee7; }
.bike-access-grid {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(360px, 1.1fr);
    gap: clamp(40px, 7vw, 110px);
    align-items: center;
}
.bike-access-copy { max-width: 620px; }
.bike-access-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.bike-feature-list { margin-top: 2.1rem; }
.bike-access-photos {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 16px;
    align-items: end;
}
.bike-photo {
    margin: 0;
    overflow: hidden;
    background: rgba(255,255,255,.7);
    box-shadow: var(--shadow);
}
.bike-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bike-photo-path { transform: translateY(26px); }
.bike-photo-path img { aspect-ratio: 3 / 4; }
.bike-photo-gate img { aspect-ratio: 4 / 5; }

.places-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.places-grid article { padding: 34px 30px; border-right: 1px solid var(--line); }
.places-grid article:last-child { border-right: 0; }
.places-grid span { display: inline-block; margin-bottom: 2.2rem; color: var(--terracotta); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.places-grid h3 { margin-bottom: .8rem; font-size: 1.55rem; }
.places-grid p { color: var(--muted); font-size: .9rem; }

.know { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.know-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 42px; }
.know-grid article { border-top: 1px solid var(--line); padding-top: 22px; }
.know-grid h3 { margin-bottom: .6rem; font-size: 1.4rem; }
.know-grid p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }
.know-cats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.know-cats-media {
    overflow: hidden;
    background: rgba(255,255,255,.72);
    box-shadow: var(--shadow);
}
.know-cats-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 7 / 8;
}
.know-cats-copy p { margin-bottom: 1rem; }
.know-cats-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
    font-size: .92rem;
}
.know-cats-list li + li { margin-top: .45rem; }


.contact-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 70px; }
.contact-inner > div { max-width: 850px; }
.contact-inner h2 { margin-bottom: 1.2rem; }
.contact-inner p:not(.eyebrow) { max-width: 710px; color: rgba(255,255,255,.7); }
.contact-inner .button { flex: 0 0 auto; }

.booking-platforms {
    padding: clamp(56px, 7vw, 92px) max(24px, calc((100vw - 1280px) / 2));
    background: var(--sand);
    border-top: 1px solid rgba(32,37,31,.1);
}
.booking-platforms-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: clamp(40px, 7vw, 100px);
    align-items: end;
}
.booking-platforms-copy { max-width: 760px; }
.booking-platforms-copy h2 { margin-bottom: 1rem; font-size: clamp(2.15rem, 3.7vw, 4.2rem); }
.booking-platforms-copy > p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }
.booking-platforms-links { display: grid; gap: 12px; }
.platform-link {
    min-height: 88px;
    padding: 18px 22px;
    border: 1px solid rgba(32,37,31,.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    background: rgba(255,255,255,.48);
    color: var(--forest-deep);
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.platform-link:hover,
.platform-link:focus-visible {
    transform: translateY(-2px);
    background: var(--paper);
    border-color: rgba(32,37,31,.34);
}
.platform-link span { font-family: var(--serif); font-size: 1.45rem; line-height: 1.05; }
.platform-link small {
    display: block;
    margin-bottom: .42rem;
    color: var(--muted);
    font-family: var(--sans);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.platform-link strong { font-size: 1.25rem; font-weight: 400; }

.site-footer { background: var(--forest-deep); color: rgba(255,255,255,.72); padding: 70px max(24px, calc((100vw - 1280px) / 2)) 28px; }
.footer-main { display: grid; grid-template-columns: 1fr .8fr 1.3fr; align-items: end; gap: 55px; padding-bottom: 55px; }
.brand-footer { color: var(--white); }
.footer-main p { margin: 0; max-width: 360px; font-size: .88rem; }
.footer-main nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }
.footer-main nav a, .footer-legal a { text-decoration: none; font-size: .8rem; }
.footer-main nav a:hover, .footer-legal a:hover { color: var(--white); }
.footer-legal { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; gap: 24px; font-size: .76rem; }
.footer-legal span { margin-right: auto; }

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 160;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,.34);
    background: rgba(24,40,32,.9);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(24,40,32,.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .2s ease;
}
.back-to-top span { font-size: 1rem; line-height: 1; }
.back-to-top small { font-size: .54rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.back-to-top:hover { background: var(--forest-deep); }
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.modal { display: none; position: fixed; inset: 0; z-index: 500; padding: 24px; }
.modal.is-open { display: grid; place-items: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(12,20,16,.72); backdrop-filter: blur(4px); }
.modal-dialog {
    position: relative;
    width: min(1080px, calc(100vw - 32px));
    margin: 0;
    padding: 34px 38px;
    display: grid;
    grid-template-columns: minmax(230px, .68fr) minmax(520px, 1.32fr);
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
    background: var(--paper);
    box-shadow: 0 40px 100px rgba(0,0,0,.35);
    overflow: visible;
}
.modal-intro { padding-right: 4px; }
.modal-intro h2 { margin-bottom: 1.2rem; font-size: clamp(2.45rem, 4.1vw, 4.35rem); }
.modal-intro > p:not(.eyebrow):not(.modal-intro-note) { color: var(--ink); font-size: 1rem; }
.modal-intro-note { margin-top: 1.6rem; color: var(--muted); font-size: .78rem; }
.modal-close { position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border: 0; background: transparent; color: var(--ink); font-size: 2rem; line-height: 1; }
.rates-form { margin-top: 0; }
.rates-form label { display: block; margin: 8px 0 5px; font-size: .75rem; font-weight: 700; letter-spacing: .035em; }
.rates-form > label:first-of-type { margin-top: 0; }
.rates-form input:not([type="checkbox"]), .rates-form select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--white);
    padding: .68rem .82rem;
    color: var(--ink);
}
.rates-form input:focus, .rates-form select:focus { outline: 2px solid rgba(36,55,47,.22); border-color: var(--forest); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row-three { grid-template-columns: 1fr 1fr .62fr; }
.checkbox-label { display: flex !important; gap: 10px; align-items: flex-start; margin-top: 14px !important; font-weight: 400 !important; line-height: 1.45; }
.checkbox-label input { margin-top: 4px; }
.privacy-note { margin: 10px 0 13px; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.form-status { min-height: 18px; margin-top: 9px; font-size: .8rem; }
.form-status.is-success { color: #31653f; }
.form-status.is-error { color: #a23b35; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.success-modal-dialog {
    position: relative;
    width: min(600px, calc(100vw - 32px));
    padding: clamp(38px, 6vw, 64px);
    background: var(--paper);
    box-shadow: 0 40px 100px rgba(0,0,0,.35);
    text-align: center;
}
.success-modal-dialog h2 {
    margin-bottom: 1rem;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
}
.success-modal-dialog > p:not(.eyebrow) {
    max-width: 470px;
    margin: 0 auto 1.8rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}
.success-mark {
    width: 58px;
    height: 58px;
    margin: 0 auto 1.4rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--forest);
    color: var(--white);
    font-size: 1.65rem;
    line-height: 1;
}


@media (max-width: 1120px) {
    .header-inner { width: min(100% - 32px, 1100px); }
    .header-cta { display: none; }
    .hero { grid-template-columns: 54% 46%; }
    .hero-content { padding-inline: 42px; }
    .facts { grid-template-columns: repeat(3, 1fr); }
    .facts article:nth-child(3) { border-right: 0; }
    .facts article:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
    .bike-access-grid { grid-template-columns: 1fr; }
    .bike-access-copy { max-width: none; }
    .bike-access-photos { max-width: 860px; }
    .bike-photo-path { transform: none; }
    .places-grid { grid-template-columns: repeat(2, 1fr); }
    .places-grid article:nth-child(2) { border-right: 0; }
    .places-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 740px) {
    .modal { padding: 16px; overflow-y: auto; }
    .modal.is-open { display: block; }
    .modal-dialog {
        width: min(620px, calc(100% - 0px));
        max-height: calc(100vh - 32px);
        overflow: auto;
        margin: 0 auto;
        padding: clamp(30px, 6vw, 52px);
        display: block;
    }
    .modal-intro h2 { font-size: clamp(2.25rem, 8vw, 3.6rem); }
    .success-modal-dialog { width: 100%; margin: 0 auto; }
    .modal-intro-note { margin-top: 1rem; }
    .rates-form { margin-top: 24px; }
    .rates-form label { margin-top: 15px; }
    .rates-form input:not([type="checkbox"]), .rates-form select { min-height: 50px; }
    .privacy-note { margin: 12px 0 15px; }
}

@media (max-width: 860px) {
    html { scroll-padding-top: 74px; }
    .site-header { background: rgba(24,40,32,.72); backdrop-filter: blur(10px); }
    .site-header.is-scrolled { background: rgba(248,245,239,.98); }
    .header-inner { min-height: 74px; }
    .menu-toggle {
        margin-left: auto;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        display: grid;
        align-content: center;
        gap: 5px;
    }
    .menu-toggle span { display: block; width: 24px; height: 1px; margin-left: auto; background: var(--white); transition: transform .2s ease, opacity .2s ease; }
    .site-header.is-scrolled .menu-toggle span { background: var(--ink); }
    .menu-toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .main-nav {
        display: none;
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        padding: 20px 24px 32px;
        background: var(--ivory);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        box-shadow: 0 22px 35px rgba(25,40,32,.15);
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { width: 100%; padding: 14px 0; color: var(--ink); border-bottom: 1px solid var(--line); font-size: .9rem; }
    .hero { height: auto; min-height: 100svh; display: block; background: var(--forest); }
    .hero-photo { min-height: 55svh; }
    .hero-content { min-height: auto; padding: 58px 24px 68px; }
    .hero-content::before { display: none; }
    h1 { font-size: clamp(3rem, 12vw, 5.2rem); }
    .section-grid, .story, .availability, .know, .bike-access-grid { grid-template-columns: 1fr; }
    .intro-copy { padding-top: 0; }
    .story-reverse .story-media, .story-reverse .story-copy { order: initial; }
    .story-media { max-width: 650px; }
    .story-media img { height: min(680px, 112vw); }
    .section-heading { grid-template-columns: 1fr; align-items: start; gap: 12px; }
    .room-panel-layout, .interest-panel-layout { grid-template-columns: 1fr; }
    .room-copy { max-width: 720px; padding-top: 25px; }
    .room-photos-five { min-height: 560px; grid-template-columns: 1.2fr 1fr; grid-template-rows: repeat(4, 270px); }
    .interest-media img { height: min(620px, 82vw); }
    .room-photos-five .room-photo-featured { grid-row: 1 / 3; }
    .room-photos-five figure:nth-child(4) { grid-column: 1; grid-row: 3 / 5; }
    .gallery-grid { grid-template-columns: 1.4fr .8fr; grid-template-rows: repeat(2, 270px); min-height: auto; }
    .gallery-main { grid-row: 1 / 3; min-height: auto; }
    .availability-copy { max-width: none; }
    .know { gap: 35px; }
    .contact-inner { align-items: flex-start; flex-direction: column; }
    .booking-platforms-inner { grid-template-columns: 1fr; align-items: start; }
    .booking-platforms-links { max-width: 700px; }
    .footer-main { grid-template-columns: 1fr; align-items: start; }
    .footer-main nav { justify-content: flex-start; }
}

@media (max-width: 600px) {
    .brand-name { font-size: 1.25rem; }
    .brand-place { font-size: .55rem; }
    .hero-photo { min-height: 48svh; background-position: center; }
    .hero-content { padding-top: 48px; }
    .hero-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hero-features li { gap: 0; }
    .hero-features li::after { display: none; }
    .hero-actions { flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .hero-note { line-height: 1.5; }
    .section { padding: 74px 22px; }
    h2 { font-size: clamp(2.15rem, 11vw, 3.3rem); }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .facts article { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line); }
    .facts article:nth-child(2n) { border-right: 0 !important; }
    .facts article:nth-last-child(-n+2) { border-bottom: 0; }
    .feature-list { grid-template-columns: 1fr; }
    .story-media::after { display: none; }
    .room-tabs { margin-right: -22px; padding-right: 22px; }
    .room-tab, .interest-tab { min-height: 50px; padding: .54rem .88rem .5rem; }
    .room-tab-name, .interest-tab-name { font-size: .69rem; }
    .room-panels, .interest-panels { margin-top: 24px; }
    .room-copy { padding-top: 22px; }
    .room-copy h3 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
    .room-photos, .room-photos-two, .room-photos-five, .room-photos-one { display: flex; min-height: 0; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; }
    .room-photos figure, .room-photos-five .room-photo-featured, .room-photos-five figure:nth-child(4) { flex: 0 0 84%; width: auto; height: 440px; aspect-ratio: auto; grid-column: auto; grid-row: auto; scroll-snap-align: start; }
    .room-photos-one figure { flex-basis: 100%; }
    .interest-tabs { margin-right: -22px; padding-right: 22px; }
    .gallery-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; }
    .gallery-grid figure { flex: 0 0 84%; height: 430px; scroll-snap-align: start; }
    .availability-copy { position: static; }
    .calendar-months { padding: 26px 20px 20px; }
    .calendar-topline, .calendar-sync { padding-inline: 20px; }
    .calendar-footnote, .calendar-error { padding-inline: 20px; }
    .calendar-day { min-height: 46px; }
    .bike-access-photos { grid-template-columns: 1fr; }
    .bike-photo { height: auto; }
    .places-grid { grid-template-columns: 1fr; }
    .places-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
    .places-grid article:last-child { border-bottom: 0; }
    .know-grid { grid-template-columns: 1fr; }
    .know-cats { grid-template-columns: 1fr; }
    .form-row, .form-row-three { grid-template-columns: 1fr; gap: 0; }
    .footer-legal { flex-wrap: wrap; }
    .footer-legal span { width: 100%; }
    .platform-link { min-height: 78px; padding: 16px 18px; }
    .platform-link span { font-size: 1.25rem; }
    .back-to-top { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}

@media (max-width: 430px) {
    .calendar-months { padding-inline: 14px; }
    .calendar-topline, .calendar-sync { padding-inline: 16px; }
    .calendar-footnote, .calendar-error { padding-inline: 16px; }
    .calendar-grid { gap: 4px; }
    .calendar-day { min-height: 40px; font-size: .74rem; }
    .calendar-weekday { font-size: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

/* V11 — calendrier multi-années, pages légales et information cookies */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.calendar-topline-season { gap: 20px; text-transform: none; letter-spacing: normal; }
.calendar-topline-season > div { display: flex; flex-direction: column; gap: 4px; }
.calendar-topline-season > div > span { color: var(--muted); font-size: .65rem; letter-spacing: .11em; text-transform: uppercase; }
.calendar-topline-season > div > strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; letter-spacing: 0; }
.calendar-year-nav { display: flex; align-items: center; gap: 7px; }
.calendar-year-nav > a,
.calendar-year-nav > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--forest);
    background: rgba(255,255,255,.7);
}
.calendar-year-nav > span { opacity: .35; }
.calendar-year-nav select {
    min-height: 34px;
    padding: 0 28px 0 9px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.7);
    color: var(--ink);
    font-size: .72rem;
}
.footer-cookie-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    text-decoration: underline;
    font: inherit;
    font-size: .8rem;
    cursor: pointer;
}
.cookie-banner {
    position: fixed;
    z-index: 900;
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 26px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: 0 24px 80px rgba(16,28,22,.28);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-content { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 30px; }
.cookie-banner h2 { margin-bottom: .7rem; font-size: clamp(1.6rem,3vw,2.4rem); }
.cookie-banner p:not(.eyebrow) { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.cookie-banner-actions { display: flex; align-items: center; gap: 10px; }
.cookie-link-button { border-color: var(--line); background: transparent; color: var(--forest); }
.cookie-settings-modal { display: none; position: fixed; inset: 0; z-index: 950; padding: 20px; place-items: center; }
.cookie-settings-modal.is-open { display: grid; }
.cookie-settings-backdrop { position: absolute; inset: 0; background: rgba(12,20,16,.72); backdrop-filter: blur(4px); }
.cookie-settings-dialog {
    position: relative;
    z-index: 1;
    width: min(760px,100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: clamp(30px,5vw,54px);
    background: var(--paper);
    box-shadow: 0 40px 100px rgba(0,0,0,.35);
}
.cookie-settings-dialog > h2 { margin-bottom: 1.5rem; font-size: clamp(2.2rem,5vw,3.8rem); }
.cookie-category { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 22px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); }
.cookie-category h3 { margin-bottom: .45rem; font-size: 1.35rem; }
.cookie-category p { margin-bottom: 0; color: var(--muted); font-size: .86rem; }
.cookie-required,.cookie-disabled { display: inline-flex; padding: .38rem .55rem; font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.cookie-required { background: #e3ede5; color: #2f6440; }
.cookie-disabled { background: #eee9e2; color: #756f66; }
.legal-page { min-height: 100vh; background: var(--paper); }
.legal-header { padding: 30px max(24px,calc((100vw - 1050px)/2)); border-bottom: 1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:20px; }
.legal-header .brand { color: var(--forest); }
.legal-header a:not(.brand) { font-size:.8rem; }
.legal-main { width:min(1050px,calc(100% - 44px)); margin:0 auto; padding:70px 0 100px; }
.legal-main h1 { color:var(--ink); font-size:clamp(3rem,7vw,5.8rem); }
.legal-main h2 { margin-top:3.2rem; font-size:clamp(1.8rem,3vw,2.7rem); }
.legal-main h3 { margin-top:2rem; font-size:1.35rem; }
.legal-main p,.legal-main li { color:var(--muted); }
.legal-main a { color:var(--forest); }
.legal-summary { padding:24px; background:var(--sand); border-left:3px solid var(--terracotta); }
.legal-warning { padding:18px 20px; background:#fff5e7; border:1px solid #e0b983; color:#73512f !important; }
.legal-table { width:100%; border-collapse:collapse; margin:1.4rem 0; }
.legal-table th,.legal-table td { padding:13px 14px; border:1px solid var(--line); text-align:left; vertical-align:top; font-size:.86rem; }
.legal-table th { background:var(--sand); color:var(--ink); }

@media (max-width: 700px) {
    .calendar-topline-season { align-items:flex-start; flex-direction:column; padding-block:18px; }
    .calendar-year-nav { width:100%; justify-content:space-between; }
    .calendar-year-nav label { flex:1; }
    .calendar-year-nav select { width:100%; }
    .cookie-banner { left:10px; right:10px; bottom:10px; padding:20px; }
    .cookie-banner-content { grid-template-columns:1fr; gap:18px; }
    .cookie-banner-actions { flex-direction:column; align-items:stretch; }
    .cookie-banner-actions .button { width:100%; }
    .cookie-category { grid-template-columns:1fr; }
    .legal-header { align-items:flex-start; flex-direction:column; }
    .legal-table { display:block; overflow-x:auto; }
}
