:root {
  --night: #12151c;
  --ink: #1a1512;
  --indigo: #1c2740;
  --indigo-soft: #2a3654;
  --terra: #c45c3a;
  --sand: #ead9c4;
  --cream: #f6efe6;
  --paper: #fffaf4;
  --gold: #c4a574;
  --muted: #7a6b5c;
  --line: rgba(234, 217, 196, 0.16);
  --shadow: 0 24px 60px rgba(18, 21, 28, 0.28);
  --max: 1180px;
  --nav-h: 82px;
  --radius: 8px;
  --motif: repeating-linear-gradient(45deg, transparent 0 10px, rgba(196, 92, 58, 0.35) 10px 11px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Sora", sans-serif;
  color: var(--paper);
  background: var(--night);
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.02;
}

h1 { font-size: clamp(3.8rem, 9vw, 8.2rem); }
h2 { font-size: clamp(2.3rem, 4.8vw, 4.1rem); }
h3 { font-size: 1.7rem; }

.lead {
  font-size: 1.14rem;
  color: rgba(255, 250, 244, 0.78);
  max-width: 64ch;
}

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

.motif-bar {
  height: 12px;
  background:
    repeating-linear-gradient(90deg, var(--terra) 0 14px, var(--indigo) 14px 28px, var(--sand) 28px 42px, var(--indigo) 42px 56px);
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(18, 21, 28, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.85rem;
  font-style: italic;
}

.logo-mark {
  width: 18px;
  height: 18px;
  background: var(--terra);
  transform: rotate(45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 8px 11px;
  font-size: 0.86rem;
  color: rgba(255, 250, 244, 0.72);
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }
.btn-terra { background: var(--terra); color: #fffaf4; }
.btn-sand { background: var(--sand); color: var(--indigo); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(255, 250, 244, 0.32);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--paper);
  margin: 6px 0;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,21,28,.28) 0%, rgba(18,21,28,.42) 40%, rgba(18,21,28,.88) 100%),
    url("../images/hero.jpg") center/cover no-repeat;
}

.hero-rail {
  position: absolute;
  left: 22px;
  top: 40px;
  bottom: 80px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--sand);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 110px 28px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
}

.hero .kicker {
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(5rem, 15vw, 11.5rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
  font-style: italic;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.reasons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0 22px;
  min-height: 2.2rem;
}

.reason-word {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-style: italic;
  opacity: 0.28;
  transition: opacity 0.5s;
}

.reason-word.on { opacity: 1; color: var(--sand); }

.hero p {
  margin: 0 0 28px;
  max-width: 36ch;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  color: rgba(255, 250, 244, 0.9);
}

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

.stay-card {
  background: rgba(255, 250, 244, 0.96);
  color: var(--ink);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stay-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.stay-card .body { padding: 22px; }

.stay-card span {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--terra);
  font-weight: 600;
}

.stay-card strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin: 6px 0 8px;
}

.stay-card p { color: #5d5348; margin: 0; }

.photo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 10px 10px 0;
}

.photo-strip img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* SECTIONS */
.section { padding: 92px 0; }
.section-cream { background: var(--cream); color: var(--ink); }
.section-cream .muted,
.section-cream .lead { color: #6a5c50; }
.section-cream .eyebrow { color: var(--terra); }
.section-indigo { background: var(--indigo); }

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

.section-intro {
  max-width: 72ch;
  margin: 0 0 36px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-cream .section-intro { color: #6a5c50; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card, .room-card, .service-card, .info-card, .quote, .terms {
  background: #1a1e28;
  border: 1px solid var(--line);
  overflow: hidden;
}

.section-cream .card,
.section-cream .room-card,
.section-cream .service-card,
.section-cream .info-card,
.section-cream .quote,
.section-cream .terms {
  background: var(--paper);
  border-color: rgba(28, 39, 64, 0.08);
  color: var(--ink);
}

.room-card, .service-card { transition: transform 0.25s ease; }
.room-card:hover, .service-card:hover { transform: translateY(-5px); }

.room-card img, .service-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.room-card .body, .info-card { padding: 22px; }
.service-card h3 { padding: 18px 20px 8px; }
.service-card p, .service-card ul { padding: 0 20px; }
.service-card ul {
  color: var(--muted);
  padding: 0 20px 20px 38px;
  display: grid;
  gap: 6px;
}
.service-card p:last-of-type { padding-bottom: 20px; }
.section-cream .service-card ul { color: #6a5c50; }

.num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--terra);
  display: block;
  margin-bottom: 6px;
}

.price {
  margin-top: 12px;
  color: var(--gold);
  font-weight: 600;
}
.section-cream .price { color: var(--terra); }

.info-card h3 { margin-bottom: 10px; }

.about, .story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.about img, .story-grid img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.story-grid img { height: 420px; }

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

.checks li {
  list-style: none;
  padding-left: 28px;
  position: relative;
}

.checks li::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--terra);
  transform: rotate(45deg);
  position: absolute;
  left: 0;
  top: 8px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quote { padding: 26px; }
