/* ===================================================
   Entre Río y Fuego — style.css
   Cinematic redesign
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400;1,9..144,500&family=Inter:wght@300;400;500;600&display=swap');

/* --- Brand Tokens --- */
:root {
  --noche:  #1A1612;
  --noche-deep: #110E0B;
  --noche-warm: #231E19;
  --noche-mid:  #1E1A16;
  --brasa:  #8B3A2A;
  --ember:  #C4622D;
  --tierra: #7A5C3E;
  --rio:    #3D5A6B;
  --vapor:  #EDE8E0;
  --ceniza: #9A9087;

  --font-display: 'Fraunces', serif;
  --font-body:    'Inter', sans-serif;

  --max-content: 680px;
  --max-form:    520px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--noche);
  background: var(--noche);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Language Toggle Logic --- */
html[lang="en"] .es { display: none !important; }
html[lang="es"] .en { display: none !important; }


/* ===================================================
   EMBER PARTICLES — Floating in dark sections
   ================================================ */

.embers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.ember-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ember);
  opacity: 0;
  filter: blur(0.5px);
  animation: ember-float linear infinite;
}

.ember-particle:nth-child(odd) {
  background: var(--brasa);
  width: 2px;
  height: 2px;
}

@keyframes ember-float {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(1);
  }
  10% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) translateX(var(--drift)) scale(0.3);
  }
}


/* ===================================================
   00 — NAV
   ================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  transition: background-color 0.4s ease, padding 0.4s ease;
}

.nav--scrolled {
  background-color: rgba(17, 14, 11, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 48px;
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.nav__logo:hover {
  opacity: 1;
}

.nav__logo-img {
  height: 90px;
  width: auto;
  display: block;
  transition: height 0.4s ease;
}

.nav--scrolled .nav__logo-img {
  height: 64px;
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav__lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-variant: small-caps;
  letter-spacing: 0.1em;
  color: var(--ceniza);
  padding: 6px 10px;
  transition: color 0.2s ease;
}

.nav__lang-btn:hover {
  color: var(--vapor);
}

.nav__lang-btn--active {
  color: var(--vapor);
}

.nav__lang-sep {
  color: var(--ceniza);
  font-size: 12px;
  opacity: 0.3;
  user-select: none;
}


/* ===================================================
   01 — HERO
   ================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background photo */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg img {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.35) contrast(1.1) saturate(0.9);
  will-change: transform;
}

/* Gradient overlays for depth */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(17, 14, 11, 0.5) 0%, transparent 30%),
    linear-gradient(to bottom, transparent 50%, rgba(17, 14, 11, 0.85) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(17, 14, 11, 0.4) 100%);
}

/* Warm glow from the fire */
.hero__glow {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 98, 45, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.05); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 80px 24px 40px;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-variant: small-caps;
  letter-spacing: 0.25em;
  color: var(--ceniza);
  margin-bottom: 24px;
  opacity: 0.8;
}

.hero__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(44px, 8vw, 80px);
  color: var(--vapor);
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.hero__subhead {
  font-family: var(--font-body);
  font-size: clamp(17px, 2.5vw, 21px);
  color: rgba(237, 232, 224, 0.7);
  font-weight: 300;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero__body {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--tierra);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero__rule {
  width: 40px;
  height: 1px;
  background: var(--brasa);
  border: none;
  margin: 0 auto 24px;
  opacity: 0.8;
}

.hero__details {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ceniza);
  letter-spacing: 0.03em;
  margin-bottom: 32px;
}

.hero__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vapor);
  border: 1px solid rgba(237, 232, 224, 0.4);
  border-radius: 2px;
  padding: 18px 48px;
  cursor: pointer;
  background: transparent;
  transition: all 0.4s ease;
}

.hero__cta:hover {
  background: var(--brasa);
  border-color: var(--brasa);
  color: var(--vapor);
  box-shadow: 0 0 40px rgba(139, 58, 42, 0.3);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: hero-scroll-float 2.5s ease-in-out infinite;
  transition: opacity 0.6s ease;
}

