/* FONTS */
@font-face {
  font-family: 'CocoGothic';
  src: url('fonts/CocoGothic-Light_trial.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CocoGothic';
  src: url('fonts/CocoGothic-Bold_trial.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CocoGothic';
  src: url('fonts/CocoGothic-Italic_trial.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'CocoGothic';
  src: url('fonts/CocoGothic-Bolditalic_trial.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Adelia';
  src: url('fonts/adelia.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Reset de márgenes y padding para todos los elementos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
}

/* Estilos generales del cuerpo */
body {
  font-family: 'CocoGothic', 'Adelia', sans-serif;
  background-color: #FFF; /* Fondo suave */
  color: #000000; /* Color de texto */
  font-weight: normal;
  font-style: normal;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  overflow-y: hidden;
}

/* HERO */
/* HERO BASE */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* VIDEO DE FONDO */
.hero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* CONTENIDO CENTRADO */
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  color: #fff;
}

/* LÍNEA VERTICAL */
.line {
  width: 1px;
  flex-grow: 1;
  background-color: rgba(255, 255, 255, 0.6);
}

/* LOGO */
.hero-logo {
  width: 60px; /* ajustable */
  max-width: 40vw;
  height: auto;
  margin: 8px 0;
}

/* NOMBRES */
.hero-names {
  font-family: "Adelia", serif; /* ejemplo */
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 100;
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 4rem;
}

/* FECHA */
.hero-date {
  font-family: "Bodoni Moda", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  margin: 0;
}

/* HERO ENDS */

/* HISTORIA */

.historia {
  background-color: #ffffff;
  background: linear-gradient(#FFFFFF, #FFFFFF), url(img/lino_background_2.webp);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  color: #000000;
  padding: 100px 40px;
}

.historia-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  justify-content: center;
}

/* Imagen */
.historia-img img {
  width: 100%;
  max-width: 380px;
  height: 500px;
  object-fit: cover;
}

/* Imagen 2 */
.historia-img2 {
  display: none;
}

.historia-img2 img {
  width: 100%;
  max-width: 380px;
  object-fit: cover;
}

/* Texto */
.historia-texto {
  max-width: 520px;
}

.historia-texto p {
  font-family: 'CocoGothic';
  font-size: 1.1rem;
  line-height: 2.5rem;
  letter-spacing: 0.5px;
}

.historia-texto p span{
  font-family: 'Adelia';
  font-weight: 100;
  line-height: normal;
}

@media (max-width: 768px) {

  .historia {
    padding: 80px 40px;
  }

  .historia-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .historia-texto {
    order: 1;
  }

  .historia-img {
    order: 2;
  }

  .historia-img2 {
    order: 3;
  }

  .historia-img img {
    max-width: 100%;
    height: auto;
  }

  .historia-img2 {
    display: flex;
    max-width: 100%;
  }

}

/* HISTORIA ENDS */

/* DETAILS SECTION */

.details {
  background-image: url('img/beach_backgound.webp'); /* tu imagen */
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
}

.details-overlay {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* CARDS */

.details-card {
  background-image: url('img/lino_background_2.webp');
  background-size: cover;
  background-repeat: repeat;
  padding: 50px 40px;
  text-align: center;
}

/* INFO CARD */

.info-card {
  background-color: #ffffff;
  box-shadow: 9px 10px 7px rgb(0 0 0 / 25%);
  overflow: hidden;
}

.details-blessing {
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.details-names {
  font-family: 'Adelia', serif;
  font-size: 2rem;
  line-height: 5rem;
  margin-bottom: 20px;
  font-weight: 100;
}

.details-text {
  max-width: 600px;
  margin: 0 auto 35px;
}

/* FECHA */
.details-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
}

.details-date span {
  font-family: 'Bodoni Moda', serif;
}

.date-day,
.date-year {
  font-size: 26px;
}

.date-month {
  font-size: 26px;
  letter-spacing: 3px;
}

.date-line {
  width: 1px;
  height: 30px;
  background-color: #000;
}

.details-place-title {
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 2px;
}

.details-place {
  font-family: 'Adelia', cursive;
  font-size: 1rem;
  margin: 10px 0;
  line-height: normal;
}

.details-hour {
  font-size: 14px;
}

.details-hour span {
  font-family: 'Bodoni Moda';
  font-size: 14px;
}

/* PASSES CARD */

.passes-card {
  background:
    url('img/lino_background_2.webp'),
    linear-gradient(
      45deg,
      #CBA88C 0%,
      #CBA88C 100%
  );

  background-repeat: repeat, no-repeat;

  /* 👇 AQUÍ ESTÁ LA CLAVE */
  background-size: 600px 600px, 120% 120%;

  background-blend-mode: multiply;
  box-shadow: 9px 10px 7px rgb(0 0 0 / 25%);
}


.guest-name {
  font-family: 'Bodoni Moda', serif;
  font-size: 28px;
  margin-bottom: 15px;
}

.passes-text,
.passes-honor {
  font-size: 16px;
  margin-bottom: 15px;
}

/* CIRCULOS */
.passes-circles, .passes-circlesk {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 15px 0 2px;
}

.circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #000;
}

.circle.filled {
  background-color: #000;
}

.circle.empty {
  background-color: transparent;
}

.passes-count, .passes-countK {
  font-size: 12px;
  margin-bottom: 10px;
}

.passes-number, .kids-number {
  font-family: 'Bodoni Moda', serif;
  font-weight: 400;
}

/* DETAILS ENDS */

/* IMAGEN ANCHA */

.imagen-ancha {
  width: 100%;
  overflow: hidden;
}

.imagen-ancha img,
.imagen-ancha video {
  width: 100%;
  height: auto; /* puedes cambiarlo */
  object-fit: cover;
  display: block;
}

/* IMAGEN ANCHA ENDS */

/* ITINERARIO */

/* TÍTULOS */
.itinerario-title {
  text-align: center;
  font-family: 'Adelia', cursive;
  font-size: 2.2rem;
  font-weight: 100;
  margin-bottom: 8px;
  line-height: normal;
}

.itinerario-date {
  text-align: center;
  font-family: 'Bodoni Moda', serif;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  margin-bottom: 40px;
}

/* BLOQUE */
.itinerario-day-block {
  margin-bottom: 100px;
}

.itinerario {
  position: relative;
  padding: 120px 20px;
  overflow: hidden; /* evita que el fondo se salga */
  z-index: 0;
}

.itinerario::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 3300%;  /* tu escala grande para el efecto visual */
  height: 100%;
  transform: translateX(-50%); /* centramos la imagen */
  
  background-image: url('img/lino_background_2.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%; /* ancho automático, altura de la sección */
  
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}

.itinerario-content {
  position: relative;
  z-index: 2;
  color: #000;
}


/* TÍTULOS DE DÍA */
.itinerario-day {
  text-align: center;
  margin: 80px 0 40px;
  font-family: 'Bodoni Moda', serif;
  font-size: 1.8rem;
  letter-spacing: 0.12em;
}

/* TIMELINE */
.timeline {
  position: relative;
  /*padding-bottom: 40px;*/
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #a1a1a1;
  transform: translateX(-50%);
}

/* ITEM */
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  margin-bottom: 60px;
}

/* ICONOS */
.timeline-left {
  text-align: right;
  padding-right: 20px;
}

.timeline-left img {
  width: 60px;
}

/* CENTRO */
.timeline-center {
  display: flex;
  justify-content: center;
}

.dot {
  width: 10px;
  height: 10px;
  background: #a1a1a1;
  border-radius: 50%;
}

/* TEXTO */
.timeline-right {
  padding-left: 20px;
}

.event-name {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
}

.event-time {
  font-size: 0.9rem;
  opacity: 0.85;
}

.event-time span {
  font-family: 'Bodoni Moda';
}

/* MOBILE */
@media (max-width: 768px) {
  .timeline-item {
    grid-template-columns: 1fr 20px 1fr;
  }
}

/* ITINERARIO ENDS */

/* LUGARES */

.lugares {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* VIDEO */
.lugares-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Desktop por defecto */
.video-mobile {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {
  .video-desktop {
    display: none;
  }

  .video-mobile {
    display: block;
  }
}


/* OVERLAY para legibilidad */
.lugares-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* CONTENIDO */
.lugares-content {
  position: relative;
  z-index: 3;
  padding: 120px 20px;
}

.lugares-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 40px;
}

.lugar-card {
  position: relative;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
  overflow: hidden;
  margin: auto;
}

/* FONDO CON OPACIDAD */
.lugar-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url('img/lino_background.webp');
  background-size: cover;
  background-position: center;

  opacity: 1; /* 👈 ajusta aquí */
  z-index: 1;
}

/* CONTENIDO ENCIMA */
.lugar-card > * {
  position: relative;
  z-index: 2;
}


.lugar-logo {
  width: 90px;
  margin-bottom: 20px;
}

.lugar-nombre {
  font-family: 'Adelia', cursive;
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 100;
  line-height: 3.5rem;
}

.lugar-direccion {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 25px;
}

.lugar-direccion span {
  font-family: 'Bodoni Moda';
}

.lugar-eventos p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-family: 'Bodoni Moda';
  text-transform: uppercase;
}

.lugar-botones {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-outline,
.btn-solid {
  text-decoration: none;
  padding: 12px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.btn-outline {
  background: transparent;
  color: #41667F;
  border: 1px solid #CBA88C;

  padding: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #EEDFCC;
}

.btn-solid {
  background: #41667F;
  color: #FFFFFF;
  border: none;

  padding: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  transition: all 0.3s ease;
}

.btn-solid:hover {
  background: #507352; /* verde natural */
}

.btn-solid:active,
.btn-outline:active {
  transform: translateY(1px);
}

.btn-solid:focus-visible,
.btn-outline:focus-visible {
  outline: 2px solid #A2D3E2;
  outline-offset: 2px;
}


@media (max-width: 768px) {
  .lugares-grid {
    grid-template-columns: 1fr;
  }

  .lugar-card {
    padding: 40px 25px;
  }

  .lugares-video {

  }

  .lugares {
    background-image: url('img/lugares-bg-mobile.webp');
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 768px) {
  .btn-solid,
  .btn-outline {
    padding: 16px;
    font-size: 0.85rem;
  }
}

/* LUGARES ENDS */

/* DRESSCODE */

.dresscode {
  position: relative;
  padding: 140px 20px;
  background:
    linear-gradient(
  45deg,
  #455F47,
  #455F47,
  #2F3E34,
  #2F3E34,
  #2F3E34,
  #2F3E34,
  #2F3E34,
  #2F3E34,
  #455F47,
  #455F47,
  #2F3E34,
  #455F47,
  #455F47,
  #455F47,
  #455F47,
  #455F47,
  #455F47,
  #455F47,
  #455F47,
  #455F47,
  #455F47,
  #2F3E34,
  #455F47,
  #2F3E34,
  #2F3E34,
  #455F47,
  #2F3E34,
  #455F47
),
    url('img/lino_background_2.webp'); /* tu textura */
  background-size: cover;
  background-position: center;
      background-blend-mode: multiply;
}

.dresscode-content {
  max-width: 1000px;
  margin: 0 auto;
}

.dresscode-card {
  position: relative;
  padding: 140px 50px 70px;
  background:
    linear-gradient(
      rgba(255,255,255,0.92),
      rgba(255,255,255,0.92)
    ),
    url('img/lino_background.webp');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  text-align: center;
  margin: auto;
  border-radius: 50% 50% 0 0; /* 👈 solo arriba */
  max-width: 600px;
  box-shadow: 9px 10px 7px rgb(0 0 0 / 34%);
}

.dresscode-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.8rem;
  margin-bottom: -15px;
  font-weight: 100;
  line-height: normal;
}

.dresscode-subtitle {
  font-family: 'Adelia', cursive;
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: #CBA88C;
  line-height: normal;
}

.dresscode-images {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px auto 0;
  max-width: 300px;
}

.dress-img {
  height: 42%;
  transition: transform 0.4s ease;
}

.dress-img.left {
  margin-right: auto;
}

.dress-img.right {
  margin-left: auto;
}

.dress-img img {
  width: 100%;
  display: block;
}

/* Hover */
.dress-img:hover {
  transform: scale(1.05);
}

.dresscode-hint {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 30px;
}

.dresscode-note {
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Círculo / diamante de color */
.color-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #41667F; /* azul fuerte del moodboard */
  margin: 0 6px;
  transform: rotate(45deg); /* diamante */
}

@media (max-width: 768px) {
  .dresscode-card {
    padding: 100px 25px 50px;
  }

  .dresscode-subtitle {
    font-size: 1.2rem;
  }

  .dresscode-card {
    border-radius: 200px 200px 0 0; /* 👈 solo arriba */
  }

  .dresscode-images {
    max-width: 250px;
  }

  .dress-img img{
    height: 46%;
  }
}

/* DRESSCODE ENDS */

/* NOTAS */

.notas {
  padding: 80px 20px;
  background:
    linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)),
    url('img/lino_background.webp');
  background-size: cover;
  background-position: center;
  text-align: center;
  text-transform: uppercase;
}

.notas-texto {
  font-family: 'Bodoni Moda', serif; /* o la que decidas */
  font-size: clamp(20px, 2.5vw, 28px);
  color: #41667F; /* sobrio, elegante */
  letter-spacing: 0.05em;
}

/* NOTAS ENDS */

/* MESA DE REGALOS */

.mesa-regalos {
  padding: 100px 20px;
  background: #fff;
  text-align: center;
}

.mesa-titulo {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.8rem;
  margin-bottom: -15px;
  font-weight: 100;
}

.mesa-subtitulo {
  font-family: 'Adelia', cursive;
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: 100;
  line-height: normal;
}

.mesa-texto {
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 16px;
  color: #555;
}

.mesa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: stretch; /* clave */
}


@media (max-width: 768px) {
  .mesa-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mesa-subtitulo {
    font-size: 1.2rem;
  }
}

.mesa-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra contenido vertical */
  align-items: center;
}

