/**
* Template Name:
* Template URL:
* Author: Dora Nely Vega Gonzalez
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Playball&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Great+Vibes&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Great+Vibes&display=swap");
:root {
  --red: #f7f7f7;
  --white: #60635c;
  --pearl: #333530;
  --prox: #513131;
  --font-family: "Playfair Display", serif;
  --verde-principal: #0a714e;
  --verde-secundario: #2f8a6b;
  --dorado: #b9821f;
  --fondo-claro: #f8f7f2;
  --texto-oscuro: #245b49;
}

body {
  background: #ffffff;
  color: #898989;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  position: absolute;
  border-radius: inherit;
  corner-shape: inherit;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url(https://framerusercontent.com/images/TXh5WPCM2V9EJuJP5wFsPvT9Ek.png?width=746&height=1375);
  background-repeat: repeat;
  background-position: left top;
  border: 0;
  background-size: 186.5px auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h2 {
  color: #292929;
  font-weight: 600;
}

h4 {
  color: #292929;
  font-size: 14px;
  font-weight: 600;
}

a {
  color: #292929;
  text-decoration: none !important;
  transition: all 0.5s ease-in-out 0s;
}

a:hover {
  transition: all 0.5s ease-in-out 0s;
}

p {
  margin: 25px 0;
  padding: 0;
  font-size: 15px;
  color: #2e2c2c;
  line-height: 28px;
}

::-moz-selection {
  background: #b8a07e;
  color: #fff;
}

::selection {
  background: #b8a07e;
  color: #fff;
}

.btn {
  background: #b8a07e;
  border: medium none;
  border-radius: 0;
  color: #ffffff;
  font-size: 1.2em;
  height: 50px;
  line-height: 50px;
  padding: 0 30px;
  text-transform: capitalize;
  font-family: "Poppins", sans-serif;
}

.btn:hover,
.btn:focus {
  color: #ffffff;
  background: var(--pearl);
}

.padDiv {
  padding: 30px 20px;
}

.section-title {
  margin-bottom: 20px;
  margin-top: 20px;
}

.section-title h5 {
  font-size: 3rem;
  color: var(--white);
  font-family: "Tangerine", cursive;
}

.form-control {
  background-color: transparent;
  border: 1px solid #999;
  border-radius: 0;
  color: #999999;
  font-size: 12px;
  font-weight: 500;
  height: 50px;
  letter-spacing: 0.1em;
  padding-left: 10px;
  margin: 0 0 25px 0;
  line-height: 14px;
  text-transform: uppercase;
}

.form-control:focus {
  box-shadow: none;
  outline: 0 none;
}

.paddsection {
  padding-top: 90px;
  padding-bottom: 90px;
}

.paddsections {
  padding-top: 90px;
  padding-bottom: 90px !important;
}

.hvr-shutter-in-horizontal::before {
  background: #333;
}

.hvr-shutter-in-horizontal:hover {
  background: #b8a07e;
}

.mb-30 {
  margin-bottom: 30px;
}

.main-content {
  padding-top: 140px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 8000;
  padding: 15px 0;
  background-color: var(--red);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.5s;
}

#header .logo-text {
  font-size: 2em;
  font-family: "Playfair Display", serif;
  color: var(--white);
}

/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 10px 30px;
  font-size: 2em;
  font-weight: 500;
  color: var(--pearl);
  white-space: nowrap;
  transition: 0.3s;
  font-family: "Tangerine", cursive;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--white);
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
.mobile-nav-toggle {
  color: var(--white);
  font-size: 30px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.3s ease;
  z-index: 9999;
}

.mobile-nav-toggle.bi-x {
  color: #0a714e;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }

  /* Pantalla completa del menú */
  .navbar-mobile {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background: #f8f7f2;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* hojas decorativas */
  .navbar-mobile::before,
  .navbar-mobile::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 220px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
    pointer-events: none;
  }

  .navbar-mobile::before {
    top: 0;
    left: 0;
    background-image: url("../img/hojas-izq.png");
    background-position: top left;
  }

  .navbar-mobile::after {
    bottom: 0;
    right: 0;
    background-image: url("../img/hojas-der.png");
    background-position: bottom right;
  }

  /* botón cerrar */
  .navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 28px;
    right: 24px;
    font-size: 34px;
    color: #0a714e;
  }

  /* lista centrada */
  .navbar-mobile ul {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    list-style: none;
    width: 100%;
    padding: 40px 20px;
    margin: 0;
    position: relative;
    z-index: 2;
  }

  .navbar-mobile li {
    padding: 0;
    width: 100%;
    text-align: center;
  }

  .navbar-mobile a,
  .navbar-mobile a:focus {
    display: inline-block;
    padding: 0;
    font-family: "Tangerine", cursive;
    font-size: 3.2rem;
    font-weight: 400;
    color: #0a714e;
    line-height: 1.1;
    transition: all 0.3s ease;
  }

  .navbar-mobile a:hover,
  .navbar-mobile .active,
  .navbar-mobile li:hover > a {
    color: #b9821f;
    transform: scale(1.03);
  }
}

.navbar-mobile::before {
  top: 0;
  left: 0;
  background-image: url("../../assets/img/mw-welcome-graph-left.png");
  background-position: top left;
}

.navbar-mobile::after {
  bottom: 0;
  right: 0;
  background-image: url("../../assets/img/mw-welcome-graph-right.png");
  background-position: bottom right;
}

/*--------------------------------------------------------------
# Swiper
--------------------------------------------------------------*/
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
}

.swiper-slide img {
  display: block;
  width: 100%;
}

.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide:after {
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  position: absolute;
  z-index: 0;
  background-color: #282019;
  opacity: 0.5;
}

.swiper-slide p {
  z-index: 2;
  color: #ffffff;
  font-size: 3em;
  letter-spacing: -1px;
  transform: translateY(-5%) scale(0.8);
  transition: 1s ease;
  text-shadow: 0 5px 5px rgba(0, 0, 0, 0.01);
}

.swiper-slide h2 {
  z-index: 2;
  pointer-events: none;
  color: #ffffff;
  font-size: 5em;
  letter-spacing: -1px;
  transform: translateY(-5%) scale(0.8);
  transition: 1s ease;
  font-weight: 400;
  font-style: normal;
  text-shadow: 0 5px 5px rgba(0, 0, 0, 0.01);
  font-weight: 600;
  text-align: center;
  margin-bottom: 0px !important;
  font-family: "Tangerine", cursive;
}

.swiper-slide-active h2 {
  opacity: 1;
  transform: translateY(0%) scale(1);
  transition: 1s ease;
}

.swiper-slide {
  min-height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.swiper-slide::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #0000003d;
  opacity: 0.4;
}

.swiper-1 {
  background: url(../../assets/img/swiper/swiper-1.webp) no-repeat center center;
  background-size: cover;
}

.swiper-2 {
  background: url(../../assets/img/swiper/swiper-2.webp) no-repeat center center;
  background-size: cover;
}

.swiper-3 {
  background: url(../../assets/img/swiper/swiper-3.webp) no-repeat center center;
  background-size: cover;
}

@media (max-width: 480px) {
  .swiper-1 {
    background: url(../../assets/img/swiper/swiper-1-m.webp) no-repeat center
      center !important;
  }

  .swiper-2 {
    background: url(../../assets/img/swiper/swiper-2-m.webp) no-repeat center
      center !important;
  }

  .swiper-3 {
    background: url(../../assets/img/swiper/swiper-3-m.webp) no-repeat center
      center !important;
  }
}

/*-----------------------------------------------------------------------------------*/
/*  About
/*-----------------------------------------------------------------------------------*/
#about2 {
  width: 100%;
  height: auto;
  background: url(../../assets/img/fondo-top.webp) no-repeat center center !important;
}

#about2 .div-img-bg {
  padding-bottom: 30px;
  border: 20px solid #b8a07e;
}

#about2 .div-img-bg .about-img img {
  width: 100%;
  box-shadow: 0px 0px 85px 0px rgba(0, 0, 0, 0.14);
  margin-top: -60px;
  margin-left: 40px;
  height: 400px;
  -o-object-fit: cover;
  object-fit: cover;
}

#about2 .about-descr .p-heading {
  font-size: 1.5em;
  color: var(--white);
  font-family: var(--font-family);
  border-top: #0000001a solid;
  border-bottom: #0000001a solid;
  text-transform: none;
  letter-spacing: 3px;
  padding: 20px;
  line-height: 1.2;
}

#about2 .about-descr .separator {
  max-width: 80%;
  margin-bottom: 0;
  text-align: left;
}

#about2 svg {
  width: 5rem;
  fill: #a2998a;
}

/*-----------------------------------------------------------------------------------*/
/*  Where
/*-----------------------------------------------------------------------------------*/
#where {
  background-image: url(../../assets/img/libreria.avif);
  background-size: cover;
}

.recepcion-card {
  position: relative;
  width: min(92vw, 515px);
  aspect-ratio: 515 / 670;
  margin: 40px auto;
  padding: 130px 75px 100px;
  box-sizing: border-box;
  overflow: visible;
  background-image: url("../../assets/img/espejo.avif");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Contenido encima del marco y las rosas */
.contenido-recepcion {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titulo-evento {
  margin: 0 0 20px;
  color: #a1763c;
  font-family: "Great Vibes", cursive;
  font-size: clamp(34px, 7vw, 48px);
  font-weight: 400;
  line-height: 1;
}

.recepcion-card .hora {
  margin: 0 0 14px;
  color: #1f1710;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 4.5vw, 27px);
  letter-spacing: 2px;
}

.recepcion-card .texto {
  color: #1f1710;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 4.7vw, 20px);
  font-weight: 400;
  letter-spacing: 1px;
}

.recepcion-card .texto-dorado {
  color: var(--dorado);
  font-family: "Great Vibes", cursive;
  font-size: clamp(15px, 4.7vw, 33px);
  font-weight: 400;
  letter-spacing: 1px;
  padding: 2px;
}

.recepcion-card .direccion {
  margin: 0 0 24px;

  color: #30251c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(14px, 3.3vw, 18px);
  line-height: 1.55;
}

/* Imagen de rosas */
.rosas-recepcion {
  position: absolute;
  z-index: 2;
  left: 3%;
  bottom: 14%;
  width: 58%;
  max-width: 300px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Botón dorado */
 .btn-mapa {
  position: relative;
  z-index: 5;

  width: min(100%, 245px);
  padding: 11px 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(151, 103, 9, 0.45);
  border-radius: 15px;

  background: linear-gradient(90deg, #bf861a 0%, #f7eba0 48%, #c28a1c 100%);

  color: #21170d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 4vw, 22px);
  text-decoration: none;
  letter-spacing: 1px;

  box-shadow:
    0 5px 12px rgba(69, 43, 12, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.55);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.recepcion-card .btn-mapa:hover {
  color: #21170d;
  transform: translateY(-3px);
  box-shadow:
    0 8px 16px rgba(69, 43, 12, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.location-info-box {
  background-color: var(--red);
  padding: 5%;
}

.titulo {
  font-family: "Tangerine", cursive;
  font-size: 3em;
}

.location-info-box p {
  font-size: 1.2em;
}

/*-----------------------------------------------------------------------------------*/
/*  itinerary
/*-----------------------------------------------------------------------------------*/
#itinerary {
  padding-top: 80px;
  padding-bottom: 80px;
}

/*-----------------------------------------------------------------------------------*/
/*  gift Table
/*-----------------------------------------------------------------------------------*/
#gift-table {
  padding-top: 50px;
  padding-bottom: 80px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
#services {
  background: #f7f7f7;
  position: relative;
  padding-bottom: 80px;
}

.services-block span {
  margin: 10px 0;
  position: relative;
  font-size: 13px;
  color: #292929;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
  display: block;
}

.services-block .separator {
  margin: 0;
  font-size: 13px;
  line-height: 22px;
}

.services-block i {
  font-size: 44px;
  color: #b8a07e;
  line-height: 44px;
}

.services-slider .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

.services-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #b8a07e;
}

.services-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #b8a07e;
}

/*--------------------------------------------------------------
# gallery
--------------------------------------------------------------*/
#gallery {
  position: relative;
  padding-bottom: 50px;
  padding-top: 50px;
}

#gallery #portfolio-flters {
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
  padding: 2px 15px;
}

#gallery #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #999999;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

#gallery #portfolio-flters li:hover,
#gallery #portfolio-flters li.filter-active {
  color: #b8a07e;
}