.hero__scroll--hidden {
  opacity: 0;
  pointer-events: none;
}

.hero__scroll-chevron {
  width: 18px;
  height: 18px;
  border-right: 1px solid rgba(237, 232, 224, 0.35);
  border-bottom: 1px solid rgba(237, 232, 224, 0.35);
  transform: rotate(45deg);
}

@keyframes hero-scroll-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}


/* ===================================================
   PHOTO DIVIDER — Full-width cinematic breaks
   ================================================ */

.photo-divider {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 320px;
  max-height: 500px;
  overflow: hidden;
}

.photo-divider img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.photo-divider--noche-to-vapor img {
  object-position: center 85%;
}

.photo-divider--noche-to-vapor::before {
  background: linear-gradient(to bottom, var(--noche-warm) 0%, transparent 100%);
}

.photo-divider--noche-to-vapor::after {
  background: linear-gradient(to top, var(--vapor) 0%, transparent 100%);
}

.photo-divider::before,
.photo-divider::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 1;
  pointer-events: none;
}

/* Top gradient */
.photo-divider::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(17, 14, 11, 0.9), transparent);
}

/* Bottom gradient */
.photo-divider::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(17, 14, 11, 0.9), transparent);
}


/* ===================================================
   02 — THE TENSION
   ================================================ */

.tension {
  background: var(--noche-warm);
  padding: 140px 24px;
  position: relative;
}

.tension__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.tension__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 42px);
  color: var(--vapor);
  line-height: 1.25;
  margin-bottom: 48px;
}

.tension__body {
  font-family: var(--font-body);
  font-size: 16.5px;
  color: var(--ceniza);
  line-height: 1.9;
}

.tension__body p {
  margin-bottom: 28px;
}

.tension__body p:last-child {
  margin-bottom: 0;
  color: var(--vapor);
  font-weight: 500;
}


/* ===================================================
   03 — THE SEQUENCE
   ================================================ */

.sequence {
  background: var(--noche);
  padding: 140px 24px;
  position: relative;
  overflow: hidden;
}

.sequence__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
}

.sequence__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-variant: small-caps;
  letter-spacing: 0.2em;
  color: var(--ceniza);
  padding-top: 8px;
  position: relative;
}

.sequence__label::after {
  content: '';
  position: absolute;
  top: 32px;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--brasa);
  opacity: 0.5;
}

.sequence__content {
  max-width: 560px;
}

.sequence__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.5vw, 32px);
  color: var(--vapor);
  line-height: 1.35;
  margin-bottom: 40px;
}

.sharing-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.sharing-item {
  border-bottom: 1px solid rgba(154, 144, 135, 0.1);
  padding-bottom: 24px;
}

.sharing-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sharing-item__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.sharing-item__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--brasa);
  font-weight: 500;
}

.sharing-item__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--vapor);
}

.sharing-item__desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ceniza);
  line-height: 1.8;
}


/* ===================================================
   04 — THE PLACE
   ================================================ */

.place {
  background: var(--vapor);
  padding: 140px 24px;
}

.place__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.place__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.5vw, 34px);
  color: var(--noche);
  line-height: 1.3;
  margin-bottom: 36px;
}

.place__body {
  font-family: var(--font-body);
  font-size: 16.5px;
  color: var(--noche-warm);
  line-height: 1.9;
}

.place__body p {
  margin-bottom: 24px;
}

.place__body p:last-child {
  margin-bottom: 0;
  color: var(--noche);
  font-weight: 500;
}

.place__visual {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.place__visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.place__visual:hover img {
  transform: scale(1.02);
}

/* Subtle warm overlay on image */
.place__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 58, 42, 0.08) 0%,
    transparent 50%,
    rgba(26, 22, 18, 0.15) 100%
  );
  pointer-events: none;
}


