:root {
  --ink: #172322;
  --muted: #5f6b67;
  --paper: #fffaf2;
  --surface: #ffffff;
  --cream: #f4ead9;
  --green: #224b42;
  --green-2: #31645a;
  --copper: #b86a3a;
  --gold: #e3b15f;
  --line: #e5d8c5;
  --shadow: 0 20px 50px rgba(32, 49, 45, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid rgba(229, 216, 197, 0.75);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.brand strong {
  display: block;
  line-height: 1.05;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.text-link {
  color: var(--muted);
  font-weight: 700;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
}

.site-nav a.active,
.site-nav a:hover,
.text-link:hover {
  color: var(--green);
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--green);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: var(--green);
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(34px, 5vw, 64px) clamp(18px, 5vw, 72px) 30px;
  overflow: hidden;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 5.4vw, 4.85rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy p,
.page-hero p,
.split p,
.narrative p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: normal;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(34, 75, 66, 0.26);
}

.btn.light {
  color: var(--green);
  background: #fff;
  border-color: var(--line);
}

.btn.ghost {
  color: var(--green);
  background: transparent;
  border-color: rgba(34, 75, 66, 0.24);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quick-card {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 2px;
  max-width: min(290px, calc(100% - 40px));
  padding: 16px;
  border-radius: var(--radius);
  color: #fff;
  background: rgba(23, 35, 34, 0.9);
}

.quick-card span {
  color: #f4d6a2;
  font-weight: 700;
}

.section,
.page-hero,
.booking-band,
.room-detail {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.page-hero {
  background: linear-gradient(135deg, #f8efe1 0%, #e8d2b5 55%, #d39b63 100%);
}

.page-hero.compact {
  padding-top: clamp(54px, 8vw, 96px);
  padding-bottom: clamp(46px, 7vw, 78px);
}

.page-hero h1 {
  max-width: 940px;
  font-size: clamp(2.25rem, 5vw, 4.35rem);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefits article,
.room-card,
.form-card,
.contact-panel,
.booking-aside {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(32, 49, 45, 0.08);
}

.benefits article {
  padding: 24px;
}

.benefits span {
  display: block;
  width: 36px;
  height: 4px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--copper);
}

.benefits h2 {
  font-size: 1.18rem;
}

.benefits p,
.room-card p,
.contact-panel p,
.booking-aside p,
.gallery-grid figcaption {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  gap: clamp(22px, 5vw, 72px);
  align-items: end;
  background: #fff;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.room-card {
  overflow: hidden;
}

.room-image {
  position: relative;
  display: block;
}

.room-image img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.room-image span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
  background: rgba(34, 75, 66, 0.86);
  font-size: 0.78rem;
  font-weight: 900;
}

.room-card-body {
  padding: 20px;
}

.room-card ul,
.amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.room-card li,
.amenity-list li {
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--green);
  background: #edf5ef;
  font-size: 0.86rem;
  font-weight: 800;
}

.room-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.room-card-footer strong,
.price,
.inventory-line strong {
  color: var(--copper);
  font-size: 1.2rem;
  font-weight: 950;
}

.inventory-line {
  margin-top: -2px;
  color: var(--muted);
  font-weight: 800;
}

.room-card-footer a {
  padding: 9px 13px;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.booking-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 clamp(18px, 5vw, 72px) clamp(48px, 7vw, 86px);
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--green), #5d4a32);
}

.booking-band .eyebrow,
.booking-band h2 {
  color: #fff;
}

.booking-band h2 {
  margin-bottom: 0;
}

.narrative {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.narrative img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.mini-stats span {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.mini-stats strong {
  display: block;
  color: var(--green);
  font-size: 1.45rem;
}

.room-detail {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(300px, 0.85fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
}

.slide-main {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: transparent;
  cursor: zoom-in;
}

.slide-main img {
  width: 100%;
  aspect-ratio: 1.16;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.room-slideshow {
  position: relative;
}

.slide-control {
  position: absolute;
  top: 40%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: rgba(23, 35, 34, 0.72);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.slide-control.prev {
  left: 12px;
}

.slide-control.next {
  right: 12px;
}

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

.thumb-strip button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.thumb-strip button.active {
  border-color: var(--copper);
}

.thumb-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filters a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
}

.filters a.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.gallery-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 12px;
  font-weight: 800;
}

.contact-grid,
.booking-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: start;
}

.booking-layout {
  grid-template-columns: minmax(360px, 1fr) minmax(280px, 0.5fr);
}

.contact-panel,
.booking-aside,
.form-card {
  padding: 24px;
}

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--green);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #d8cbb8;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(227, 177, 95, 0.34);
  border-color: var(--copper);
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.booking-note {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.map-wrap {
  padding: 0 clamp(18px, 5vw, 72px) clamp(58px, 7vw, 90px);
}

.map-wrap iframe {
  width: 100%;
  height: min(58vh, 470px);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.flash {
  max-width: 1100px;
  margin: 18px auto 0;
  padding: 14px 18px;
  border-radius: 6px;
  font-weight: 800;
}

.flash.success {
  color: #174237;
  background: #dff4e7;
  border: 1px solid #aad8bc;
}

.flash.error {
  color: #6f251f;
  background: #ffe5df;
  border: 1px solid #f0b7ad;
}

.site-footer {
  display: grid;
  gap: 26px;
  padding: 50px clamp(18px, 5vw, 72px) 26px;
  color: #dfe7e1;
  background:
    linear-gradient(135deg, rgba(184, 106, 58, 0.18), transparent 34%),
    #14211f;
}

.site-footer p {
  margin-bottom: 6px;
  color: #bfcac5;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 0.7fr));
  gap: clamp(22px, 4vw, 48px);
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid h2 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid span {
  color: #c7d2cc;
  font-weight: 750;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-brand {
  color: #fff;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.footer-brand span {
  color: #fff;
  font-size: 1.16rem;
}

.footer-about p {
  max-width: 460px;
}

.footer-whatsapp {
  width: fit-content;
  padding: 10px 12px;
  border-radius: 6px;
  color: #fff !important;
  background: #1f8d56;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aebbb5;
  font-size: 0.92rem;
  font-weight: 700;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  padding: 12px 14px;
  border-radius: 6px;
  color: #fff;
  background: #1f8d56;
  box-shadow: 0 14px 30px rgba(31, 141, 86, 0.35);
  font-weight: 950;
}

.booking-modal,
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.booking-modal[hidden],
.image-lightbox[hidden] {
  display: none;
}

.modal-backdrop,
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 20, 18, 0.72);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: clamp(20px, 4vw, 30px);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.modal-panel h2 {
  margin-bottom: 8px;
}

.modal-intro {
  color: var(--muted);
}

.modal-close,
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  background: rgba(23, 35, 34, 0.9);
  font-size: 1.4rem;
  line-height: 1;
}

.modal-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.image-lightbox figure {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(1100px, 96vw);
}

.image-lightbox img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: #111;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

@media (max-width: 980px) {
  .hero,
  .split,
  .narrative,
  .room-detail,
  .contact-grid,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .benefits,
  .room-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
  }

  .room-detail {
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 42px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav.open {
    display: flex;
  }

  .brand {
    max-width: calc(100% - 86px);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .brand small {
    font-size: 0.7rem;
  }

  .hero-media img {
    aspect-ratio: 1;
  }

  .section-heading,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .booking-modal,
  .image-lightbox {
    align-items: start;
    padding: 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-panel {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 52px 16px 18px;
  }

  .modal-close,
  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .image-lightbox figure {
    width: 100%;
    margin-top: 44px;
  }

  .image-lightbox img {
    max-height: calc(100dvh - 76px);
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    left: 12px;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .benefits,
  .room-grid,
  .gallery-grid,
  .footer-grid,
  .mini-stats,
  .form-row {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.55rem, 8vw, 2.35rem);
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .quick-card {
    position: static;
    margin-top: 10px;
    max-width: 100%;
  }

  .hero,
  .section,
  .page-hero,
  .room-detail {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero {
    padding-top: 28px;
    gap: 20px;
  }

  .page-hero.compact {
    padding-top: 40px;
    padding-bottom: 38px;
  }

  .room-card-body,
  .contact-panel,
  .booking-aside,
  .form-card {
    padding: 18px;
  }

  .room-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .room-card-footer a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .booking-band {
    margin-right: 14px;
    margin-left: 14px;
    padding: 28px 16px;
  }

  .slide-main img {
    aspect-ratio: 1.05;
  }

  .slide-control {
    top: 38%;
    width: 38px;
    height: 38px;
    font-size: 1.7rem;
  }

  .slide-control.prev {
    left: 8px;
  }

  .slide-control.next {
    right: 8px;
  }

  .thumb-strip {
    grid-template-columns: repeat(4, minmax(64px, 1fr));
    gap: 8px;
  }

  .gallery-grid img {
    aspect-ratio: 1.2;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .map-wrap {
    padding-right: 14px;
    padding-left: 14px;
  }

  .map-wrap iframe {
    height: 360px;
  }

  .site-footer {
    padding-right: 16px;
    padding-left: 16px;
    padding-bottom: 82px;
  }

  .footer-whatsapp {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 0.93rem;
  }

  .hero-copy p,
  .page-hero p,
  .split p,
  .narrative p {
    font-size: 1rem;
  }

  .filters a {
    flex: 1 1 auto;
    text-align: center;
  }

  .modal-panel h2 {
    font-size: 1.55rem;
  }
}