.mesa-item img {
  max-width: 180px;
  width: 100%;
  height: auto;
}

.mesa-link-transferencias {
  font-size: 22px;
  font-weight: 500;
  color: #4d4d4d;
  text-decoration: none;
  font-family: 'Bodoni Moda';
  text-transform: uppercase;
}

.mesa-ver {
  font-size: 13px;
  color: #999;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: 0.5s;
}

.mesa-ver:hover {
  transform: scale(1.03);
}

.mesa-item a {
  transition: 0.5s;
}

.mesa-item a:hover {
  transform: scale(1.03);
}

/* MESA DE REGALOS ENDS */

/* MODAL */

/* Fondo del modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Caja */
.modal-box {
  background: #ffffff;
  padding: 30px 24px;
  width: 90%;
  max-width: 420px;
  border-radius: 18px;
  text-align: center;
  animation: fadeIn .35s ease;
}

/* Títulos */
.modal-title {
  font-size: 1.4rem;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.modal-sub {
  color: #777;
  margin-bottom: 22px;
}

/* Campos */
.modal-info .campo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f5f5;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.modal-info p {
  font-size: 1.2rem;
  line-height: normal;
  font-weight: normal;
}

.btn-regalo {
  background: no-repeat;
  border: none;
  font-size: 15px;
  color: #605c5d;
  transition: 0.5s;
}

.btn-regalo:hover {
  transform: scale(1.03);
}

.label {
  font-weight: 600;
  color: #FFFFFF;
}

.valor {
  font-family: monospace;
  font-size: 0.95rem;
}

/* Botón copiar */
.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Mensaje Copiado */
.copiado-msg {
  opacity: 0;
  color: #2e7d32;
  font-weight: 600;
  margin-top: 10px;
  transition: opacity .3s;
}

/* Botón cerrar */
.cerrar-modal {
  margin-top: 20px;
  background: #000;
  color: #fff;
  padding: 10px 26px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
}

/* Animación */
@keyframes fadeIn {
  from { transform: scale(.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* MODAL ENDS */

/* GALERÍA */

.galeria {
  position: relative;
  background:
    linear-gradient(rgba(65,102,127,0.95), rgba(65,102,127,0.95)),
    url('img/lino_background.webp');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}

.galeria-inner {
  padding: 160px 20px 200px; /* más aire abajo */
}

.galeria-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 120px; /* aire abajo */
}

.galeria-wrap::after {
  content: "";
  display: block;
  padding-top: 65%; /* controla la altura total */
}

.galeria2 {
  position: relative;
  background:
    linear-gradient(#CBA88C, #CBA88C),
    url('img/lino_background.webp');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}


.foto-card {
  position: absolute;
  background:
    linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94)),
    url('img/lino_background.webp');
  background-size: cover;
  background-position: center;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  padding: 0.5rem;
  background-blend-mode: multiply;
  box-shadow: 9px 10px 7px rgb(0 0 0 / 25%);
}

.foto-card.recta {
  width: 420px;
  aspect-ratio: 3 / 4; /* vertical elegante */
  top: -40px;
  right: 20px;
  z-index: 1;
}

.foto-card.arco {
  width: 420px;
  aspect-ratio: 3 / 5;

  padding: 0.5rem; /* borde visible */

  background:
    linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94)),
    url('img/lino_background.webp');

  background-size: cover;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);

  border-radius: 220px 220px 0 0;
  overflow: visible; /* 👈 importante */
  background-blend-mode: multiply;
  box-shadow: 9px 10px 7px rgb(0 0 0 / 25%);
  z-index: 2;
  top: 60px;
}