#gallery #portfolio-flters li:last-child {
  margin-right: 0;
}

.box-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 👈 2 columnas en mobile */
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* desktop → 3 columnas */
@media (min-width: 768px) {
  .box-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* imágenes */
.box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/*--------------------------------------------------------------
# Divider Area
--------------------------------------------------------------*/
.divider-area {
  padding: 30px 0;
  position: relative;
  z-index: 1;
  background-image: url(../../assets/img/divider-page-1.webp);
  background-size: cover;
  color: #fff;
  background-attachment: fixed;
  background-position: 50% 61.1406px;
}

.divider-area:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.3);
}

.divider-area-1 {
  padding: 130px 0;
  position: relative;
  z-index: 1;
  background-image: url(../../assets/img/divider-page-1.webp);
  background-size: cover;
  color: #fff;
  background-attachment: fixed;
  background-position: 50% 61.1406px;
}

.divider-area-1:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.3);
}

.divider-area-2 {
  padding: 130px 0;
  position: relative;
  z-index: 1;
  background-image: url(../../assets/img/divider-page-1.webp);
  background-size: cover;
  color: #fff;
  background-attachment: fixed;
  background-position: 50% 61.1406px;
}

.divider-area-2:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.3);
}

.divider-area-3 {
  padding: 130px 0;
  position: relative;
  z-index: 1;
  background-image: url(../../assets/img/divider-page-1.webp);
  background-size: cover;
  color: #fff;
  background-attachment: fixed;
  background-position: 50% 61.1406px;
}

.divider-area-3:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.3);
}

.heading {
  font-family: var(--font-family);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.desc {
  margin-bottom: 15px;
  font-family: "Tangerine", cursive;
  font-size: 28px;
}

.remaining-time .time-sec {
  position: relative;
  display: inline-block;
  margin: 0 20px 30px;
  height: 120px;
  width: 120px;
  padding-top: 25px;
  border-radius: 100px;
  border: 1px solid #fff;
  color: #ffffff;
}

.remaining-time .time-sec .title {
  font-size: 3em;
  line-height: 1;
  display: block;
}

@media (max-width: 480px) {
  .divider-area {
    background-image: url(../../assets/img/divider-page-1-m.webp);
    background-attachment: initial;
    background-position: 0;
    padding: 30px 0;
  }

  .divider-area-1 {
    background-image: url(../../assets/img/divider-page-1-m.webp);
    background-attachment: initial;
    background-position: 0;
    padding: 60px 0;
  }

  .divider-area-2 {
    background-image: url(../../assets/img/divider-page-1-m.webp);
    background-attachment: initial;
    background-position: 0;
    padding: 60px 0;
  }

  .divider-area-3 {
    background-image: url(../../assets/img/divider-page-1-m.webp);
    background-attachment: initial;
    background-position: 0;
    padding: 60px 0;
  }

  .remaining-time .time-sec {
    margin: 0 5px 30px;
    height: 60px;
    width: 60px;
    padding-top: 17px;
  }

  .remaining-time .time-sec .title {
    font-size: 2em;
  }
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #b8a07e;
}

.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet-active {
  background-color: #b8a07e;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(75, 74, 74, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  color: #000000;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 1.2em;
  color: rgba(0, 0, 0, 0.91);
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

hr.dashed {
  border-top: 4px dashed #b8a07e;
}

.box-container {
  display: inline-block;
  margin: 0;
  padding: 0;
  margin-top: 1.4em;
  width: 100%;
}

.box {
  list-style-type: none;
  float: left;
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 0.2s,
    transform 0.35s;
}

.box.show {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.4s,
    transform 0.35s;
}

.box .inner {
  padding: 10px;
  position: relative;
}

.box a {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.box img {
  width: calc(100% + 50px);
  max-width: calc(100% + 50px);
  transition:
    opacity 0.35s,
    transform 0.35s;
  transform: translate3d(-40px, 0, 0);
}

.box a::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  z-index: 99;
  opacity: 0;
  transition: opacity 0.4s;
}

.three-cols .box {
  width: 100%;
}

.four-cols .box {
  width: 23.1%;
}

.four-cols .box:nth-child(4n + 0) {
  margin-right: 0;
}

.four-cols .box:nth-child(4n + 1) {
  clear: both;
  margin-left: 0;
}

/*--------------------------------------------------------------
# Wedding Details
--------------------------------------------------------------*/
.wedding-details {
  overflow: hidden;
  position: relative;
}

.wedding-details:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -0.5px;
  width: 1px;
  background: #ccc;
}

.w-detail {
  width: 50%;
  padding: 0 50px;
  margin-bottom: 30px;
  position: relative;
  clear: both;
  margin-top: -40px;
}

.w-detail:first-child {
  margin-top: 0;
}

.w-detail:last-child {
  margin-bottom: 0;
}

.w-detail:after {
  content: "";
  position: absolute;
  top: 0;
  height: 18px;
  width: 18px;
  border-radius: 20px;
  z-index: 1;
  border: 1px solid #aaa;
  background: #fff;
}

.w-detail.right {
  text-align: left;
  float: right;
}

.w-detail.right:after {
  left: 0;
  margin-left: -9px;
}

.w-detail.left {
  text-align: right;
  float: left;
}

.w-detail.left:after {
  right: 0;
  margin-right: -9px;
}

.w-detail .title {
  margin: 10px 0;
  font-size: 1.6em;
}

.w-detail p {
  font-size: 1.6em;
}

.w-detail .icon {
  font-size: 3.5em;
  line-height: 1;
  color: #e45f74;
}

@media (min-width: 390px) {
  .three-cols .box {
    width: 50%;
  }
}

@media (min-width: 576px) {
  .three-cols .box {
    width: 33.3%;
  }

  .three-cols .box:nth-child(3n + 0) {
    margin-right: 0;
  }

  .three-cols .box:nth-child(3n + 1) {
    margin-left: 0;
  }
}

@media (min-width: 992px) {
  .box:hover img {
    transform: translate3d(0, 0, 0);
    transition:
      opacity 0.35s,
      transform 0.35s;
  }

  .box:hover a::before {
    opacity: 0.3;
    transition: opacity 0.5s;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding-bottom: 50px;
}
/* ===== SECCIÓN INFERIOR ===== */
.footer-invitacion {
     background: #fff;
    text-align: center;
    padding: 25px 10px;
    border: 1px solid rgba(151, 103, 9, 0.45);
    border: 1px solid rgba(151, 103, 9, 0.45);
    background: linear-gradient(90deg, #bf861a 0%, #f7eba0 48%, #c28a1c 100%);
}

/* Texto tipo marca */
.footer-invitacion a {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 3px;
  color: #333;
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  transition: 0.3s;
}

.footer-invitacion a:hover {
  color: #0a714e;
}

/** Width between 1200x to 0
 *  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 */
/** Width between 992px to 1199px
 *  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 */
/** Width between 768px to 991px
 *  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 */
@media (min-width: 768px) and (max-width: 991px) {
  /* Navbar */
  nav {
    padding: 10px 15px;
  }

  .nav-menu {
    margin-top: 40px;
    display: none;
    float: none;
    width: 100%;
  }

  .nav-menu li {
    float: none;
    width: 100%;
    text-align: center;
    border-top: 1px solid #f7f7f7;
    line-height: 45px;
    margin-left: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .responsive {
    float: right;
    padding-top: 15px;
    display: block;
  }

  /* About */
  .head-info .header-content .cmaster h1 {
    font-size: 32px;
  }

  #about2 .div-img-bg {
    padding: 0;
  }

  #about2 .div-img-bg .about-img img {
    margin-top: 0%;
    margin-left: calc(0% - 0px);
  }

  #about2 .about-descr .separator {
    max-width: 100%;
    margin-bottom: 0;
  }

  /* portfolio */
  #portfolio .portfolio-list .nav li {
    float: none;
    margin: 20px;
    display: inline-block;
  }

  /* journal */
  #journal .journal-block .journal-info {
    margin-bottom: 30px;
  }

  /* Contact */
  .contact-contact {
    margin-bottom: 30px;
  }

  /* Footer */
  #footer .socials-media ul li {
    margin-right: 0;
    margin-left: 0;
    float: none;
    display: inline-block;
  }
}

/* --------- Hero -------*/
.hero-invitacion {
  position: relative;
  width: 100%;
  background: url("../../assets/img/fondo.webp") center/cover no-repeat;
}

.hero-invitacion-top {
  position: relative;
  height: 100vh;
  width: 100%;
  background: url("../../assets/img/fondo-top.webp") center/cover no-repeat;
}

/* =====================================================
   RETRATO + PERGAMINO CON UN SOLO FONDO PARALLAX
===================================================== */

.bloque-historia {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  
  /*
   * Un solo fondo para las dos secciones.
   * cover evita que la imagen se vea estirada.
   */
  background-image: url("../../assets/img/fondo-top.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;

  background-color: #1a0e08;
}

/* Capa oscura encima del fondo */
.bloque-historia::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0.12) 55%,
      rgba(0, 0, 0, 0.42) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(15, 7, 3, 0.2) 0%,
      rgba(15, 7, 3, 0.04) 45%,
      rgba(15, 7, 3, 0.3) 100%
    );
}