/* ===================================================
   07b — DÓNDE DUERMES [NUEVA]
   ================================================ */

.room {
  background: var(--vapor);
  padding: 140px 24px;
  display: none; /* Hidden by default, toggled via JS */
  text-align: center;
}

.room__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.room__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 40px);
  color: var(--noche);
  margin-bottom: 24px;
}

.room__body {
  font-family: var(--font-body);
  font-size: 16.5px;
  color: var(--noche-warm);
  line-height: 1.8;
  max-width: var(--max-content);
  margin: 0 auto 48px;
}

.room__visual {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.room__visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.room__visual:hover img {
  transform: scale(1.02);
}

.room__link-wrapper {
  margin-top: 24px;
}

.room__link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brasa);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.room__link:hover {
  border-color: var(--brasa);
}


/* ===================================================
   05 — WHO THIS IS FOR (Vignettes)
   ================================================ */

.avatars {
  background: var(--vapor);
  padding: 140px 24px;
  position: relative;
  overflow: hidden;
}

.avatars__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.avatars__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 80px;
}

.vignette {
  max-width: 460px;
  position: relative;
}

.vignette__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(19px, 2.5vw, 23px);
  color: var(--vapor);
  line-height: 1.35;
  margin-bottom: 20px;
}

/* Subtle brasa accent bar */
.vignette__quote::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--brasa);
  margin-bottom: 20px;
  opacity: 0.6;
}

.vignette__body {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(154, 144, 135, 0.85);
  line-height: 1.75;
}

.vignette__body p {
  margin-bottom: 8px;
}

.vignette__body p:last-child {
  margin-bottom: 0;
  color: var(--ceniza);
}


/* ===================================================
   05 — THE TIMELINE (Así transcurre)
   ================================================ */

.timeline {
  background: var(--noche-mid);
  padding: 140px 24px;
  overflow: hidden; /* contain full-bleed timeline__visual */
}

.timeline__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.timeline__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 40px);
  color: var(--vapor);
  margin-bottom: 56px;
}

.timeline__list {
  display: flex;
  flex-direction: column;
  position: relative;
}

.timeline__list::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: rgba(139, 58, 42, 0.15);
}

.timeline__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 48px;
  position: relative;
  margin-bottom: 40px;
  align-items: baseline;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__item::after {
  content: '';
  position: absolute;
  left: 117.5px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brasa);
}

.timeline__time {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--vapor);
  text-align: right;
  font-weight: 400;
}

.timeline__content {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ceniza);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .timeline__list::before {
    left: 8px;
  }
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 28px;
  }
  .timeline__item::after {
    left: 5.5px;
    top: 6px;
  }
  .timeline__time {
    text-align: left;
    font-size: 14px;
    color: var(--brasa);
    font-weight: 500;
  }
}


/* ===================================================
   07 — DIRECTIONS (Cómo llegar)
   ================================================ */

.directions {
  background: var(--noche-warm);
  padding: 140px 24px;
}

.directions__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.directions__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 40px);
  color: var(--vapor);
  margin-bottom: 36px;
}

.directions__body {
  font-family: var(--font-body);
  font-size: 16.5px;
  color: var(--ceniza);
  line-height: 1.9;
}

.directions__body p {
  margin-bottom: 24px;
}

.directions__body p:last-child {
  margin-bottom: 0;
}


/* ===================================================
   08 — CLOSING (Seis personas. Una noche.)
   ================================================ */

.closing {
  background: var(--noche);
  padding: 100px 24px; /* reduced from 180px — eliminate dark void after atardecer */
  text-align: center;
  position: relative;
}

.closing__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-form);
  margin: 0 auto;
}

.closing__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 6vw, 54px);
  color: var(--vapor);
  line-height: 1.2;
  margin-bottom: 24px;
}

.closing__subline {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ceniza);
  letter-spacing: 0.02em;
}


/* ===================================================
   HERO SCROLL LABEL
   ================================================ */

