/* css/styles.css */
:root {
  --color-cream: #F5F0E8;
  --color-black: #0d0d0d;
  --color-black-soft: #1a1a1a;
  --color-red: #E4002B;
  --color-white: #ffffff;
  --font-main: 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--color-cream);
  color: #1a1a1a;
  overflow-x: hidden;
}

[data-view] {
  min-height: 100vh;
  width: 100%;
}

[data-view][hidden] { display: none; }

.wipe-diamond {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 300vmax;
  height: 300vmax;
  background: var(--color-red);
  transform: translate(-50%, -50%) rotate(45deg) scale(0);
  transform-origin: center;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}

.nav-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-black);
  border: none;
  color: var(--color-white);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 500;
}

.nav-button[hidden] { display: none; }

#nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.85);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

#nav-overlay[hidden] { display: none; }

.nav-overlay__panel {
  background: var(--color-cream);
  padding: 32px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
}

.nav-overlay__panel button {
  font-family: var(--font-main);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
  background: none;
  border: none;
  padding: 14px 8px;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.nav-overlay__panel button:last-child { border-bottom: none; }

/* --- GRID HOME --- */
[data-view="grid"] {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px 0;
  background: var(--color-black);
  color: var(--color-white);
  overflow: hidden;
}

.grid-header { position: relative; z-index: 2; text-align: center; }

.grid-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.grid-title {
  font-size: clamp(40px, 12vw, 72px);
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  line-height: 1;
}

.grid-title span { color: var(--color-red); }

.grid-dates {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.7;
}

#grid-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.tile-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}

.tile {
  position: relative;
  height: 220px;
  border: none;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  isolation: isolate;
}

.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.25));
  z-index: -1;
}

.tile-label {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.grid-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 20px;
  margin-top: auto;
}

.grid-footer .footer-brand { font-size: 18px; font-weight: 300; letter-spacing: 8px; text-transform: uppercase; }
.grid-footer .footer-tagline { font-size: 9px; letter-spacing: 4px; color: #888; margin-top: 6px; text-transform: uppercase; }
.grid-footer .footer-copy { margin-top: 24px; font-size: 10px; color: #555; }

@media (min-width: 700px) {
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .tile { height: 320px; }
}

/* --- INNER VIEW SHARED --- */
[data-view="agenda"],
[data-view="hospedaje"],
[data-view="experiencias"] {
  background: var(--color-cream);
  padding: 64px 24px 100px;
}

.view-header { text-align: center; max-width: 1160px; margin: 0 auto 48px; }
.view-header h2 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 1;
}
.view-header h2 span { color: var(--color-red); }
.divider { width: 48px; height: 3px; background: var(--color-red); margin: 14px auto 0; }

/* --- AGENDA --- */
.agenda { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--color-black-soft); }
.agenda-item { border-bottom: 1px solid var(--color-black-soft); }
.agenda-header {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 20px 4px;
  cursor: pointer;
}
.agenda-day { font-weight: 900; font-size: 17px; text-transform: uppercase; }
.agenda-day small { display: block; font-size: 10px; font-weight: 400; letter-spacing: 1px; color: #888; margin-top: 2px; }
.agenda-title { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.agenda-arrow { font-size: 20px; color: var(--color-red); width: 24px; text-align: center; transition: transform 0.25s; }
.agenda-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s; }
.agenda-body.open { max-height: 400px; padding-bottom: 18px; }
.agenda-body ul { list-style: none; padding-left: 100px; display: flex; flex-direction: column; gap: 6px; }
.agenda-body ul li { font-size: 13.5px; color: #444; line-height: 1.6; padding-left: 16px; position: relative; }
.agenda-body ul li::before { content: '·'; position: absolute; left: 0; color: var(--color-red); font-size: 20px; }
.agenda-body ul li em { color: #888; font-size: 12px; }

@media (max-width: 560px) {
  .agenda-header { grid-template-columns: 78px 1fr auto; }
  .agenda-body ul { padding-left: 78px; }
}

/* --- HOSPEDAJE --- */
.hotels-grid { display: grid; grid-template-columns: 1fr; gap: 3px; background: var(--color-black-soft); max-width: 1000px; margin: 0 auto; }
.hotel-card { background: var(--color-white); overflow: hidden; }
.hotel-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.hotel-info { padding: 24px 24px 30px; }
.hotel-city { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: #aaa; margin-bottom: 6px; }
.hotel-name { font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; line-height: 1.1; }
.hotel-name span { color: var(--color-red); }
.hotel-desc { font-size: 13.5px; color: #666; line-height: 1.7; margin-top: 12px; }
.hotel-stats { display: flex; gap: 28px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #ececec; }
.stat-label { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: #aaa; }
.stat-value { font-size: 18px; font-weight: 800; margin-top: 2px; }

@media (min-width: 700px) {
  .hotels-grid { grid-template-columns: 1fr 1fr; }
  .hotel-img { height: 260px; }
}

/* --- EXPERIENCIAS --- */
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--color-black-soft); max-width: 1100px; margin: 0 auto; }
.exp-card { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.exp-card picture, .exp-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.exp-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75), transparent 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 16px; }
.exp-tag { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--color-red); margin-bottom: 6px; font-weight: 600; }
.exp-name { font-size: 15px; font-weight: 800; color: var(--color-white); line-height: 1.2; }

@media (min-width: 700px) {
  .exp-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .agenda-body { transition: none; }
  * { scroll-behavior: auto !important; }
}
