/* Stay Santai preview site. Palette taken from the rooms themselves:
   sage feature walls, peach framed panels, cream floors, brand green. */
:root {
  --cream: #F7F1E6;
  --paper: #FCFAF5;
  --ink: #1E2721;
  --ink-soft: #4A5650;
  --forest: #154D2C;
  --brand: #1E8C3A;
  --lime: #7DBF3E;
  --sage: #A7B88C;
  --sage-soft: #E3E8D6;
  --peach: #F1C6A4;
  --peach-soft: #F9E6D6;
  --clay: #B8643C;
  --line: rgba(30, 39, 33, .12);
  --radius: 22px;
  --shadow: 0 18px 40px -22px rgba(21, 77, 44, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--brand); }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay); margin-bottom: .9rem;
}

.preview-bar {
  background: var(--forest); color: #fff; text-align: center;
  font-size: .82rem; padding: .4rem 1rem; letter-spacing: .02em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 600 1rem/1 var(--sans); text-decoration: none; border-radius: 999px;
  padding: 1rem 1.5rem; min-height: 48px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  cursor: pointer;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: #0F3D22; }
.btn-ghost { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.btn-wa { background: var(--brand); color: #fff; box-shadow: 0 12px 28px -14px rgba(30, 140, 58, .8); }
.btn-wa:hover { background: #18782F; }
.btn-sm { padding: .7rem 1.1rem; min-height: 44px; font-size: .95rem; }
.btn-lg { padding: 1.15rem 2rem; font-size: 1.1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 230, .86);
  backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .55rem; }
.brand img { width: 128px; height: auto; }
.nav { display: none; gap: 2rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 2.5rem 0 4rem; }
.hero::before {
  content: ""; position: absolute; width: 60vmax; height: 60vmax; right: -25vmax; top: -20vmax;
  background: radial-gradient(circle closest-side, var(--sage-soft) 0%, rgba(227, 232, 214, 0) 100%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.8rem; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.trust li {
  font-size: .88rem; font-weight: 600; color: var(--forest);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .85rem;
}
.trust li::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--lime); margin-right: .45rem; vertical-align: .08em; }

/* Arch frames echo the framed wall panels in the rooms */
.arch { margin: 0; position: relative; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--sage-soft); box-shadow: var(--shadow); }
.arch::after { content: ""; position: absolute; inset: 12px; border: 1.5px solid rgba(255, 255, 255, .75); border-radius: inherit; pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-art { position: relative; justify-self: center; width: min(100%, 440px); padding: 0 0 2rem 2.2rem; }
.arch-lg { aspect-ratio: 3 / 4; }
.arch-sm { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 3 / 4; border: 6px solid var(--cream); animation: float 7s ease-in-out infinite; }
.stamp {
  position: absolute; right: -6px; top: 18%;
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--peach); color: var(--ink); font-family: var(--serif); font-style: italic; font-size: .98rem; line-height: 1.15;
  transform: rotate(-10deg); box-shadow: var(--shadow);
}
.stamp span { display: block; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Sections */
.section { padding: 4.5rem 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.section-head h2 { margin-bottom: 0; }
.fineprint { font-size: .85rem; color: var(--ink-soft); margin-top: 1.5rem; }

/* Pains */
.pains { background: var(--paper); }
.pain-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.pain { background: var(--cream); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.2rem; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pain:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain-before { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 1.05rem; text-decoration: line-through; text-decoration-color: rgba(184, 100, 60, .45); text-decoration-thickness: 1.5px; }
.pain h3 { color: var(--forest); }
.pain p:last-child { color: var(--ink-soft); margin: 0; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font: 600 .92rem/1 var(--sans); padding: .7rem 1.05rem; min-height: 44px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--forest); border: 1.5px solid var(--line); transition: all .2s;
}
.chip:hover { border-color: var(--forest); }
.chip.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }

/* Room cards */
.room-grid { display: grid; gap: 1.5rem; }
.room {
  background: var(--paper); border-radius: calc(var(--radius) + 6px); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.room:hover { box-shadow: var(--shadow); }
.room[hidden] { display: none; }
.gallery { position: relative; aspect-ratio: 4 / 4.4; background: var(--sage-soft); }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.g-btn {
  position: absolute; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(252, 250, 245, .9); color: var(--ink); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4); opacity: 0; transition: opacity .25s;
}
.g-btn svg { width: 20px; height: 20px; }
.g-prev { left: 10px; } .g-prev svg { transform: scaleX(-1); }
.g-next { right: 10px; }
.gallery:hover .g-btn, .g-btn:focus-visible { opacity: 1; }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.dots span { width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .6); transition: all .3s; }
.dots span.on { width: 20px; background: #fff; }
.tag-real { position: absolute; top: 12px; left: 12px; background: rgba(252, 250, 245, .92); color: var(--forest); font-size: .75rem; font-weight: 700; letter-spacing: .04em; padding: .35rem .65rem; border-radius: 99px; }
.count { position: absolute; top: 12px; right: 12px; background: rgba(30, 39, 33, .6); color: #fff; font-size: .75rem; padding: .3rem .6rem; border-radius: 99px; }

.room-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.room-loc { display: flex; align-items: center; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--clay); margin: 0; }
.room-loc svg { width: 16px; height: 16px; }
.room h3 { margin: 0; font-size: 1.45rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .5rem; margin: 0; }
.price strong { font-family: var(--serif); font-size: 2.1rem; font-weight: 560; color: var(--forest); line-height: 1; }
.price span { color: var(--ink-soft); font-size: .92rem; }
.price em { flex-basis: 100%; font-style: normal; font-size: .92rem; font-weight: 600; color: var(--brand); }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.badges li { font-size: .78rem; font-weight: 700; padding: .3rem .6rem; border-radius: 99px; background: var(--sage-soft); color: var(--forest); }
.badges li:nth-child(2) { background: var(--peach-soft); color: #7A3F1F; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; font-size: .95rem; color: var(--ink-soft); }
.features li { display: flex; gap: .5rem; align-items: start; }
.features svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: .2em; }
.honest { font-size: .9rem; background: var(--peach-soft); border-radius: 12px; padding: .65rem .8rem; margin: 0; color: #6B3A1F; }
.room .btn { margin-top: auto; width: 100%; }

/* Homes */
.homes { background: var(--sage-soft); }
.home-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
.home { background: var(--paper); border-radius: calc(var(--radius) + 6px); padding: 1.8rem 1.6rem; position: relative; overflow: hidden; }
.home::before { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 200px; border-radius: 999px 999px 24px 24px; background: var(--peach-soft); opacity: .8; }
.home > * { position: relative; }
.home .area { font-size: .88rem; font-weight: 600; color: var(--clay); margin-bottom: .3rem; }
.home h3 { font-size: 1.9rem; margin-bottom: .2rem; }
.home .tagline { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--forest); }
.walks { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .6rem; }
.walks li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; padding: .8rem 1rem; border-radius: 14px; background: var(--cream); }
.walks svg { width: 22px; height: 22px; color: var(--brand); }
.walks b { font-weight: 600; }
.walks small { display: block; color: var(--ink-soft); font-size: .82rem; }
.walks .time { font-family: var(--serif); font-size: 1.05rem; color: var(--forest); white-space: nowrap; }
.nearby { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.nearby li { font-size: .82rem; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); }
.nearby-title { font-size: .85rem; font-weight: 700; margin: 0 0 .5rem; }

/* Day timeline */
.day-grid { display: grid; gap: 2rem; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 2.6rem; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(var(--lime), var(--sage)); }
.timeline li { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1rem; padding: .8rem 0; position: relative; }
.timeline .t { font-family: var(--serif); font-size: 1.05rem; color: var(--forest); background: var(--cream); justify-self: start; padding: .25rem .55rem; border-radius: 99px; border: 1.5px solid var(--sage); position: relative; z-index: 1; height: max-content; }
.timeline h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.timeline p { color: var(--ink-soft); margin: 0; }

/* Included */
.included { background: var(--forest); color: #EEF1E6; }
.included h2 { color: #fff; }
.included .eyebrow { color: var(--peach); }
.inc-grid { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.inc-grid li { display: flex; flex-direction: column; gap: .6rem; padding: 1.1rem; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-weight: 500; font-size: .98rem; line-height: 1.35; }
.inc-grid svg { width: 28px; height: 28px; color: var(--lime); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; counter-reset: s; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.steps span { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--peach); font-family: var(--serif); font-size: 1.15rem; margin-bottom: .8rem; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--ink-soft); margin: 0; }

/* FAQ */
.faq { background: var(--paper); }
.faq-grid { display: grid; gap: 2rem; }
.faq-list { display: grid; gap: .6rem; }
details { background: var(--cream); border-radius: 16px; border: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 1.05rem 3rem 1.05rem 1.2rem; font-weight: 600; position: relative; min-height: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; translate: 0 -50%; font-family: var(--serif); font-size: 1.5rem; color: var(--brand); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--ink-soft); }

/* Final */
.final { padding: 5rem 0; background: radial-gradient(120% 120% at 50% 0%, var(--peach-soft) 0%, var(--cream) 60%); text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-mark { width: 72px; margin-bottom: 1.2rem; }
.final h2 { max-width: 18ch; }
.final p { color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--ink); color: #C9D1CB; padding: 3rem 0 6rem; font-size: .92rem; }
.site-footer a { color: #fff; }
.site-footer strong { color: #fff; }
.footer-inner { display: grid; gap: 1.5rem; }
.footer-inner img { width: 120px; background: var(--paper); border-radius: 12px; padding: .4rem .6rem; margin-bottom: .8rem; }
.copy { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.2rem; margin-top: 1.5rem; font-size: .82rem; }

/* Sticky WhatsApp (mobile) */
.sticky-wa {
  position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; border-radius: 999px; min-height: 54px;
  box-shadow: 0 16px 34px -14px rgba(21, 77, 44, .9);
  transform: translateY(160%); transition: transform .45s var(--ease);
}
.sticky-wa svg { width: 22px; height: 22px; }
.sticky-wa.is-visible { transform: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }


@media (min-width: 640px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .inc-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .brand img { width: 140px; }
  .hero { padding: 4rem 0 5.5rem; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .hero-art { padding-left: 3rem; }
  .section { padding: 6.5rem 0; }
  .pain-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .home-grid { grid-template-columns: 1fr 1fr; }
  .day-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
  .sticky-wa { display: none; }
  .site-footer { padding-bottom: 3rem; }
}
@media (max-width: 899px) {
  .site-header .btn-sm span { display: none; }
  .site-header .btn-sm { width: 44px; padding: 0; }
  .g-btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Wide screens: rooms as horizontal cards, 2 x 2 */
@media (min-width: 1080px) {
  .room { flex-direction: row; }
  .room .gallery { flex: 0 0 44%; aspect-ratio: auto; min-height: 420px; }
  .room .slides { position: absolute; inset: 0; }
  .room-body { padding: 1.5rem 1.5rem 1.6rem; }
}