.hero__scroll-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-variant: small-caps;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ceniza);
  border-bottom: 1px solid rgba(154, 144, 135, 0.2);
  padding-bottom: 6px;
  cursor: pointer;
  background: transparent;
  transition: all 0.4s ease;
  margin-top: 12px;
}

.hero__scroll-label:hover {
  color: var(--vapor);
  border-color: var(--vapor);
}


/* ===================================================
   07 — CTA / FORM
   ================================================ */

.cta {
  background: var(--noche);
  padding: 140px 24px;
  position: relative;
  overflow: hidden;
}

/* Atmospheric photo background */
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.15) contrast(1.1) saturate(0.7);
}

.cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 20%, rgba(17, 14, 11, 0.7) 100%),
    linear-gradient(to bottom, var(--noche) 0%, transparent 15%, transparent 85%, var(--noche) 100%);
}

.cta__inner {
  max-width: var(--max-form);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 5.5vw, 48px);
  color: var(--vapor);
  margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.cta__subhead {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ceniza);
  margin-bottom: 56px;
  line-height: 1.7;
}

.tally-container {
  text-align: left;
  background: rgba(17, 14, 11, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(154, 144, 135, 0.1);
  border-radius: 4px;
  padding: 24px;
  min-height: 480px;
  overflow: hidden;
}

.form {
  text-align: left;
  background: rgba(17, 14, 11, 0.5);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(154, 144, 135, 0.1);
  border-radius: 4px;
  padding: 48px 40px;
}

.form__group {
  margin-bottom: 28px;
}

.form__label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ceniza);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--vapor);
  background: rgba(237, 232, 224, 0.04);
  border: 1px solid rgba(154, 144, 135, 0.2);
  border-radius: 2px;
  padding: 16px 18px;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--brasa);
  background: rgba(237, 232, 224, 0.06);
  box-shadow: 0 0 0 3px rgba(139, 58, 42, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: rgba(154, 144, 135, 0.4);
}

.form__select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9087' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.form__select option {
  background: var(--noche);
  color: var(--vapor);
}

.form__textarea {
  resize: vertical;
  min-height: 80px;
}

.form__error {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ember);
  margin-top: 8px;
  display: none;
}

.form__group--error .form__error {
  display: block;
}

.form__group--error .form__input,
.form__group--error .form__select,
.form__group--error .form__textarea {
  border-color: var(--brasa);
}

.form__submit {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vapor);
  background: var(--brasa);
  border: 1px solid var(--brasa);
  border-radius: 2px;
  padding: 20px 40px;
  cursor: pointer;
  transition: all 0.4s ease;
  margin-top: 12px;
}

.form__submit:hover {
  background: var(--ember);
  border-color: var(--ember);
  box-shadow: 0 4px 30px rgba(139, 58, 42, 0.3);
}

.form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Success message */
.cta__success {
  display: none;
  text-align: center;
  padding: 80px 40px;
  background: rgba(17, 14, 11, 0.5);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(154, 144, 135, 0.1);
  border-radius: 4px;
}

.cta__success--visible {
  display: block;
}

.cta__success p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: var(--vapor);
  line-height: 1.6;
}

.cta__success p span {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 14px;
  color: var(--ceniza);
}


/* ===================================================
   08 — FOOTER
   ================================================ */

.footer {
  background: var(--noche-deep);
  padding: 56px 24px;
  text-align: center;
}

.footer__line {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(154, 144, 135, 0.6);
  line-height: 2;
}

.footer__line a {
  color: rgba(154, 144, 135, 0.6);
  transition: color 0.2s ease;
}

.footer__line a:hover {
  color: var(--vapor);
}


/* ===================================================
   SCROLL REVEAL ANIMATIONS
   ================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveals for child elements */
.reveal-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-children--visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.reveal-children--visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.reveal-children--visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.reveal-children--visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.reveal-children--visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

/* Photo divider reveal */
.photo-divider.reveal--visible {
  opacity: 1;
}


