:root {
  --green: #8a5a32;
  --green-dark: #5f3a22;
  --ink: #2d2118;
  --muted: #766658;
  --line: #e7ddd1;
  --soft: #f8f3ed;
  --card: #ffffff;
  --cream: #fbf6ef;
  --sage: #f1e4d4;
  --gold: #c49a5f;
  --coffee: #3a2619;
  --tan: #d7b98f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eadfD2;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.demo-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--cream);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
  position: relative;
  overflow: hidden;
  padding-bottom: 86px;
}

.topbar {
  height: 82px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 250, 243, .94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.desktop-links {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  line-height: 1;
}

.brand svg {
  width: 36px;
  height: 36px;
  stroke: var(--coffee);
}

.brand small {
  display: block;
  margin-top: 4px;
  color: #8a715f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.hamburger {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--coffee);
}

.hamburger svg,
.nav-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(47, 30, 20, .9) 0%, rgba(72, 43, 25, .68) 38%, rgba(72, 43, 25, .22) 70%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(43, 26, 16, .54)),
    url("Images/homestay-hero.webp") center / cover no-repeat;
  color: #fff;
  padding: 28px 26px 38px;
  position: relative;
}

.hero .wa-button {
  max-width: none;
}

.hero-copy {
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero h1,
.page h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p {
  margin: 18px 0 24px;
  color: rgba(255,255,255,.92);
  line-height: 1.5;
}

.wa-button {
  width: 100%;
  min-height: 62px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  line-height: 1.15;
  text-align: center;
  vertical-align: middle;
  box-shadow: 0 16px 28px rgba(95, 58, 34, .28);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.wa-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
  box-shadow: 0 20px 34px rgba(95, 58, 34, .34);
}

.wa-button svg,
.whatsapp-mark {
  width: 30px;
  height: 30px;
  fill: currentColor;
  flex: 0 0 auto;
}

.scroll-cue {
  display: block;
  width: 18px;
  height: 18px;
  margin: 22px auto 0;
  border-right: 2px solid rgba(255,255,255,.82);
  border-bottom: 2px solid rgba(255,255,255,.82);
  transform: rotate(45deg);
}

.section {
  padding: 34px 24px;
  border-bottom: 1px solid var(--line);
}

.section h2,
.section h3 {
  margin: 0 0 12px;
  line-height: 1.15;
}

.section p {
  margin: 0;
  color: #4f4034;
  line-height: 1.55;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .9);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.section-kicker {
  background: var(--sage);
  color: #7a4d2d;
}

.section-head {
  max-width: 720px;
  margin-bottom: 22px;
}

.section-head.compact {
  margin-bottom: 18px;
}

.section-head h2,
.section-head h3,
.home-intro h2,
.location-section h2 {
  margin: 0 0 12px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.hero-stats div,
.summary-grid div,
.nearby-list div,
.booking-info div,
.price-card {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}

.hero-stats div {
  min-height: 72px;
  padding: 12px;
}

.hero-stats strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 800;
}

.hero-panel {
  display: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 22px;
}

.feature-card {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 6px;
  padding: 12px 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .05);
  font-size: 12px;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(138, 90, 50, .38);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .08);
}

.feature-card svg,
.tick-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.location-line {
  margin: 20px 0;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #4a372a;
}

.promo-photo {
  min-height: 150px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.56)), url("Images/homestay-hero.webp") center / cover no-repeat;
  color: #fff;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  font-weight: 800;
}

.home-gallery {
  display: grid;
  gap: 10px;
}

.home-gallery img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  box-shadow: 0 14px 32px rgba(58, 38, 25, .13);
}

.nearby-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.nearby-list div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border-color: var(--line);
}

.nearby-list strong {
  color: var(--green);
  font-size: 20px;
}

.nearby-list span {
  color: #4f4034;
  font-weight: 700;
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 66px;
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 406px);
  z-index: 25;
}

.demo-toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 80;
  transform: translate(-50%, 20px);
  width: min(calc(100% - 32px), 380px);
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--coffee);
  color: #fff;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.demo-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.page {
  padding: 28px 22px;
}

.lead {
  margin: 10px 0 22px;
  color: #6f5d4e;
  line-height: 1.55;
}

.page-copy {
  max-width: 620px;
}

.page-copy .section-kicker {
  margin-bottom: 14px;
}