.foto-card {
  transition: transform 0.4s ease;
}

.foto-card.arco {
  transform: translateY(-10px);
}

.foto-inner,
.foto-inner img {
  width: 100%;
  height: 100%;
}

.foto-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foto-inner img {
  object-fit: cover; /* no deformar */
}

.foto-card.arco .foto-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;

  border-radius: calc(220px - 0.5rem) calc(220px - 0.5rem) 0 0;
}

.recta .foto-inner {
  border-radius: 0;
}

.arco .foto-inner {
  border-radius: 50% 50% 0 0;
}

.foto-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {

  .galeria-inner {
    padding: 200px 20px 240px; /* más aire abajo */
  }

  .foto-card.recta,
  .foto-card.arco {
    width: 260px;
  }

  .foto-card.recta {
    aspect-ratio: 3 / 4;
    top: -100px;
    right: 0;
  }

  .foto-card.arco {
    width: 260px;
    border-radius: 140px 140px 0 0;
    padding: 0.5rem;
    top: 150px;
  }

  .foto-card.arco .foto-inner {
    border-radius: calc(140px - 0.5rem) calc(140px - 0.5rem) 0 0;
  }
}


@media (max-width: 768px) {
  .galeria-wrap::after {
    padding-top: 90%;
  }
}

/* GALERÍA ENDS */

