:root{
  --bg:#fdfdfd;          /* blanco roto */
  --ink:#224236;         /* verde oscuro elegante */
  --muted:#a3b1a9;       /* gris verdoso claro para líneas/dibujo */
  --edge-pad:24px;
}

/* Reset mínimo */
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0; background:var(--bg); color:var(--ink); font-family:"Inter",system-ui,Arial,sans-serif}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
 
  scroll-behavior: smooth;       /* scroll nativo suave */
}


/* 

.hero-title{
  font-family:"Cormorant Garamond", serif;
  font-weight:700;
  font-size:clamp(48px, 9vw, 128px);
  line-height:.95;
  margin:0;
  letter-spacing:.5px;
} */
.hero-dot{ /* punto final grande, opcional */
  font-weight:700;
}


/* ===== HUD / ELEMENTOS PERIFÉRICOS ===== */

/* Iniciales arriba-izquierda */
.hud-initials{
  position:absolute; top:var(--edge-pad); left:var(--edge-pad);
  font-weight:500; line-height:1.2; letter-spacing:.08em;
}

/* Contador arriba-derecha */
.hud-pages{
  position:absolute; top:var(--edge-pad); right:var(--edge-pad);
  text-align:right; letter-spacing:.08em;
}


/* Navbar lateral fija en desktop */
.side-nav {
  position: fixed;   /* 👈 ahora siempre visible */
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 40px;
  z-index: 100; 
  
}

.side-nav a {
  writing-mode: vertical-rl;    /* texto vertical */
  transform: rotate(180deg);    /* lectura de abajo hacia arriba */
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #224236;
  opacity: 0.7;
  text-decoration: none;
  text-transform: uppercase;
}

/* Marca inferior */
.hud-madeby {
  position: absolute;
  left: 30px;
  bottom: 120px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #224236;
  opacity: 0.7;
  text-transform: uppercase;
}

/* Scroll indicator */
/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  left: 30px;
  bottom: 40px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(34,66,54,.4);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.5s ease, transform 0.5s ease;
  animation: bounce 2s infinite;
}

.scroll-indicator .arrow {
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #224236;
}

/* Efecto rebote */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* Estado oculto */
.scroll-indicator.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}


/* Ubicación */
.hud-location {
  position: absolute;
  left: 30px;
  bottom: 120px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #224236;
  opacity: 0.8;
}

/* Indicador scroll */
.scroll-indicator {
  position: absolute;
      left: 110px;
    bottom: 160px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(34,66,54,.4);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-indicator .arrow {
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #224236;
}


/* “SCROLL DOWN” abajo-derecha */
.hud-scroll{
  position:absolute; right:var(--edge-pad); bottom:var(--edge-pad);
  font-size:12px; letter-spacing:.18em; opacity:.7;
}

/* ===== Responsive ===== */
@media (max-width: 960px){
  .side-nav{ display:none; }
  .hud-location{ display:none; }
  .hud-initials, .hud-pages{ font-size:12px }
}
.hero-frame {
  position: relative;
  min-height: 100vh;
  background: #fdfdfd;
  overflow: hidden;
}

/* Imagen de fondo (alineada a la derecha) */
.hero-illustration {
  position: absolute;
  inset: 0;
  background: url("/assets/images/lago.png") no-repeat right center;
  background-size: contain;
  opacity: 0.15;
  pointer-events: none;
}

/* Contenido */
.hero-center {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* ✨ alineamos el texto con el comienzo de la imagen */
  align-items: flex-start;
  padding-left: 45%; /* ajusta este valor hasta que quede alineado */
  text-align: left;
  z-index: 2;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 700;
  margin: 0 0 20px;
  color: #224236;
}

.hero-dot {
  color: #224236;
}

.hero-date,
.hero-location {
  font-size: clamp(16px, 2vw, 24px);
  margin: 5px 0;
  opacity: 0.8;
  color: #224236;
}
/* Header */
/* Por defecto: escondemos el header mobile en desktop */
.mobile-header {
  display: none;
}

/* Solo en pantallas pequeñas (ej: <= 900px) se muestra */
@media (max-width: 900px) {
  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: #fafafa;
  }
}