/*
 * Ya no necesitas los div:
 * .fondo-parallax
 * .fondo-parallax-img
 * .fondo-historia-parallax
 * .capa-historia
 * .capa-retrato
 */
.fondo-parallax,
.fondo-parallax-img,
.fondo-historia-parallax,
.capa-historia,
.capa-retrato {
  display: none;
}

/* =====================================================
   SECCIÓN DEL RETRATO
===================================================== */

.seccion-retrato {
  position: relative;
  z-index: 1;

  width: 100%;
  min-height: 100vh;
  min-height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 70px 20px 35px;
  box-sizing: border-box;
}

.contenido-retrato {
  position: relative;
  z-index: 2;

  width: min(94vw, 650px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

/* Títulos Mis XV y Elisa */
.titulo-superior,
.titulo-inferior {
  position: relative;
  z-index: 8;

  margin: 0;

  color: #d6aa5d;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  line-height: 0.82;

  text-shadow:
    0 2px 0 #654018,
    0 5px 14px rgba(0, 0, 0, 0.65);
}

.titulo-superior {
  font-size: clamp(75px, 13vw, 150px);
  margin-bottom: 20px;
}

.titulo-inferior {
  font-size: clamp(80px, 14vw, 160px);
  margin-top: 20px;
}

/* =====================================================
   MARCO Y FOTOGRAFÍA
===================================================== */
.marco-foto {
  position: relative;

  width: min(75vw, 430px);
  aspect-ratio: 0.68;

  display: flex;
  align-items: center;
  justify-content: center;

  filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.5));
}

.imagen-marco {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;
  z-index: 4;
  pointer-events: none;
}

.foto-retrato {
  position: absolute;

  left: 22.5%;
  top: 13.5%;

  width: 57%;
  height: 73%;

  object-fit: cover;
  object-position: center;

  z-index: 2;
}
/* =====================================================
   SECCIÓN DEL PERGAMINO
===================================================== */

.seccion-elegante {
  position: relative;
  z-index: 1;

  width: 100%;
  min-height: 100vh;
  min-height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px 15px 80px;
  box-sizing: border-box;
  text-align: center;
}

.pergamino-texto {
  position: relative;
  z-index: 2;

  width: min(92vw, 500px);
  aspect-ratio: 704 / 1024;

  padding: 140px 75px 125px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  background-image: url("https://framerusercontent.com/images/PipE6FRTMd6guFwfFveePhqgbzM.png?width=704&height=1024");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;

  filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.45));
}

.pergamino-texto .desc {
  margin: 20px;
  color: #352419;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(17px, 3vw, 22px);
  font-weight: 500;
  line-height: 1.45;
}

.pergamino-texto .nombre {
  margin: 0 0 25px;
  color: #a47432;
  font-family: "Great Vibes", cursive;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 400;
  line-height: 1;
}

.pergamino-texto .padres {
  margin: 10px;
  color: #a47432;
  font-family: "Great Vibes", cursive;
  font-size: clamp(20px, 5vw, 30px);
  font-weight: 400;
  line-height: 1;
}

.titulo-familia {
  margin: 0 0 5px;
  color: #8e642e;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(18px, 3vw, 25px);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.padres {
  margin: 4px 0;

  color: #9f7135;
  font-family: "Great Vibes", cursive;
  font-size: clamp(35px, 7vw, 55px);
  font-weight: 400;
  line-height: 1;
}

.ampersand {
  margin: 0 0;
  color: #b88a3c;
  font-family: "Great Vibes", cursive;
  font-size: clamp(20px, 4vw, 20px);
  line-height: 0.8;
}

.separador-familia {
  width: 65%;
  height: 1px;

  margin: 20px auto 14px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(167, 116, 45, 0.75),
    transparent
  );
}

.frase-final {
  margin-top: 18px;
}
.pergamino-texto .frase {
  max-width: 330px;
  margin: 0 0 18px;

  color: #352419;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(17px, 3vw, 22px);
  line-height: 1.45;
}

/* Último título XV */
.pergamino-texto .nombre:last-child {
  margin-bottom: 0;
  font-size: clamp(55px, 5vw, 85px);
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {
  .bloque-historia {
    background-position: 52% center;
  }

  .seccion-retrato {
    padding: 60px 15px 30px;
  }

  .marco-foto {
    width: min(90vw, 550px);
  }

  .titulo-superior {
    font-size: clamp(70px, 16vw, 125px);
  }

  .titulo-inferior {
    font-size: clamp(75px, 17vw, 135px);
  }
}

/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 600px) {
  .seccion-retrato {
    min-height: 100svh;
    padding: 45px 8px 25px;
  }

  .contenido-retrato {
    width: 100%;
  }

  .titulo-superior {
    font-size: clamp(62px, 20vw, 100px);
    margin-bottom: 15px;
  }

  .titulo-inferior {
    font-size: clamp(68px, 21vw, 108px);
    margin-top: 15px;
  }

  .marco-foto {
    width: min(96vw, 470px);
  }

  /*
   * Interior de la versión ancha del marco.
   * Ajusta solamente estos cuatro valores si hace falta.
   */
  .foto-retrato {
    top: 16%;
    left: 14%;
    width: 72%;
    height: 68%;
  }

  .seccion-elegante {
    min-height: 100svh;
    padding: 25px 5px 55px;
  }

  .pergamino-texto {
    width: min(98vw, 440px);
    padding: 110px 52px 100px;
  }

  .pergamino-texto .desc,
  .pergamino-texto .frase {
    font-size: 16px;
    line-height: 1.4;
  }

  .pergamino-texto .nombre {
    font-size: clamp(31px, 1vw, 47px);
  }

  .pergamino-texto .nombre:last-child {
    font-size: clamp(52px, 8vw, 75px);
  }
}

/* Celulares muy pequeños */
@media (max-width: 360px) {
  .pergamino-texto {
    padding: 95px 45px 85px;
  }

  .titulo-superior {
    font-size: 66px;
  }

  .titulo-inferior {
    font-size: 72px;
  }
}
/* Screens Resolution : 767px
-------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
  /*--------------------------------------------------------------
  # Wedding Details
  --------------------------------------------------------------*/
  .wedding-details {
    margin-left: 15px;
    overflow: visible;
  }

  .wedding-details:after {
    left: 0;
    margin-left: 0px;
  }

  .w-detail {
    width: 100%;
    padding: 0 0 0 30px;
    margin: 0 0 30px;
  }

  .w-detail.left,
  .w-detail.right {
    text-align: left;
    float: none;
  }

  .w-detail.right:after,
  .w-detail.left:after {
    left: 0;
    margin-left: -9px;
  }

  /* Navbar */
  nav {
    padding: 20px 15px;
  }

  .nav-menu {
    margin-top: 40px;
    display: none;
    float: none;
    width: 100%;
  }

  .nav-menu li {
    float: none;
    width: 100%;
    text-align: center;
    border-top: 1px solid #f7f7f7;
    line-height: 45px;
    margin-left: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .responsive {
    float: right;
    padding-top: 15px;
    display: block;
  }

  /* About */
  .head-info .header-content h1 {
    font-size: 32px;
  }

  #about .div-img-bg {
    padding: 0;
  }

  #about .div-img-bg .about-img img {
    margin-top: 0%;
    margin-left: calc(0% - 0px);
  }

  #about .about-descr .p-heading {
    font-size: 20px;
  }

  #about .about-descr .separator {
    max-width: 100%;
    margin-bottom: 0;
  }

  /* portfolio */
  #portfolio .portfolio-list .nav li {
    float: none;
    margin: 20px;
    display: inline-block;
  }

  /* journal */
  #journal .journal-block .journal-info {
    margin-bottom: 30px;
  }

  /* Contact */
  .contact-contact {
    margin-bottom: 30px;
  }

  /* Footer */
  #footer .socials-media ul li {
    margin-right: 0;
    margin-left: 0;
    float: none;
    display: inline-block;
  }
}

/** Width between 600px to 0
 *  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 */
@media (max-width: 600px) {
  /* Navbar */
  nav {
    padding: 20px 15px;
  }

  .nav-menu {
    margin-top: 40px;
    display: none;
    float: none;
    width: 100%;
  }

  .nav-menu li {
    float: none;
    width: 100%;
    text-align: center;
    border-top: 1px solid #f7f7f7;
    line-height: 45px;
    margin-left: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .responsive {
    float: right;
    padding-top: 15px;
    display: block;
  }

  /* About */
  .head-info .header-content h1 {
    font-size: 32px;
  }

  #about .div-img-bg {
    padding: 0;
  }

  #about .div-img-bg .about-img img {
    margin-top: 0%;
    margin-left: calc(0% - 0px);
  }

  #about .about-descr .p-heading {
    font-size: 20px;
  }

  #about .about-descr .separator {
    max-width: 100%;
    margin-bottom: 0;
  }

  /* portfolio */
  #portfolio .portfolio-list .nav li {
    float: none;
    margin: 10px;
    display: inline-block;
  }

  /* journal */
  #journal .journal-block .journal-info {
    margin-bottom: 30px;
  }

  /* Contact */
  .contact-contact {
    margin-bottom: 30px;
  }

  /* Footer */
  #footer .socials-media ul li {
    margin-right: 0;
    margin-left: 0;
    float: none;
    display: inline-block;
  }
}

/** Width between 480px to 0
 *  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 */
@media (max-width: 480px) {
  /* Navbar */
  nav {
    padding: 20px 15px;
  }

  .nav-menu {
    margin-top: 40px;
    display: none;
    float: none;
    width: 100%;
  }

  .nav-menu li {
    float: none;
    width: 100%;
    text-align: center;
    border-top: 1px solid #f7f7f7;
    line-height: 45px;
    margin-left: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .responsive {
    float: right;
    padding-top: 15px;
    display: block;
  }

  /* About */
  .head-info .header-content h1 {
    font-size: 32px;
  }

  #about .div-img-bg {
    padding: 0;
  }

  #about .div-img-bg .about-img img {
    margin-top: 0%;
    margin-left: calc(0% - 0px);
  }

  #about .about-descr .p-heading {
    font-size: 20px;
  }

  #about .about-descr .separator {
    max-width: 100%;
    margin-bottom: 0;
  }

  /* portfolio */
  #portfolio .portfolio-list .nav li {
    float: none;
    margin: 20px;
  }

  /* journal */
  #journal .journal-block .journal-info {
    margin-bottom: 30px;
  }

  /* Contact */
  .contact-contact {
    margin-bottom: 30px;
  }

  /* Footer */
  #footer .socials-media ul li {
    margin-right: 0;
    margin-left: 0;
    float: none;
    display: inline-block;
  }
}