/* ===================================================
   HERO ENTRANCE ANIMATION
   ================================================ */

.hero__content > * {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-enter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero__eyebrow    { animation-delay: 0.3s; }
.hero__headline   { animation-delay: 0.5s; }
.hero__subhead    { animation-delay: 0.7s; }
.hero__body       { animation-delay: 0.9s; }
.hero__rule       { animation-delay: 1.1s; }
.hero__details    { animation-delay: 1.2s; }
.hero__cta        { animation-delay: 1.4s; }

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__scroll {
  opacity: 0;
  animation: hero-scroll-in 0.6s ease forwards;
  animation-delay: 2s;
}

@keyframes hero-scroll-in {
  to { opacity: 1; }
}


/* ===================================================
   04 — LA NOCHE, DE PRINCIPIO A FIN [NUEVA]
   ================================================ */

.night-journey {
  background: var(--noche);
  padding: 140px 24px;
  position: relative;
  overflow: hidden; /* contain full-bleed night-journey__visual */
}

.night-journey__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.night-journey__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 42px);
  color: var(--vapor);
  line-height: 1.25;
  margin-bottom: 48px;
}

.night-journey__body {
  font-family: var(--font-body);
  font-size: 16.5px;
  color: var(--ceniza);
  line-height: 1.9;
}

.night-journey__body p {
  margin-bottom: 28px;
}


/* ===================================================
   06 — CTA NUEVO (WhatsApp) [NUEVA]
   ================================================ */

.cta-whatsapp {
  background: var(--noche-warm);
  padding: 100px 24px;
  text-align: center;
  position: relative;
}

.cta-whatsapp__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.cta-whatsapp__subhead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 3vw, 26px);
  color: var(--vapor);
  margin-bottom: 36px;
  line-height: 1.4;
}

.cta-whatsapp__btn-wrapper {
  margin-top: 24px;
}


/* ===================================================
   08 — QUIENES SOSTIENEN LA NOCHE [NUEVA]
   ================================================ */

.facilitators {
  background: var(--vapor);
  padding: 140px 24px;
}

.facilitators__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.facilitators__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 40px);
  color: var(--noche);
  margin-bottom: 20px;
}

.facilitators__subhead {
  font-family: var(--font-body);
  font-size: clamp(15px, 2vw, 17px);
  color: var(--noche-warm);
  line-height: 1.8;
  margin-bottom: 60px;
  max-width: 680px;
}

.facilitators-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 80px;
  max-width: 1080px;
  margin: 0 auto;
}

.facilitator-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
}

.facilitator-card__portrait {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  max-width: 200px;
  width: 100%;
  margin-bottom: 16px;
}

.facilitator-card__portrait img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.facilitator-card__portrait:hover img {
  transform: scale(1.02);
}

.facilitator-card__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--noche);
  margin-bottom: 24px;
  text-align: center;
}

.facilitator-card__testimonial {
  border-left: 2px solid var(--brasa);
  padding-left: 24px;
  text-align: left;
  width: 100%;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--noche);
  line-height: 1.6;
  margin-bottom: 12px;
}

.testimonial-author {
  font-family: var(--font-body);
  font-size: 13px;
  color: #7A7067;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ===================================================
   09 — PARA QUIÉN ES [REFORMULADA]
   ================================================ */

.avatars__filter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 100px;
}

.filter-column {
  max-width: 460px;
}

.filter-column__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3.5vw, 30px);
  color: var(--noche);
  line-height: 1.35;
  margin-bottom: 32px;
  position: relative;
}

.filter-column--left .filter-column__headline::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--brasa);
  margin-bottom: 20px;
  opacity: 0.6;
}

.filter-column--right .filter-column__headline::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--tierra);
  margin-bottom: 20px;
  opacity: 0.5;
}

.filter-column__list {
  list-style: none;
  padding: 0;
}