/* Logo */
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: #224236;
}

/* Hamburguesa */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: #224236;
  transition: 0.3s ease;
}

/* Estado cruz */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Menú mobile */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

.mobile-nav a {
  font-size: 22px;
  text-decoration: none;
  color: #224236;
  letter-spacing: 0.1em;
}

.mobile-nav.active {
  transform: translateY(0);
}
    /* Aseguramos que nada tape el menú */
.hero-illustration { pointer-events: none; z-index: 0; }

/* Menú lateral */
.side-nav{
  left: 30px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  gap: 40px;
}

/* Marca inferior */
.hud-madeby{ left: 30px; bottom: 120px; }

/* Ítem vertical con subrayado animado */
.vlink{
  position: relative; display: inline-block; text-decoration: none;
}
.vlink > span{
  position: relative; display: inline-block;
  /* writing-mode: vertical-rl; transform: rotate(180deg); */
  font: 400 12px/1 "Inter", system-ui, sans-serif;
  letter-spacing: .2em; text-transform: uppercase;
  color: #224236; opacity: .75;
  transition: color .25s ease, opacity .25s ease;
}

/* “Underline” (línea horizontal) centrada, animación por scaleX */
.vlink > span::after{
  content: "";
  position: absolute;
  left: 50%; transform: translateX(-50%) scaleX(0);
  bottom: -8px;                 /* distancia al texto */
  width: 22px; height: 2px;     /* tamaño de la línea */
  background: #123026;          /* verde más oscuro */
  border-radius: 1px;
  transition: transform .28s ease, opacity .28s ease;
  opacity: 0;
}

/* Hover/focus: texto más oscuro + subrayado visible */
.vlink:hover > span,
.vlink:focus-visible > span{
  color: #123026; opacity: 1;
}
.vlink:hover > span::after,
.vlink:focus-visible > span::after{
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}
.date-invite {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;   /* 👈 fuerza los elementos arriba */
  padding: 40px 12% 140px;  /* 👈 menos espacio arriba */
  background: #fdfdfd;
  overflow: hidden;
}

.date-column {
  align-self: start;   /* 👈 se pega arriba */
  margin-top: 0;       /* 👈 sin margen extra */
  position: relative;
  z-index: 2;
}

.invite-column {
     position: relative;
    top: 79%;
}

.big-number {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 28vw;
  color: transparent;
  -webkit-text-stroke: 1px #072707;
  opacity: 0.15;
  left: 31%;
  bottom: -5%;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}



/* subtítulos */
.section-subtitle {
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: #224236;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.divider {
  display: block;
  width: 40px;
  height: 2px;
  background: #ccc;
  margin-bottom: 24px;
}

/* fecha */
.date-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  color: #224236;
  line-height: 1.2;
}

/* invitación */
.invite-text {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 24px;
}

/* link RSVP */
.invite-link {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #224236;
  border-bottom: 1px solid #224236;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.invite-link:hover {
  color: #123026;
  border-color: #123026;
}



/* === PRELOADER === */
/* Fondo del preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2f463d; /* tu verde */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Ocultar al terminar */
#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Hexágono minimalista */
.hexagon {
  width: 60px;
  height: 60px;
  background: transparent;
  border: 3px solid gray;
  clip-path: polygon(
    50% 0%, 
    93% 25%, 
    93% 75%, 
    50% 100%, 
    7% 75%, 
    7% 25%
  );
  animation: spin 1.5s linear infinite;
}