/** Width between 320px to 0
 *  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 */
@media (max-width: 320px) {
  /* Navbar */
  nav {
    padding: 20px 15px;
  }

  .nav-menu {
    margin-top: 40px;
    display: none;
    float: none;
    width: 100%;
  }

  .nav-menu li {
    float: none;
    width: 100%;
    text-align: center;
    border-top: 1px solid #f7f7f7;
    line-height: 45px;
    margin-left: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .responsive {
    float: right;
    padding-top: 15px;
    display: block;
  }

  /* About */
  .head-info .header-content h1 {
    font-size: 32px;
  }

  #about .div-img-bg {
    padding: 0;
  }

  #about .div-img-bg .about-img img {
    margin-top: 0%;
    margin-left: calc(0% - 0px);
  }

  #about .about-descr .p-heading {
    font-size: 20px;
  }

  #about .about-descr .separator {
    max-width: 100%;
    margin-bottom: 0;
  }

  /* portfolio */
  #portfolio .portfolio-list .nav li {
    float: none;
    margin: 20px;
  }

  /* journal */
  #journal .journal-block .journal-info {
    margin-bottom: 30px;
  }

  /* Contact */
  .contact-contact {
    margin-bottom: 30px;
  }

  /* Single page */
  .entry-comments-body span {
    display: inline-block;
    margin-right: 0;
  }
}

#footer .div-img-bg {
  padding: 0;
}

#footer .div-img-bg .about-img img {
  margin-top: 0%;
  margin-left: calc(0% - 0px);
}

#footer .about-descr .separator {
  max-width: 100%;
  margin-bottom: 0;
}

}

/*------------------ Responsive ---------------------*/

@media (max-width: 991px) {
  h2 {
    font-size: 1.8rem;
  }

  h5 {
    font-size: 1rem;
  }

  .__web-inspector-hide-shortcut__,
  .__web-inspector-hide-shortcut__ *,
  .__web-inspector-hidebefore-shortcut__::before,
  .__web-inspector-hideafter-shortcut__::after {
    visibility: visible;
  }

  .site-header .navbar .navbar-nav .nav-item .nav-link {
    border-width: 0px;
    border-radius: 0px;
    padding: 20px 0;
  }

  .navbar-collapse {
    box-shadow: 0px 6px 8px 0px #4c4c4c33;
    z-index: 3;
  }

  .site-header svg {
    margin: 0px;
  }

  .hero .wedding-announcement .couple-name-merried-text {
    vertical-align: top;
    padding-top: 32px;
  }

  .music-box button {
    z-index: 200000;
    width: 60px;
    height: 60px;
  }

  #features .gb.bride {
    background-attachment: unset !important;
  }

  .stamp {
    width: 100px;
  }

  .getting-there-section .content > .col:first-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  }

  .fancybox-overlay {
    z-index: 600 !important;
  }
}

@media (max-width: 767px) and (min-width: 480px) {
  body,
  p {
    font-size: 0.8em;
  }

  .site-header {
    height: 60px;
  }

  .site-header .navbar,
  .site-header .container {
    height: 100%;
  }

  .site-header svg {
    height: 100%;
    width: 80%;
  }

  .navbar-collapse {
    top: 40px;
    padding: 2%;
    position: fixed;
    background-color: rgba(148, 106, 90, 0.9);
    width: 100%;
    text-align: center;
    z-index: 3;
  }

  .hero {
    min-height: 100vh;
    height: 100vh;
  }

  .hero .wedding-announcement .couple-name-merried-text {
    padding-bottom: 50vh !important;
  }

  .hero .wedding-announcement .married-text h4 {
    opacity: 0;
  }

  .hero .wedding-announcement .popup-save-the-date {
    opacity: 0;
  }

  .wedding-couple-section .gb > div {
    width: 50%;
  }

  .wedding-couple-section .gb.groom,
  .wedding-couple-section .gb.bride {
    display: flex;
  }

  .couple-intro-text .first-column,
  .couple-intro-text .second-column {
    width: 50%;
  }

  .couple-intro-text .first-column {
    background-image: url(../images/lb-intro-m-bg.png);
    background-size: 100% auto;
    background-position: 30% bottom;
    background-repeat: no-repeat;
  }

  .count-down-section h2 span {
    font-size: 3rem;
  }

  .count-down-section .std-date {
    font-size: 1.5rem;
  }

  .count-down-clock .box {
    width: 22% !important;
    margin: 0 1% !important;
  }

  .story-section .col,
  .getting-there-section .col {
    flex: 0px;
  }

  .story-timeline .img-holder svg {
    max-height: 80px;
  }

  .getting-there-section .content > .col:first-child {
    border-bottom: 0px;
  }

  .getting-there-section .content p {
    font-size: 12px !important;
  }

  .getting-there-section .content h3 {
    font-size: 1.2em;
  }

  .timeline__event__icon svg {
    width: 90%;
  }

  .timeline__event__title {
    font-size: 0.7rem;
  }

  .timeline__event__date {
    font-size: 1.2em;
  }

  .timeline__event {
    width: 74vw;
  }

  .timeline__event p {
    margin-bottom: 0px;
  }

  .mw-feature-img img {
    width: 100%;
    height: unset;
  }

  .download-app .buttons {
    flex-wrap: nowrap;
  }
}

@media (max-width: 480px) {
  .site-header svg {
    width: 80%;
  }

  .navbar-collapse {
    top: 76px;
    position: absolute;
    background: rgba(148, 106, 90, 0.9);
    width: 100%;
    text-align: center;
    padding: 2%;
    z-index: 3;
  }

  .count-down-section h2 span {
    font-size: 3rem;
  }

  .count-down-section .std-date {
    font-size: 1.5rem;
  }

  #timeline h2 {
    font-size: 1.2rem;
    margin-top: 46px;
  }

  .animate-gradient-gray-text {
    overflow: visible;
  }

  .site-footer h2 {
    font-size: 2rem;
  }

  .gift-registration-section .gif-registration-slider .register img {
    width: 70%;
    display: flex;
    margin: auto;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .site-header svg {
    width: 80%;
  }

  .navbar-collapse {
    top: 76px;
    position: absolute;
    background: rgba(79, 76, 51, 0.9);
    width: 100%;
    text-align: center;
    padding: 2%;
    z-index: 3;
  }

  .story-section .col,
  .getting-there-section .col {
    flex: 0px;
  }

  .getting-there-section .content > .col:first-child {
    border-width: 0px;
  }

  #features .gb.bride > div.mw-feature-img,
  #features .gb.bride > div.details {
    width: 100%;
  }

  .download-app .buttons {
    flex-wrap: nowrap;
  }
}

@supports (-webkit-touch-callout: none) {
  /* CSS specific to iOS devices */
  audio:not([controls]) {
    display: block !important;
  }

  audio {
    position: fixed;
    z-index: 100000000;
    vertical-align: bottom;
    bottom: 20px;
    left: 20px;
  }

  audio::-webkit-media-controls-panel {
    background-color: #dfdfdf;
    border: 5px solid #fff;
    box-shadow: var(--dark-box-shadow);
  }
}

@supports not (-webkit-touch-callout: none) {
  /* CSS for other than iOS devices */
  audio:not([controls]),
  #my_audio {
    display: none !important;
  }
}

#my_audio {
  opacity: 0;
  pointer-events: none;
}

#my_audio.visible {
  opacity: 1;
  pointer-events: all;
}

/*------------------ BotÃ³n Sobre ---------------------*/

.btn-pre-page {
  width: 250px;
  display: inline-block;
  padding: 16px 42px;
  border-radius: 50px;
  font-family: "Playfair Display", serif;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: #0a714e; /* 👈 relleno */
  color: #ffffff;
  border: none;

  box-shadow: 0 6px 20px rgba(10, 113, 78, 0.35);
  transition: all 0.4s ease;
}

/* hover elegante */
.btn-invitacion:hover {
  background: #085c3f; /* más oscuro */
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(10, 113, 78, 0.5);
}

@media (max-width: 919px) and (min-width: 768px) {
  .btn-pre-page {
    margin-top: 30px;
  }
}

.btn-pre-page:hover {
  width: 250px;
  padding: 17px 20px;
  font-size: 1rem;
  background-color: rgba(131, 131, 131, 0.5);
  cursor: pointer;
}

.tangerine-regular {
  font-family: "Tangerine", cursive;
  font-weight: 400;
  font-style: normal;
}

.tangerine-bold {
  font-family: "Tangerine", cursive;
  font-weight: 700;
  font-style: normal;
}

.welcome-h1 {
  font-size: 2em;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-style: normal;
  color: #0a714e;
}

.welcome-text {
  font-size: 2.5em;
  font-family: "Great Vibes", cursive;
  font-weight: 700;
  font-style: normal;
  color: #b1771d;
  line-height: 1.1;
  letter-spacing: 4px;
}

.logo-text {
  font-size: 2em;
  font-family: "Playfair Display", serif;
  font-style: normal;
  color: #000;
  transition:
    color 0.2s ease-in-out,
    background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
}

@media (max-width: 991px) {
  #header .logo-text {
    zoom: 0.9;
  }
}

.fecha-boda {
  position: relative;
  padding: 70px 20px;
  text-align: center;
  overflow: hidden;
}

/* bloque evento */
.bloque-evento {
  margin-top: 25px;
}

/* imagen elegante */
.img-lugar {
  width: 100%;
  border-radius: 16px;
  margin: 15px 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.img-wrapper {
  display: flex;
  justify-content: center;
}

.img-custom {
  width: 100%;
  max-width: 900px; /* 👈 controla el tamaño en desktop */
  border-radius: 15px;
}

.lugar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-custom {
  width: 100%;
  max-width: 900px;
  border-radius: 15px;
  display: block;
}

.btn-mapa {
  display: inline-block;
}

/* hover elegante */
.btn-mapa:hover {
  background: var(--dorado);
  color: #ffffff;
  transform: translateY(-2px);
}

/* línea separadora */
.linea {
  width: 60%;
  height: 1px;
  background: #d8d5cf;
  margin: 30px auto;
}

.intro-fecha {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--verde-principal);
  margin-bottom: 28px;
}

.fecha-principal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
}

.fecha-lado {
  min-width: 150px;
}

.mes {
  display: block;
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 1.3rem;
  color: var(--verde-principal);
  margin-bottom: 14px;
}

.dato {
  display: block;
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 1.8rem;
  color: var(--verde-principal);
  border-top: 2px solid var(--verde-principal);
  padding-top: 10px;
}

.fecha-centro {
  font-family: "Cormorant Garamond", serif;
  font-size: 6.5rem;
  line-height: 1;
  color: var(--dorado);
}

