:root {
    --ink: #17201d;
    --forest: #163b32;
    --forest-2: #24594c;
    --cream: #f4efe5;
    --paper: #fffdf8;
    --gold: #b58a46;
    --silver: #8a9693;
    --line: rgba(23, 32, 29, .16);
    --danger: #9c302b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
.site-header { height: 72px; padding: 0 clamp(20px, 5vw, 80px); display: flex; align-items: center; justify-content: space-between; background: var(--forest); color: #fff; }
.site-header nav { display: flex; gap: 22px; align-items: center; }
.site-header a { text-decoration: none; }
.brand { font-family: Georgia, serif; font-size: 22px; letter-spacing: .03em; }
.language { border: 1px solid rgba(255,255,255,.45); padding: 6px 10px; font-size: 13px; }
.hero { min-height: 620px; padding: clamp(60px, 10vw, 130px) clamp(24px, 8vw, 120px); background: var(--forest); color: #fff; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 8vw; align-items: center; overflow: hidden; }
.hero h1 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(44px, 6.2vw, 86px); line-height: 1.02; max-width: 900px; margin: 16px 0 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700; }
.lead { font-size: clamp(18px, 2vw, 24px); max-width: 680px; color: rgba(255,255,255,.78); margin-bottom: 36px; }
.hero-mark { aspect-ratio: 1; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; position: relative; color: rgba(255,255,255,.82); }
.hero-mark i { width: 1px; height: 56%; background: rgba(255,255,255,.3); }
.hero-mark strong { position: absolute; bottom: 16%; font-family: Georgia, serif; font-weight: 400; color: #fff; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: .2s ease; }
.button-primary { color: #fff; background: var(--gold); }
.button-primary:hover { background: #c49a57; }
.button-secondary { background: transparent; border-color: currentColor; }
.button:disabled { opacity: .45; cursor: not-allowed; }
.full-width { width: 100%; }
.section { padding: clamp(70px, 10vw, 130px) clamp(24px, 8vw, 120px); }
.section-heading { max-width: 680px; margin-bottom: 40px; }
.section h2, .booking-section h2 { font-family: Georgia, serif; font-size: clamp(36px, 4.5vw, 60px); font-weight: 400; line-height: 1.1; margin: 10px 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { min-height: 390px; padding: 32px; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); position: relative; overflow: hidden; }
.product-card::after { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid currentColor; border-radius: 50%; opacity: .1; right: -60px; top: -70px; }
.product-image { width: calc(100% + 64px); height: 210px; margin: -32px -32px 24px; object-fit: cover; position: relative; z-index: 1; }
.product-image + .product-number + h3 { margin-top: 22px; }
.product-full-house { color: #fff; background: var(--forest); }
.product-number { color: var(--gold); font-size: 13px; letter-spacing: .12em; }
.product-card h3 { font-family: Georgia, serif; font-size: 31px; font-weight: 400; margin: 54px 0 10px; }
.product-card p { opacity: .78; }
.product-card ul { list-style: none; padding: 0; margin: auto 0 28px; border-top: 1px solid currentColor; }
.product-card li { padding: 9px 0; border-bottom: 1px solid currentColor; opacity: .7; }
.booking-section { padding: clamp(70px, 10vw, 130px) clamp(24px, 8vw, 120px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; color: #fff; background: #0e2923; }
.booking-intro > p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.info-strip { margin: 38px 0; display: grid; gap: 10px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.booking-form { padding: clamp(24px, 4vw, 48px); color: var(--ink); background: var(--paper); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
label, legend { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
input, select, textarea { width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(181,138,70,.45); border-color: var(--gold); }
fieldset { border: 0; padding: 28px 0 0; margin: 0; }
fieldset:disabled { display: none; }
legend { font-family: Georgia, serif; font-size: 25px; font-weight: 400; margin-bottom: 14px; }
.wide { grid-column: 1 / -1; }
.quote-result { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 18px; background: #edf3ef; }
.calendar-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin: 25px 0 10px; font-size: 13px; }
.calendar-heading span { display: flex; align-items: center; gap: 6px; color: #68706c; }
.calendar-heading i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.available-dot { background: #3f876c; }
.unavailable-dot { background: #c9cbc8; margin-left: 8px; }
.availability-calendar { display: flex; gap: 12px; overflow-x: auto; padding: 0 0 18px; margin-bottom: 8px; scroll-snap-type: x proximity; }
.calendar-month { min-width: 255px; padding: 14px; border: 1px solid var(--line); scroll-snap-align: start; }
.calendar-month h4 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 18px; font-weight: 400; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.day-name { padding: 4px 0; text-align: center; color: #747b77; font-size: 10px; }
.calendar-day { aspect-ratio: 1; border: 0; background: #e5f0ea; color: var(--ink); cursor: pointer; font-size: 11px; }
.calendar-day:hover:not(:disabled) { outline: 2px solid var(--gold); }
.calendar-day.is-unavailable { background: #ececea; color: #a2a5a3; text-decoration: line-through; cursor: default; }
.calendar-loading { padding: 25px; color: #777; }
.form-message { min-height: 24px; padding-top: 10px; color: var(--forest); }
.form-message.error { color: var(--danger); }
.terms-check { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; font-weight: 500; }
.terms-check input { width: auto; margin-top: 4px; }
.disabled-note { color: var(--danger); font-size: 13px; }
.honeypot { position: absolute !important; left: -9999px !important; }
.rules-section { padding: 48px clamp(24px, 8vw, 120px); background: var(--gold); display: grid; grid-template-columns: .4fr 1.6fr; gap: 40px; }
.rules-section p { margin: 0; }
footer { padding: 28px clamp(24px, 8vw, 120px); background: var(--ink); color: #fff; display: flex; justify-content: space-between; gap: 20px; }
.document-page { background: var(--paper); }
.document { max-width: 850px; margin: 0 auto; padding: 70px 24px; }
.document h1 { font-family: Georgia, serif; font-size: clamp(38px, 6vw, 64px); font-weight: 400; }
.document h2 { margin-top: 40px; }
.preline { white-space: pre-line; }

/* Complete property website */
.site-header { position: sticky; top: 0; z-index: 30; }
.hero-photo { position: relative; isolation: isolate; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .55fr); }
.hero-background, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-background { z-index: -2; object-fit: cover; }
.hero-overlay { z-index: -1; background: linear-gradient(90deg, rgba(8,27,23,.94) 0%, rgba(8,27,23,.72) 55%, rgba(8,27,23,.34) 100%); }
.hero-facts { align-self: end; display: grid; gap: 1px; border: 1px solid rgba(255,255,255,.28); background: rgba(9,28,23,.48); backdrop-filter: blur(10px); }
.hero-facts span { display: flex; justify-content: space-between; gap: 24px; padding: 17px 19px; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.hero-facts span:last-child { border: 0; }
.hero-facts strong { color: #fff; font-size: 15px; }
.intro-section { padding: clamp(60px, 8vw, 105px) clamp(24px, 13vw, 190px); display: grid; grid-template-columns: .45fr 1fr; column-gap: 7vw; background: var(--paper); }
.intro-section h2, .property-detail h2, .wellness-section h2, .location-section h2 { font-family: Georgia, serif; font-weight: 400; line-height: 1.08; }
.intro-section h2 { grid-column: 2; margin: 0 0 22px; font-size: clamp(39px, 5vw, 68px); }
.intro-section > p:last-child { grid-column: 2; max-width: 850px; margin: 0; font-size: clamp(17px, 2vw, 22px); color: #57615d; }
.card-tagline { margin: 20px 0 0 !important; color: var(--gold); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.product-card h3 { margin: 8px 0 10px; }
.product-image + .product-number + .card-tagline + h3 { margin-top: 8px; }
.card-actions { display: grid; grid-template-columns: 1fr 1.15fr; gap: 8px; }
.property-detail { padding: clamp(70px, 9vw, 120px) clamp(24px, 8vw, 120px); border-top: 1px solid var(--line); background: var(--paper); scroll-margin-top: 72px; }
.property-detail:nth-of-type(even) { background: #efeadf; }
.property-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 36px; }
.property-heading h2 { margin: 9px 0 15px; font-size: clamp(40px, 5vw, 68px); }
.property-summary { max-width: 820px; margin: 0; font-size: clamp(17px, 2vw, 22px); color: #59625e; }
.fact-row { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0 0 46px; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-row li { padding: 16px 12px; text-align: center; border-right: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.fact-row li:last-child { border: 0; }
.detail-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(30px, 7vw, 100px); margin-bottom: 55px; }
.detail-columns h3, .gallery-heading h3 { font-family: Georgia, serif; font-size: 29px; font-weight: 400; }
.detail-columns ul, .amenity-groups ul { padding-left: 20px; }
.detail-columns li, .amenity-groups li { margin: 7px 0; }
.gallery-heading { display: flex; justify-content: space-between; align-items: baseline; }
.gallery-heading span { color: #6d7470; font-size: 13px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery-item { position: relative; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 0; background: #d9dbd7; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-featured .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-more { margin-top: 16px; }
.gallery-more summary { width: fit-content; margin: 20px auto 30px; padding: 12px 18px; border: 1px solid currentColor; font-weight: 750; cursor: pointer; }
.source-line { display: flex; justify-content: space-between; gap: 24px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); color: #68706c; font-size: 13px; }
.source-line a { font-weight: 700; }
.wellness-section { padding: clamp(75px, 10vw, 135px) clamp(24px, 8vw, 120px); display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; color: #fff; background: var(--forest); scroll-margin-top: 72px; }
.wellness-copy h2, .amenity-groups h2, .location-section h2 { margin: 10px 0 25px; font-size: clamp(37px, 4.4vw, 60px); }
.wellness-copy > p:last-child { color: rgba(255,255,255,.75); font-size: 17px; }
.amenity-groups details { border-top: 1px solid rgba(255,255,255,.22); }
.amenity-groups details:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.amenity-groups summary { display: flex; justify-content: space-between; padding: 17px 0; cursor: pointer; font-weight: 700; }
.amenity-groups summary span { color: var(--gold); }
.amenity-groups ul { columns: 2; padding-bottom: 16px; color: rgba(255,255,255,.76); }
.location-section { padding: clamp(70px, 9vw, 120px) clamp(24px, 8vw, 120px); display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: center; background: #d8d9cf; scroll-margin-top: 72px; }
.location-section > p { font-size: clamp(17px, 2vw, 21px); color: #515b57; }
.rules-section ul { columns: 2; margin: 0; padding-left: 20px; }
.rules-section li { margin: 0 0 8px; }
.image-lightbox { width: min(94vw, 1500px); max-height: 94vh; padding: 0; border: 0; background: #111; }
.image-lightbox::backdrop { background: rgba(0,0,0,.88); }
.image-lightbox img { width: 100%; max-height: 90vh; display: block; object-fit: contain; }
.lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.68); font-size: 28px; cursor: pointer; }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-mark { width: min(100%, 420px); }
    .product-grid, .booking-section { grid-template-columns: 1fr; }
    .product-card { min-height: 330px; }
    .hero-facts { margin-top: 35px; }
    .intro-section, .wellness-section, .location-section { grid-template-columns: 1fr; }
    .intro-section h2, .intro-section > p:last-child { grid-column: 1; }
    .fact-row { grid-template-columns: repeat(3, 1fr); }
    .fact-row li:nth-child(3) { border-right: 0; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .site-header nav > a:not(.language) { display: none; }
    .hero { padding-top: 70px; }
    .hero h1 { font-size: 44px; }
    .form-grid { grid-template-columns: 1fr; }
    .wide { grid-column: auto; }
    .rules-section { grid-template-columns: 1fr; gap: 12px; }
    footer { flex-direction: column; }
    .card-actions, .detail-columns { grid-template-columns: 1fr; }
    .property-heading { align-items: flex-start; flex-direction: column; }
    .fact-row { grid-template-columns: repeat(2, 1fr); }
    .fact-row li:nth-child(3) { border-right: 1px solid var(--line); }
    .fact-row li:nth-child(even) { border-right: 0; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-featured .gallery-item:first-child { grid-column: span 2; }
    .amenity-groups ul, .rules-section ul { columns: 1; }
    .source-line { flex-direction: column; }
}

/* Admin */
.admin-body { background: #eef0ec; }
.admin-header { min-height: 64px; padding: 14px clamp(18px, 4vw, 54px); display: flex; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; }
.admin-header nav { display: flex; gap: 20px; }
.admin-shell { max-width: 1500px; margin: 0 auto; padding: 30px clamp(14px, 3vw, 40px) 70px; }
.admin-panel { margin-bottom: 24px; padding: clamp(18px, 3vw, 34px); background: #fff; border: 1px solid rgba(0,0,0,.08); }
.admin-panel-title { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 24px; }
.admin-panel h1, .admin-panel h2, .login-card h1 { margin: 0; font-family: Georgia, serif; font-weight: 400; font-size: 34px; }
.admin-alert { margin-bottom: 18px; padding: 14px 18px; border-left: 4px solid; background: #fff; }
.admin-alert.success { border-color: #26805d; }
.admin-alert.error { border-color: var(--danger); }
.login-card { width: min(430px, calc(100% - 32px)); margin: 10vh auto; padding: 38px; background: #fff; box-shadow: 0 18px 60px rgba(0,0,0,.12); }
.login-card label { display: block; margin: 18px 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
td small { display: block; color: #6d7571; }
.status { display: inline-block; padding: 4px 8px; border-radius: 20px; background: #e8eae8; font-size: 11px; }
.status-confirmed { background: #d9eee4; color: #185e42; }
.status-pending_payment { background: #fff0ce; color: #765312; }
.status-cancelled, .status-expired { background: #f1dddd; color: #80332f; }
.inline-form { display: inline-block; margin: 0 3px 3px 0; }
.mini-button { padding: 6px 9px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.mini-button.danger { color: var(--danger); }
.admin-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.admin-card { padding: 22px; border: 1px solid var(--line); }
.admin-card h3 { margin-top: 0; font-family: Georgia, serif; font-size: 25px; font-weight: 400; }
.admin-card label, .settings-form label { display: block; margin-bottom: 12px; }
.three-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.check-line, .activation-check { display: flex !important; gap: 8px; align-items: center; }
.check-line input, .activation-check input { width: auto; margin: 0; }
.admin-row-form { display: flex; gap: 10px; align-items: end; margin-bottom: 22px; flex-wrap: wrap; }
.admin-row-form label { min-width: 130px; flex: 1; }
.admin-row-form .wide-field { min-width: 300px; flex: 2; }
.ical-link { display: grid; grid-template-columns: 220px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ical-link code { overflow: auto; padding: 8px; background: #f1f2ef; }
.activation-check { margin-top: 20px; font-size: 16px; }
.warning-note, .error-text { color: var(--danger); }
.admin-help { max-width: 920px; color: #68706c; font-size: 13px; }
#content, #media { scroll-margin-top: 20px; }
.language-editors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.language-editor { min-width: 0; padding: 22px; border: 1px solid var(--line); background: #fbfaf6; }
.language-editor legend { padding: 0 8px; }
.language-editor label, .registration-field { display: block; margin-bottom: 14px; }
.amenity-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.amenity-editor-pair { padding: 18px; border: 1px solid var(--line); background: #f7f7f3; }
.amenity-editor-pair label { display: block; margin-bottom: 10px; }
.property-content-editors { margin-top: 32px; }
.admin-details { margin-top: 12px; border: 1px solid var(--line); background: #fff; }
.admin-details > summary { padding: 17px 20px; cursor: pointer; list-style-position: inside; }
.admin-details[open] > summary { border-bottom: 1px solid var(--line); background: #f3f4f0; }
.property-content-form, .media-details > form, .media-details > .admin-media-grid { margin: 20px; }
.registration-field { width: min(420px, 100%); }
.media-upload-form { display: flex; align-items: end; gap: 14px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.media-upload-form label { flex: 1; min-width: 260px; }
.admin-media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.admin-media-card { min-width: 0; padding: 12px; border: 1px solid var(--line); background: #fafaf7; }
.admin-media-card.is-cover { outline: 3px solid var(--gold); }
.admin-media-image { position: relative; aspect-ratio: 4 / 3; margin-bottom: 8px; overflow: hidden; background: #ddd; }
.admin-media-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.admin-media-image strong, .admin-media-image span { position: absolute; top: 8px; padding: 4px 7px; color: #fff; background: rgba(0,0,0,.72); font-size: 11px; }
.admin-media-image strong { left: 8px; }
.admin-media-image span { right: 8px; }
.admin-media-card > small { display: block; min-height: 34px; overflow-wrap: anywhere; color: #69716d; }
.image-alt-form label { display: block; margin-top: 8px; font-size: 11px; }
.image-alt-form input { margin-top: 4px; padding: 8px; font-size: 12px; }
.image-alt-form .mini-button { margin-top: 8px; }
.image-actions { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.image-actions form { margin: 0; }
.mini-button:disabled { opacity: .35; cursor: not-allowed; }
@media (max-width: 1050px) { .admin-card-grid { grid-template-columns: 1fr; } }
@media (max-width: 1050px) { .admin-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .admin-panel-title, .admin-header { align-items: flex-start; } .admin-header nav { flex-wrap: wrap; } .ical-link { grid-template-columns: 1fr; } .three-cols, .language-editors, .amenity-editor-grid, .admin-media-grid { grid-template-columns: 1fr; } }