.filter-column__list li {
  font-family: var(--font-body);
  font-size: clamp(15px, 2vw, 17px);
  color: var(--noche-warm);
  line-height: 1.8;
  margin-bottom: 16px;
  position: relative;
  padding-left: 20px;
}

.filter-column--left .filter-column__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--ember);
}

.filter-column--right .filter-column__list li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: var(--tierra);
}


/* ===================================================
   10 — INVERSIÓN [NUEVA]
   ================================================ */

.investment {
  background: var(--noche-warm);
  padding: 100px 24px; /* reduced from 140px — shrink dark void after atardecer */
  text-align: center;
}

.investment__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.investment__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 40px);
  color: var(--vapor);
  margin-bottom: 40px;
}

.investment__box {
  background: rgba(17, 14, 11, 0.4);
  border: 1px solid rgba(154, 144, 135, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 4px;
  padding: 48px 40px;
  text-align: left;
}

.investment__price {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 48px);
  color: var(--vapor);
  font-weight: 400;
  text-align: center;
  margin-bottom: 8px;
}

.investment__unit {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ceniza);
  display: block;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.investment__rule {
  width: 60px;
  height: 1px;
  background: var(--brasa);
  border: none;
  margin: 24px auto;
  opacity: 0.8;
}

.investment__includes-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--vapor);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.investment__list {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.investment__list li {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ceniza);
  position: relative;
  padding-left: 18px;
}

.investment__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brasa);
  opacity: 0.8;
}

.investment__note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--tierra);
  text-align: center;
  margin-top: 24px;
}

/* Investment intro paragraph */
.investment__intro {
  font-family: var(--font-body);
  font-size: 16.5px;
  color: var(--ceniza);
  line-height: 1.9;
  max-width: var(--max-content);
  margin: 0 auto 40px;
}

/* Price block: USD large + COP small below */
.investment__price-block {
  text-align: center;
  margin-bottom: 8px;
}

.investment__cop {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ceniza);
  letter-spacing: 0.04em;
  margin-top: 6px;
  opacity: 0.75;
}


/* ===================================================
   11 — FAQ / PREGUNTAS FRECUENTES
   ================================================ */

.faq {
  background: var(--noche-warm);
  padding: 100px 24px;
}

.faq__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.faq__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--vapor);
  line-height: 1.25;
  margin-bottom: 48px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-bottom: 1px solid rgba(154, 144, 135, 0.12);
  padding: 24px 0;
}

.faq__item:first-child {
  border-top: 1px solid rgba(154, 144, 135, 0.12);
}

.faq__question {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--vapor);
  line-height: 1.4;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

/* Brasa accent dot before each question */
.faq__question::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brasa);
  opacity: 0.8;
}

.faq__answer {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ceniza);
  line-height: 1.8;
  padding-left: 20px; /* align with question text */
  margin: 0;
}


/* ===================================================
   12 — CREDIT LINE
   ================================================ */

.footer__credit {
  font-size: 11px;
  margin-top: 16px;
  opacity: 0.5;
  color: var(--ceniza);
  letter-spacing: 0.02em;
}


/* ===================================================
   RESPONSIVE — Mobile (below 768px)
   ================================================ */

