@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Italianno&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; }
body { font-family: "Cormorant Garamond", serif; background: #f1eee5; }

/* PANTALLA DE ENTRADA */

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

.entrada {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: #f2eee7 url("images/fondo-entrada2.png") center / cover no-repeat;
    transition: opacity .45s ease,
        visibility .45s ease;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* ========================================
   SOBRE - ESTRUCTURA LIMPIA
======================================== */

.sobre {
    position: relative;

    width: min(90vw, 760px);
    aspect-ratio: 1.58 / 1;

    transform: translateY(-70px);

    perspective: 1400px;
    transform-style: preserve-3d;

  filter:
    drop-shadow(0 4px 3px rgba(48, 55, 59, .20))
    drop-shadow(0 14px 9px rgba(48, 55, 59, .25))
    drop-shadow(0 28px 18px rgba(48, 55, 59, .15));

     overflow: visible !important;
}


/* RECTÁNGULO BASE DEL SOBRE */
.fondo-sobre {
    position: absolute;
    inset: 0;

    z-index: 3;

    background:
        url("images/textura-sobre.jpg")
        center / cover no-repeat;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.35),
        inset 0 -4px 8px rgba(49,65,78,.08);

    transform: translateZ(0);
}

.tarjeta-interior {
    position: absolute;

    left: 50%;
    bottom: 8%;

    width: 82%;
    height: 72%;

    transform:
        translateX(-50%)
        translateY(40%);

    z-index: 8;

    background: #f6f1e7;

    border-radius: 8px;

    box-shadow:
        0 -5px 12px rgba(45, 55, 62, .10),
        0 10px 24px rgba(45, 55, 62, .18);

    opacity: 0;
    pointer-events: none;
}

.tarjeta-contenido {
    height: 100%;

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

    color: #55483f;

    font-family: "Cormorant Garamond", serif;
}

.tarjeta-contenido p {
    font-size: 30px;
    letter-spacing: 4px;
}

.tarjeta-contenido span {
    margin-top: 10px;

    font-size: 40px;
    font-style: italic;
}

.sobre,
.fondo-sobre {
    border-radius: 10px;
}

.sobre {
    overflow: hidden;
}

/* SOLAPA REAL */
.solapa {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 57% !important;

    z-index: 4;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,0) 60%,
            rgba(42,58,70,.05)
        ),
        url("images/textura-sobre.jpg")
        center / cover no-repeat;

    clip-path: polygon(
        0 0,
        100% 0,
        50% 100%
    );

    transform-origin: top center;

    transform:
        translateZ(8px);

     filter:
        brightness(1.045)
        drop-shadow(0 5px 3px rgba(48, 62, 74, .20))
        drop-shadow(0 10px 8px rgba(48, 62, 74, .12));

    backface-visibility: hidden;
}



/* ========================================
   DOBLECES INFERIORES
======================================== */

/* LÍNEAS REALES DE LOS DOBLECES */

.sobre::before,
.sobre::after {
    content: "";

    position: absolute;
    z-index: 4;

    width: 52%;
    height: 1%;

    /* borde azul-gris del pliegue */
    background: linear-gradient(
            to bottom,
            rgba(245,248,250,.42),
            rgba(69,88,103,.34)
        );

    /* pequeño brillo que le da relieve */
    box-shadow:
          0 2px 4px rgba(54,70,82,.15);

    pointer-events: none;
}


/* línea izquierda */
.sobre::before {
    left: 0;
    bottom: 0;

    transform-origin: left center;

    transform:
        rotate(-31deg)
        translateY(-2px);
}


/* línea derecha */
.sobre::after {
    right: 0;
    bottom: 0;

    transform-origin: right center;

    transform:
        rotate(31deg)
        translateY(-2px);
}


/* ========================================
   ENCAJE SOBRE LA SOLAPA
======================================== */

.encajes {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 7;

    pointer-events: none;

    /* IMPORTANTE: por ahora NO recortamos */
    overflow: hidden;
    border-radius: 7px;
}


/* IMAGEN DEL ENCAJE */