/* Animación */
@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Polígono spinner */
.polygon {
  width: 80px;
  height: 80px;
  border: 2px solid rgba(255,255,255,0.5);
  clip-path: polygon(50% 0%, 93% 25%, 75% 93%, 25% 93%, 7% 25%);
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
/* Timeline general */
.timeline-section {
  padding:  10%;
  background: #fdfdfd;
}

.story-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: #224236;
  margin-bottom: 80px;
  text-align: center;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  /* gap: 100px; */
}

/* Línea central */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #dcdcdc;
  transform: translateX(-50%);
}

/* Items */
.timeline-item {
  position: relative;
  width: 45%;
  padding: 20px;
}

.timeline-item.left {
  align-self: flex-start;
  text-align: right;
}

.timeline-item.right {
  align-self: flex-end;
  text-align: left;
}

.timeline-item figure {
  margin: 0 0 20px;
  display: flex;
  justify-content: center;
}

.timeline-item img {
  max-width:50%;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.history-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
  .timeline::before { display: none; }
  .timeline-item {
    width: 100%;
    text-align: center;
  }
}
.story-photos{
  background-color: #fdfdfd;
}
.story-grid-section {
  display: grid;
  grid-template-columns: 2fr 1fr; /* fotos 2/3, texto 1/3 */
  gap: 40px;
  align-items: center;
 
    padding: 0 20px;
  background-color: #fdfdfd;
}

/* Collage de fotos */
.photo-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.photo-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .4s ease;
}

.photo-collage img:hover {
  transform: scale(1.05);
}

/* Texto */
.story-text {
  font-size: 16px;
  line-height: 1.6;
  color: #224236;
}

.story-text h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #224236;
  margin-bottom: 12px;
}

.story-text p {
  font-size: 16px;
  color: #333;
}

/* Responsive */
@media (max-width: 900px) {
  .story-grid-section {
    grid-template-columns: 1fr;
    /* text-align: center; */
  }

  .story-text {
    margin-top: 30px;
  }
}
.rsvp-hero {
  position: absolute;
  inset: 0;
  background: url("/assets/images/lago.png") no-repeat right center;
  background-size: contain;
  opacity: 0.15;
  pointer-events: none;
}


.rsvp-title {
  font-size: 6rem;
  font-weight: 700;
  color: #224236; /* verde que usás */
  line-height: 1.2;
}
.rsvp-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
 background-color: #fdfdfd;
  background-size: cover;
}

.rsvp-section::before {
  content: "";
  position: absolute;
  inset: 0;
 ; /* overlay delicado */
}

.rsvp-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 90%;
  text-align: center;
}

.rsvp-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(50px, 10vw, 120px);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #224236;
}

.section-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #224236;
  opacity: 0.8;
}


/* Formulario */
#rsvp-form {
  text-align: left;
  font-family: "Inter", sans-serif;
  color: #224236;
}

#rsvp-form label {
  display: block;
  font-size: 14px;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  color: #224236;
}

#rsvp-form input[type="text"],
#rsvp-form input[type="email"],
#rsvp-form select,
#rsvp-form input[type="number"] {
  width: 100%;
  padding: 10px 2px;
  border: none;
  border-bottom: 1px solid #a3b1a9;
  background: transparent;
  font-size: 15px;
  color: #224236;
  transition: border-color .3s ease;
}
#rsvp-form input:focus,
#rsvp-form select:focus {
  outline: none;
  border-bottom: 2px solid #224236;
}

.inline-options {
  display: flex;
  gap: 1.5rem;
  font-size: 14px;
  margin-top: 0.3rem;
}

#diet-options {
  margin-top: 1rem;
  display: none;
  font-size: 14px;
}
#diet-options label {
  display: block;
  margin-bottom: 6px;
}

.btn-submit {
  margin-top: 2rem;
  width: 100%;
  padding: 12px;
  border: 1px solid #224236;
  background: transparent;
  color: #224236;
  font-size: 15px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s ease;
}
.btn-submit:hover {
  background: #224236;
  color: #fff;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.weather {
  text-align: center;
  padding: 3rem 1rem;
  background: #f9f9f9;
  font-family: 'Georgia', serif;
  color: #1e3a34;
}