.main-photo {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.detail-gallery {
  display: grid;
  gap: 10px;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 10px;
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .18s ease, opacity .18s ease, transform .18s ease;
}

.thumb-row img:hover,
.thumb-row img:focus {
  opacity: .88;
  outline: none;
  transform: translateY(-1px);
}

.thumb-row img.active {
  border-color: var(--green);
}

.amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-top: 20px;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  min-height: 42px;
}

.dot-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.dot-check svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.room-list {
  display: grid;
  gap: 12px;
}

.room {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.room img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

.room strong {
  display: block;
  margin-bottom: 4px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.summary-grid div {
  padding: 16px;
  background: #fff;
  border-color: var(--line);
}

.summary-grid strong {
  display: block;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.summary-grid span {
  display: block;
  margin-top: 8px;
  color: #6f5d4e;
  font-size: 12px;
  font-weight: 800;
}

.detail-split {
  display: grid;
  gap: 22px;
}

.price-card {
  padding: 22px;
  background: var(--coffee);
  border-color: transparent;
  color: #fff;
}

.price-card span {
  color: rgba(255,255,255,.7);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-card strong {
  display: block;
  margin: 8px 0;
  color: #fff;
  font-size: 46px;
}

.price-card p {
  color: rgba(255,255,255,.78);
}

.room span,
.rules li,
.time-list {
  color: #4f4034;
  font-size: 13px;
  line-height: 1.45;
}

.rules {
  margin: 0;
  padding-left: 18px;
}

.map-card {
  height: 116px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(35deg, transparent 0 43%, rgba(255,255,255,.8) 43% 48%, transparent 48%),
    linear-gradient(122deg, transparent 0 52%, rgba(255,255,255,.8) 52% 57%, transparent 57%),
    #ead9c4;
  position: relative;
  margin-top: 12px;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(138, 90, 50, .16) 0 28%, transparent 28% 100%);
}

.pin {
  position: absolute;
  left: 56%;
  top: 35%;
  width: 22px;
  height: 22px;
  color: #ea4335;
}

.outline-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #dfd0bf;
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
  margin-top: 12px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 13px;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dfd0bf;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fffaf4;
}

.field input:focus,
.field textarea:focus {
  outline: 3px solid rgba(138, 90, 50, .16);
  border-color: rgba(138, 90, 50, .56);
}

.booking-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(58, 38, 25, .1);
}

.booking-card h2 {
  margin: 0;
  font-size: 20px;
}

.booking-workspace {
  display: grid;
  gap: 16px;
}

.booking-info {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.booking-info div {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border-color: var(--line);
}

.booking-info strong {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
}

.booking-info span {
  color: #4f4034;
  font-weight: 700;
  line-height: 1.35;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.message-preview {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(138, 90, 50, .32);
  border-radius: 8px;
  background: linear-gradient(180deg, #fbf1e4, #fffaf4);
  color: var(--ink);
  position: relative;
}

.demo-note {
  margin: 0;
  font-size: 13px;
}

.message-preview strong {
  display: block;
  margin-bottom: 12px;
}

.message-preview pre {
  margin: 0;
  white-space: pre-wrap;
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
}

.preview-icon {
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: var(--green);
}

.closing-photo {
  min-height: 260px;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.55)), url("Images/homestay-hero.webp") center / cover no-repeat;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  font-weight: 800;
  line-height: 1.35;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 430px);
  height: 66px;
  background: #fff;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 30;
}

.bottom-nav a {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: var(--coffee);
  font-size: 11px;
  font-weight: 700;
}

.bottom-nav a.active {
  color: var(--green);
}

.bottom-nav svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 430px) {
  .demo-shell {
    box-shadow: none;
  }

  .hero {
    min-height: calc(100vh - 82px);
  }

  .hero h1,
  .page h1 {
    font-size: 30px;
  }
}