.hora {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  letter-spacing: 6px;
  color: var(--verde-principal);
  margin: 18px 0 10px;
}

.texto {
  font-family: var(--font-family);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--dorado);
  margin: 0 0 12px;
}

.direccion {
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.15rem;
  line-height: 1.1;
  color: #000000;
  margin-bottom: 34px;
}

.separador {
  font-family: "Alex Brush", cursive;
  font-size: 2.2rem;
  color: var(--verde-principal);
  margin: 20px 0;
}

.invisible {
  visibility: hidden;
}

/* decoraciones */
.decoracion {
  position: absolute;
  width: 180px;
  height: 180px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

.decoracion-izq {
  top: 0;
  left: 0;
  background-image: url("../img/hojas-izq.png");
}

.decoracion-der {
  top: 0;
  right: 0;
  background-image: url("../img/hojas-der.png");
}

@media (max-width: 768px) {
  .fecha-principal {
    gap: 14px;
  }

  .fecha-lado {
    min-width: 100px;
  }

  .mes {
    font-size: 0.95rem;
    letter-spacing: 4px;
  }

  .dato {
    font-size: 1.2rem;
    letter-spacing: 3px;
  }

  .fecha-centro {
    font-size: 4.5rem;
  }

  .hora {
    font-size: 1.6rem;
    letter-spacing: 4px;
  }

  .lugar {
    font-size: 1.7rem;
    letter-spacing: 4px;
  }

  .direccion {
    font-size: 0.95rem;
  }

  .intro-fecha,
  .separador {
    font-size: 1.6rem;
  }
}

.flores-contador {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3; /* 👈 igual que menú */
}

/* izquierda */
.flores-contador.izquierda {
  top: 0;
  left: 0;
  width: 160px;
}

/* derecha */
.flores-contador.derecha {
  bottom: 0;
  right: 0;
  width: 160px;
}

/* =====================================================
   CUENTA REGRESIVA SOBRE EL MISMO FONDO PARALLAX
===================================================== */

.proximamente {
  position: relative;
  z-index: 1;

  width: 100%;
  min-height: 100vh;
  min-height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 80px 20px 100px;
  box-sizing: border-box;

  background: transparent;
  overflow: hidden;
}

/* Asegura que Bootstrap no altere el centrado */
.proximamente .container {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.contador-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  width: 100%;
  margin-bottom: 40px;
  text-align: center;
}

/* Rosa arriba */
.rosa-contador {
  position: relative;

  display: block;
  width: clamp(190px, 28vw, 320px);
  height: auto;

  margin: 0 auto 25px;

  object-fit: contain;
  z-index: 3;

  filter: drop-shadow(0 15px 22px rgba(0, 0, 0, 0.55));

  animation: rosaFlotante 5s ease-in-out infinite;
}

/* Texto debajo de la rosa */
.contador-titulo {
  position: relative;
  z-index: 4;
  max-width: 650px;
  margin: 0 auto;
  color: #d2cabe;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 1px;

  text-shadow:
    0 2px 2px rgba(66, 35, 8, 0.9),
    0 6px 16px rgba(0, 0, 0, 0.7);
}

@keyframes rosaFlotante {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

/* Contenedor del reloj */
.remaining-time {
  position: relative;
  z-index: 2;

  width: 100%;
  display: flex;
  justify-content: center;
}

/* Tres tarjetas */
.remaining-time .clock {
  width: 100%;
  max-width: 760px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;

  margin: 0 auto;
}

/* Cada bloque */
.remaining-time .time-sec {
  min-width: 0;
  min-height: 155px;

  padding: 26px 18px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(224, 181, 92, 0.55);
  border-radius: 24px;

  background: linear-gradient(
    145deg,
    rgba(255, 244, 214, 0.22),
    rgba(94, 55, 19, 0.28)
  );

  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

/* Número */
.remaining-time .time-sec .title {
  display: block;
  margin-bottom: 10px;
  color: #fffffe;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 600;
  line-height: 0.9;

  text-shadow:
    0 2px 0 rgba(89, 51, 13, 0.8),
    0 5px 15px rgba(0, 0, 0, 0.55);
}

/* Etiqueta */
.remaining-time .time-sec .label {
  color: #e7e1d0;

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(13px, 2vw, 18px);
  font-weight: 600;

  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Movimiento tenue de la rosa */
@keyframes flotarRosa {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}
.contador-header {
  margin-bottom: 35px;
}

.contador-icono {
  width: 70px;
  fill: #d8c1a0;
  margin-bottom: 15px;
}

.contador-subtitulo {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #b1771d;
}

.remaining-time .clock {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.remaining-time .time-sec {
  min-width: 140px;
  min-height: 150px;
  padding: 25px 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.remaining-time .time-sec .title {
  display: block;
  font-size: 3.6rem;
  line-height: 1;
  font-weight: 600;
  color: #e2ded8;
  font-family: "Cormorant Garamond", serif;
}

.remaining-time .time-sec .label {
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b1771d;
}

@media (max-width: 768px) {
  .contador-titulo {
    font-size: 1.5rem;
  }

  .remaining-time .clock {
    gap: 14px;
  }

  .remaining-time .time-sec {
    min-width: 110px;
    min-height: 120px;
    padding: 20px 14px;
    border-radius: 22px;
  }

  .remaining-time .time-sec .title {
    font-size: 2.8rem;
  }

  .remaining-time .time-sec .label {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .remaining-time .clock {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap; /* 👈 IMPORTANTE */
    gap: 8px;
  }

  .remaining-time .time-sec {
    min-width: auto;
    width: 33.33%; /* 👈 3 en fila */
    padding: 12px 6px;
    border-radius: 16px;
  }

  .remaining-time .time-sec .title {
    font-size: 1.8rem;
  }

  .remaining-time .time-sec .label {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }
}
.gallery-block {
  background-color: var(--prox);
  padding: 5%;
}

body.no-scroll {
  height: 100%;
  overflow-y: hidden;
}

* {
  box-sizing: border-box;
}

.gallery-block .row > .column {
  padding: 8px 8px;
}

.gallery-block .row:after {
  content: "";
  display: table;
  clear: both;
}

.gallery-block .column {
  float: left;
  width: 25%;
}

.icon--primary {
  color: #ffffff;
}

/* FOOTER */
#footer-bottom {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* flecha */
.back-to-top {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  top: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #b1771d;
  border-radius: 50%;
  transition: all 0.3s ease;
  padding: 0;
  width: 50px;
  height: 50px;
}

.back-to-top i {
  font-size: 30px;
  color: #fff;
  line-height: 1;
}

/* música */
#custom-audio-player {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#audio-element {
  display: none;
}

#play-pause-button {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  position: relative;
  z-index: 3;
}

/* notas */
#notes-container {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 140px;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}

.note-block {
  position: absolute;
  bottom: 0;
  font-size: 1rem;
  color: #494949;
  animation: rise 2s ease-out forwards;
}

@keyframes rise {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-140px);
    opacity: 0;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.pulsing {
  animation: pulse 2s ease-in-out infinite;
}
.rotating {
  animation: rotate 6s linear infinite;
}

#custom-audio-player {
  order: 1; /* música arriba */
}

.back-to-top {
  order: 2; /* flecha abajo */
}

.seccion-elegante {
  padding: 100px 20px;
  text-align: center;
}

.seccion-elegante {
  width: 100%;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px 15px;
  box-sizing: border-box;
}

/* Pergamino únicamente detrás del texto */
.pergamino-texto {
  width: min(90vw, 500px);
  min-height: 650px;

  padding: 140px 75px 130px;

  box-sizing: border-box;
  text-align: center;

  background-image: url("https://framerusercontent.com/images/PipE6FRTMd6guFwfFveePhqgbzM.png?width=704&height=1024");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* NOMBRES */
.desc {
  font-size: 2rem;
  font-weight: 700;
  color: #0a714e;
  margin: 4px;
  font-family: "Tangerine", cursive;
}
.nombre {
  font-family: "Playfair Display", sans-serif;
  font-size: 3rem;
  font-weight: 400;
  color: #000;
  margin: 0;
}

/* & elegante */
.amp {
  font-family: "Playfair Display", sans-serif;
  font-size: 3rem;
  margin: 10px 0;
  color: #0a714e;
}

/* TITULO */
.titulo {
  font-family: "Playfair Display", sans-serif;
  font-size: 2.2rem;
  margin-top: 20px;
  font-weight: normal;
}

/* línea fina */
.linea {
  width: 50px;
  height: 1px;
  background: #ccc;
  margin: 20px auto;
}

/* frase */
.frase {
  font-family: "Playfair Display", sans-serif;
  font-size: 1.2rem;
  max-width: 500px;
  margin: 0 auto;
  color: #444;
  line-height: 1.6;
}

/*------------------ Familia ---------------------*/
.familia-section {
  padding: 70px 20px 90px;
  position: relative;
  overflow: hidden;
}

.familia-block {
  font-family: var(--font-family);
}

.familia-wrap {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

/* card base */
.familia-card {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.1);
  padding: 42px 32px;
  text-align: center;
  position: relative;
}

/* primera card */
.card-padres {
  max-width: 640px;
  margin: 0 auto;
  z-index: 1;
}

/* segunda card montada */
.card-padrinos {
  max-width: 620px;
  margin: -35px auto 0;
  z-index: 2;
}

.familia-card {
  position: relative; /* necesario */
  overflow: hidden; /* para que no se salga feo */
}

/* hoja decorativa */
.hoja-decorativa {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  opacity: 0.25; /* 👈 elegante */
  pointer-events: none;
}

/* hoja decorativa */
.hoja-decorativa-left {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 140px;
  opacity: 0.25; /* 👈 elegante */
  pointer-events: none;
}
/* títulos */
.familia-title {
  font-family: var(--font-family);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--dorado);
  margin: 0 0 12px;
  font-weight: 400;
}

/* bloques internos */
.familia-block + .familia-block {
  margin-top: 34px;
}

.familia-subtitle {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 600;
  color: #343d3a;
}

/* nombres */
.familia-card p {
  font-family: var(--font-family);
  font-size: 1.15rem;
  line-height: 1.1;
  color: #000;
  margin-bottom: 34px;
}

/* un poco más de aire visual */
.card-padres::after,
.card-padrinos::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

/* responsive */
@media (max-width: 768px) {
  .familia-section {
    padding: 50px 14px 70px;
  }

  .familia-card {
    padding: 34px 22px;
  }

  .card-padrinos {
    margin-top: -22px;
  }

  .familia-title {
    margin-bottom: 26px;
  }
}

.fallecida {
  margin-right: 6px;
  font-size: 0.9em;
  color: #b68c3a; /* dorado elegante */
}

.frase-invitacion {
  background: #f6f3ee; /* mismo tono que tu invitación */
  padding: 60px 20px;
}

.confirmacion-section {
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
}

/* hojas decorativas */
.confirmacion-hoja {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  animation: floatLeaf 6s ease-in-out infinite;
}

.hoja-izq {
  left: -20px;
  top: 0;
  width: 180px;
}

.hoja-der {
  right: -20px;
  bottom: 0;
  width: 180px;
  animation-delay: 1.5s;
}

/* caja central */
.confirmacion-box {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 10px;
}

/* líneas */
.linea-decorativa {
  width: 75%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 18px auto;
}

/* título */
.titulo-confirmacion {
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 7px;
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--dorado);
  margin: 0 0 12px;
}

/* icono */
.icono-regalo {
  width: 90px;
  margin: 28px 0 18px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  animation: pulseGift 2.8s ease-in-out infinite;
}

/* texto */
.texto-confirmacion {
  max-width: 560px;
  margin: 0 auto 28px;
  font-family: var(--font-family);
  font-size: 1.05rem;
  line-height: 1.25;
  animation: fadeUpSoft 1.8s ease;
}

/* botón */
.btn-confirmar {
  display: inline-block;
  background: #c3a37a;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 34px;
  border-radius: 0;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  animation: fadeUpSoft 2.1s ease;
}

.btn-confirmar:hover {
  background: #b68c3a;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

/* animaciones */
@keyframes floatLeaf {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(8px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes pulseGift {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeUpSoft {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* responsive */
@media (max-width: 768px) {
  .confirmacion-section {
    padding: 65px 15px;
  }

  .titulo-confirmacion {
    font-size: 2.5rem;
  }

  .texto-confirmacion {
    font-size: 0.95rem;
    max-width: 320px;
  }

  .icono-regalo {
    width: 75px;
  }

  .confirmacion-hoja {
    width: 120px;
    opacity: 0.14;
  }

  .linea-decorativa {
    width: 85%;
  }
}

/*------------------ Itinerario ---------------------*/
.itinerario-section {
  padding: 90px 20px;
  position: relative;
  overflow: hidden;
}

/* que el itinerario-section quede arriba */
.itinerario-section .container {
  position: relative;
  z-index: 2;
}

.titulo-itinerario {
  font-family: "Great Vibes", cursive;
  font-size: 4rem;
  color: #000;
  text-align: center;
  margin-bottom: 70px;
  font-weight: 400;
}

.timeline-item .icon img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.timeline-item {
  text-align: center;
}

.timeline-desktop {
  display: block;
  max-width: 1050px;
  margin: 0 auto;
}

.timeline-mobile {
  display: none;
  max-width: 340px;
  margin: 0 auto;
}

.timeline-line {
  position: relative;
  border-top: 1.5px solid #7a716c;
  margin: 45px 40px 0;
}

.timeline-point {
  position: absolute;
  top: -6px;
  width: 11px;
  height: 11px;
  background: #5f5a57;
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  text-align: center;
  position: relative;
}

.timeline-item .icon {
  font-size: 3.1rem;
  line-height: 1;
  color: #7b746f;
  margin-bottom: 28px;
  display: block;
}

.timeline-time {
  font-size: 1.2rem;
  margin-top: 28px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #000000;
}

.timeline-label {
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.35;
  min-height: 52px;
  color: var(--dorado);
  font-family: var(--font-family);
  font-weight: 600;
}

/* MOBILE */
.mobile-wrap {
  display: flex;
  justify-content: center;
  gap: 22px;
  align-items: flex-start;
}

.mobile-icons,
.mobile-content {
  display: flex;
  flex-direction: column;
}

.mobile-icons {
  align-items: center;
  position: relative;
  padding-top: 12px;
}

.mobile-icons::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  right: -22px;
  width: 1.5px;
  background: #7a716c;
}

.mobile-icon-item {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.7rem;
  color: #7b746f;
  width: 52px;
}

.mobile-content {
  gap: 0;
  padding-left: 20px;
}

.mobile-event {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-time {
  font-size: 1.15rem;
  margin-bottom: 6px;
  font-weight: 600;
  color: #000000;
}

.mobile-label {
  font-size: 0.98rem;
  text-transform: uppercase;
  line-height: 1.35;
  letter-spacing: 0.4px;
  color: var(--dorado);
  font-family: var(--font-family);
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .titulo-itinerario {
    font-size: 3.4rem;
    margin-bottom: 40px;
  }

  .timeline-desktop {
    display: none;
  }

  .timeline-mobile {
    display: block;
  }

  .itinerario-section {
    padding: 45px 15px;
  }
}

/*------------------ Regalos ---------------------*/
.gift-romantic {
  padding: 60px 20px;
}

.gift-romantic h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.3rem;
  margin-bottom: 20px;
}

.btn-romantic {
  display: inline-block;
  margin: 20px 0;
  padding: 12px 28px;
  border-radius: 30px;
  background: #c9a27c;
  color: white;
  text-decoration: none;
}

.code {
  display: block;
  font-size: 0.9rem;
  color: #777;
}

/*------------------ Hospedaje ---------------------*/
.hospedaje-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.hospedaje-card {
  width: 100%;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 42px 26px 36px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.hospedaje-title {
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 7px;
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--dorado);
  margin: 0 0 12px;
}

.hospedaje-divider {
  width: 100%;
  height: 1px;
  background: rgba(80, 80, 80, 0.35);
  margin-bottom: 24px;
}

.hospedaje-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  line-height: 1.5;
  color: #6f6a67;
  margin: 0 0 28px;
}

.hospedaje-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hotel-btn {
  display: block;
  width: 100%;
  padding: 14px 18px;
  background: #0a714e;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.hotel-btn:hover {
  background: #0a714e;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .hospedaje-card {
    max-width: 340px;
    padding: 36px 20px 30px;
  }

  .hospedaje-title {
    font-size: 2rem;
  }

  .hospedaje-text {
    font-size: 1.05rem;
  }

  .hotel-btn {
    font-size: 0.95rem;
    padding: 13px 14px;
  }
}

/*------------------ Colores ---------------------*/
.color-palette {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 15px;
}

.color-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.color-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #ddd;
}

/* colores */
.verde-botella {
  background: #1c3d2b;
}

.verde-esmeralda {
  background: #0a714e;
}

.color-label {
  font-size: 0.9rem;
  color: #666;
}

.vestimenta .icon img {
  height: 150px;
  width: auto;
  object-fit: contain;
}

/*------------------ Invitados ---------------------*/
.invitados-text {
  display: block;
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.5rem;
  color: var(--verde-principal);
}
.invitados-pases {
  display: block;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 2px;
  font-size: 1.5rem;
  color: var(--dorado);
  margin-top: 25px;
}

.invitados-cantidad {
  display: block;
  font-family: "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 2rem;
  color: #000000;
  margin: 10px;
}

/*------------------ Clima ---------------------*/
.clima-section {
  padding: 70px 20px;
  padding: 90px 20px;
  position: relative;
  overflow: hidden;
}

/* =====================================================
   SECCIÓN DE FOTOGRAFÍAS DE ELISA
===================================================== */

.seccion-elisa {
  position: relative;
  width: 100%;
  min-height: 100vh;

  padding: 150px 40px 90px;
  box-sizing: border-box;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #fbf1da;

  /* Fondo de textura opcional */
  background-image:
    linear-gradient(rgba(255, 250, 235, 0.86), rgba(255, 250, 235, 0.86)),
    url("../../assets/img/textura-dorada.webp");

  background-repeat: repeat;
  background-size: auto;
}

/* Borde de coronas */
.borde-coronas {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 125px;

  object-fit: cover;
  object-position: center bottom;

  display: block;
  z-index: 3;

  pointer-events: none;
  user-select: none;

  filter: drop-shadow(0 5px 8px rgba(75, 39, 9, 0.3));
}

/* Contenedor de ambas imágenes */
.contenido-elisa {
  position: relative;
  z-index: 2;

  width: min(100%, 1300px);

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-content: center;

  gap: clamp(35px, 7vw, 110px);
}

/* Contenedor de cada fotografía */
.foto-elisa {
  position: relative;

  width: 100%;
  max-width: 470px;
  margin: 0 auto;

  overflow: hidden;

  box-shadow:
    0 20px 45px rgba(76, 43, 15, 0.2),
    0 0 0 8px rgba(255, 249, 230, 0.75),
    0 0 0 10px rgba(191, 139, 52, 0.45);
}

/* Imagen */
.foto-elisa img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;
}

/* Imagen izquierda vertical */
.foto-elisa-izquierda {
  aspect-ratio: 4 / 5;
}

/* Imagen derecha */
.foto-elisa-derecha {
  aspect-ratio: 4 / 5;
}

/* Decoración interior elegante */
.foto-elisa::after {
  content: "";
  position: absolute;
  inset: 14px;

  border: 1px solid rgba(255, 225, 159, 0.65);

  pointer-events: none;
  z-index: 2;
}

/* =====================================================
   ANIMACIÓN DE APERTURA DEL LIBRO
===================================================== */


/* Letras y botón colocados encima de la portada */

/* =====================================================
   PRELOADER + LIBRO 3D (BLOQUE UNICO)
   Mantener una sola copia de este bloque.
===================================================== */

/* La invitacion permanece lista debajo del preloader. */
#bloqueHistoria,
#main {
  display: block;
}

/* Pantalla inicial. El fondo nunca se escala ni se difumina. */
#pre_page,
.pre-page {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;

  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px 14px;
  box-sizing: border-box;
  overflow: hidden;

  background-color: #efe4e9;
  background-image: url("../../assets/img/fondo.avif");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;

  perspective: 1800px;
  transition: opacity 0.42s ease, visibility 0s linear 0.42s;
}

#pre_page.hidden-pre,
#pre_page.salida-magica,
#pre_page.saliendo {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none !important;
  filter: none !important;
}

/* Frase superior */
#pre_page .texto-inicio {
  position: relative;
  z-index: 30;

  width: min(92%, 650px);
  margin: 0;

  color: #b58232;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 3.6vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;

  text-shadow:
    0 2px 3px rgba(255, 255, 255, 0.82),
    0 4px 10px rgba(78, 44, 10, 0.28);

  transition: opacity 0.18s ease, transform 0.18s ease;
}