.encaje {
    position: absolute;

    width: 75%;
    height: auto;

    pointer-events: none;

    /* integra el encaje con el dusty blue */
    filter:
        saturate(.72)
        brightness(.92)
        contrast(.92)

        /* sombra inmediata debajo */
        drop-shadow(0 2px 1px rgba(55, 70, 83, .28))

        /* sombra más suave y profunda */
        drop-shadow(0 6px 4px rgba(55, 70, 83, .18));
}


/* IZQUIERDO */

.encaje-izquierdo {
    top: -40%;
    left: 0;

    transform-origin: left top;

    transform: rotate(35deg);
}


/* DERECHO */

.encaje-derecho {
    top: -40%;
    right: 0;

    transform-origin: right top;

    transform: rotate(-35deg);
}




/* Texto y sello */
.contenido-sobre {
    position: absolute;
    inset: 0;

    z-index: 7;

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

    padding-top: 10%;

    text-align: center;

    color: #3d4241;
}

.love-letter {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
    text-align: center;

    font-size: clamp(15px, 1.8vw, 15px);
    font-weight: 900;
    letter-spacing: 3.5px;
    font-weight: bold;

    color: #55483f;
    margin: 0;
}

.contenido-sobre h1 {
    font-family: "Pinyon Script", cursive;
    font-size: clamp(32px, 5vw, 55px);
    font-weight: 400;
    color: #55483f;
    line-height: 1;

}

.contenido-sobre h1 span {
    font-family: "Cormorant Garamond", serif;
    font-size: .72em;
    font-style: italic;
}

/* CELULAR — se queda exactamente como está */
.sello { 
    position: absolute; 
    top: -280%; 
    left: 37%; 
    transform: translate(-50%, -50%) translateZ(18px); 
    width: clamp(75px, 17vw, 130px); 
    height: auto; 
    filter: drop-shadow(0 10px 7px rgba(51,44,36,.28)) 
            drop-shadow(0 2px 2px rgba(51,44,36,.16)); 
    cursor: pointer; 
    animation: latido 2s ease-in-out infinite; 
    z-index: 1; 
}

/* PC */
@media (min-width: 769px) {
    .sello {
        top: -410%;
        left: 35%;
        width: 110px;
    }
}

.sello img { display: block; width: 100%; height: auto; cursor: pointer;}

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

    50% {
        transform: scale(1.08);
    }
}

#abrirInvitacion {
    position: absolute;

    bottom: 8.5%;

    left: 50%;
    transform: translateX(-50%);

    border: 0;
    background: transparent;

    /* MÁS OSCURO */
    color: #55483f;

    /* MÁS GRUESO */
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 900;
    font-weight: bold;

    letter-spacing: 3.2px;

    white-space: nowrap;
    cursor: pointer;

    padding: 10px 16px;

    /* ayuda a que destaque sobre la textura */
    text-shadow: 0 1px 1px rgba(255,255,255,.35);

    transition:
        opacity .25s ease,
        letter-spacing .25s ease;
}

#abrirInvitacion:hover {
    opacity: .7;
    letter-spacing: 3.7px;
}
#abrirInvitacion:focus-visible { outline: 2px solid #667d94; outline-offset: 4px; }


