:root {
  --ivory: #f7f3ec;
  --paper: #fffdf8;
  --ink: #21170f;
  --espresso: #2d1d12;
  --sage: #7e8b70;
  --sage-dark: #53604b;
  --gold: #c7a46b;
  --muted: #766c63;
  --line: rgba(45, 29, 18, 0.15);
  --danger: #a53a31;
  --shadow: 0 22px 70px rgba(42, 27, 17, 0.14);
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ivory); }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.wordmark, h1, h2, .property-name, .modal-brand {
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
}

.site-header {
  height: 88px;
  padding: 0 clamp(24px, 4vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(247, 243, 236, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
}

.wordmark { font-size: clamp(27px, 2.5vw, 40px); letter-spacing: -0.03em; }
.desktop-nav { display: flex; gap: 42px; }
.desktop-nav a, .header-actions, footer a { text-transform: uppercase; font-size: 12px; letter-spacing: 0.09em; }
.desktop-nav a { padding: 34px 0; position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 24px; height: 1px; background: var(--ink); transition: right .25s ease; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 24px; }
.text-button { border: 0; background: transparent; padding: 10px 2px; cursor: pointer; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }

.button {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 9px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(31, 21, 13, .16); }
.button:disabled { opacity: .55; cursor: wait; transform: none; box-shadow: none; }
.button-dark { background: var(--espresso); color: white; }
.button-light { background: var(--ivory); color: var(--espresso); }
.button.compact { min-height: 48px; padding: 0 24px; }
.button.full { width: 100%; }

.hero {
  min-height: 690px;
  height: calc(100vh - 88px);
  max-height: 920px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background-color: #233025;
  background-image: url("/images/ria-zias-hero.webp");
  background-size: cover;
  background-position: center;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 20, 13, .78) 0%, rgba(13, 20, 13, .43) 44%, rgba(13, 20, 13, .05) 75%); }