.weather-box p {
  margin: 0.5rem 0;
}

#weather-temp {
  font-size: 3rem;
  font-weight: bold;
}

#weather-desc {
  font-size: 1.2rem;
  opacity: 0.8;
}

.weather-city {
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0.5rem;
  color: #6b7a75;
}

.rsvp-section {
 
  margin: 0 auto;
  padding: 2rem;
}

.form-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.form-subtitle {
  font-size: 1.2rem;
  margin: 2rem 0 0.5rem;
  font-weight: 600;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.3rem;
}

.inline-options {
  display: flex;
  gap: 1rem;
  margin: 0.5rem 0 1.5rem;
}

.btn-submit {
  display: block;
  margin: 2rem auto 0;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  border: none;
  background: #1e3a34;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.info-section {
  padding: 0 2rem;
  background: #fdfdfd;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas */
  grid-template-rows: auto auto auto;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
}

.regalos {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.argentina {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
}

.espana {
  grid-column: 3;
  grid-row: 3;
  align-self: end;
  
}


.footer-minimal {
  background: #fff;          /* fondo blanco */
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid #eee; /* línea sutil arriba */
}

.footer-minimal p {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
  font-family: system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

.footer-minimal a {
  color: #555;               /* mismo tono, ultra discreto */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-minimal a:hover {
  color: #000;               /* un poco más fuerte al hover */
}
/* ===== Puntos importantes ===== */
.puntos {
  background: var(--bg);
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.puntos-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}

.puntos-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--muted);
}

.puntos-list li:last-child {
  border-bottom: none;
}

.puntos-list strong {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--ink);
}

.transportes-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.transportes-list a:hover {
  color: #123026; /* verde más oscuro */
}
/* ===== Sección Vuelos ===== */
.vuelos {
  background: var(--bg);
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: left;
}

.vuelos .info-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 1rem 0 2rem;
}

.vuelos-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}

.vuelos-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--muted);
}

.vuelos-list li:last-child {
  border-bottom: none;
}

.vuelos-list strong {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--ink);
}
/* ===== Sección Transportes ===== */
.transportes {
  background: var(--bg);
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: left;
}

.transportes .info-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 1rem 0;
}

.transportes-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.transportes-list li {
  padding: 0.8rem 0;
}

.transportes-list li:last-child {
  border-bottom: none;
}
.info-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}


.info-list > li:last-child {
  border-bottom: none;
}

.info-list ul {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.8rem;
}

.info-list ul li {
  padding: 0.4rem 0;
  border-bottom: none;
  font-size: 0.95rem;
}

.info-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  text-decoration: underline;
}


.info-text{
      line-height: 1.6;

}
.info-text-mobile{
  display: none;
}




/* En mobile (ej: <=900px) lo ocultamos */
@media (max-width: 900px) {
  .side-nav,
  .hud-madeby,
  .scroll-indicator,
  .hud-scroll {
    display: none;
  }
  .hero-dot{
    display: none;
  }
  /* .date-invite {
    grid-template-columns: 1fr; 
    gap: 60px;
    text-align: center;
    padding: 80px 8%;
  } */
.hero-title {
    font-size: clamp(38px, 8vw, 120px);
}
.info-text-mobile{
      line-height: 1.6;
          max-width: 300px;


}
.container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.info-text{
  display: none;
}
.mapa img{
      max-width: 327px;
    border-radius: 10px;
}





.photo-main img{
  max-width: 200px;

}

.titl{
  position: unset;
}


.photo-overlay img{
max-width: 200px;
  
}
.info-container {
  display: flex;           /* ya no grid rígido */
  flex-direction: column;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.info-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .regalos, .argentina, .espana {
    grid-column: 1;
    text-align: left;
  }
}