.quote p {
  margin: 12px 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-style: italic;
}
.quote footer { font-size: 0.92rem; color: var(--muted); }

.faq { display: grid; gap: 10px; }
.faq details {
  background: #1a1e28;
  border: 1px solid var(--line);
  padding: 16px 20px;
}
.section-cream .faq details {
  background: var(--paper);
  border-color: rgba(28, 39, 64, 0.08);
  color: var(--ink);
}
.faq summary {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 70ch; }
.section-cream .faq details p { color: #6a5c50; }

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.timeline-item strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  color: var(--gold);
}

.section-cream .timeline-item strong { color: var(--terra); }

.note-box {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px dashed rgba(196, 165, 116, 0.5);
}

.note-box a { color: var(--terra); text-decoration: underline; }

.page-hero {
  position: relative;
  padding: 96px 0 64px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18,21,28,.88), rgba(18,21,28,.4)),
    var(--page-img) center/cover;
  z-index: 0;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero p {
  margin-top: 14px;
  max-width: 68ch;
  color: rgba(255, 250, 244, 0.82);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 32px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--terra);
  border-color: var(--terra);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.45s;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 18px;
  background: linear-gradient(transparent, rgba(18, 21, 28, 0.88));
  font-size: 0.92rem;
}

.gallery-item.hidden { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 16, 0.92);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 24px;
}

.lightbox.open { display: grid; }
.lightbox img { max-width: min(960px, 92vw); max-height: 84vh; }
.lightbox button {
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--sand);
  border: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-weight: 700;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

form { display: grid; gap: 14px; }
label { font-size: 0.9rem; font-weight: 600; }

input, textarea, select {
  width: 100%;
  border: 1px solid rgba(28, 39, 64, 0.14);
  background: #fffdf8;
  color: var(--ink);
  padding: 12px 14px;
}

textarea { min-height: 120px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-msg { display: none; padding: 12px 14px; }
.form-msg.ok { display: block; background: #e5f3ea; color: #1e4630; }
.form-msg.err { display: block; background: #fbe8e4; color: #7a2a1c; }

.map-box {
  min-height: 230px;
  background:
    linear-gradient(rgba(18,21,28,.35), rgba(18,21,28,.5)),
    url("../images/mapa.jpg") center/cover;
  display: grid;
  place-items: end start;
  padding: 22px;
}

.hours {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.92rem;
}

.terms { padding: 36px; }
.terms h3 { margin: 28px 0 10px; }
.terms p, .terms li { color: #6a5c50; }
.terms ul { padding-left: 20px; margin: 8px 0 16px; }

.footer {
  background: #0c0e14;
  color: rgba(255, 250, 244, 0.78);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.footer h3 { color: var(--paper); margin-bottom: 12px; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; display: grid; gap: 8px; }

.copy {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 0.88rem;
}

.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  background: #25d366;
  color: #083b1a;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .hero-content, .grid-4, .grid-3, .quote-grid, .gallery-grid, .about, .contact-wrap, .footer-grid, .grid-2, .story-grid, .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 780px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--night);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .hero-content, .grid-4, .grid-3, .quote-grid, .gallery-grid, .about, .contact-wrap, .footer-grid, .grid-2, .section-head, .story-grid, .timeline-item, .form-row {
    grid-template-columns: 1fr;
    display: grid;
  }
  .hero { min-height: 92vh; }
  .hero-content { padding-left: 8px; }
  .hero-rail { font-size: 0.65rem; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .photo-strip img { height: 140px; }
}