.hero-content { width: min(750px, 68vw); margin-left: clamp(24px, 5vw, 82px); position: relative; z-index: 2; padding-bottom: 10px; }
.eyebrow { margin: 0 0 20px; color: var(--sage-dark); font-size: 11px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.light { color: rgba(255,255,255,.78); }
h1 { font-size: clamp(60px, 6.4vw, 108px); line-height: .91; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.hero-copy { font-size: 18px; margin: 24px 0 34px; color: rgba(255,255,255,.88); }

.availability-card {
  width: min(700px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr .8fr;
  background: rgba(255,253,248,.97);
  color: var(--ink);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.availability-card label { padding: 2px 20px 7px; border-right: 1px solid var(--line); }
.availability-card label:first-child { padding-left: 6px; }
.availability-card label:nth-child(3) { border: 0; }
.availability-card label span, .stack-form label { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 600; color: var(--muted); }
.availability-card input, .availability-card select { width: 100%; border: 0; padding: 11px 0 0; background: transparent; color: var(--ink); outline: none; }
.availability-card .button { grid-column: 1 / -1; margin-top: 18px; justify-content: space-between; }

.points-preview {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 4vw, 68px);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(82, 93, 70, .82);
  color: white;
  padding: 17px 20px;
  border-radius: 15px;
  backdrop-filter: blur(18px);
  text-align: left;
  cursor: pointer;
}
.points-preview strong, .points-preview small { display: block; }
.points-preview strong { font-size: 13px; letter-spacing: .05em; }
.points-preview small { margin-top: 3px; opacity: .78; }
.points-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; }

.section { padding: clamp(80px, 9vw, 140px) clamp(24px, 5vw, 82px); }
.stays-section { display: grid; grid-template-columns: minmax(230px, .7fr) 2.3fr; gap: clamp(50px, 6vw, 110px); }
.section-intro { align-self: center; }
h2 { font-size: clamp(46px, 5vw, 78px); line-height: .98; letter-spacing: -.035em; margin: 0 0 26px; }
.section-intro > p:last-child, .story-copy > p { max-width: 390px; line-height: 1.75; color: var(--muted); }
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; min-width: 0; }
.property-card { background: var(--paper); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.property-image { aspect-ratio: 1.15; background: var(--sage); background-size: cover; background-position: center; position: relative; }
.property-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.property-badge { position: absolute; top: 14px; left: 14px; background: rgba(92, 109, 82, .92); color: white; padding: 8px 12px; border-radius: 7px; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.property-body { padding: 21px; }
.property-name { font-size: 25px; margin: 0 0 8px; }
.property-location { color: var(--muted); font-size: 11px; min-height: 30px; }
.property-meta { margin: 18px 0; display: flex; gap: 12px; font-size: 11px; color: var(--muted); }
.property-footer { display: flex; justify-content: space-between; align-items: end; border-top: 1px solid var(--line); padding-top: 16px; }
.property-footer small { display: block; color: var(--muted); }
.property-footer strong { font-weight: 500; }
.property-footer button { border: 0; background: transparent; cursor: pointer; font-size: 20px; }
.property-skeleton { height: 430px; border-radius: 15px; background: linear-gradient(110deg, #e8e1d5 8%, #f4efe7 18%, #e8e1d5 33%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position-x: -200%; } }

.gallery-section { background: #eee7dc; }
.gallery-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: end; margin-bottom: 46px; }
.gallery-heading h2 { margin-bottom: 0; }
.gallery-heading > p { max-width: 520px; line-height: 1.75; color: var(--muted); }
.photo-gallery { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 320px 320px; gap: 14px; }
.photo-gallery figure { min-width: 0; margin: 0; overflow: hidden; border-radius: 14px; background: #d8cdbd; }
.photo-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.photo-gallery figure:hover img { transform: scale(1.025); }
.gallery-main { grid-row: 1 / 3; }
.gallery-view { grid-column: 3; grid-row: 1 / 3; }

.rewards-section { background: var(--espresso); color: var(--ivory); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8vw; overflow: hidden; }
.rewards-visual { aspect-ratio: 1; max-width: 570px; border-radius: 50%; position: relative; display: grid; place-items: center; background: radial-gradient(circle, rgba(199,164,107,.17), transparent 57%); }
.reward-mark { width: 150px; height: 150px; display: grid; place-items: center; border-radius: 50%; background: var(--ivory); color: var(--espresso); font-family: "Italiana", serif; font-size: 74px; box-shadow: 0 0 80px rgba(199,164,107,.2); }
.reward-orbit { position: absolute; border: 1px solid rgba(247,243,236,.2); border-radius: 50%; }
.orbit-one { inset: 12%; }
.orbit-two { inset: 0; border-style: dashed; animation: rotate 30s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.rewards-copy > p:not(.eyebrow) { max-width: 530px; line-height: 1.75; color: rgba(247,243,236,.68); font-size: 17px; }
.reward-steps { display: grid; margin: 40px 0; border-top: 1px solid rgba(255,255,255,.16); }
.reward-steps span { padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.78); }
.reward-steps b { display: inline-block; width: 54px; color: var(--gold); font-size: 11px; }

.story-section { display: grid; grid-template-columns: 1.25fr .75fr; padding-left: 0; gap: clamp(50px, 8vw, 140px); align-items: center; }
.story-photo { min-height: 660px; background: #9b8c7a url("/images/ria-zias-balcony.webp") center/cover; }
.story-copy { padding-right: clamp(24px, 5vw, 82px); }
.underlined-link { display: inline-block; margin-top: 26px; padding-bottom: 8px; border-bottom: 1px solid var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }

.faq-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 9vw; background: #eee7dc; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; list-style: none; font-size: 17px; display: flex; justify-content: space-between; }
summary::after { content: "+"; color: var(--gold); font-size: 22px; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); line-height: 1.7; max-width: 680px; }

footer { background: #17110d; color: rgba(255,255,255,.76); padding: 60px clamp(24px, 5vw, 82px) 32px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.footer-mark { color: white; }
footer p { font-size: 13px; }
footer div { display: flex; gap: 26px; justify-self: end; }
footer small { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }

.modal, .account-drawer {
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.modal { width: min(500px, calc(100vw - 32px)); border-radius: 20px; padding: 44px; }
.booking-modal { width: min(620px, calc(100vw - 32px)); max-height: 90vh; }
.modal::backdrop, .account-drawer::backdrop { background: rgba(18,12,8,.66); backdrop-filter: blur(5px); }
.modal-close { position: absolute; right: 18px; top: 14px; border: 0; background: transparent; font-size: 27px; font-weight: 300; cursor: pointer; }
.modal-close.static { position: static; }
.modal-brand { text-align: center; font-size: 32px; margin-bottom: 30px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.auth-tabs button { border: 0; background: transparent; padding: 13px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.auth-tabs button.active { color: var(--ink); border-color: var(--ink); }
.stack-form { display: grid; gap: 17px; }
.stack-form label input, .stack-form label select, .stack-form label textarea {
  width: 100%; margin-top: 8px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); padding: 13px 14px; outline: none;
}
.stack-form input:focus, .stack-form select:focus, .stack-form textarea:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(126,139,112,.12); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint { margin: -8px 0 0; color: var(--muted); font-size: 11px; }
.form-error { min-height: 18px; margin: -3px 0; color: var(--danger); font-size: 12px; }
.hidden { display: none !important; }
.booking-total { display: flex; justify-content: space-between; padding: 17px; background: #f1ebe1; border-radius: 9px; }
.promo-field { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.promo-field button { border: 1px solid var(--espresso); background: white; color: var(--espresso); border-radius: 8px; padding: 11px 15px; cursor: pointer; }
.promo-field small { grid-column: 1 / -1; color: var(--sage-dark); }
.promo-showcase { display:grid; grid-template-columns:minmax(260px, 520px) 1fr; gap:2rem; align-items:center; }
.promo-showcase img { width:100%; max-height:620px; object-fit:contain; border-radius:18px; box-shadow:var(--shadow); }
.reviews-section { background:#efe8dc; display:grid; grid-template-columns:minmax(220px,.7fr) 1.3fr; gap:48px; align-items:start; }
.reviews-heading h2 { font-size:clamp(45px,6vw,78px); margin:14px 0; }
.review-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.review-card { background:#fff; border-radius:14px; padding:24px; min-height:190px; display:flex; flex-direction:column; justify-content:space-between; }
.review-card p { line-height:1.7; }
.review-stars { color:#9b7438; letter-spacing:.12em; }
.review-card small { color:var(--muted); }
.stay-review-form { border-top:1px solid var(--line); margin-top:14px; padding-top:14px; display:grid; gap:9px; }
.stay-review-form select,.stay-review-form textarea { width:100%; border:1px solid var(--line); border-radius:7px; padding:9px; font:inherit; }
.stay-review-form button { border:0; border-radius:7px; padding:10px 12px; background:var(--espresso); color:white; cursor:pointer; }
@media (max-width: 760px) { .promo-showcase { grid-template-columns:1fr; } }
.reward-redemption { align-self: end; }
.reward-redemption > span:nth-child(2) { display: flex; align-items: center; gap: .55rem; min-height: 46px; }
.reward-redemption input { width: auto; }
.reward-redemption small { color: var(--muted); line-height: 1.35; }
.booking-calendar { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; }
.calendar-head { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; text-align: center; margin-bottom: 12px; }
.calendar-head button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; }
.calendar-head strong { font-weight: 500; font-size: 15px; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.calendar-weekdays { margin-bottom: 5px; color: var(--muted); font-size: 9px; text-align: center; text-transform: uppercase; letter-spacing: .06em; }
.calendar-day { aspect-ratio: 1; min-height: 36px; border: 0; border-radius: 8px; background: #f4f0e9; color: var(--ink); cursor: pointer; font-size: 11px; }
.calendar-day.outside { color: #aaa39a; background: #faf8f4; }
.calendar-day.past { color: #b8b1a9; background: #f3f1ed; cursor: not-allowed; }
.calendar-day.unavailable { background: #b83b37; color: #fff; cursor: not-allowed; opacity: 1; text-decoration: line-through; }
.calendar-day.selected { background: var(--espresso); color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.calendar-day.in-range { background: #dfe8da; color: #31402d; }
.calendar-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; margin-top: 12px; color: var(--muted); font-size: 10px; }
.calendar-foot span { display: inline-flex; align-items: center; gap: 5px; }
.calendar-foot small { flex-basis: 100%; color: var(--muted); }
.calendar-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.calendar-dot.available { background: #dfe8da; }
.calendar-dot.unavailable { background: #b83b37; }

.account-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; height: 100%; max-height: none; width: min(540px, 100vw); padding: 42px; transform: translateX(100%); transition: transform .3s ease; }
.account-drawer[open] { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: start; }
.drawer-head h2 { font-size: 45px; }
.points-card { padding: 26px; border-radius: 16px; background: linear-gradient(135deg, var(--sage-dark), #899178); color: white; display: grid; gap: 7px; margin: 20px 0; }
.points-card strong { font-family: "Italiana", serif; font-weight: 400; font-size: 34px; }
.points-card small, .points-card span { opacity: .75; }
.drawer-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 38px; }
.account-drawer h3 { font-weight: 500; }
.booking-list { display: grid; gap: 12px; max-height: calc(100vh - 390px); overflow-y: auto; padding-right: 4px; }
.customer-booking { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.booking-row { display: flex; justify-content: space-between; gap: 12px; }
.booking-row h4 { margin: 0 0 5px; }
.booking-row small { color: var(--muted); }
.status-pill { align-self: start; border-radius: 20px; padding: 6px 10px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; background: #ece6dc; }
.status-confirmed, .status-completed, .status-paid { background: #dfe8da; color: #3e5437; }
.status-cancelled { background: #f2dcda; color: var(--danger); }
.booking-details { margin: 15px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; font-size: 12px; color: var(--muted); }
.proof-form { display: flex; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.payment-instruction { margin: 10px 0; padding: 10px 12px; border-radius: 8px; background: #f1ebe1; color: var(--muted); font-size: 11px; line-height: 1.5; }
.booking-timeline { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.booking-timeline summary { cursor: pointer; font-size: 11px; font-weight: 700; }
.booking-timeline ol { margin: 10px 0 0; padding-left: 18px; }
.booking-timeline li { margin-bottom: 9px; color: var(--muted); font-size: 10px; }
.booking-timeline li strong, .booking-timeline li span, .booking-timeline li small { display: block; }
.proof-form input { max-width: 210px; font-size: 11px; }
.proof-form button { border: 0; border-radius: 7px; padding: 9px 12px; background: var(--espresso); color: white; cursor: pointer; font-size: 10px; }
.muted { color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: #17110d; color: white; padding: 14px 20px; border-radius: 9px; box-shadow: var(--shadow); transition: .25s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .property-card:last-child { display: none; }
  .stays-section { grid-template-columns: 1fr; }
  .section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; }
  .section-intro .eyebrow { grid-column: 1 / -1; }
  .photo-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 430px 280px 360px; }
  .gallery-main { grid-column: 1 / 3; grid-row: 1; }
  .gallery-view { grid-column: 2; grid-row: 2 / 4; }
}

@media (max-width: 720px) {
  .site-header { height: 72px; padding: 0 18px; }
  .wordmark { font-size: 27px; }
  .header-actions { gap: 14px; }
  .header-actions .button { display: none; }
  .hero { height: auto; min-height: 760px; align-items: end; padding-bottom: 120px; background-position: 63% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(13,20,13,.86), rgba(13,20,13,.15)); }
  .hero-content { width: auto; margin: 0 18px; }
  h1 { font-size: clamp(55px, 16vw, 78px); }
  .availability-card { grid-template-columns: 1fr 1fr; padding: 15px; }
  .availability-card label { padding: 2px 8px 7px; }
  .availability-card label:nth-child(2) { border: 0; }
  .availability-card label:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; }
  .points-preview { left: 18px; right: 18px; bottom: 24px; }
  .section { padding: 78px 18px; }
  .section-intro { display: block; }
  .gallery-heading { grid-template-columns: 1fr; gap: 16px; }
  .photo-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 390px 230px 300px; gap: 9px; }
  .gallery-main { grid-column: 1 / 3; grid-row: 1; }
  .gallery-view { grid-column: 2; grid-row: 2 / 4; }
  .property-grid { grid-template-columns: 1fr; }
  .property-card:last-child { display: block; }
  .rewards-section { grid-template-columns: 1fr; }
  .reviews-section { grid-template-columns:1fr; }
  .review-grid { grid-template-columns:1fr; }
  .rewards-visual { width: 80%; margin: 0 auto; }
  .story-section { grid-template-columns: 1fr; padding-top: 0; }
  .story-photo { min-height: 480px; }
  .story-copy { padding: 0 18px; }
  .faq-section { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  footer div { justify-self: start; }
  .modal { padding: 38px 22px 24px; }
  .field-pair { grid-template-columns: 1fr; }
  .account-drawer { padding: 28px 20px; }
  .drawer-head h2 { font-size: 38px; }
}
.facebook-review-image { width: 100%; max-height: 500px; object-fit: contain; }
#facebookReviewGroup h3 { margin: 28px 0 16px; }
.house-rules-box { padding: 18px; border: 1px solid rgba(45,29,18,.18); border-radius: 12px; background: rgba(239,232,220,.5); }
.house-rules-box > p { white-space: pre-line; line-height: 1.6; margin: 10px 0 14px; }
.house-rules-box label { display: flex; gap: 10px; align-items: flex-start; }
.house-rules-box input[type="checkbox"] { width: auto; margin-top: 3px; }
.payment-qr { display: grid; gap: 10px; justify-items: start; margin: 14px 0; padding: 16px; background: var(--paper); border-radius: 12px; }
.payment-qr img { width: min(240px, 100%); aspect-ratio: 1; object-fit: contain; background: white; }
.payment-qr a:last-child { color: var(--espresso); text-decoration: underline; }