/* INDICACIONES */

.indicaciones {
  padding: 120px 20px;
  background:
    linear-gradient(rgba(255,255,255,0.96), rgba(255,255,255,0.96)),
    url('img/lino_background.webp');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}

.indicaciones-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.indicaciones-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.8rem;
  margin-bottom: -20px;
}

.indicaciones-subtitulo {
  font-family: 'Adelia', cursive;
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: 100;
  color: #CBA88C;
  line-height: normal;
}

.indicaciones-text {
  font-size: 0.95rem;
  color: #6f6f6f;
  line-height: 1.5;
  margin-bottom: 40px;
}

.indicaciones-card {
  background:
    linear-gradient(rgba(203,168,140,0.95), rgba(203,168,140,0.95)),
    url('img/lino_background.webp');
  background-size: cover;
  background-position: center;
  padding: 0.5rem;
  background-blend-mode: multiply;
  box-shadow: 9px 10px 7px rgb(0 0 0 / 25%);
}

.indicaciones-img-wrap {
  width: 100%;
  overflow: hidden;
}

.indicaciones-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .indicaciones {
    padding: 90px 16px;
  }

  .indicaciones-text {
    font-size: 0.9rem;
  }
}

/* INDICACIONES ENDS */

/* RECOMENDACIONES */

