:root {
  --ink: #1d211c;
  --muted: #676f62;
  --paper: #f7f3ea;
  --bone: #eee5d6;
  --clay: #a84831;
  --moss: #596b52;
  --coal: #111511;
  --gold: #d6a345;
  --sky: #d6e6e9;
  --line: rgba(29, 33, 28, .14);
  --shadow: 0 24px 70px rgba(17, 21, 17, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
a { color: inherit; }
button, input { font: inherit; }

.site-header {
  min-height: 100vh;
  background: var(--coal);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 5vw, 64px);
  transition: background .25s ease, border-color .25s ease;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav.scrolled {
  background: rgba(17, 21, 17, .86);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.1);
  font-weight: 800;
}
.brand small {
  display: block;
  color: rgba(255,255,255,.68);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: 130px clamp(18px, 5vw, 64px) 44px;
  position: relative;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17,21,17,.82), rgba(17,21,17,.38) 48%, rgba(17,21,17,.8)),
    linear-gradient(180deg, rgba(17,21,17,.12), rgba(17,21,17,.92)),
    url("https://images.unsplash.com/photo-1518674660708-0e2c0473e68e?auto=format&fit=crop&w=2200&q=82") center / cover;
  transform: scale(1.02);
}
.hero-content {
  position: relative;
  max-width: 880px;
  padding-bottom: 112px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 800;
}
.hero .eyebrow { color: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 118px);
  line-height: .9;
  letter-spacing: 0;
}
h2 {
  font-size: clamp(32px, 4vw, 62px);
  line-height: 1;
  margin-bottom: 18px;
}
h3 { font-size: 23px; margin-bottom: 12px; }
p { line-height: 1.65; }
.hero-content p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255,255,255,.82);
  font-size: 20px;
}
.hero-actions, .section-head.row, .visit-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.button.primary { background: var(--gold); color: var(--coal); }
.button.glass { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.1); }
.button.dark { background: var(--coal); color: #fff; }
.hero-panel {
  position: absolute;
  left: clamp(18px, 5vw, 64px);
  right: clamp(18px, 5vw, 64px);
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(17,21,17,.56);
  backdrop-filter: blur(14px);
}
.hero-panel div { padding: 20px; border-right: 1px solid rgba(255,255,255,.14); }
.hero-panel div:last-child { border-right: 0; }
.hero-panel strong { display: block; font-size: 26px; color: var(--gold); }
.hero-panel span { color: rgba(255,255,255,.72); }

section { padding: 92px clamp(18px, 5vw, 64px); }
.band { background: var(--bone); }
.section-head { max-width: 900px; margin-bottom: 36px; }
.section-head.row { max-width: none; align-items: end; }
.section-head.row > p { max-width: 430px; color: var(--muted); margin-bottom: 12px; }
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.intro-grid article {
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.28);
}
.intro-grid p, .room-copy p, .visit-card p { color: var(--muted); }

.room-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 26px;
}
.room-list {
  display: grid;
  gap: 10px;
  align-content: start;
}
.room-tab {
  border: 1px solid var(--line);
  background: transparent;
  padding: 18px;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}
.room-tab.active {
  background: var(--coal);
  color: #fff;
  border-color: var(--coal);
}
.room-card {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) 1fr;
  background: #fffaf1;
  box-shadow: var(--shadow);
}
.room-image {
  min-height: 420px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.34)), var(--room-img, url("https://i24.com.ar/download/multimedia.normal.92024d0d754fe069.V2hhdHNBcHAgSW1hZ2UgMjAyMy0xMi0xMyBhdCAxMi5fbm9ybWFsLndlYnA%3D.webp")) center / cover;
}
.room-copy { padding: clamp(28px, 5vw, 58px); align-self: center; }
.room-copy ul { padding-left: 18px; line-height: 1.9; color: var(--moss); }