/* Libro completo: permanece centrado y nunca se desplaza. */
.libro-visual {
  position: relative;
  z-index: 10;

  flex: 0 0 auto;
  width: min(82vw, 430px);
  aspect-ratio: 0.68;
  margin: 0 auto;

  perspective: 1800px;
  transform-style: preserve-3d;
  transform: none !important;

  filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.34));
}

/* Hoja interior: queda completamente oculta mientras el libro esta cerrado. */
.libro-visual .pagina-debajo {
  position: absolute;
  top: 2.5%;
  left: 3%;
  z-index: 1;

  width: 94%;
  height: 95%;
  margin: 0;

  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;

  opacity: 0;
  visibility: hidden;
  transform: translateZ(-4px);

  box-shadow:
    inset 10px 0 18px rgba(79, 45, 14, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.16);

  transition:
    opacity 0.16s ease 0.08s,
    visibility 0s linear 0.08s;
}

/* Portada */
.libro-visual .welcome-image {
  position: absolute;
  inset: 0;
  z-index: 10;

  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;

  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;

  transform-origin: left center;
  transform: rotateY(0deg);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  transition:
    transform 0.72s cubic-bezier(0.62, 0, 0.25, 1),
    filter 0.72s ease;

  will-change: transform;
}

/* Apertura */
#pre_page.abriendo-libro .libro-visual .welcome-image {
  transform: rotateY(-145deg);
  filter: brightness(0.76);
}

