:root {
    --ink: #233b31;
    --shade: #4e5c51;
    --pine: #234638;
    --forest: #17362a;
    --paper: #f8f6f0;
    --sand: #eee9dd;
    --line: #d8d6ca;
    --white: #fffefa;
    --sun: #d6a767;
    --serif: Georgia, 'Times New Roman', serif;
    font: 16px/1.64 system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--paper);
    scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #ac7134; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; }
h2 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.045em; }
h3 { font-size: 1.65rem; }
p { color: var(--shade); }
h2 + p, h3 + p { margin-top: 1.05rem; }
.wrap { width: min(100% - 112px, 1290px); margin-inline: auto; }
.skip { position: absolute; z-index: 10; top: -6rem; background: white; padding: 1rem; }
.skip:focus { top: 1rem; }
.site-head { background: var(--paper); }
.nav { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font: 1.5rem/.95 var(--serif); flex-shrink: 0; }
.brand small { display: block; margin-top: .37rem; font: 650 .55rem/1 system-ui, sans-serif; letter-spacing: .27em; }
.brand-mark { border: 1px solid currentColor; border-radius: 50%; width: 41px; height: 41px; display: grid; place-items: center; font-size: 1.45rem; }
.nav nav, .footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 3vw, 2.65rem); }
.nav nav a, .footer-links a { text-decoration: none; font-size: .9rem; font-weight: 550; }
.nav nav a:hover, .footer-links a:hover { text-decoration: underline; }
.btn { background: var(--pine); color: white; border: 1px solid transparent; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 1rem; font-weight: 650; font-size: .88rem; line-height: 1.25; padding: .96rem 1.22rem; text-decoration: none; text-align: center; min-height: 44px; }
.btn:hover { background: var(--forest); }
.btn.light { background: #fcf8eb; color: var(--forest); }
.btn.light:hover { background: white; }
.btn.outline { background: transparent; color: var(--ink); border-color: #a7ab9f; }
.btn.outline:hover { background: #e5e5d7; }
.hero { position: relative; min-height: clamp(560px, 69vh, 790px); display: flex; align-items: center; background: var(--pine); isolation: isolate; color: var(--white); }
.hero > img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero > img { object-fit: cover; object-position: center 53%; z-index: -2; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, #13251de8 0%, #15281ebd 27%, #172b2055 60%, #192b1809 100%), linear-gradient(0deg,#16281a4d,transparent 45%); }
.hero-inner { padding-block: 5rem; }
.eyebrow { display: flex; align-items: center; gap: .6rem; color: #42644f; font-size: .74rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.eyebrow span { display: block; width: 22px; height: 1px; background: currentColor; }
.hero .eyebrow, .reserve .eyebrow { color: #f0d2a5; }
.hero h1 { font-size: clamp(3.45rem, 7vw, 6.3rem); letter-spacing: -.053em; line-height: .99; text-wrap: balance; max-width: 760px; }
.hero-intro { color: #fffdf4; font-size: 1.05rem; max-width: 420px; margin-top: 1.65rem; }
.hero-links { display: flex; gap: 1.5rem; align-items: center; margin-top: 1.85rem; flex-wrap: wrap; }
.hero-links > a:not(.btn) { font-size: .9rem; font-weight: 650; }
.facts { background: #eeebdf; border-bottom: 1px solid #e4e0d2; }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 1.3rem; }
.fact-grid > div { display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 43px; border-left: 1px solid #d6d3c5; }
.fact-grid > div:first-child { border-left: 0; }
.fact-grid span { color: #654b2e; font-size: 1.25rem; line-height: 1; }
.fact-grid strong { font: clamp(1rem, 2vw, 1.35rem)/1.1 var(--serif); }
.intro-section, .location { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); padding-block: clamp(4.5rem, 8vw, 8rem); }
.intro-copy > p:not(.eyebrow) { max-width: 495px; }
.intro-photo img { aspect-ratio: 1.29; object-fit: cover; border-radius: 8px; }
figcaption { margin-top: .55rem; font-size: .81rem; }
.amenities { display: grid; grid-template-columns: repeat(2,1fr); max-width: 520px; list-style: none; padding: 0; margin: 1.5rem 0 0; gap: .7rem 1rem; font-size: .89rem; }
.amenities li::before { content: '✓'; color: #496c55; padding-right: .45rem; }
.gallery-section { background: var(--sand); padding-block: clamp(4rem, 7vw, 7rem); }
.section-head { display: flex; gap: 1.5rem; justify-content: space-between; align-items: end; margin-bottom: 1.75rem; }
.gallery-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; grid-template-rows: repeat(2, minmax(145px, 16vw)); gap: .6rem; }
.gallery-grid a, .photo-grid a { position: relative; display: block; overflow: hidden; border-radius: 6px; }
.gallery-grid a:first-child { grid-row: span 2; }
.gallery-grid img, .photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid span, .photo-grid span { position: absolute; inset: auto 0 0; padding: 1.45rem .8rem .55rem; background: linear-gradient(transparent,#122219da); color: white; font-size: .82rem; }
.gallery-grid a:hover img, .photo-grid a:hover img { filter: brightness(.88); }
.all-photos { padding-block: 2rem 4rem; }
.all-photos h1 { font-size: clamp(2.4rem, 7vw, 5rem); margin-bottom: 1.5rem; }
.photo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; }
.photo-grid a { aspect-ratio: 1.5; }
dialog { border: 0; padding: 16px; margin: auto; width: min(95vw, 1170px); max-width: none; background: #10251b; color: #fff; border-radius: 8px; }
dialog::backdrop { background: #08120dea; }
.photo-frame { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .8rem; }
.photo-frame figure { grid-column: 2; }
.photo-frame img { object-fit: contain; max-height: 74vh; }
.photo-frame figcaption { text-align: center; }
.photo-frame button { border: 1px solid #ffffff70; border-radius: 50%; min-width: 44px; height: 44px; background: #1d372b; color: white; font-size: 1.65rem; line-height: 1; }
.photo-close { position: absolute; right: 18px; top: 18px; }
.reserve { padding-block: clamp(4rem, 7vw, 7rem); background: var(--pine); color: var(--white); }
.reserve-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6.5rem); }
.reserve-intro, .periods p { color: #edf0e6; max-width: 450px; }
.periods { margin-top: 2.2rem; border-top: 1px solid #b7c9bc66; padding-top: 1.35rem; }
.periods ul { list-style: none; margin: .8rem 0; padding: 0; }
.periods li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #b7c9bc66; padding: .65rem 0; font-size: .91rem; }
.periods a { color: #f3d39f; white-space: nowrap; }
.booking-card, .rules, .panel { background: var(--white); border: 1px solid var(--line); color: var(--ink); border-radius: 9px; padding: clamp(1.1rem, 3vw, 2rem); }
.booking-card .btn, .location .btn { margin-top: 1rem; }
form { margin: 0; }
form label { display: grid; gap: .25rem; font-size: .86rem; font-weight: 620; min-width: 0; }
form label + label, .field-grid, form label + .g-recaptcha { margin-top: .75rem; }
input:not([type=checkbox]), textarea, select { min-width: 0; width: 100%; min-height: 42px; background: #fff; color: var(--ink); border: 1px solid #a8b0a4; border-radius: 5px; padding: .5rem .65rem; }
textarea { resize: vertical; }
form > .btn { margin-top: 1rem; align-self: start; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.field-grid label + label { margin-top: 0; }
.field-grid + label { margin-top: .75rem; }
form label.check { display: flex; align-items: start; gap: .5rem; font-weight: 450; }
.check input { accent-color: var(--pine); width: 16px; height: 16px; margin: .19rem 0 0; flex: none; }
.g-recaptcha { max-width: 100%; }
.fine { font-size: .78rem; margin-top: .55rem; }
.preline { white-space: pre-line; overflow-wrap: anywhere; }
.notice { margin-block: .65rem; padding: .65rem .8rem; border-radius: 5px; background: #e4f1e5; color: #184421; }
.notice.error { background: #fae7e2; color: #772915; }
footer { background: #eae7da; padding-block: 2rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 1.7rem; flex-wrap: wrap; align-items: center; }
.footer-grid > small { color: #48554b; }
.site-credit { display: block; margin-top: .25rem; }
.site-credit a { font-weight: 700; }
.villa-video-section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.villa-video-player { width: min(100%, 900px); margin-top: 1rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px; background: #101512; }
.villa-video-player > :is(iframe, video) { display: block; width: 100%; height: 100%; border: 0; }
.villa-video-player + form { margin-top: .85rem; }

.admin { background: #f0eee5; }
.admin-head, .tabs { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem max(1.25rem, calc((100vw - 1060px)/2)); background: var(--forest); color: white; }
.admin-head > div, .range-row, .request-actions, .request-actions form, .date-form { display: flex; flex-wrap: wrap; align-items: end; gap: .7rem 1rem; }
.admin-head a { text-decoration: none; }
.admin-head .link { color: white; }
.tabs { justify-content: flex-start; background: #e4e8df; color: var(--ink); overflow: auto; }
.tabs a { text-decoration: none; padding: .25rem 0; white-space: nowrap; }
.tabs a[aria-current] { border-bottom: 2px solid var(--pine); font-weight: 750; }
.admin-main { width: min(calc(100% - 2rem), 1060px); margin: 2rem auto 4rem; }
.admin-main h1, .login h1 { font-size: 2.7rem; margin: 0 0 1rem; }
.panel h2, .request h2 { font-size: 1.6rem; letter-spacing: 0; }
.panel h2:not(:first-child) { margin-top: 1.5rem; }
.panel h2 + label, .panel h2 + p { margin-top: .6rem; }
.admin-main .panel { margin-top: .9rem; }
.login { width: min(calc(100% - 2rem), 440px); margin: 12vh auto 3rem; }
.login h1, .login form, .date-form { margin-top: 1rem; }
.request header { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.request p, .request-actions { margin-top: .7rem; }
.status { display: inline-block; padding: .25rem .5rem; background: #e7eddf; border-radius: 4px; color: var(--ink); font-size: .8rem; font-weight: 700; }
.range-row { padding: .6rem 0; align-items: center; border-bottom: 1px solid var(--line); }
.range-row span { flex: 1; }
.link { padding: 0; border: 0; background: transparent; color: inherit; text-decoration: underline; }
.link.danger { color: #8b3022; }
@media (max-width: 850px) {
    .wrap { width: calc(100% - 48px); }
    .nav { min-height: 73px; }
    .intro-section, .location, .reserve-grid { gap: 2rem; }
    .reserve-grid { grid-template-columns: 1fr 1.1fr; }
    .amenities { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
    .wrap { width: calc(100% - 32px); }
    .nav { gap: .5rem; min-height: 65px; }
    .nav nav { display: none; }
    .brand { font-size: 1.28rem; }
    .brand-mark { width: 34px; height: 34px; font-size: 1.2rem; }
    .nav .btn { padding: .64rem .7rem; gap: .4rem; }
    .hero { min-height: 565px; align-items: end; }
    .hero > img { object-position: 53% center; }
    .hero-shade { background: linear-gradient(0deg,#132a20f7,#172d2277 65%,#152a1930),linear-gradient(90deg,#13251d48,transparent); }
    .hero-inner { padding-block: 3rem; }
    .hero h1 { font-size: clamp(2.7rem, 11vw, 4.3rem); }
    .hero h1 br { display: none; }
    .hero-intro { margin-top: 1.05rem; }
    .hero-links { margin-top: 1.25rem; gap: 1rem; }
    .fact-grid { grid-template-columns: repeat(2,1fr); gap: .4rem 0; padding-block: .75rem; }
    .fact-grid > div:nth-child(3) { border-left: 0; }
    .intro-section, .location, .reserve-grid { grid-template-columns: 1fr; }
    .amenities { grid-template-columns: repeat(2,1fr); }
    .section-head { align-items: start; flex-direction: column; gap: 1rem; }
    .gallery-grid { grid-template-columns: repeat(2,1fr); grid-template-rows: 215px 115px 115px; }
    .gallery-grid a:first-child { grid-column: span 2; grid-row: auto; }
    .photo-grid { grid-template-columns: repeat(2,1fr); }
    .photo-frame { gap: .25rem; }
    .photo-frame button { min-width: 34px; height: 36px; }
    .photo-close { right: 8px; top: 8px; }
}
@media (max-width: 370px) {
    .field-grid { grid-template-columns: 1fr; }
    .booking-card { padding-inline: .85rem; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
@media (max-width: 760px) {
    .reserve-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
    .nav { display: grid; grid-template-columns: 1fr auto; gap: .1rem .7rem; padding-top: .65rem; }
    .nav nav { grid-row: 2; grid-column: 1 / -1; display: flex; gap: 1.25rem; padding-block: .55rem .62rem; }
    .nav nav a { font-size: .81rem; }
}
@media (max-width: 390px) {
    .g-recaptcha { transform: scale(.83); transform-origin: left center; }
}
.nav-tools, .nav .language-menu { display: flex; align-items: center; gap: .5rem; }
.nav .language-menu a { padding: .32rem .4rem; font-size: .76rem; border-radius: 4px; }
.nav .language-menu a[aria-current] { background: var(--pine); color: white; }
.nav .nav-btn { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.calendar { padding: .85rem; border-radius: 8px; background: var(--white); color: var(--ink); max-width: 480px; margin-top: 1.6rem; }
.admin .calendar { margin: 0; border: 1px solid var(--line); }
.calendar-head { display: grid; grid-template-columns: 40px 1fr 40px; text-align: center; align-items: center; }
.calendar-head h3 { font-size: clamp(1.25rem, 3vw, 1.65rem); }
.calendar-head a { font-size: 1.5rem; text-decoration: none; border-radius: 5px; }
.calendar-head a:hover { background: #eaede5; }
.calendar table { width: 100%; table-layout: fixed; border-spacing: 3px; margin-top: .35rem; text-align: center; font-size: .86rem; }
.calendar td { padding: 0; }
.calendar th { color: var(--shade); padding: .25rem 0; }
.calendar-day { display: block; border-radius: 4px; background: #efeee9; color: #526051; }
.calendar-day > * { display: grid; place-items: center; min-height: 34px; }
.calendar-day.open { background: #dbeedd; color: #163e25; font-weight: 700; }
.calendar-day.open a { text-decoration: none; }
.calendar-day.open a:hover { background: #badabf; border-radius: 4px; }
.calendar-day.booked { background: #f3e1dc; color: #6b2b21; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: .35rem .8rem; padding: .45rem .15rem 0; font-size: .75rem; }
.calendar-legend span::before { content: ''; display: inline-block; width: 11px; height: 11px; margin-right: .3rem; border-radius: 2px; background: #efeee9; border: 1px solid #d2d5ca; vertical-align: -.05rem; }
.calendar-legend .open::before { background: #dbeedd; border-color: #b7cfb8; }
.calendar-legend .booked::before { background: #f3e1dc; border-color: #dec1b7; }
.language-settings { padding: .7rem 0; margin-top: .45rem; border-bottom: 1px solid var(--line); }
.language-settings summary { cursor: pointer; font-weight: 650; }
.language-settings label:first-of-type { margin-top: .5rem; }
.language-settings:last-of-type { margin-bottom: .75rem; }
.admin-photos { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,290px),1fr)); gap: .9rem; }
.admin-photo > img { aspect-ratio: 1.55; object-fit: cover; border-radius: 5px; }
.admin-photo .status { margin-top: .6rem; }
.admin-photo > form { margin-top: .8rem; }
.photo-order { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; }
input.photo-position { width: 7rem; }
.photo-order > .btn { min-height: 42px; padding: .55rem .8rem; margin-top: 0; align-self: end; }
.photo-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-top: .65rem; }
.photo-controls .link { padding: .25rem; }
@media (max-width: 950px) {
    .nav { gap: .7rem; }
    .nav .primary-nav { gap: 1rem; }
}
@media (max-width: 790px) {
    .nav .primary-nav { gap: .6rem; }
    .nav .primary-nav a { font-size: .83rem; }
}
@media (max-width: 700px) {
    .nav .primary-nav { display: flex; grid-row: 2; grid-column: 1 / -1; padding-block: .55rem .62rem; gap: 1.2rem; }
    .site-head .nav { display: grid; grid-template-columns: 1fr auto; padding-top: .65rem; min-height: 66px; }
    .nav .brand { font-size: 1.22rem; }
    .nav .brand-mark { width: 34px; height: 34px; }
    .nav .language-menu { grid-column: auto; grid-row: auto; gap: .15rem; padding: 0; }
}
@media (max-width: 430px) {
    .nav .nav-btn { display: none; }
    .calendar { padding: .6rem; }
}

.location { align-items: start; }
.location-copy { min-width: 0; }
.location-contact {
    display: grid;
    gap: .6rem;
    margin: 1.3rem 0 0;
    padding: .95rem 0 0;
    border-top: 1px solid var(--line);
}
.location-contact > div { display: grid; grid-template-columns: minmax(5rem, 24%) minmax(0, 1fr); gap: .6rem; align-items: baseline; }
.location-contact dt { font-size: .83rem; font-weight: 700; color: var(--shade); }
.location-contact dd { margin: 0; overflow-wrap: anywhere; font-size: .95rem; }
.location-contact a { font-weight: 600; }

.public-overlays {
    position: fixed;
    z-index: 8;
    inset: auto max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    display: flex;
    align-items: end;
    gap: .75rem;
    pointer-events: none;
}
.public-overlays > * { pointer-events: auto; }
.whatsapp-button {
    display: grid;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    margin-inline-start: auto;
    place-items: center;
    border-radius: 50%;
    background: #157c4e;
    color: white;
    border: 1px solid #136740;
    box-shadow: 0 4px 14px #17362a3b;
}
.whatsapp-button:hover { background: #10653f; }
.cookie-banner {
    width: min(100%, 430px);
    padding: .95rem 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 9px;
    box-shadow: 0 5px 20px #17362a24;
}
.cookie-banner h2 { font: 750 1rem/1.3 system-ui, sans-serif; letter-spacing: 0; }
.cookie-banner p { margin: .4rem 0 .65rem; font-size: .83rem; line-height: 1.45; }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-actions .btn { padding: .45rem .75rem; font-size: .8rem; }
.cookie-link {
    display: block;
    margin-top: .3rem;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.cookie-link[hidden] { display: none; }
.youtube-placeholder {
    display: grid;
    place-content: center;
    justify-items: center;
    height: 100%;
    gap: .65rem;
    padding: 1rem;
    text-align: center;
    color: white;
}
.youtube-placeholder p { color: inherit; }
.youtube-placeholder .btn[hidden], .youtube-placeholder[hidden] { display: none; }
body:has(.whatsapp-button) footer { padding-inline-end: clamp(1rem, 5vw, 4.25rem); }

@media (max-width: 530px) {
    .public-overlays { flex-direction: column-reverse; }
    .whatsapp-button { flex-basis: auto; width: 52px; height: 52px; }
    .cookie-banner { width: 100%; }
}

.booking-price {
    margin-block: .9rem;
    padding: .75rem .95rem;
    background: #edf0e6;
    border-radius: 6px;
    color: var(--ink);
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    line-height: 1.45;
}
.period-detail { display: flex; flex-wrap: wrap; gap: .25rem .85rem; align-items: baseline; }
.period-detail strong { white-space: nowrap; }
.period-detail .fine { margin-top: 0; color: #edf0e6; }
.calendar-instructions { margin: .5rem 0 .7rem; font-size: .85rem; }
.calendar-instructions a { margin-inline-start: .35rem; }
.calendar-day.selected { background: var(--pine); color: white; }