.virtual {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 30px;
  align-items: center;
}
.virtual-copy p { color: var(--muted); }
.spatial-frame {
  min-height: 520px;
  background: var(--coal);
  box-shadow: var(--shadow);
}
.spatial-frame iframe {
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 14px;
}
.photo {
  border: 0;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--img) center / cover;
}
.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.55));
  transition: opacity .2s ease;
}
.photo:hover::before { opacity: .75; }
.photo span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
}
.photo.tall { grid-row: span 2; }
.photo.wide { grid-column: span 2; }

.timeline-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(220px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
}
.timeline-track article {
  min-height: 280px;
  padding: 26px;
  background: var(--paper);
  border-top: 5px solid var(--clay);
}
.timeline-track time {
  color: var(--clay);
  font-weight: 900;
  font-size: 28px;
}
.timeline-track p { color: var(--muted); }

.quiz {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
}
.quiz-card, .quote-panel {
  background: #fffaf1;
  padding: clamp(26px, 5vw, 48px);
  box-shadow: var(--shadow);
}
.quiz-count { color: var(--muted); font-weight: 800; }
.answers {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.answers button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px;
  text-align: left;
  cursor: pointer;
}
.answers button.correct { background: #dce8d2; border-color: #8daa79; }
.answers button.wrong { background: #f1d2c8; border-color: #c47662; }
.quiz-feedback { min-height: 28px; margin-top: 18px; font-weight: 800; }
.quote-panel {
  background: var(--moss);
  color: #fff;
  display: flex;
  align-items: end;
}
.quote-panel p { font-size: 22px; line-height: 1.45; }

.visit-card {
  align-items: stretch;
  background: var(--coal);
  color: #fff;
  padding: clamp(28px, 5vw, 56px);
}
.visit-card > div:first-child { max-width: 450px; }
.visit-card .eyebrow { color: var(--gold); }
.visit-card p { color: rgba(255,255,255,.72); }
.visit-details {
  min-width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.18);
}
.visit-details a, .visit-details > span {
  display: block;
  padding: 20px;
  background: rgba(255,255,255,.08);
  text-decoration: none;
}
.visit-details strong { display: block; color: var(--gold); margin-bottom: 8px; }
.visit-details span span, .visit-details a span { color: rgba(255,255,255,.78); }

.source-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.source-list a {
  min-height: 120px;
  display: flex;
  align-items: end;
  padding: 18px;
  color: #fff;
  background: var(--clay);
  text-decoration: none;
  font-weight: 800;
}

.lightbox {
  width: min(980px, calc(100vw - 28px));
  border: 0;
  padding: 0;
  background: var(--coal);
  color: #fff;
}
.lightbox::backdrop { background: rgba(0,0,0,.72); }
.lightbox-image { height: min(70vh, 680px); background: center / contain no-repeat; }
.lightbox p { padding: 18px 22px 24px; margin: 0; }
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.56);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 32px clamp(18px, 5vw, 64px);
  background: var(--coal);
  color: rgba(255,255,255,.72);
}
footer strong { color: #fff; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 78px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 16px;
    background: var(--coal);
    border: 1px solid rgba(255,255,255,.18);
  }
  .nav-links.open { display: grid; }
  .hero-content { padding-bottom: 180px; }
  .hero-actions, .section-head.row, .visit-card { align-items: flex-start; flex-direction: column; }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-panel div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); padding: 14px 16px; }
  .intro-grid, .room-layout, .room-card, .virtual, .quiz, .source-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .photo.wide { grid-column: span 2; }
}

@media (max-width: 620px) {
  section { padding: 70px 16px; }
  .nav { padding: 14px 16px; }
  .hero { padding: 120px 16px 36px; }
  .hero-actions { width: 100%; }
  .button { width: 100%; }
  .hero-panel { position: relative; left: auto; right: auto; bottom: auto; margin-top: -150px; }
  .hero-content { padding-bottom: 180px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .photo.tall, .photo.wide { grid-row: auto; grid-column: auto; }
  .visit-details { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
