:root {
  --color-background: #f7f5f0;
  --color-surface: #ffffff;
  --color-surface-muted: #eeece6;
  --color-text: #242421;
  --color-muted: #6d6b65;
  --color-border: #dedbd2;
  --color-primary: #315d50;
  --color-primary-dark: #21443a;
  --color-accent: #b96547;
  --color-success: #2d6a4f;
  --shadow-small: 0 8px 24px rgba(36, 36, 33, 0.08);
  --shadow-large: 0 24px 64px rgba(36, 36, 33, 0.18);
  --radius-small: 10px;
  --radius-medium: 16px;
  --radius-large: 24px;
  --container: 1180px;
  --header-height: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--color-background); line-height: 1.55; }
body.dialog-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid rgba(49, 93, 80, 0.35); outline-offset: 3px; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-150%); background: var(--color-surface); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.demo-banner { padding: 7px 16px; text-align: center; font-size: 0.77rem; color: #fff; background: var(--color-primary-dark); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 240, 0.95); border-bottom: 1px solid var(--color-border); backdrop-filter: blur(16px); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50% 50% 50% 14px; color: white; background: var(--color-primary); font-family: Georgia, serif; font-weight: 700; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, serif; font-size: 1rem; }
.brand small { color: var(--color-muted); font-size: 0.72rem; }
.desktop-navigation { display: none; gap: 24px; }
.desktop-navigation a { font-size: 0.9rem; text-decoration: none; }
.desktop-navigation a:hover { text-decoration: underline; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.language-button, .menu-button { border: 1px solid var(--color-border); background: var(--color-surface); border-radius: 999px; cursor: pointer; }
.language-button { padding: 8px 11px; font-weight: 700; font-size: 0.8rem; }
.menu-button { display: grid; gap: 4px; padding: 10px; }
.menu-button span { display: block; width: 18px; height: 2px; background: var(--color-text); }
.desktop-booking-button { display: none !important; }
.mobile-navigation { padding: 8px 16px 18px; background: var(--color-surface); border-top: 1px solid var(--color-border); }
.mobile-navigation a { display: block; padding: 12px 4px; text-decoration: none; border-bottom: 1px solid var(--color-border); }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: 12px; text-decoration: none; font-weight: 750; cursor: pointer; transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--color-primary); box-shadow: 0 8px 18px rgba(49, 93, 80, 0.18); }
.button-primary:hover { background: var(--color-primary-dark); }
.button-secondary { color: var(--color-text); background: var(--color-surface); border-color: var(--color-text); }
.button-whatsapp { color: #fff; background: #27754f; }
.button-small { min-height: 40px; padding: 9px 14px; font-size: 0.84rem; }
.button-full { width: 100%; }
.text-button, .icon-text-button { padding: 0; border: 0; background: none; text-decoration: underline; font-weight: 700; cursor: pointer; }

.hero { padding-top: 24px; }
.hero-heading { display: flex; flex-direction: column; gap: 15px; margin-bottom: 18px; }
.eyebrow { margin: 0 0 6px; color: var(--color-primary); font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; line-height: 1.12; }
h1 { margin-bottom: 8px; font-size: clamp(2rem, 8vw, 3.7rem); font-weight: 600; }
h2 { margin-bottom: 16px; font-size: clamp(1.55rem, 5vw, 2.2rem); font-weight: 600; }
h3 { margin-bottom: 4px; font-size: 1rem; }
.location-line { display: flex; align-items: center; gap: 7px; margin-bottom: 0; color: var(--color-muted); }
.location-line span:first-child { color: var(--color-accent); font-size: 0.65rem; }
.hero-summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.88rem; }
.rating { font-weight: 800; }

.gallery { position: relative; display: grid; grid-template-columns: repeat(5, 84%); gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-medium); }
.gallery::-webkit-scrollbar { display: none; }
.gallery-item { height: 310px; padding: 0; overflow: hidden; border: 0; background: var(--color-surface-muted); cursor: pointer; scroll-snap-align: center; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform 250ms ease, filter 250ms ease; }
.gallery-item:hover img { transform: scale(1.02); filter: brightness(0.94); }
.show-all-photos { position: absolute; right: 12px; bottom: 12px; padding: 9px 12px; border: 1px solid var(--color-text); border-radius: 9px; background: rgba(255,255,255,0.94); font-weight: 700; cursor: pointer; }