/* ===== SECCIÓN GENERAL ===== */
.recomendaciones {
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.recomendaciones-bg-parallax {
  position: absolute;
  top: -5%;
  left: 0;
  width: 100%;
  height: 50%; /* más alto para permitir movimiento */
  
  background-image: url('img/sandy_backgound.webp');
  background-size: cover;
  background-position: center;

  will-change: transform;
  transform: translateY(0);
}

.recomendaciones-contenido {
  position: relative;
  z-index: 2;
}

.section-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.8rem;
  margin-bottom: -20px;
  text-align: center;
}

.section-subtitle {
  font-family: 'Adelia', cursive;
  line-height: normal;
  font-size: 1.2rem;
  margin-bottom: 40px;
  font-weight: 100;
  color: #CBA88C;
  text-align: center;
}

/* ===== HOTEL SEDE ===== */
.hotel-sede {
  position: relative;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
  overflow: hidden;
  background-image: url('img/lino_background.webp');
  background-size: cover;
  background-position: center;
  margin: 2rem auto;
  max-width: 600px;

}


.hotel-sede h3 {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.hotel-fechas {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.hotel-fechas span {
  font-family: 'Bodoni Moda';
}

.hotel-descripcion {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: #000000;
  line-height: 1.6;
}

/* Imagen tarifas */
.tarifas-img img {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  margin: 2rem auto;
  display: block;
}

/* Notas */
.hotel-notas {
  max-width: 500px;
  margin: 2rem auto 0;
  font-size: 0.95rem;
}

.hotel-notas p {
  margin: 0.5rem 0;
  font-weight: 100;
}

.hotel-notas span {
  font-family: 'Bodoni Moda';
  font-weight: 100;
}

/* Botón Maps */
.btn-maps {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.9rem 2rem;
  background-color: #41667F;
  color: #FFFFFF;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-maps:hover {
  background-color: #507352;
}

/* ===== RECOMENDACIONES ===== */

.recomendacion-card {
  position: relative;
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
  overflow: hidden;
  background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url(img/lino_background.webp);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  max-width: 600px;
  margin: 2rem auto;
}

.otras-card, .hospedaje-card {
  padding: 2rem 0;
}

.otras-card p span {
  font-family: 'Bodoni Moda';
}

.badge, .badge-hotel {
  display: inline-block;
  background-color: #CBA88C;
  color: #000000;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.recomendacion-card h4 {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.contacto {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .hotel-sede {
    padding: 2.5rem 1.5rem;
  }

  .hotel-sede h3 {
    font-size: 1.7rem;
  }
}

/* TARIFAS */

.tabla-vertical-container {
  max-width: 520px;
  margin: 0 auto;
}

.tabla-vertical {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  color: #000;
}

/* Filas */
.tabla-vertical tr {
  border-bottom: 1px solid rgba(0,0,0,0.15);
}

/* Columna izquierda */
.tabla-vertical th {
  width: 55%;
  text-align: left;
  padding: 1rem 0.5rem;
  font-weight: 500;
  color: #41667F;
}

/* Columna derecha */
.tabla-vertical td {
  width: 45%;
  text-align: right;
  padding: 1rem 0.5rem;
  font-weight: 400;
}

/* GRATIS */
.tabla-vertical .gratis {
  color: #507352;
  font-weight: 600;
}

/* PRECIO */
.tabla-vertical .precio {
  font-family: 'Bodoni Moda';
  font-weight: 100;
}

.tabla-vertical span {
  font-family: 'Bodoni Moda';
  font-weight: 100;
}

/* Última línea más sutil */
.tabla-vertical tr:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Responsive fine tuning */
@media (max-width: 480px) {
  .tabla-vertical {
    font-size: 0.9rem;
  }
}

/* RECOMENDACIONES ENDS */

/* RSVP */

/* Sección */
.rsvp-section {
  padding: 6rem 1rem;
  background:
    url('img/lino_background.webp'),
    #EEDFCC;
  background-size: cover;
}

/* Wrapper para sello */
.rsvp-card-wrapper {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

/* Sello */
.rsvp-sello {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  z-index: 5;
}

/* Card */
.rsvp-card {
  background:
    url('img/lino_background_2.webp'),
    #ffffff;
  background-size: cover;
  padding: 3.5rem 2rem 2.5rem;
  text-align: center;
  background-blend-mode: multiply;
  box-shadow: 9px 10px 7px rgb(0 0 0 / 25%);
}

/* Título */
.rsvp-title-top {
  font-family: 'Bodoni Moda', serif;
  font-size: 1.8rem;
  margin-bottom: -20px;
  text-align: center;
}

.rsvp-title-bottom {
  line-height: normal;
  font-family: 'Adelia', cursive;
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: 100;
  color: #CBA88C;
}

/* Texto */
.rsvp-text {
  margin: 1.5rem 0 2.5rem;
  font-weight: 100;
  font-size: 0.95rem;
}

.rsvp-text span {
  font-family: 'Bodoni Moda';
}

/* Form */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid rgba(0,0,0,0.25);
  font-family: 'Bodoni Moda', sans-serif;
}

/* Radios */
.radio-group {
  display: flex;
  gap: 1.5rem;
}

.recaptcha-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem 0 1.5rem;
}