#pre_page.abriendo-libro .libro-visual .pagina-debajo {
  opacity: 1;
  visibility: visible;
}

/* Texto y boton sobre la portada */
#inner_elements {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 40;

  width: 100%;
  max-width: 420px;
  text-align: center;
  transform: translate(-50%, -62%);

  transition: opacity 0.18s ease;
}

#inner_elements .icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

.pre-page-content {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  text-align: center;
}

.welcome-text {
  margin: 0;
  color: #b1771d;
  font-family: "Great Vibes", cursive;
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 2px;
}

.contenedor-abrir {
  position: relative;
  z-index: 45;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: opacity 0.18s ease, transform 0.18s ease;
}

.btn-abrir {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 150px;
  padding: 10px 30px;

  border: 2px solid #d1a348;
  border-radius: 30px;
  background: rgba(255, 247, 222, 0.94);
  color: #805114;

  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;

  box-shadow:
    0 6px 16px rgba(72, 42, 9, 0.3),
    inset 0 0 0 2px rgba(255, 224, 147, 0.55);

  transition: transform 0.22s ease, background 0.22s ease;
}

.btn-abrir:hover {
  color: #3d2607;
  transform: translateY(-2px);
  background: linear-gradient(90deg, #c58b24, #fff1a5, #c58b24);
}

.btn-abrir:active {
  transform: scale(0.97);
}

#pre_page.abriendo-libro #inner_elements,
#pre_page.abriendo-libro .texto-inicio,
#pre_page.abriendo-libro .contenedor-abrir {
  opacity: 0;
  pointer-events: none;
}

#pre_page.abriendo-libro #inner_elements {
  transform: translate(-50%, -62%);
}

/* Destellos */
.estrellas-apertura {
  position: fixed;
  inset: 0;
  z-index: 100000;
  overflow: hidden;
  pointer-events: none;
}

.estrella-apertura {
  position: absolute;
  left: 50%;
  top: 50%;

  width: var(--tamano);
  height: var(--tamano);
  opacity: 0;

  background: linear-gradient(135deg, #fff9c4, #f8d76b 38%, #c8901d 68%, #fff7b0);
  box-shadow:
    0 0 6px rgba(255, 239, 164, 0.95),
    0 0 14px rgba(235, 182, 54, 0.8);

  transform: translate(-50%, -50%) rotate(45deg) scale(0);
  animation: estrellaLibro 0.78s ease-out forwards;
  animation-delay: var(--retraso);
}

.estrella-apertura::before,
.estrella-apertura::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  box-shadow: inherit;
}

.estrella-apertura::before {
  transform: rotate(45deg);
}

.estrella-apertura::after {
  transform: rotate(90deg);
}

@keyframes estrellaLibro {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(0, 0) rotate(45deg) scale(0);
  }

  20%,
  65% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(200deg) scale(1.1);
  }
}

/* Entrada del bloque inicial real, sin escalar el fondo. */
#bloqueHistoria.iniciando,
#bloqueHistoria.entrada-magica {
  animation: iniciarInvitacion 0.55s ease both;
}

@keyframes iniciarInvitacion {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  #pre_page,
  .pre-page {
    justify-content: center;
    gap: 14px;
    padding: 18px 10px;
    background-position: center center;
  }

  #pre_page .texto-inicio {
    width: 94%;
    font-size: clamp(19px, 5vw, 27px);
  }

  .libro-visual {
    width: min(82vw, 390px);
  }

  #inner_elements {
    max-width: 330px;
    transform: translate(-50%, -60%);
  }

  #pre_page.abriendo-libro #inner_elements {
    transform: translate(-50%, -60%);
  }

  .welcome-text {
    font-size: clamp(34px, 10vw, 50px);
  }

  .btn-abrir {
    min-width: 132px;
    padding: 9px 24px;
    font-size: 15px;
  }
}


/* =====================================================
   HISTORIA CON CARRUSEL DE FOTOS
===================================================== */

.historia-carrusel {
  position: relative;

  width: 100%;
  min-height: 100vh;
  min-height: 100svh;

  display: grid;
  grid-template-columns: 1fr 1fr;

  overflow: hidden;
  background: #f4eee3;
}

/* =====================================================
   LADO IZQUIERDO
===================================================== */

.historia-texto {
  position: relative;

  min-height: 100vh;
  min-height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 60px;
  overflow: hidden;
}

/* Imagen de fondo */
.historia-fondo {
  position: absolute;
  inset: 0;
  z-index: 0;

  overflow: hidden;
}

.historia-fondo img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
  object-position: center;

  /*
   * Ligero aumento para evitar bordes
   * al aplicar el desenfoque.
   */
  transform: scale(1.04);

  filter:
    blur(1.5px)
    saturate(0.7)
    brightness(1.12);

}

/* Capa clara como la referencia */
.historia-capa {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      rgba(255, 252, 244, 0.78),
      rgba(255, 252, 244, 0.83)
    );
}

/* Contenido */
.historia-contenido {
  position: relative;
  z-index: 2;

  width: min(90%, 650px);
  text-align: center;
}

.historia-rosa {
  width: clamp(100px, 12vw, 155px);
  height: auto;

  display: block;
  margin: 0 auto 45px;

  object-fit: contain;
}

.historia-contenido p {
  max-width: 620px;
  margin: 0 auto;

  color: #bd852e;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 2.3vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 1px;

  text-shadow:
    0 1px 1px rgba(255, 255, 255, 0.9);
}

/* =====================================================
   LADO DERECHO
===================================================== */

.historia-fotos {
  position: relative;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;

  background: #1d1710;
}

.historiaSwiper {
  width: 100%;
  height: 100vh;
  height: 100svh;
}

.historiaSwiper .swiper-slide {
  position: relative;

  width: 100%;
  height: 100%;

  overflow: hidden;
}

.historiaSwiper .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;

  z-index: 1;
  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.04),
      rgba(0, 0, 0, 0.12)
    );
}

.historiaSwiper .swiper-slide img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
  object-position: center;

  transform: scale(1.01);
  transition: transform 5s ease;
}

/* Zoom suave de la foto activa */
.historiaSwiper .swiper-slide-active img {
  transform: scale(1.07);
}

/* =====================================================
   FLECHAS
===================================================== */

.historiaSwiper .swiper-button-prev,
.historiaSwiper .swiper-button-next {
  width: 58px;
  height: 58px;

  border-radius: 50%;

  color: #fff;

  background: rgba(83, 59, 20, 0.48);

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.historiaSwiper .swiper-button-prev:hover,
.historiaSwiper .swiper-button-next:hover {
  transform: scale(1.08);
  background: rgba(131, 91, 27, 0.72);
}

.historiaSwiper .swiper-button-prev::after,
.historiaSwiper .swiper-button-next::after {
  font-size: 25px;
  font-weight: 400;
}

/* =====================================================
   PAGINACIÓN
===================================================== */

.historia-pagination {
  bottom: 25px !important;
}

.historia-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;

  background: rgba(255, 255, 255, 0.75);
  opacity: 1;
}

.historia-pagination .swiper-pagination-bullet-active {
  width: 27px;
  border-radius: 20px;
  background: #d7a446;
}

/* =====================================================
   TABLET Y CELULAR
===================================================== */

@media (max-width: 900px) {
  .historia-carrusel {
    grid-template-columns: 1fr;
  }

  .historia-texto {
    min-height: 75vh;
    min-height: 75svh;
    padding: 60px 24px;
  }

  .historia-fotos {
    min-height: 78vh;
    min-height: 78svh;
  }

  .historiaSwiper {
    height: 78vh;
    height: 78svh;
  }

  .historia-contenido p {
    font-size: clamp(21px, 5vw, 31px);
  }
}

@media (max-width: 600px) {
  .historia-texto {
    min-height: 70vh;
    min-height: 70svh;

    padding: 45px 25px;
  }

  .historia-fondo img {
    object-position: center top;
    transform: scale(1.02);

    filter:
      blur(1px)
      saturate(0.72)
      brightness(1.1);
  }

  .historia-capa {
    background: rgba(255, 252, 244, 0.8);
  }

  .historia-rosa {
    width: 115px;
    margin-bottom: 32px;
  }

  .historia-contenido p {
    font-size: clamp(20px, 5.8vw, 27px);
    line-height: 1.18;
  }

  .historia-fotos {
    min-height: 70vh;
    min-height: 70svh;
  }

  .historiaSwiper {
    height: 70vh;
    height: 70svh;
  }

  .historiaSwiper .swiper-button-prev,
  .historiaSwiper .swiper-button-next {
    width: 45px;
    height: 45px;
  }

  .historiaSwiper .swiper-button-prev::after,
  .historiaSwiper .swiper-button-next::after {
    font-size: 19px;
  }
}

/* =====================================================
   MÓDULO DE DETALLES XV
===================================================== */