@media (min-width: 820px) {
  body {
    background: #f4eadf;
  }

  .demo-shell {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    box-shadow: none;
    padding-bottom: 0;
    overflow: visible;
  }

  .topbar {
    height: 76px;
    padding: 18px clamp(28px, 6vw, 84px);
    border-bottom-color: rgba(82, 53, 34, .12);
  }

  .hamburger {
    display: none;
  }

  .desktop-links {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .desktop-links a,
  .desktop-links button {
    height: 42px;
    border: 0;
    border-radius: 8px;
    padding: 0 15px;
    background: transparent;
    color: var(--coffee);
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .desktop-links button {
    background: var(--green);
    color: #fff;
    padding-inline: 18px;
  }

  .desktop-links a.active,
  .desktop-links button.active {
    background: #f1e4d4;
    color: var(--green);
  }

  .desktop-links button:hover {
    background: var(--green-dark);
    color: #fff;
  }

  .hero {
    min-height: calc(100vh - 76px);
    padding: clamp(42px, 7vw, 90px);
    background-position: center;
    display: grid;
    grid-template-columns: minmax(0, 650px) minmax(280px, 360px);
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }

  .hero-copy {
    max-width: 650px;
    padding-top: 22px;
  }

  .hero h1,
  .page h1 {
    font-size: clamp(42px, 5vw, 72px);
  }

  .hero p {
    max-width: 520px;
    font-size: 19px;
  }

  .hero .wa-button {
    width: auto;
    min-width: 270px;
  }

  .section > .wa-button,
  .page > .wa-button {
    width: auto;
    min-width: 280px;
    max-width: 380px;
    justify-self: start;
  }

  .hero-stats {
    max-width: 500px;
    gap: 12px;
  }

  .hero-stats div {
    min-height: 92px;
    padding: 16px;
  }

  .hero-stats strong {
    font-size: 34px;
  }

  .hero-panel {
    display: block;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
    backdrop-filter: blur(14px);
    align-self: end;
  }

  .hero-panel span {
    color: rgba(255,255,255,.72);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
  }

  .hero-panel strong {
    display: block;
    margin: 8px 0 12px;
    font-size: 34px;
    line-height: 1;
  }

  .hero-panel p {
    margin: 0 0 20px;
    font-size: 14px;
    color: rgba(255,255,255,.82);
  }

  .hero-panel a {
    min-height: 46px;
    border-radius: 8px;
    background: #fff8ef;
    color: var(--coffee);
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    font-weight: 900;
  }

  .scroll-cue,
  .sticky-cta,
  .bottom-nav {
    display: none;
  }

  .section,
  .page {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    padding: 72px 0;
  }

  .home-intro {
    display: grid;
    grid-template-columns: .8fr 1fr;
    gap: 34px;
    align-items: start;
  }

  .home-intro .feature-grid {
    grid-column: 1 / -1;
  }

  .section h2 {
    font-size: 36px;
  }

  .section h3 {
    font-size: 25px;
  }

  .feature-grid {
    grid-template-columns: repeat(9, 1fr);
    gap: 12px;
  }

  .feature-card {
    min-height: 136px;
  }

  .gallery-section {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 38px;
    align-items: start;
  }

  .home-gallery {
    grid-template-columns: 1.25fr .85fr;
    grid-template-rows: repeat(2, 220px);
    gap: 14px;
  }

  .home-gallery img {
    height: 100%;
    aspect-ratio: auto;
  }

  .home-gallery .wide {
    grid-row: 1 / span 2;
  }

  .location-section {
    display: grid;
    grid-template-columns: .85fr .75fr 1fr;
    gap: 28px;
    align-items: stretch;
  }

  .nearby-list {
    margin: 0;
  }

  .promo-photo {
    min-height: 100%;
    font-size: 22px;
  }

  .page {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(440px, 1.15fr);
    gap: 42px;
    align-items: start;
  }

  .page-copy {
    grid-column: 1;
  }

  .detail-gallery {
    grid-column: 2;
    grid-row: 1;
  }

  .main-photo {
    aspect-ratio: 1.3;
  }

  .summary-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .amenities {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

  .amenity {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .room-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .room {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .room img {
    width: 100%;
    height: 170px;
  }

  .detail-split {
    grid-template-columns: .9fr 1.1fr;
    align-items: stretch;
  }

  .map-card {
    height: 100%;
    min-height: 240px;
  }

  .form-grid {
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-page {
    grid-template-columns: minmax(320px, .68fr) minmax(520px, 1fr);
    gap: 48px;
    align-items: start;
  }

  .booking-page .booking-workspace {
    grid-column: 2;
    grid-row: 1;
    gap: 18px;
  }

  .booking-page .form-grid {
    grid-column: auto;
    grid-row: auto;
  }

  .booking-card h2,
  .field:has(textarea) {
    grid-column: 1 / -1;
  }

  .message-preview,
  .page > .wa-button,
  .page > .lead[style] {
    grid-column: 1 / -1;
  }

  .booking-page .message-preview,
  .booking-page .wa-button,
  .booking-page .demo-note {
    grid-column: auto;
  }

  .booking-page .message-preview {
    min-height: 220px;
  }

  .booking-page .wa-button {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .booking-copy {
    position: sticky;
    top: 112px;
  }

  .closing-photo {
    min-height: 380px;
    font-size: 24px;
  }

  .demo-toast {
    bottom: 28px;
  }
}