.property-layout { display: grid; gap: 30px; padding-bottom: 104px; }
.property-content { min-width: 0; }
.section { padding: 35px 0; border-bottom: 1px solid var(--color-border); }
.property-intro { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.property-intro h2 { margin-bottom: 8px; }
.property-capacity { margin-bottom: 0; color: var(--color-muted); }
.host-avatar, .review-author > span { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: var(--color-accent); font-weight: 800; }
.highlights { padding: 8px 0 25px; border-bottom: 1px solid var(--color-border); }
.highlights article { display: flex; gap: 14px; padding: 14px 0; }
.highlights p { margin: 0; color: var(--color-muted); font-size: 0.9rem; }
.feature-icon { display: grid; place-items: center; width: 30px; height: 30px; color: var(--color-primary); background: #e6eee9; border-radius: 9px; font-weight: 900; }
.description-section p { max-width: 72ch; color: #484742; }
.amenities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; margin-bottom: 24px; }
.amenities-grid div { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.amenities-grid div > span:first-child { width: 26px; font-size: 1.15rem; text-align: center; }

.booking-column { order: -1; margin-top: 26px; }
.booking-card { padding: 22px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-medium); box-shadow: var(--shadow-small); }
.booking-price { display: inline-flex; align-items: baseline; gap: 5px; }
.booking-price strong { font-size: 1.5rem; }
.booking-rating { margin: 4px 0 16px; color: var(--color-muted); font-size: 0.82rem; }
.booking-fields { display: grid; grid-template-columns: repeat(2, 1fr); margin-bottom: 14px; overflow: hidden; border: 1px solid #a9a69d; border-radius: 12px; }
.booking-field { display: flex; flex-direction: column; align-items: flex-start; min-height: 65px; padding: 10px 12px; border: 0; background: var(--color-surface); cursor: pointer; }
.booking-field:nth-child(1) { border-right: 1px solid #a9a69d; }
.booking-field span { font-size: 0.67rem; font-weight: 800; text-transform: uppercase; }
.booking-field strong { font-size: 0.82rem; font-weight: 500; }
.guest-field { grid-column: 1 / -1; border-top: 1px solid #a9a69d; }
.guest-field select { width: 100%; padding: 2px 0 0; border: 0; background: transparent; appearance: none; cursor: pointer; }
.booking-caption { margin: 10px 0 0; color: var(--color-muted); text-align: center; font-size: 0.78rem; }
.price-breakdown { margin-top: 22px; }
.price-breakdown > div, .direct-saving > div { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0; font-size: 0.88rem; }
.included { color: var(--color-success); font-weight: 750; }
.total-line { padding-top: 14px; border-top: 1px solid var(--color-border); }
.direct-saving { margin-top: 20px; padding: 16px; background: #eef5f1; border-radius: 12px; }
.saving-badge { display: inline-flex; margin-bottom: 5px; padding: 4px 8px; color: var(--color-primary-dark); background: #d5e7dd; border-radius: 999px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
.saving-row strong:last-child { color: var(--color-success); }
.direct-saving p { margin: 10px 0 0; color: var(--color-muted); font-size: 0.68rem; }
.trust-list { display: grid; gap: 8px; margin-top: 18px; color: var(--color-muted); font-size: 0.76rem; }

.section-heading-row { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.calendar-note { color: var(--color-muted); font-size: 0.84rem; }
.calendar-shell { display: grid; grid-template-columns: 1fr; gap: 20px; }
.calendar-month { padding: 4px; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.calendar-header h3 { font-family: Georgia, serif; font-size: 1.1rem; }
.calendar-navigation { display: flex; gap: 6px; }
.calendar-navigation button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--color-border); border-radius: 50%; background: var(--color-surface); cursor: pointer; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.calendar-weekday { padding: 6px 0; color: var(--color-muted); text-align: center; font-size: 0.68rem; font-weight: 700; }
.calendar-day { aspect-ratio: 1; border: 1px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; font-size: 0.78rem; }
.calendar-day:hover:not(:disabled) { border-color: var(--color-text); }
.calendar-day:disabled { color: #aaa79f; text-decoration: line-through; cursor: not-allowed; }
.calendar-day.selected, .calendar-day.in-range { color: #fff; background: var(--color-primary); }
.calendar-day.in-range { border-radius: 8px; background: #7d9a90; }
.calendar-day.today { border-color: var(--color-accent); }
.calendar-day.empty { visibility: hidden; }
.calendar-legend { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 18px; color: var(--color-muted); font-size: 0.74rem; }
.calendar-legend > span { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--color-border); }
.legend-dot.selected { background: var(--color-primary); border-color: var(--color-primary); }
.legend-dot.unavailable { background: repeating-linear-gradient(45deg,#aaa 0 2px,transparent 2px 4px); }

.reviews-overview { display: grid; gap: 22px; }
.score-grid { display: grid; grid-template-columns: 1fr auto; gap: 8px 25px; max-width: 360px; font-size: 0.85rem; }
.score-grid span { color: var(--color-muted); }
.review-grid { display: grid; gap: 14px; margin-top: 24px; }
.review-card { padding: 18px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-medium); }
.review-author { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.review-author > span { width: 40px; height: 40px; font-size: 0.8rem; }
.review-author strong, .review-author small { display: block; }
.review-author small { color: var(--color-muted); }
.review-card p { margin-bottom: 0; font-size: 0.9rem; }
.fine-print { margin: 15px 0 0; color: var(--color-muted); font-size: 0.72rem; }

.map-placeholder { position: relative; height: 300px; overflow: hidden; background: #e9e5da; border-radius: var(--radius-medium); }
.map-grid { position: absolute; inset: -30%; opacity: 0.55; transform: rotate(14deg); background-image: linear-gradient(#c5c0b4 1px, transparent 1px), linear-gradient(90deg, #c5c0b4 1px, transparent 1px); background-size: 48px 48px; }
.map-grid::after { content: ""; position: absolute; inset: 12% 0; border: 22px solid rgba(255,255,255,0.8); border-left-width: 55px; border-right-width: 65px; transform: rotate(-22deg); }
.map-pin { position: absolute; top: 48%; left: 52%; display: grid; place-items: center; width: 50px; height: 50px; color: #fff; background: var(--color-primary); border: 4px solid #fff; border-radius: 50% 50% 50% 12px; box-shadow: var(--shadow-small); transform: translate(-50%,-50%) rotate(-45deg); font-weight: 800; }
.map-pin::first-line { transform: rotate(45deg); }
.map-label { position: absolute; right: 16px; bottom: 14px; padding: 6px 10px; background: rgba(255,255,255,0.88); border-radius: 8px; font-weight: 800; }
.distance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.distance-grid div { display: flex; flex-direction: column; padding: 10px 0; }
.distance-grid span { color: var(--color-muted); font-size: 0.82rem; }
.rules-grid { display: grid; gap: 20px; }
.rules-grid p { margin: 0; color: var(--color-muted); font-size: 0.88rem; }
.direct-contact { display: grid; gap: 25px; }
.contact-actions { display: flex; flex-direction: column; gap: 10px; }

.site-footer { padding: 45px 0 95px; background: #eae6dc; }
.footer-grid { display: grid; gap: 28px; }
.footer-grid strong { display: block; margin-bottom: 7px; }
.footer-grid p, .footer-grid a { display: block; margin: 4px 0; color: var(--color-muted); font-size: 0.83rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; margin-top: 35px; padding-top: 22px; border-top: 1px solid #cec9bd; color: var(--color-muted); font-size: 0.74rem; }

.mobile-booking-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: rgba(255,255,255,0.97); border-top: 1px solid var(--color-border); box-shadow: 0 -10px 30px rgba(36,36,33,0.08); }
.mobile-booking-bar > div { display: grid; grid-template-columns: auto auto; column-gap: 4px; align-items: baseline; }
.mobile-booking-bar small { grid-column: 1 / -1; color: var(--color-muted); }
.mobile-booking-bar .button { min-height: 44px; padding-inline: 14px; font-size: 0.8rem; }

.gallery-dialog, .simple-dialog { width: min(94%, 960px); padding: 0; color: var(--color-text); background: var(--color-surface); border: 0; border-radius: var(--radius-medium); box-shadow: var(--shadow-large); }
.gallery-dialog::backdrop, .simple-dialog::backdrop { background: rgba(20,20,18,0.78); }
.gallery-dialog figure { display: grid; place-items: center; margin: 0; min-height: 70vh; padding: 35px; }
.gallery-dialog img { max-width: 100%; max-height: 70vh; object-fit: contain; }
.gallery-dialog figcaption { margin-top: 12px; color: var(--color-muted); text-align: center; }
.dialog-close { position: absolute; z-index: 3; top: 12px; right: 12px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--color-border); border-radius: 50%; background: rgba(255,255,255,0.95); font-size: 1.5rem; cursor: pointer; }
.gallery-arrow { position: absolute; z-index: 2; top: 50%; width: 44px; height: 54px; border: 0; border-radius: 10px; background: rgba(255,255,255,0.92); font-size: 2rem; cursor: pointer; transform: translateY(-50%); }
.gallery-previous { left: 10px; }
.gallery-next { right: 10px; }
.simple-dialog { max-width: 620px; padding: 30px; }
.all-amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; }
.all-amenities span { padding: 10px 0; border-bottom: 1px solid var(--color-border); }
.request-dialog form { display: grid; gap: 14px; }
.request-dialog label:not(.consent-row) { display: grid; gap: 5px; font-size: 0.8rem; font-weight: 700; }
.request-dialog input, .request-dialog textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--color-border); border-radius: 9px; background: #fff; }
.consent-row { display: flex; align-items: start; gap: 8px; font-size: 0.75rem; }
.form-feedback { min-height: 24px; margin: 0; color: var(--color-success); text-align: center; font-weight: 700; }
.cookie-banner { position: fixed; z-index: 60; right: 16px; bottom: 92px; display: none; width: min(calc(100% - 32px), 430px); padding: 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-medium); box-shadow: var(--shadow-large); }
.cookie-banner.visible { display: flex; flex-direction: column; gap: 12px; }
.cookie-banner p { margin: 0; color: var(--color-muted); font-size: 0.78rem; }

.legal-page { min-height: 100vh; }
.legal-content { max-width: 780px; padding: 55px 0 100px; }
.legal-content section { margin-top: 32px; }
.legal-content p, .legal-content li { color: #484742; }
.legal-notice { padding: 15px; background: #fff4df; border-left: 4px solid #d39942; border-radius: 8px; }

@media (min-width: 720px) {
  .hero-heading { flex-direction: row; justify-content: space-between; align-items: end; }
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 210px); overflow: hidden; border-radius: var(--radius-large); }
  .gallery-item { height: auto; }
  .gallery-main { grid-row: 1 / 3; }
  .gallery-item:nth-child(n+4) { display: block; }
  .property-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 55px; padding-top: 12px; }
  .booking-column { order: initial; align-self: start; position: sticky; top: 105px; margin-top: 35px; }
  .calendar-shell { grid-template-columns: repeat(2, 1fr); }
  .reviews-overview { grid-template-columns: 1fr 1fr; align-items: start; }
  .review-grid, .rules-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .direct-contact { grid-template-columns: 1fr auto; align-items: center; }
  .contact-actions { min-width: 260px; }
  .mobile-booking-bar { display: none; }
  .site-footer { padding-bottom: 45px; }
  .cookie-banner { bottom: 20px; }
}

@media (min-width: 980px) {
  .desktop-navigation { display: flex; }
  .desktop-booking-button { display: inline-flex !important; }
  .menu-button { display: none; }
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 225px); }
  .property-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 75px; }
  .amenities-grid { grid-template-columns: repeat(2, minmax(230px, 1fr)); }
  .review-grid, .rules-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid article:nth-child(2) { grid-column: auto; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