.detalles-xv-2{
  position: relative;

  width: 100%;
  min-height: 100vh;

  padding: 65px 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background-image: url(
    "../../assets/img/fondo.webp"
  );

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.detalles-xv {
  position: relative;

  width: 100%;
  min-height: 100vh;

  padding: 65px 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background-image: url(
    "../../assets/img/fondo-top.webp"
  );

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

/* Capa oscura encima del fondo */
.detalles-overlay {
  position: absolute;
  inset: 0;

  z-index: 0;

  background:
    linear-gradient(
      rgba(18, 8, 2, 0.48),
      rgba(18, 8, 2, 0.58)
    );

  pointer-events: none;
}

/* Contenedor de tarjetas */
.detalles-contenedor {
  position: relative;
  z-index: 2;

  width: min(100%, 1650px);

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: clamp(25px, 4vw, 75px);

  align-items: center;
}

/* Cada tarjeta */
.detalle-card {
  position: relative;

  width: 100%;
  aspect-ratio: 528 / 666;

  display: flex;
  align-items: center;
  justify-content: center;

  filter:
    drop-shadow(0 18px 25px rgba(0, 0, 0, 0.45));

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.detalle-card:hover {
  transform: translateY(-8px);

  filter:
    drop-shadow(0 25px 35px rgba(0, 0, 0, 0.55));
}

/* Pergamino */
.detalle-pergamino {
  position: absolute;
  inset: 0;

  z-index: 1;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: fill;
  object-position: center;

  pointer-events: none;
}

/* Contenido */
.detalle-contenido {
  position: relative;
  z-index: 3;

  width: 78%;
  height: 78%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  box-sizing: border-box;
}

/* Títulos */
.detalle-contenido h2 {
  color: #b58642;

  font-family: "Great Vibes", cursive;
  font-size: clamp(38px, 3.6vw, 62px);
  font-weight: 400;
  line-height: 1;

  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Subtítulo */
.detalle-subtitulo {
  display: block;

  margin: -10px 0 20px;

  color: #796444;

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(17px, 1.5vw, 27px);
  font-weight: 500;

  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Texto */
.detalle-contenido p {
  max-width: 380px;

  margin: 10px auto;

  color: #1d1711;

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 1.8vw, 31px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 1px;
}

/* Color champagne */
.circulo-champagne {
  display: block;

  width: 44px;
  height: 44px;

  margin-top: 20px;

  border-radius: 50%;

  background: #d6b36f;

  box-shadow:
    0 4px 10px rgba(91, 56, 11, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.55);
}

/* Decoraciones */
.detalle-decoracion {
  position: absolute;
  z-index: 4;

  height: auto;

  pointer-events: none;
  user-select: none;
}

.decoracion-candelabro {
  left: -2%;
  bottom: 0;

  width: 32%;
}

.decoracion-rosas {
  right: -6%;
  bottom: -2%;

  width: 48%;
}

.decoracion-tetera {
  right: -5%;
  bottom: -4%;

  width: 48%;
}

.decoracion-libros {
  right: -5%;
  bottom: -3%;

  width: 38%;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {
  .detalles-xv {
    padding: 55px 20px;
    background-attachment: scroll;
  }

  .detalles-contenedor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1000px;
  }

  .detalle-card:last-child {
    grid-column: 1 / -1;
    width: min(100%, 500px);
    justify-self: center;
  }
}

/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 700px) {
  .detalles-xv {
    padding: 45px 12px;

    background-position: center;
    background-size: cover;
  }

  .detalles-contenedor {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .detalle-card,
  .detalle-card:last-child {
    grid-column: auto;

    width: min(94vw, 500px);
    margin: 0 auto;
  }

  .detalle-contenido {
    width: 79%;
    height: 80%;

    padding: 45px 16px 80px;
  }

  .detalle-contenido h2 {
    margin-bottom: 20px;

    font-size: clamp(39px, 11vw, 57px);
  }

  .detalle-subtitulo {
    font-size: 18px;
  }

  .detalle-contenido p {
    font-size: clamp(19px, 5.2vw, 26px);
    line-height: 1.12;
  }

  .circulo-champagne {
    width: 38px;
    height: 38px;
  }
}

/* Celulares pequeños */
@media (max-width: 380px) {
  .detalle-contenido {
    padding: 38px 12px 72px;
  }

  .detalle-contenido h2 {
    margin-bottom: 14px;
    font-size: 36px;
  }

  .detalle-contenido p {
    font-size: 18px;
  }
}


/* =====================================================
   DATOS DE LA QUINCEAÑERA
===================================================== */

.datos-quinceanera {
  position: relative;

  width: 100%;
  min-height: 100vh;
  min-height: 100svh;

  padding: 70px 35px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  background:
    linear-gradient(
      rgba(255, 248, 229, 0.88),
      rgba(255, 248, 229, 0.88)
    ),
    url("../../assets/img/textura-damasco.webp");

  background-repeat: repeat;
  background-size: 420px auto;
}

/* Contenedor principal */
.datos-contenedor {
  width: min(100%, 1450px);

  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);

  gap: clamp(40px, 7vw, 100px);

  align-items: center;
}

/* =====================================================
   FOTOS
===================================================== */

.datos-fotos {
  position: relative;

  width: 100%;
  min-height: 650px;

  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
/* Foto grande */
.foto-principal-datos {
  width: 78%;
  height: 580px;

  display: block;

  object-fit: cover;
  object-position: center;

  filter: sepia(0.08) saturate(0.9);
}

/* Marco ovalado encima */
.foto-marco-datos {
  position: absolute;

  right: 0;
  bottom: -25px;

  width: 52%;
  aspect-ratio: 0.72;

  display: flex;
  align-items: center;
  justify-content: center;

  filter:
    drop-shadow(0 15px 22px rgba(73, 43, 10, 0.35));
}

/* Foto interior */
.foto-secundaria-datos {
  position: absolute;

  left: 18%;
  top: 14%;

  width: 64%;
  height: 72%;

  object-fit: cover;
  object-position: center;

  border-radius: 48% 48% 45% 45%;
  z-index: 1;
}

/* Imagen del marco */
.marco-ovalado-datos {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;

  z-index: 2;
  pointer-events: none;
}

/* =====================================================
   INFORMACIÓN
===================================================== */

.datos-informacion {
  position: relative;

  padding: 30px 20px;

  text-align: center;
}

.datos-subtitulo {
  display: block;

  margin-bottom: 8px;

  color: #8d6b3c;

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(17px, 1.8vw, 26px);

  letter-spacing: 3px;
  text-transform: uppercase;
}

.datos-nombre {
  margin: 0;

  color: #b27a29;

  font-family: "Great Vibes", cursive;
  font-size: clamp(72px, 9vw, 130px);
  font-weight: 400;
  line-height: 0.9;

  text-shadow:
    0 2px 1px rgba(255, 255, 255, 0.9),
    0 5px 12px rgba(106, 67, 15, 0.2);
}

.datos-linea {
  width: min(85%, 520px);
  height: 1px;

  margin: 30px auto 35px;

  background:
    linear-gradient(
      90deg,
      transparent,
      #c79b55,
      transparent
    );
}

/* Cuadrícula de datos */
.datos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px 24px;

  width: min(100%, 650px);
  margin: 0 auto;
}

.dato-item {
  padding: 18px 14px;

  border-top: 1px solid rgba(181, 137, 72, 0.45);
  border-bottom: 1px solid rgba(181, 137, 72, 0.28);

  background:
    rgba(255, 250, 237, 0.4);

  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.dato-etiqueta {
  display: block;

  margin-bottom: 6px;

  color: #a57a3e;

  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 600;

  letter-spacing: 2px;
  text-transform: uppercase;
}

.dato-item strong {
  display: block;

  color: #3d2b1b;

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.1;
}

.datos-frase {
  width: min(90%, 620px);

  margin: 38px auto 0;

  color: #9a6f32;

  font-family: "Cormorant Garamond", serif;
  font-size: clamp(21px, 2.2vw, 31px);
  font-style: italic;
  line-height: 1.25;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {
  .datos-contenedor {
    grid-template-columns: 1fr;
    max-width: 800px;
  }

  .datos-fotos {
    min-height: 600px;
  }

  .foto-principal-datos {
    width: 76%;
    height: 700px;
  }

  .foto-marco-datos {
    width: 45%;
  }
}

/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 650px) {
  .datos-quinceanera {
    padding: 45px 15px 70px;
  }

  .datos-contenedor {
    gap: 35px;
  }

  .datos-fotos {
    min-height: 480px;
  }

  .foto-principal-datos {
    width: 88%;
    height: 430px;

    margin: 0 auto;
  }

  .foto-marco-datos {
    right: -2%;
    bottom: -15px;

    width: 50%;
  }

  .datos-informacion {
    padding: 10px 5px;
  }

  .datos-subtitulo {
    font-size: 15px;
    letter-spacing: 2px;
  }

  .datos-nombre {
    font-size: clamp(70px, 22vw, 105px);
  }

  .datos-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dato-item {
    padding: 15px 12px;
  }

  .dato-item strong {
    font-size: 22px;
  }

  .datos-frase {
    margin-top: 30px;
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .detalles-xv-2 .seccion-retrato {
    padding: 18px 8px 25px;
  }

  .detalles-xv-2 .contenido-retrato {
    width: 100%;
    gap: 2px;
  }

  .detalles-xv-2 .titulo-superior {
    font-size: clamp(72px, 22vw, 115px);
    margin-bottom: -8px;
  }

  .detalles-xv-2 .marco-foto {
    width: min(96vw, 560px);
    aspect-ratio: 16 / 10;
  }

  .detalles-xv-2 .titulo-inferior {
    font-size: clamp(80px, 24vw, 125px);
    margin-top: 6px;
  }
}
/* =====================================================
   SECCIÓN RETRATO MÁS COMPACTA
===================================================== */

.detalles-xv-2 {
  position: relative;
  width: 100%;
  overflow: hidden;

  background-image: url("../../assets/img/fondo.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.detalles-xv-2 .detalles-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;

  background: rgba(20, 13, 8, 0.5);
  pointer-events: none;
}

.detalles-xv-2 .seccion-retrato {
  position: relative;
  z-index: 1;

  width: 100%;

  /* Quita el 100vh para evitar espacio excesivo */
  min-height: auto;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 25px 15px 35px;
  box-sizing: border-box;
}

.detalles-xv-2 .contenido-retrato {
  width: min(96vw, 850px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 8px;
  text-align: center;
}

/* Títulos más cerca del marco */
.detalles-xv-2 .titulo-superior,
.detalles-xv-2 .titulo-inferior {
  position: relative;
  z-index: 5;

  margin: 0;

  color: #dfa94f;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  line-height: 0.82;

  text-shadow:
    0 3px 2px rgba(55, 29, 5, 0.7),
    0 8px 16px rgba(0, 0, 0, 0.45);
}

.detalles-xv-2 .titulo-superior {
  font-size: clamp(75px, 13vw, 155px);
  margin-bottom: -5px;
}

.detalles-xv-2 .titulo-inferior {
  font-size: clamp(85px, 14vw, 170px);
  margin-top: 6px;
}

/* =====================================================
   MARCO MÁS GRANDE Y CON LA PROPORCIÓN CORRECTA
===================================================== */

.detalles-xv-2 .marco-foto {
  position: relative;

  /*
   * Aumenta el marco.
   * Antes estaba limitado a 430px.
   */
  width: min(92vw, 650px);

  /*
   * Usa la proporción real del marco horizontal.
   * Ajusta este valor según la imagen.
   */
  aspect-ratio: 16 / 10;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.5));
}

.detalles-xv-2 .imagen-marco {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: block;
  object-fit: contain;
  object-position: center;

  z-index: 4;
  pointer-events: none;
}