.rsvp-btn {
  margin-top: 1.5rem;
  padding: 0.8rem 2.4rem;

  background: transparent;
  border: 0.75px solid #41667F;
  color: #41667F;

  font-family: 'Bodoni Moda', serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.rsvp-btn:hover {
  background: #41667F;
  color: #FFF;
}

/* RSVP ENDS */

/* PRELOADER */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
    45deg,
    #455F47,
    #455F47,
    #2F3E34,
    #2F3E34,
    #2F3E34,
    #2F3E34,
    #2F3E34,
    #2F3E34,
    #455F47,
    #455F47,
    #2F3E34,
    #455F47,
    #455F47,
    #455F47,
    #455F47,
    #455F47,
    #455F47,
    #455F47,
    #455F47,
    #455F47,
    #455F47,
    #2F3E34,
    #455F47,
    #2F3E34,
    #2F3E34,
    #455F47,
    #2F3E34,
    #455F47
  ),
    url('img/lino_background_2.webp'); /* tu textura */
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

/* Contenido del loader */
.loader-content {
  text-align: -webkit-center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Logo */
.logo_pre {
  width: 60px;
  max-width: 40vw;
  height: auto;
  margin: 8px 0;
}

/* Texto de carga */
.loading-text {
  font-family: "Adelia", serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 100;
  letter-spacing: 0.05em;
  line-height: normal;
  color: #ffffff;
  margin: 0;
}

/* Responsive fine tuning */
@media (max-width: 480px) {
  .loading-text {
    line-height: 4rem;
  }
}

/* PRELOADER ENDS */

/* POP-UP */

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url(img/lino_background_2.webp);
  background-size: cover;
  background-repeat: repeat;
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-content h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1rem;
  font-family: 'Adelia';
  line-height: 3rem;
  font-weight: 100;
}