/* CONTENIDO EXISTENTE */
.invitacion { min-height: 100vh; }
.hero {
    min-height: 100vh;
    background: #304438;
    color: #f5f1e8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8vw;
    padding: 70px 7%;
     position: relative;
    z-index: 3;
}
.foto-placeholder {
    width: min(42vw, 420px);
    height: 75vh;
    background: #d9d4c6;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #65665f;
    letter-spacing: 4px;
    font-size: 12px;
}
.hero-texto { max-width: 400px; }
.hero-texto > p:first-child { margin-bottom: 25px; font-size: 12px; letter-spacing: 4px; }
.hero-texto h2 { font-size: clamp(55px, 7vw, 105px); font-weight: 300; line-height: .82; }
.linea { width: 70px; height: 1px; margin: 35px 0; background: #f5f1e8; }
.fecha { letter-spacing: 5px; font-size: 15px; }

@media (max-width: 700px) {
    .entrada { padding: 14px; }
    .sobre { width: 94vw;
    transform: translateY(-90px); }
    .contenido-sobre { padding-top: 12.5%; }
    .encaje { width: 74%; }
    .hero { min-height: 100svh; flex-direction: column; justify-content: flex-end; padding: 0; position: relative; }
    .foto-placeholder { width: 100%; height: 100svh; }
    .foto-placeholder img {
        width: 100%;
        height: 100%;

        object-fit: cover;

        /* podemos subir/bajar el encuadre con esto */
        object-position: center center;
    }
    .hero-texto { position: absolute; bottom: 55px; left: 30px; z-index: 2; }
    .hero-texto h2 { font-size: 60px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.sobre {
    perspective: 1400px;
    transform-style: preserve-3d;
}

.solapa,
.encajes {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transform-origin: top center;
    will-change: transform;
}

.solapa {
    box-shadow:
        0 7px 8px rgba(48, 61, 72, .12),
        0 15px 25px rgba(48, 61, 72, .08);
}

.invitacion {
    min-height: 100vh;

    opacity: 0;
    transform: scale(1.015);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.solapa,
.encajes {
    transform-origin: top center;
    transform-style: preserve-3d;
    backface-visibility: visible;
}

.sobre {
    perspective: 1200px;
    transform-style: preserve-3d;
}

.solapa {
    filter:
        brightness(1.04)
        drop-shadow(0 5px 5px rgba(55, 65, 72, .15));
}



/* =========================
   PORTADA
========================= */

.hero {
    width: 100%;
    min-height: 100svh;
    background: #49637a;
   overflow: visible;

}

.foto-portada {
    position: relative;
    width: 100%;
    height: 84svh;   /* casi toda la pantalla */
    overflow: visible; /* importante */
    z-index: 2;
}

.foto-principal {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

/* ========================================
   MONOGRAMA S&A
======================================== */

.monograma-portada {
    position: absolute;
    inset: 0;
    margin: auto;

    width: 78%;
    top: 3%;

    z-index: 3;

    opacity: .80;
    pointer-events: none;
}


/* ========================================
   PAPEL RASGADO
======================================== */

.papel-rasgado {
    position: absolute;

    left: -10px;
    bottom: -52px;

    width: calc(100% + 20px);
    height: 100px;

    object-fit: fill;

    z-index: 4;

    
}


/* ========================================
   HORTENSIAS
======================================== */

.hortensias-portada {
    position: absolute;

    right: -6px;
    bottom: -66px;

    width: 43vw;
    max-width: 195px;

    height: auto;

    z-index: 5;

    pointer-events: none;
}




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

.solo-escritorio {
    display: none;
}


/* ========================================
   COMPUTADORA
======================================== */

@media (min-width: 701px) {

    .hero {
        display: none;
    }

    .solo-escritorio {
        width: 100%;
        height: 100vh;

        display: flex;

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

        background: #f1eee5;

        text-align: center;
    }

    .mensaje-escritorio {
        color: #55483f;

        padding: 40px;
    }

    .mensaje-escritorio p {
        font-family: "Pinyon Script", cursive;

        font-size: 64px;

        margin-bottom: 25px;
    }

    .mensaje-escritorio h2 {
        font-family: "Cormorant Garamond", serif;

        font-size: 26px;
        font-weight: 400;
        line-height: 1.4;

        margin-bottom: 25px;
    }

    .mensaje-escritorio span {
        font-size: 14px;
        letter-spacing: 4px;
    }
}


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

@media (max-width: 700px) {

    .solo-escritorio {
        display: none;
    }

    .hero {
        display: block;
        overflow: visible;
    }

    .foto-portada {
        height: 85svh;
        overflow: visible;
    }

    .foto-principal {
        object-fit: cover;
        object-position: center center;
    }

    .monograma-portada {
        width: 76%;
        top: 4%;
    }

    .papel-rasgado {
        left: -10px;

        bottom: -175px;

        width: calc(100% + 20px);
        height: 250px;
    }

    .hortensias-portada {
        right: -8px;

        bottom: -170px;

        width: 60vw;
        max-width: 240px;
        z-index: 10;
    }


}



.saludo-invitacion {
    font-family: "Pinyon Script", cursive;
    font-size: 35px;
    line-height: 1;
    color: #55483f;
    margin-bottom: 14px;
    margin-top: 50px;
}

.texto-invitacion {
    font-family: "Cormorant Garamond", serif;
    font-size: 15px;
    line-height: 1.7;
    color: #55483f;
    margin-bottom: 22px;
}


.faltan-titulo {
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    letter-spacing: 4px;
    color: #9db8e0;
    margin-bottom: 16px;
    font-weight: bold;
    margin-top: 40px;
}

.contador {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.bloque-tiempo {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 58px;
}
.bloque-tiempo span {
    font-family: "Cormorant Garamond", serif;
    font-size: 42px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1;
}

.bloque-tiempo small {
    margin-top: 7px;
    font-family: "Cormorant Garamond", serif;
    font-size: 12px;
    letter-spacing: 2px;
      color: #9db8e0;
}

.separador {
    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
    line-height: 1;
      color: #9db8e0;
    margin-top: 2px;
}

@media (max-width: 700px) {
    .seccion-invitacion {
        padding: 18px 24px 65px;
    }

    .saludo-invitacion {
        font-size: 44px;
    }

    .texto-invitacion {
        font-size: 20px;
        font-weight: bold;

    }


   
    .bloque-tiempo span {
        font-size: 40px;
    }

    .bloque-tiempo small {
        font-size: 15px;
        letter-spacing: 1.5px;
    }

    .separador {
        font-size: 28px;
    }
}

.franja-azul {
    display: none;
}

.seccion-invitacion {
    position: relative;
    margin-top: -2px;
    z-index: 2;
    padding-top: 18px;
}

/* ========================================
   LUGAR DEL EVENTO
======================================== */

.seccion-lugar {
    position: relative;

    width: 100%;

    background: #49637a;
    color: #ffffff;

    text-align: center;

    padding: 5px 24px 50px;

    overflow: hidden;

    margin-top: -200px;
}

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

    width: 100%;
    max-width: 380px;

    margin: 0 auto;
}





/* DIBUJO DEL LOCAL */

.dibujo-local {
    display: block;

    width: 110%;
    max-width: 430px;
    height: auto;

    margin: 0 auto 32px;

    transform: translateX(-5%);

    opacity: .95;
}


/* TÍTULO */

.titulo-lugar {
    margin-bottom: 8px;

    font-family: "Pinyon Script", cursive;
    font-size: 39px;
    line-height: 1;

    color: #ffffff;
}


/* NOMBRE DEL LUGAR */

.nombre-lugar {
    margin-bottom: 10px;

    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 500;

    letter-spacing: 1px;

    color: #F3EBDD;
}


/* DIRECCIÓN */

.direccion-lugar {
    margin-bottom: 25px;

    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    line-height: 1.5;

    color: #ffffff;
}


/* BOTÓN MAPA */

.boton-mapa {
    display: inline-flex;

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

    min-width: 190px;

    padding: 12px 26px;

    border-radius: 7px;

    background: #F3EBDD;

    font-family: "Cormorant Garamond", serif;
    font-size: 13px;
    font-weight: 600;

    letter-spacing: 2px;

    color: #6B5545;

    text-decoration: none;

    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.boton-mapa:active {
    transform: scale(.97);
}


/* ========================================
   HORTENSIAS DEL LUGAR
======================================== */

.hortensias-lugar {
    position: absolute;

    left: -55px;
    bottom: -35px;

    width: 310px;
    max-width: 78vw;

    height: auto;

    z-index: 1;

    pointer-events: none;
}


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

@media (max-width: 700px) {

    .seccion-lugar {
        padding:
            38px
            22px
            145px;
    }

    .fecha-lugar {
        font-size: 40px;
        margin-bottom: 24px;
        margin-top: -20px;
        
    }

    .dibujo-local {
        width: 115%;

        margin-bottom: 28px;
        margin-top: -40px;

        transform: translateX(-6%);
    }

    .titulo-lugar {
        font-size: 38px;
    }

    .nombre-lugar {
        font-size: 19px;
    }

    .direccion-lugar {
        font-size: 15px;
    }

    .hortensias-lugar {
        left: -65px;
        bottom: -38px;

        width: 300px;
        max-width: 80vw;
    }
}

.seccion-lugar {
    position: relative;
    margin-top: -50px;
    border: none;
    outline: none;
}

.foto-seccion {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: -40px;
}

.foto-seccion-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin-top: -40px;
}

/* ========================================
   TRANSICIÓN ENTRE UBICACIÓN Y FOTO
======================================== */

.transicion-foto {
    position: relative;

    width: 100%;
    height: 75px;

    background: #49637a;

    z-index: 5;

    overflow: visible;
     border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  outline: none !important;
  margin-top: -1px;
}

/* PAPEL RASGADO */

.papel-transicion {
    position: absolute;

    left: -10px;
    bottom: -30px;
    top: -52px;

    width: calc(100% + 20px);
    height: 180px;

    object-fit: fill;

    z-index: 6;

    pointer-events: none;

    

}
/* HORTENSIAS */

.hortensias-transicion {
    position: absolute;

    left: -35px;
    bottom: -55px;
    top: -120px;
    

    width: 220px;
    height: auto;

    z-index: 7;

    pointer-events: none;
}

/* FOTO SIGUIENTE */

.seccion-foto {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.foto-seccion-img {
    display: block;
    width: 100%;
    height: auto;

    transform: translateY(-01px);
}


.papel-rasgado-azul {
    position: absolute;

    left: -10px;
    bottom: -52px;

    width: calc(100% + 20px);
    height: 120px;
    margin-top: -10px;

    object-fit: fill;

    z-index: 4;

    
}

.seccion-itinerario {
  width: 100%;
  background: #49637a;

  position: relative;
  z-index: 2;

  margin-top: -2px;   /* tapa la línea */
  padding: 35px 25px 100px; /* menos espacio arriba */

  color: #ffffff;
  text-align: center;

  box-shadow: 0 -3px 0 #49637a; /* termina de cubrir la unión */
}

.itinerario-contenido {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}




/* TÍTULO */
.itinerario-titulo {
  font-family: "Cormorant Garamond", serif;

  font-size: 42px;
  font-weight: 400;

  letter-spacing: 5px;

  margin-bottom: 55px;

  color: #ffffff;
}


/* LISTA */
.itinerario-lista {
  display: flex;
  flex-direction: column;
  gap: 26px;
}


.itinerario-item {
  display: flex;
  align-items: center;
  width: 100%;
}

.itinerario-hora {
  width: 70px;
  text-align: left;

  font-family: "Cormorant Garamond", serif;
  font-size: 27px;
  color: #ffffff;
}

.itinerario-linea {
  width: 140px;
  height: 1px;

  margin: 0 18px;

  background: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.itinerario-evento {
  width: 150px;

  text-align: right;

  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-style: normal;

  color: #ffffff;
}

.seccion-invitacion {
  background: #49637a;
  color: #fffaf3;

  width: 100%;
  text-align: center;

  padding: 70px 25px 90px;
}

.contenido-invitacion {
  max-width: 380px;
  margin: 0 auto;
}


/* FRASE DE ARRIBA */
.bendicion {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1.5;

  margin-bottom: 35px;

  color: #fffaf3;
}


/* PADRES */
.padres {
  display: flex;
  justify-content: space-between;
  gap: 25px;

  margin-bottom: 40px;
}

.padres div {
  width: 50%;
}

.padres p {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  line-height: 1.25;

  margin: 0;

  color: #fffaf3;
}


/* NOMBRES */
.nombres-invitacion {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin: 25px 0 35px;
}

.nombres-invitacion span {
  font-family: "Pinyon Script", cursive;

  font-size: 62px;
  line-height: .8;

  color: #fffaf3;
}

.nombres-invitacion small {
  font-family: "Cormorant Garamond", serif;

  font-size: 22px;

  margin: 10px 0;

  color: #fffaf3;
}


/* FRASE DE INVITACIÓN */
.frase-invitacion {
  font-family: "Cormorant Garamond", serif;

  font-size: 14px;
  letter-spacing: 1.7px;

  line-height: 1.5;

  margin-bottom: 40px;

  color: #fffaf3;
}

.fecha-boda {
  font-family: "Pinyon Script", cursive;
  font-size: 34px;
  font-weight: 400;

  color: #fffaf3;

  margin-top: 10px;
  margin-bottom: 40px;

  text-align: center;
  letter-spacing: 0;
}

.texto-biblico {
  margin-top: 20px;
  text-align: center;
}

.versiculo {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  line-height: 1.5;
  font-style: italic;

  color: #fffaf3;

  max-width: 330px;
  margin: 0 auto 14px;
  margin-top: 15%;
}

.cita-biblica {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  letter-spacing: 2px;

  color: #9db8e0;

  margin: 0;
}

.seccion-flores-foto {
  position: relative;
  width: 100%;
  background: #49637a;

  padding-top: 40px;
  padding-bottom: 10px;

  margin-top: -150px;

  overflow: hidden;
}

/* ========================================
   PAPEL RASGADO ARRIBA
======================================== */

.rasgado-superior {
  position: absolute;

  top: 55px;
  left: -10px;

  width: calc(100% + 20px);
  height: 150px;

  object-fit: fill;

  z-index: 4;

  pointer-events: none;
}


/* ========================================
   FOTO
======================================== */

.contenedor-foto-seccion {
  position: relative;
   
  width: 100%;

  margin-top: 80px;

  z-index: 2;

  overflow: hidden;
}

.foto-seccion2 {
  display: block;

  width: 100%;

   background: #F6F3E5;


}


/* ========================================
   PAPEL RASGADO ABAJO
======================================== */
.rasgado-inferior {
  position: absolute;

  bottom: -80px;
  left: -10px;
  
  width: calc(100% + 20px);
  height: 150px;

  object-fit: fill;

  z-index: 4;
}

.seccion-dresscode {
  width: 100%;
  background: #F6F3E5;

  padding: 80px 20px 100px;

  position: relative;
  overflow: hidden;
  border: none !important;
  box-shadow: none !important;
  margin-top: -20px;
}


/* CONTENEDOR GENERAL */
.dresscode-composicion {
  width: 100%;
  max-width: 390px;

  margin: 0 auto;

  position: relative;
}


/* TARJETA BLANCA GRANDE */
.tarjeta-principal {
  position: relative;

  width: 100%;
  height: 640px;

  background: rgba(255, 255, 255, 0.28);

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);

  overflow: visible;
}


/* ========================================
   CUADRO SUPERIOR
======================================== */

.formal-box {
  position: absolute;

  top: -20px;
  left: 0;

  width: 220px;

  background: #ffffff;

  padding: 22px 18px;

  text-align: center;

  color: #1f1f1f;

  z-index: 3;

  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.formal-titulo {
  font-family: "Cormorant Garamond", serif;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 2px;

  margin-bottom: 8px;

  color: #111111;
}

.formal-box p {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  line-height: 1.45;

  margin: 0;

  color: #202020;
}


/* ========================================
   CÓDIGO DE VESTIMENTA
======================================== */

.codigo-img {
  position: absolute;

  top: 100px;
  left: 78px;

  width: 190px;
  height: auto;

  z-index: 5;
}


/* ========================================
   DIBUJO TRAJE / VESTIDO
======================================== */
.dibujo-dresscode {
  position: absolute;

  top: 170px;
  right: 10px;

  width: 225px;
  height: auto;

  background: #ffffff;

  padding: 18px;

  border: 1px solid rgba(73, 99, 122, 0.10);

  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.10);

  z-index: 2;
}


/* ========================================
   CUADRO BOTAS Y COLORES
======================================== */

.western-box {
  position: absolute;

  left: 18px;
  bottom: 80px;

  width: 180px;

  background: #49637a;
  color: #F6F3E5;

  padding: 20px 14px;

  text-align: center;

  z-index: 6;

  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.western-aviso {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  line-height: 1.4;

  margin-bottom: 18px;

  color: #F6F3E5;
}

.no-usar {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  line-height: 1.4;

  margin-bottom: 12px;

  color: #F6F3E5;
}


/* COLORES */
.colores-no-usar {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.circulo {
  width: 22px;
  height: 22px;

  border-radius: 50%;

  border: 1px solid rgba(0, 0, 0, 0.18);
}

.blanco {
  background: #ffffff;
}

.beige {
  background: #e8dcc8;
}

.amarillo {
  background: #f3edbe;
}

.gris {
  background: #dfdfdc;
}


/* ========================================
   FLORES
======================================== */

.flores-dresscode {
  position: absolute;

  right: -8px;
  bottom: 8px;

  width: 170px;
  height: auto;

  z-index: 7;

  pointer-events: none;
}

.regalos-bloque {
  position: relative;

  width: 100%;
  max-width: 380px;

  height: 430px;

  margin: 90px auto 0;

  background: transparent;
}


/* TARJETA BLANCA */
.tarjeta-regalos {
  position: absolute;

  top: -40px;
  left: 25px;

  width: 330px;
  min-height: 250px;

  background: #ffffff;

  padding: 65px 28px 45px;

  text-align: center;

  box-shadow: 0 10px 24px rgba(0,0,0,.10);

  z-index: 2;
}


/* SELLO */
.sello-regalos {
  position: absolute;

  top: -40px;
  left: 50%;

  transform: translateX(-50%);

  width: 75px;
  height: auto;

  z-index: 4;
}


/* TEXTO */
.texto-regalos {
  font-family: "Cormorant Garamond", serif;

  font-size: 17px;
  line-height: 1.55;
  font-weight: 900;

  letter-spacing: 1px;

  color: #2b2b2b;

  margin: 0;
}


/* CALAS */
.calas-regalos {
  position: absolute;

  left: 20px;
  bottom: 80px;

  width: 210px;
  height: auto;

  z-index: 3;

  pointer-events: none;
}


/* CÍRCULO AZUL "REGALOS" */
.circulo-regalos {
  position: absolute;

  right: 15px;
  bottom: 110px;
  

  width: 190px;
  height: auto;

  z-index: 5;

  pointer-events: none;
}

.seccion-corte-foto {
    position: relative;
    width: 100%;
    margin-top: -150px;

    overflow: visible;

    
    background: #F6F3E5;
}

.seccion-corte-foto::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #F6F3E5;
    z-index: 20;
    pointer-events: none;
}

/* FOTO */
.foto-corte {
    display: block;
    width: 100%;
    height: auto;
}




.seccion-rsvp {
  width: 100%;
  background: #F6F3E5;
  padding: 70px 20px 90px;
  text-align: center;
  overflow: hidden;
  position: relative;
  margin-top: -2px;
}

.seccion-rsvp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: #F6F3E5;
  z-index: 20;
}

.rsvp-contenedor {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  height: 690px;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;

  outline: none !important;
  box-shadow: none !important;
}


/* FLORES */
.rsvp-flores {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}


/* TARJETA */
.rsvp-card {
  position: absolute;
  top: 105px;
  left: 50%;
  transform: translateX(-50%);
  width: 290px;
  background: #ffffff;
  border-radius: 0;
  padding: 22px 18px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(73, 99, 122, 0.35);
  z-index: 3;
}

.rsvp-titulo {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 600;
  color: #2a2a2a;
}

.rsvp-aviso {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: #49637a;
}


/* FORMULARIO */
.rsvp-formulario {
  text-align: left;
}

.rsvp-formulario label {
  display: block;
  margin-bottom: 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  color: #2e2e2e;
}

.rsvp-formulario input,
.rsvp-formulario select,
.rsvp-formulario textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #d5d5d5;
  background: #f7f7f7;
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  color: #2a2a2a;
  box-sizing: border-box;
  resize: none;
  outline: none;
}

.rsvp-formulario input:focus,
.rsvp-formulario select:focus,
.rsvp-formulario textarea:focus {
  border-color: #49637a;
  background: #ffffff;
}


/* BOTÓN */
.btn-rsvp {
  width: 100%;
  border: none;
  border-radius: 20px;
  background: #6f93b9;
  color: #ffffff;
  padding: 11px 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.btn-rsvp:hover {
  opacity: .95;
}

.btn-rsvp:active {
  transform: scale(.98);
}


/* SOBRE */
.rsvp-sobre {
  position: absolute;
  bottom: -230px;
  left: 50%;
  transform: translateX(-50%);
  width: 385px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}


/* TEXTO FINAL */
.rsvp-texto-final {
  max-width: 320px;
  margin: 200px auto 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  line-height: 1.2;
  color: #3c3129;
}

.rsvp-texto-final span {
  font-family: "Pinyon Script", cursive;
  font-size: 50px;
}

.imagen-final {
  display: block;

  width: 100%;
  height: auto;

  margin: 0;

  object-fit: cover;
  margin-top: -1px;
}

html,
body {
    overflow-x: clip;
}

.itinerario-hora small {
    font-size: 0.55em;
    letter-spacing: 1px;
    font-weight: inherit;
    vertical-align: baseline;
}

.itinerario-hora {
    white-space: nowrap;
}