@media (max-width: 768px) {

  .nav {
    padding: 16px 20px;
  }

  .nav--scrolled {
    padding: 14px 20px;
  }

  .nav__logo-img {
    height: 60px;
  }

  .nav--scrolled .nav__logo-img {
    height: 46px;
  }

  /* Hero */
  .hero__eyebrow {
    font-size: 9px;
    letter-spacing: 0.18em;
    margin-bottom: 20px;
  }

  .hero__body {
    margin-bottom: 20px;
  }

  .hero__rule {
    margin-bottom: 20px;
  }

  .hero__details {
    font-size: 12px;
    margin-bottom: 28px;
  }

  .hero__cta {
    width: 100%;
    text-align: center;
    padding: 18px 32px;
  }

  .hero__scroll {
    bottom: 24px;
  }

  /* Section padding */
  .tension,
  .sequence,
  .place,
  .avatars,
  .included,
  .cta {
    padding: 100px 20px;
  }

  /* removed tension::before */

  /* Sequence — single column */
  .sequence__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sequence__label::after {
    top: 28px;
  }

  /* Photo dividers */
  .photo-divider {
    height: 35vh;
    min-height: 220px;
  }

  /* Place — stacked */
  .place__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .place__visual {
    order: -1;
  }

  .place__visual img {
    height: 320px;
  }

  /* Room — mobile */
  .room {
    padding: 100px 20px;
  }

  .room__visual img {
    height: 320px;
  }

  /* Avatars — single column */
  .avatars__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .vignette {
    max-width: 100%;
  }

  /* Form */
  .form {
    padding: 36px 24px;
  }

  .form__submit {
    width: 100%;
  }

  /* Responsive overrides for new/updated sections */
  .night-journey {
    padding: 100px 20px;
  }

  .cta-whatsapp {
    padding: 80px 20px;
  }

  .facilitators {
    padding: 100px 20px;
  }

  .facilitators-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .facilitator-card__portrait img {
    height: 200px;
  }

  .avatars__filter-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .investment {
    padding: 100px 20px;
  }

  .investment__box {
    padding: 32px 20px;
  }

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

  /* FAQ mobile */
  .faq {
    padding: 80px 20px;
  }

  .faq__question {
    font-size: 16px;
  }

  /* Full-bleed images on mobile: compensate mobile section padding (20px) */
  .timeline__visual {
    margin-inline: -20px;
  }

  .timeline__visual img {
    height: 55vw; /* proportional on narrow screens */
    min-height: 280px;
    max-height: 420px;
  }

  .night-journey__visual {
    margin-inline: -20px;
  }

  .night-journey__visual img {
    height: 50vw;
    min-height: 260px;
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  /* Hero: keep fire centered, prevent top-crop on small screens */
  .hero__bg img {
    object-position: center 40%;
  }

  .form {
    padding: 28px 20px;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .hero__content {
    max-width: 840px;
  }
}

/* ===================================================
   IMAGE LAYOUT — Differentiated hierarchy
   ================================================ */

/* ---- Refugio nocturno: full-bleed breakout within #journey ---- */
/* The figure sits directly on .night-journey (which has padding: 140px 24px).
   We reverse those 24px side paddings so the image bleeds to the section edges. */
.night-journey__visual {
  margin-top: 56px;
  margin-bottom: 56px;
  margin-inline: -24px; /* compensate section padding */
  position: relative;
  overflow: hidden;
}

.night-journey__visual img {
  display: block;
  width: 100%;
  height: 52vh;
  min-height: 340px;
  max-height: 560px;
  object-fit: cover;
  object-position: center 60%;
  transition: transform 0.8s ease;
}

.night-journey__visual:hover img {
  transform: scale(1.02);
}

/* Caption — anchors the image as a named space */
.night-journey__caption {
  display: block;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--ceniza);
  letter-spacing: 0.06em;
  background: var(--noche-deep);
  border-top: 1px solid rgba(139, 58, 42, 0.15);
}

/* Second inner block (post-image narrative) inherits the same inner styles */
.night-journey__inner--bottom {
  padding-top: 0;
}

/* ---- Fogata/Gente: full-width from timeline section edges ---- */
/* .timeline has padding: 140px 24px. We break out 24px each side. */
.timeline__visual {
  margin-top: 64px;
  margin-inline: -24px; /* escape the section's side padding */
  position: relative;
  overflow: hidden;
}

.timeline__visual img {
  display: block;
  width: 100%;
  height: 55vh;
  min-height: 380px;
  max-height: 620px;
  object-fit: cover;
  object-position: center 35%; /* keep faces in upper third */
  transition: transform 0.8s ease;
}

.timeline__visual:hover img {
  transform: scale(1.02);
}