.h2-popup {
  font-family: 'Bodoni Moda';
  font-weight: 100;
  font-size: 1.5rem;
}

.popup-content button {
  padding: 10px 20px;
  font-size: 1rem;
  line-height: normal;
  cursor: pointer;
  color: #000000;
  transition: 0.5s;
  border: 1px solid #000000;
  font-family: 'CocoGothic';
}

.popup-content button:hover {
  transition: 0.5s;
  transform: scale(1.1);
}

.popup-text {
  margin-bottom: 1.5rem;
}

.info-confirmada {
  font-family: 'Bodoni Moda';
}

.popup-text h3 span {
  font-size: 1rem;
}

.popup-p span {
  font-weight: 700;
}

.popup-pases span {
  font-family: 'Bodoni Moda';
}

/* Responsive fine tuning */
@media (max-width: 480px) {
  .popup-content {
    max-width: 350px;
  }
}

/* POPUP ENDS */

/* MUSIC */

#mute-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #FFF;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* MUSIC ENDS */

/* DECORACIÓN */

.seccion-relativa {
  position: relative;
}

.decoracion {
  position: absolute;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

/* Posiciones específicas */
.decoracion-gifts {
  width: 250px;
  right: -125px;
  opacity: 0.3 !important;
}

.decoracion-itinerario {
  width: 50%;
  right: 0;
  opacity: 0.3 !important;
  bottom: 0;
}

.decoracion-itinerario2 {
  width: 200px;
  opacity: 0.3 !important;
  bottom: 70%;
  transform: translateY(10%);
  z-index: 0;
}

.decoracion-itinerario3 {
  width: 200px;
  opacity: 0.3 !important;
  bottom: 40%;
  right: 0;
  transform: translateY(10%);
  z-index: 0;
}

.decoracion-details {
  width: 400px;
  right: -20%;
  opacity: 0.3 !important;
}

.decoracion-recomendaciones {
  width: 400px;
  right: -50%;
  opacity: 0.2 !important;
  top: 50%;
  z-index: -1;
  transform: translateY(-50%);
}

.decoracion-hotel {
  width: 300px;
  left: 0;
  opacity: 0.2 !important;
  top: 50%;
  z-index: -1;
  transform: translateY(-50%);
}

.decoracion-galeria {
  width: 1000px;
  left: -400px;
  opacity: 0.3 !important;
  bottom: 0;
  z-index: 0;
}

.decoracion-indicaciones {
  width: 200px;
  opacity: 0.3 !important;
  bottom: 70%;
  transform: translateY(10%);
  z-index: 0;
}

/* Responsive fine tuning */
@media (max-width: 768px) {
  .decoracion-gifts {
    width: 500px;
    right: -250px;
    opacity: 0.2 !important;
  }

  .decoracion-itinerario {
    width: 100%;
    right: 0;
    opacity: 0.3 !important;
    bottom: 0;
  }

  .decoracion-itinerario2 {
    width: 100px;
    bottom: 80%;
  }

  .decoracion-itinerario3 {
    width: 100px;
    bottom: 25%;
  }

  .decoracion-details {
    width: 400px;
    right: -50%;
    opacity: 0.3 !important;
  }

  .decoracion-galeria {
    width: 800px;
    left: -350px;
  }  

  .decoracion-indicaciones {
    width: 100px;
    bottom: 850%;
  }
}

/* DECORACIÓN ENDS */

/* ANIMACIONES */

.typewriter-text {
  white-space: nowrap;
  border-right: none; /* No queremos línea */
  visibility: hidden;
  text-wrap: auto;
}

.typewriter-name {
  white-space: nowrap;
  border-right: none; /* No queremos línea */
  visibility: hidden;
  text-wrap: auto;
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translate(0, 0);
}

/* Desde arriba */
.fade-in-top {
  transform: translateY(-30px);
}
.fade-in-top.show {
  transform: translateY(0);
}

/* Desde abajo */
.fade-in-bottom {
  transform: translateY(30px);
}
.fade-in-bottom.show {
  transform: translateY(0);
}

/* Desde la izquierda */
.fade-in-left {
  transform: translateX(-30px);
}
.fade-in-left.show {
  transform: translateX(0);
}

/* Desde la derecha */
.fade-in-right {
  transform: translateX(30px);
}
.fade-in-right.show {
  transform: translateX(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 1s ease, transform 1s ease;
  display: block; /* para que el picture se comporte como bloque */
  max-width: 100%; /* para que no se salga */
}

.slide-in-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* Opcional: que la img interna ocupe todo el contenedor */
.slide-in-left img {
  width: 100%;
  height: auto;
  display: block;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50%);
  transition: opacity 1s ease, transform 1s ease;
  display: block; /* para que el picture se comporte como bloque */
  max-width: 100%; /* para que no se salga */
}

.slide-in-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* Opcional: que la img interna ocupe todo el contenedor */
.slide-in-rigt img {
  width: 100%;
  height: auto;
  display: block;
}

/* Estado inicial (antes de cerrar popup) */
.hero-animate {
  opacity: 0;
  transition: opacity 1.2s ease, transform 1.2s ease;
}

/* Variantes */
.hero-from-bottom {
  transform: translateY(30px);
}

.hero-from-top {
  transform: translateY(-30px);
}

.hero-from-left {
  transform: translateX(-30px);
}

.hero-from-right {
  transform: translateX(30px);
}

/* CUANDO SE ACTIVA */
body.start-hero-animations .hero-animate {
  opacity: 1;
  transform: translate(0, 0);
}

/* ANIMACIONES ENDS */

/* COUNTDOWN */

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  background: transparent;
  text-align: center;
  width: 100%;
}

/* Cada bloque */
.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Número grande */
.time-number {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: #000;
}

/* Texto debajo */
.time-label {
  font-family: 'CocoGothic', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-top: 6px;
  text-transform: uppercase;
  color: #000;
}

/* Ajuste móvil fino (sigue horizontal) */
@media (max-width: 480px) {
  .countdown {
    gap: 14px;
  }

  .time-label {
    font-size: 0.65rem;
  }
}

.countdown-end-text {
  text-align: center;
  font-family: 'Bodoni Moda', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  opacity: 0;
  transition: opacity 1s ease;
  display: none;
}

/* Se mostrará solo cuando termine el countdown */
.countdown-end-text.show {
  opacity: 1;
  display: block;
}


/* COUNTDOWN ENDS */