/* ===================== FONTS ===================== */
@font-face {
    font-family: 'Sloop Script Pro';
    src: url('fonts/SloopScriptPro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'The Seasons';
    src: url('fonts/The Seasons Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'The Seasons';
    src: url('fonts/The Seasons Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'The Seasons';
    src: url('fonts/The Seasons Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'The Seasons';
    src: url('fonts/The Seasons Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'The Seasons';
    src: url('fonts/The Seasons Bold Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'The Seasons';
    src: url('fonts/The Seasons Light Italic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* ===================== RESET ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===================== INDEX ===================== */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    gap: 16px;
}

.container {
    border-radius: 8px;
    text-align: center;
    width: 100%;
}

.container h1 {
    color: #333;
    font-size: 1.5rem;
}

.nav-module {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-module a {
    display: block;
    padding: 12px 20px;
    background-color: #4a90e2;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.nav-module a:hover {
    background-color: #357abd;
}

/* ===================== PORTADA ===================== */
#portada {
    width: 100%;
    min-height: max(1685px, 100vh);
    background-image: url('images/fondo.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

#portada2 {
    width: 100%;
    min-height: max(1161px, 100vh);
    background-image: url('images/fondo.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

/* ===================== CONTENEDOR UNIVERSAL ===================== */
.seccion-contenido {
    width: 100%;
    max-width: 502px;
    min-height: max(1161px, 100vh);
    position: relative;
}

/* Grupo top */
.portada-top {
    position: absolute;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Nombre */
.portada-nombre {
    color: #39191E;
    text-align: center;
    user-select: none;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.18em;
}

.pn-grupo {
    display: inline-flex;
    align-items: baseline;
}

.pn-inicial {
    font-family: 'Sloop Script Pro', cursive;
    font-style: normal;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    color: #39191E;
}

.pn-resto {
    font-family: 'Cormorant SC', serif;
    font-weight: 400;
    font-size: clamp(2.4rem, 6.4vw, 4rem);
    letter-spacing: 0.08em;
    color: #39191E;
}

.pn-amp {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.6rem, 4.2vw, 2.6rem);
    color: #39191E;
    margin: 0 0.1em;
}

/* Sobre */
.portada-sobre {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sobre-imagen {
    width: 643px;
    height: 642px;
}

.sobre-imagen img {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== CONTAINERMUSICFLOR ===== */
.containermusicflor {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hoja {
    position: absolute;
    width: 265px;
    height: 243px;
    transform: rotate(15deg);
    z-index: 999;
}

.hoja img {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== REPRODUCTOR ===== */
.imagen-container {
    width: 446px;
    height: 271px;
    background-image: url('images/papel.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 32px;
}

.player-texto {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #3b1f1f;
    text-align: center;
    margin-bottom: 14px;
}

.player-barra {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: rgba(59,31,31,0.25);
    border-radius: 2px;
}

.player-progreso {
    height: 100%;
    width: 0%;
    background-color: #3b1f1f;
    border-radius: 2px;
    transition: width 0.3s linear;
}

.player-punto {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #3b1f1f;
    border-radius: 50%;
    transition: left 0.3s linear;
}

.player-controles {
    display: flex;
    align-items: center;
    gap: 18px;
}

.player-btn {
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #3b1f1f;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.player-btn:hover { opacity: 1; }

.player-btn-play {
    -webkit-appearance: none;
    appearance: none;
    width: 48px;
    height: 48px;
    box-sizing: border-box;
    background-color: #3b1f1f;
    color: #fff;
    border-radius: 50%;
    opacity: 1;
    padding: 0;
    margin: 0;
    position: relative;
}

.player-btn-play span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    pointer-events: none;
}

/* ===== CONTAINER PERGAMINO ===== */
.containerPergamino {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Tarjeta principal */
.continerDatagral {
    position: relative;
    z-index: 2;
    width: 373px;
    height: 505px;
    background-image: url('images/papel2.webp');
    background-size: cover;
    background-position: center;
    font-size: 12px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.datagral-cita {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
 font-size: 14px;
    color: #3b1f1f;
    margin-top: 70px;
}



.datagral-bendicion {
    font-family: 'Abhaya Libre', serif;
    font-size: 12px;
    color: #3b1f1f;
    font-weight: 400;
    letter-spacing: 0.06em;
}




.datagral-padres {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}


.datagral-familia {
    flex: 1;
    font-family: 'Abhaya Libre', serif;
    font-size: 0.75rem;
    color: #3b1f1f;
    line-height: 1.8;
}

.datagral-familia-titulo {
    font-family: 'Abhaya Libre', serif;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.datagral-nombres {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.4rem, 7vw, 3.6rem);
    color: #3b1f1f;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    width: 100%;
}

.continernames{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 80%;
    gap: 30px;
}


.datagral-amp {
    font-size: 0.55em;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
}

.nameNovia{
    margin-left: 40px;
}

.datagral-invitacion {
    font-family: 'Abhaya Libre', serif;
    font-size: 0.95rem;
    color: #3b1f1f;
}

/* Decoraciones */
.containerDecoracion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.deco-pergamino {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 272px;
    height: 442px;
    z-index: 1;
}

.deco-colgante {
    position: absolute;
    width: 199px;
    height: 317px;
    background-image: url('images/colgante.webp');
    background-size: cover;
    background-position: center;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deco-colgante-texto {
    font-family: 'Cormorant SC', serif;
    font-size: 0.65rem;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

/* ===================== PORTADA 2 — CALENDARIO ===================== */
.cal-contenedor {
    width: 451px;
    height: 548px;
    background-image: url('images/calendario.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8% 10%;
    gap: 12px;
}

.cal-cita {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
     line-height: 1.0;
    color: #5a1a2a;
    text-align: center;
    line-height: 1.6;
    margin-top: 35px;
}



.cal-subtitle {
    font-family: 'Pinyon Script', cursive;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    color: #6b1f2a;
}

.cal-mes-titulo {
    font-family: 'The Seasons', serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #1a0a0a;
}

.cal-grid {
    width: 60%;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    margin-top: 9px;
}



.cal-th {
    font-size: clamp(0.5rem, 1.2vw, 0.7rem);
    font-weight: 600;
    color: #3b1f1f;
    letter-spacing: 0.05em;
    padding-bottom: 6px;
}

.cal-d {
    font-size: clamp(0.6rem, 1.4vw, 0.85rem);
    color: #3b1f1f;
    padding: 4px 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.cal-d.v { opacity: 0; }

.cal-hoy {
    position: relative;
    color: #3b1f1f;
    font-weight: 600;
    z-index: 1;
}

.cal-hoy::before {
    content: '♥';
    position: absolute;
    font-size: 2.2em;
    color: transparent;
    -webkit-text-stroke: 1px #6b1f2a;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    z-index: -1;
}

/* ===================== ICONO BLOQUE ===================== */
.containercalendarioIcon {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.icono-bloque {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
}

.icono-hoja2 {
    position: absolute;
    width: 263px;
    height: 223px;
    transform: rotate(-45deg);
    z-index: 10;
}

.icono-sello3 {
    position: absolute;
    width: 177px;
    height: 96px;
    z-index: 10;
}

.icono-sobre-wrapper {
    position: relative;
    width: 100%;
}

.icono-sobrecerrado {
    width: 350px;
    height: auto;
    margin-left: 32%;
}



.icono-sello {
    position: absolute;
    width: 127px;
    height: 89px;
    transform: translateX(-50%);
    z-index: 30;
}

.icono-papel {
    width: 402px;
    height: 297px;
    background-image: url('images/papel3.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 28px 36px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    z-index: 10;
}

.ceremonia-titulo {
    font-family: 'Cormorant Garamond', serif;
      font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: #1a0a0a;
    text-align: center;
}



.ceremonia-info {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    justify-content: center;
}

.ceremonia-hora {
    font-family: 'Lobster Two', cursive;
    font-size: 1.1rem;
    color: #3b1f1f;
    white-space: nowrap;
}

.ceremonia-sep {
    width: 1px;
    height: 45px;
    background-color: #3b1f1f;
    opacity: 0.4;
}

.ceremonia-lugar {
    font-family: 'Abhaya Libre', serif;
    font-size: 0.7rem;
    color: #3b1f1f;
    line-height: 1.5;
}

.ceremonia-venue {
    font-family: 'Lobster Two', cursive;
    font-weight: 400;
    font-size: 20px;
}

.btn-ubicacion {
    display: inline-block;
     padding: 5px 19px;
    border: 1px solid #3b1f1f;
    color: #3b1f1f;
    text-decoration: none;
    font-family: 'Abhaya Libre', serif;
     letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
    font-size: 15px;
}


.btn-ubicacion:hover {
    background: #3b1f1f;
    color: #fff;
}

/* ===================== SECCIÓN 3 — VESTIMENTA ===================== */
#portada3 {
    width: 100%;
    min-height: max(1161px, 100vh);
    background-image: url('images/fondo.webp');
    background-size: cover;
    background-position: top center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.vest-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 380px;
}

.vest-card {
    position: relative;
    z-index: 3;
    width: 340px;
    height: auto;
    background-color: #3e1520;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.vest-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #fff;
}

.vest-texto {
    font-family: 'Abhaya Libre', serif;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

.vest-btn {
    display: inline-block;
    padding: 12px 36px;
    border: 1px solid rgba(255,255,255,0.6);
    font-family: 'Abhaya Libre', serif;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border-radius: 20px;
    transition: background 0.2s;
}

.vest-btn:hover {
    background: rgba(255,255,255,0.15);
}

.vest-hoja2 {
    position: absolute;
    width: 164px;
    height: 139px;
    z-index: 3;
    transform: rotate(-60deg);
}

.vest-colgante {
    position: absolute;
    width: 221px;
    height: 352px;
    z-index: 4;
    background-image: url('images/colgante.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.vest-colgante-txt {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.55rem;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.5;
}

.vest-papel3 {
    position: absolute;
    width: 226px;
    height: 196px;
    z-index: 2;
    background-image: url('images/papel3.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
}

.vest-recomendacion {
    font-family: 'Abhaya Libre', serif;
    font-size: 0.8rem;
    color: #3b1f1f;
    text-align: center;
    line-height: 1.6;
}

/* ===== REGALOS ===== */
.regalo-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
}

.regalo-card {
    position: relative;
    z-index: 2;
    background-color: #3e1520;
    width: 346px;
    height: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.regalo-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.regalo-icono {
    font-size: 1.8rem;
}

.regalo-intro {
    font-family: 'Abhaya Libre', serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

.regalo-sello {
    position: absolute;
    width: 166px;
    height: 115px;
    z-index: 4;
}

.regalo-colgante {
    position: absolute;
    width: 205px;
    height: 327px;
    z-index: 4;
    background-image: url('images/colgante.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.regalo-colgante-txt {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.55rem;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.5;
}

.regalo-papel4 {
    position: relative;
    z-index: 2;
    width: 378px;
    height: 319px;
    background-image: url('images/papel4.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 28px;
    align-self: flex-end;
}

.regalo-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #1a0a0a;
}

.regalo-datos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-family: 'Abhaya Libre', serif;
    font-size: 0.9rem;
    color: #3b1f1f;
    letter-spacing: 0.04em;
    line-height: 1.7;
    text-align: center;
}

.regalo-hoja2 {
    width: 211px;
    height: 179px;
    z-index: 3;
    transform: rotate(-50deg);
    margin-top: -80px;
    margin-left: 270px;
}

/* ===================== ITINERARIO ===================== */
.itin-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 600px;
}

.itin-pergamino {
    position: absolute;
    width: 330px;
    height: 536px;
    z-index: 1;
    opacity: 0.9;
}

.itin-card {
    position: relative;
    z-index: 2;
    width: 354px;
    height: 557px;
    background-color: #3e1520;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    overflow: hidden;
}

.itin-titulo {
    font-family: 'The Seasons', serif;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: #fff;
    text-align: center;
}

.itin-timeline {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.itin-item {
    display: grid;
    grid-template-columns: 1fr 24px 1fr;
    align-items: center;
    min-height: 64px;
}

.itin-lado {
    padding: 8px 10px;
}

.itin-lado-izq { text-align: right; padding-left: 16px; }
.itin-lado-der { text-align: left; }
.itin-text-right { text-align: right; padding-right: 16px; }

.itin-icon {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.85);
}

.itin-icon-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.itin-hora {
    font-family: 'Abhaya Libre', serif;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
}

.itin-evento {
    font-family: 'Abhaya Libre', serif;
    font-size: 0.65rem;
    color: #fff;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.itin-linea {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
}

.itin-linea::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: rgba(255,255,255,0.3);
}

.itin-ultimo .itin-linea::before {
    bottom: 50%;
}

.itin-punto {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    position: relative;
    z-index: 1;
}

.itin-sello4 {
    position: absolute;
    width: 216px;
    height: 118px;
    z-index: 3;
}

.itin-countdown {
    text-align: center;
}

.itin-faltan {
    font-family: 'The Seasons', serif;
    font-size: clamp(1.4rem, 4vw, 2rem);
    color: #111;
    letter-spacing: 0.25em;
}

.itin-cd-grid {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    justify-content: center;
}

.itin-cd-bloque {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.itin-cd-num {
    font-family: 'The Seasons', serif;
    font-weight: 700;
    font-size: clamp(3.5rem, 12vw, 7rem);
    color: #111;
    line-height: 1;
}

.itin-cd-sep {
    font-family: 'The Seasons', serif;
    font-weight: 700;
    font-size: clamp(3.5rem, 12vw, 7rem);
    color: #111;
    line-height: 1;
}

.itin-cd-label {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.55rem, 1.2vw, 0.7rem);
    letter-spacing: 0.18em;
    color: #111;
}

/* ===================== SOLO ADULTOS ===================== */
.adultos-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.adultos-papel {
    background-image: url('images/papel3.webp');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 326px;
    height: 241px;
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.adultos-titulo {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: #3e1520;
    text-align: center;
}

.adultos-subtitulo {
    font-family: 'Abhaya Libre', serif;
    font-size: 0.55rem;
    letter-spacing: 0.12em;
    color: #3e1520;
    text-align: center;
    text-transform: uppercase;
}

.adultos-gracias {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: #3e1520;
    text-align: center;
}

.adultos-hoja2 {
    position: absolute;
    width: 300px;
    height: 291px;
    z-index: 3;
    transform: rotate(40deg);
}

/* ===================== RSVP ===================== */
.rsvp-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 40px;
}

.rsvp-card {
    position: relative;
    z-index: 2;
    width: 316px;
    height: 171px;
    background-color: #3e1520;
    padding: 18px 20px;
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.rsvp-cita {
    font-family: 'Great Vibes', cursive;
    font-size: 1.9rem;
    color: #fff;
    line-height: 1.4;
    text-align: center;
}

.rsvp-sello5 {
    position: absolute;
    width: 100px;
    height: auto;
    z-index: 3;
     top: 122px;
    right: -10px;
}



.rsvp-sobre-wrapper {
    position: relative;
    width: auto;
    height: auto;
}

.rsvp-sobre2 {
    width: 95%;
    display: block;
}

.rsvp-content {
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    width: 85%;
}

.rsvp-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #1a0a0a;
    text-align: center;
}

.rsvp-desc {
    font-family: 'Abhaya Libre', serif;
    font-size: 0.95rem;
    color: #3b1f1f;
    text-align: center;
    line-height: 1.6;
    letter-spacing: 0.05em;
}

.rsvp-btn {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid #3e1520;
    color: #3e1520;
    text-decoration: none;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.2s, color 0.2s;
}

.rsvp-btn:hover {
    background-color: #3e1520;
    color: #fff;
}

/* ===================== CEREMONIA BLOQUE ===================== */
.ceremonia-bloque {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

/* ===================== VENUES ===================== */
.cere-venues {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.cere-venue-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.cere-venue-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.cere-venue-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3b1f1f;
}

/* ===================== MODAL ===================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-overlay.modal-activo {
    display: flex;
}

.modal-box {
    background-image: url('images/papel2.webp');
    background-size: cover;
    background-position: center;
    padding: 44px 36px 36px;
    max-width: 340px;
    width: 90%;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.modal-cerrar {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(62,21,32,0.12);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #3b1f1f;
    cursor: pointer;
    line-height: 1;
    opacity: 0.85;
    transition: opacity 0.2s, background 0.2s;
}

.modal-cerrar:hover { opacity: 1; }

.modal-titulo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #3b1f1f;
}

.modal-hora {
    font-family: 'Lobster Two', cursive;
    font-size: 1.6rem;
    color: #3b1f1f;
}

.modal-venue {
    font-family: 'Lobster Two', cursive;
    font-size: 1.1rem;
    color: #3b1f1f;
}

.modal-sub {
    font-family: 'Abhaya Libre', serif;
    font-size: 0.85rem;
    color: #5a3535;
    font-style: italic;
}

.modal-dir {
    font-family: 'Abhaya Libre', serif;
    font-size: 0.85rem;
    color: #3b1f1f;
    line-height: 1.6;
}

.modal-link {
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid #3b1f1f;
    color: #3b1f1f;
    text-decoration: none;
    font-family: 'Abhaya Libre', serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    border-radius: 20px;
    margin-top: 6px;
    transition: background 0.2s, color 0.2s;
}

.modal-link:hover {
    background: #3b1f1f;
    color: #fff;
}

/* Modal vestimenta */
.modal-vest-box {
    max-width: 560px;
    width: 94%;
}

.modal-vest-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.modal-vest-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.modal-vest-img {
    width: auto;
    max-width: 180px;
    height: 210px;
    object-fit: cover;
    object-position: top;
    border-radius: 4px;
}

.modal-vest-texto {
    font-family: 'Abhaya Libre', serif;
    font-size: 0.82rem;
    color: #3b1f1f;
    text-align: center;
    line-height: 1.5;
}

/* ===== MODAL BIENVENIDA ===== */
.modal-bienvenida {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.7s ease;
}

.modal-bienvenida.oculto {
    opacity: 0;
    pointer-events: none;
}


body.modal-bienvenida-open { overflow: hidden; }

@keyframes mb-parpadeo {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

.mb-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 651px) {
    .mb-wrapper {
        max-width: 800px;
        height: 100%;
    }
    .mb-flor {
        position: absolute;
        top: 0;
        left: 0;
        width: 210px;
        transform-origin: top left;
        pointer-events: none;
    }

    .mb-hoja {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 170px;
        pointer-events: none;
    }

    .mb-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        z-index: 1;
    }

    .mb-textos {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    .mb-titulo {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1rem;
        letter-spacing: 0.3em;
        color: #3e1520;
        text-transform: uppercase;
    }

    .mb-nombres {
        font-family: 'Great Vibes', cursive;
        font-size: 3.8rem;
        color: #3e1520;
        line-height: 1.1;
    }

    .mb-fecha {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1rem;
        letter-spacing: 0.25em;
        color: #3e1520;
        text-transform: uppercase;
    }

    .mb-sobre-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        cursor: pointer;
    }

    .mb-sobre {
        width: 320px;
    }

    .mb-ver {
        font-family: 'Cormorant Garamond', serif;
        font-size: 0.9rem;
        letter-spacing: 0.3em;
        color: #3e1520;
        font-weight: 700;
        text-transform: uppercase;
        animation: mb-parpadeo 1.4s ease-in-out infinite;
    }

    .mb-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .mb-reservado {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.2rem;
        color: #3e1520;
    }

    .mb-pases-box {
        width: 65px;
        height: 65px;
        border: 1.5px solid #3e1520;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Cormorant Garamond', serif;
        font-size: 2.2rem;
        color: #3e1520;
    }

    .mb-honor {
        font-family: 'Cormorant Garamond', serif;
        font-size: 0.9rem;
        letter-spacing: 0.3em;
        color: #3e1520;
        text-transform: uppercase;
    }
}

/* Modal Acceso QR */
.modal-acceso-box {
    max-width: 320px;
    width: 90%;
    text-align: center;
    gap: 10px;
}

.modal-acceso-qr {
    width: 180px;
    height: 180px;
    margin: 8px auto;
    display: block;
}

.modal-acceso-nombre {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: #3e1520;
}

.modal-acceso-info {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.modal-acceso-mesa {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #3e1520;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Modal RSVP formulario */
.modal-rsvp-box {
    max-width: 380px;
    width: 92%;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    text-align: left;
}

.rsvp-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rsvp-label {
    font-family: 'Abhaya Libre', serif;
    font-size: 0.85rem;
    color: #3b1f1f;
    letter-spacing: 0.05em;
}

.rsvp-opcional {
    font-size: 0.75rem;
    color: #7a5050;
}

.rsvp-select,
.rsvp-textarea {
    width: 100%;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(62,21,32,0.3);
    border-radius: 4px;
    padding: 8px 10px;
    font-family: 'Abhaya Libre', serif;
    font-size: 0.85rem;
    color: #3b1f1f;
    outline: none;
}

.rsvp-textarea {
    resize: none;
}

.rsvp-submit {
    align-self: center;
    padding: 10px 32px;
    background: #3e1520;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-family: 'Abhaya Libre', serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
}

.rsvp-submit:hover  { background: #5c2030; }
.rsvp-submit:disabled { opacity: 0.6; cursor: default; }

.rsvp-qr {
    width: 130px;
    height: 130px;
    background: #fff;
    padding: 6px;
    border-radius: 4px;
}

/* ===================== FOOTER ===================== */
#fh5co-footer {
    width: 100%;
    text-align: center;
}

#fh5co-footer p {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin: 0;
}

.containerFoot {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 50px;
    height: 70px;
}

#fh5co-footer .copyright .block {
    display: block;
}

#noir small {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
}

/* ===================== DESKTOP 502px ===================== */
#portada2 { top: -27px; }
#portada3 { top: -43px; }

.portada-top         { top: 54px; }
.portada-sobre       { top: -41px; }
.containermusicflor  { top: -41px; }
.containerPergamino  { top: -27px; }

.portada-nombre { margin-bottom: 65px; }

.sobre-imagen {
    width: 90%;
    height: 608px;
    aspect-ratio: 643 / 642;
}

.hoja {
    width: 224px;
    top: 204px;
    right: 81px;
}

.imagen-container {
    width: 407px;
    height: 308px;
}

.continerDatagral {
    width: 353px;
    height: 478px;
    padding: 28px 32px;
    gap: 12px;
    margin-right: 109px;
}






.datagral-familia {
    font-size: 12px;
    line-height: 1.6;
}

.datagral-familia-titulo {
    font-size: 10px;
    margin-bottom: 3px;
}



.datagral-invitacion { font-size: 13px; }

.deco-pergamino {
    width: 258px;
    height: 418px;
    margin-right: 81px;
    margin-top: 54px;
}

.deco-colgante {
    width: 189px;
    height: 300px;
    right: 14px;
    bottom: -115px;
}

.deco-colgante-texto { margin-top: -95px; }

.cal-contenedor {
    width: 403px;
    height: 491px;
    padding: 7% 8%;
    gap: 8px;
    margin-top: -41px;
    margin-right: 109px;
}





.cal-subtitle        { font-size: 1.6rem; }

.cal-mes-titulo {
    font-size: 1.4rem;
    letter-spacing: 0.08em;
}

.cal-th {
    font-size: 0.6rem;
    padding-bottom: 4px;
}

.cal-d {
    font-size: 0.75rem;
    padding: 3px 1px;
}

.icono-bloque        { margin-top: -41px; }

.icono-hoja2 {
    width: 235px;
    height: 200px;
    right: 41px;
}

.icono-sello3 {
    width: 159px;
    height: 87px;
    top: 54px;
    left: 5%;
}



.icono-sello {
    width: 114px;
    height: 79px;
    bottom: 68px;
    right: 41px;
}

.icono-papel {
    width: 360px;
    height: 266px;
    padding: 27px 27px 19px;
    gap: 7px;
    margin-top: -109px;
    margin-right: 68px;
}



.ceremonia-info      { gap: 14px; }
.ceremonia-hora      { font-size: 0.95rem; }
.ceremonia-sep       { height: 38px; }

.ceremonia-lugar {
    font-size: 10px;
    line-height: 1.4;
}



.itin-wrapper        { margin-top: 68px; }

.itin-card {
    width: 316px;
    height: 499px;
    padding: 22px 19px;
    gap: 11px;
    margin-left: 27px;
}

.itin-titulo {
    font-size: 1.4rem;
    letter-spacing: 0.2em;
}

.itin-item {
    min-height: 60px;
    grid-template-columns: 1fr 24px 1fr;
}

.itin-lado           { padding: 5px 8px; }
.itin-icon           { font-size: 1.4rem; }
.itin-hora           { font-size: 0.75rem; }

.itin-evento {
    font-size: 0.6rem;
    letter-spacing: 0.04em;
    margin-top: 3px;
}

.itin-punto {
    width: 8px;
    height: 8px;
    margin-top: 24px;
}

.itin-pergamino {
    width: 296px;
    height: 480px;
    left: 14px;
    top: 136px;
}

.itin-sello4 {
    width: 193px;
    height: 106px;
    bottom: 200px;
    right: 27px;
}

.itin-countdown      { margin-top: 190px; margin-bottom: 50px; }
.itin-faltan         { margin-bottom: 16px; }
.itin-cd-label       { margin-top: 5px; }

.vest-wrapper        { margin-top: 68px; }

.vest-card {
    width: 310px;
    height: auto;
    padding: 28px 24px;
    gap: 14px;
    margin-right: 136px;
}

.vest-titulo         { font-size: 1.25rem; }
.vest-texto          { font-size: 0.8rem; }

.vest-btn {
    padding: 9px 28px;
    font-size: 0.75rem;
}

.vest-hoja2 {
    width: 147px;
    height: 125px;
    top: 0;
    right: 41px;
}

.vest-colgante {
    width: 198px;
    height: 315px;
    bottom: -54px;
    left: 109px;
}

.vest-colgante-txt   { margin-top: -109px; }

.vest-papel3 {
    width: 238px;
    height: 175px;
    right: 14px;
    bottom: 81px;
}

.regalo-wrapper      { margin-top: 122px; }

.regalo-card {
    width: 309px;
    height: auto;
    padding: 11px 16px;
    gap: 7px;
    margin-right: 95px;
}

.regalo-icono        { font-size: 2.2rem; }
.regalo-intro        { font-size: 0.85rem; }

.regalo-sello {
    width: 148px;
    height: 103px;
    top: 122px;
    right: 129px;
}

.regalo-colgante {
    width: 183px;
    height: 292px;
    left: 0;
    top: 136px;
}

.regalo-colgante-txt { margin-top: -81px; }

.regalo-papel4 {
    width: 338px;
    height: 285px;
    margin-top: 14px;
    margin-right: 27px;
}

.regalo-hoja2 {
    width: 189px;
    height: 160px;
    bottom: 0;
    right: 0;
}

.adultos-papel {
    width: 292px;
    height: 216px;
    padding: 27px 33px;
    gap: 8px;
    margin-left: 68px;
    margin-top: -109px;
}

.adultos-titulo      { font-size: 1.6rem; }
.adultos-subtitulo   { font-size: 0.55rem; }
.adultos-gracias     { font-size: 1.6rem; }

.adultos-hoja2 {
    width: 204px;
    height: 163px;
    bottom: -27px;
    left: 14px;
}

.rsvp-wrapper        { margin-top: 54px; }

.rsvp-card {
    width: 282px;
    height: 153px;
    padding: 16px 19px;
    margin-top: -41px;
    margin-left: 14px;
}

.rsvp-cita           { font-size: 1.4rem; }



.rsvp-sobre-wrapper  { margin-top: 75px; }
.rsvp-content        { left: 15px; top: 40%;}
.rsvp-btn            { margin-top: 5px; }

.containerFoot {
    gap: 41px;
    margin-bottom: 20px;
}

#noir small          { margin-bottom: 41px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 650px) {

    /* ===== MODAL BIENVENIDA ===== */
    .mb-flor {
        position: absolute;
        top: 0;
        left: 0;
        width: 160px;
        transform-origin: top left;
        pointer-events: none;
    }

    .mb-hoja {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 130px;
        pointer-events: none;
    }

    .mb-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        z-index: 1;
    }

    .mb-textos {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
        margin-top: 60px;
    }

    .mb-titulo {
        font-family: 'Cormorant Garamond', serif;
        font-size: 0.85rem;
        letter-spacing: 0.3em;
        color: #3e1520;
        text-transform: uppercase;
    }

    .mb-nombres {
        font-family: 'Great Vibes', cursive;
        font-size: 2.8rem;
        color: #3e1520;
        line-height: 1.1;
    }

    .mb-fecha {
        font-family: 'Cormorant Garamond', serif;
        font-size: 0.85rem;
        letter-spacing: 0.25em;
        color: #3e1520;
        text-transform: uppercase;
    }

    .mb-sobre-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        cursor: pointer;
    }

    .mb-sobre {
        width: 260px;
    }

    .mb-ver {
        font-family: 'Cormorant Garamond', serif;
        font-size: 0.75rem;
        letter-spacing: 0.3em;
        color: #3e1520;
        font-weight: 700;
        text-transform: uppercase;
        animation: mb-parpadeo 1.4s ease-in-out infinite;
    }

    .mb-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    .mb-reservado {
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.3rem;
        color: #3e1520;
    }

    .mb-pases-box {
        width: 52px;
        height: 52px;
        border: 1.5px solid #3e1520;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Cormorant Garamond', serif;
        font-size: 1.8rem;
        color: #3e1520;
    }

    .mb-honor {
        font-family: 'Cormorant Garamond', serif;
        font-size: 0.75rem;
        letter-spacing: 0.3em;
        color: #3e1520;
        text-transform: uppercase;
    }
}

@media (max-width: 500px) {

    /* ===== VEST ===== */
    .vest-wrapper    { overflow: hidden; }

    .vest-card       { width: 260px; margin-right: 110px; }

    .vest-hoja2 {
        width: 120px;
        height: 102px;
        right: 30px;
    }

    .vest-colgante {
        width: 165px;
        height: 262px;
        bottom: -45px;
        left: 90px;
    }

    .vest-papel3 {
        width: 198px;
        height: 146px;
        right: 10px;
        bottom: 68px;
    }
}
@media (max-width: 470px) {
    .icono-sobre-wrapper {
        width: 100%;
        overflow: hidden;
    }
    .icono-sobrecerrado {
        width: 250px;
        height: auto;
    }

     .icono-sello3 {
       
        top: 0px;
        
    }
   
}
@media (max-width: 430px) {
    .rsvp-sello5 {
   
    right: 0px;
}

}


@media (max-width: 400px) {

    #portada{
        min-height: max(1200px, 100vh);
    }

    #portada2 { top: -20px; }
    #portada3 { top: -36px; }

    .portada-top      { top: 40px; }
    .portada-sobre    { top: -30px; }
    .containermusicflor  { top: -30px; }
    .containerPergamino  { top: -20px; }

    .portada-nombre {
        margin-bottom: 48px;
    }

    .pn-inicial { font-size: 2.6rem; }
    .pn-resto   { font-size: 2.1rem; }
    .pn-amp     { font-size: 1.4rem; }

    .sobre-imagen {
        width: 90%;
        height: 448px;
        aspect-ratio: 643 / 642;
    }

    .hoja {
        width: 165px;
        height: auto;
        top: 150px;
        right: 60px;
    }

    .imagen-container {
        width: 300px;
        height: 227px;
    }

    .cal-contenedor {
        margin-top: -30px;
        margin-right: 80px;
    }

    .cal-grid {
        margin-top: 8px;
    }

    .icono-bloque { margin-top: -30px; }

    .icono-papel {
        margin-top: -80px;
        margin-right: 50px;
    }

    .vest-card   { margin-right: 100px; }
    .regalo-card { margin-right: 70px; }

    .continerDatagral {
        width: 260px;
        height: 352px;
        background-size: 100% 100%;
        padding: 12px 15px;
        gap: 4px;
        justify-content: center;
        margin-right: 80px;
        margin-bottom: auto;
    }

    .datagral-cita {
        font-size: 13px;
        line-height: 1.4;
        margin-top: 60px;
    }

    .datagral-bendicion {
        font-size: 11px;
        letter-spacing: 0.06em;
    }

    .datagral-padres {
        gap: 0px;
        width: 90%;
    }

    .datagral-familia {
        font-size: 11px;
        line-height: 1.5;
    }

    .datagral-familia-titulo {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .datagral-nombres {
        font-size: 2rem;
        line-height: 1.05;
    }

    .datagral-amp {
        font-size: 0.5em;
        margin: 0;
    }

    .datagral-invitacion {
        font-size: 12px;
        line-height: 1.4;
        width: 90%;
    }

    .deco-pergamino {
        width: 190px;
        height: 308px;
        margin-right: 60px;
        margin-top: 40px;
    }

    .deco-colgante {
        width: 139px;
        height: 221px;
        right: 10px;
        bottom: -85px;
    }

    .deco-colgante-texto {
        margin-top: -70px;
    }

    .cal-contenedor {
        width: 297px;
        height: 362px;
        aspect-ratio: unset;
        padding: 7% 8%;
        gap: 6px;
        display: flex;
        justify-content: center;
        align-items: center;
        left: 0;
    }

    .cal-cita {
        font-size: 12px;
        line-height: 1.0;
        margin-top: 0;
    }

    .cal-subtitle {
        font-size: 1.2rem;
    }

    .cal-mes-titulo {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }

    .cal-th {
        font-size: 0.45rem;
        padding-bottom: 3px;
    }

    .cal-d {
        font-size: 0.55rem;
        padding: 2px 1px;
    }

    .cal-hoy::before {
        font-size: 1.9em;
    }

    .icono-hoja2 {
        width: 173px;
        height: 147px;
        right: 30px;
    }

    .icono-sobrecerrado {
        
        margin-left: 35%;
    }

    .icono-sello3 {
        width: 117px;
        height: 64px;
        top: 40px;
        left: 5%;
    }

    .icono-sello {
        width: 84px;
        height: 58px;
        bottom: 50px;
        right: 30px;
    }

    .icono-papel {
        width: 265px;
        height: 196px;
        padding: 20px 20px 14px;
        gap: 5px;
    }

    .ceremonia-titulo {
        font-size: 7px;
        letter-spacing: 0.07em;
    }

    .ceremonia-info {
        gap: 10px;
    }

    .ceremonia-hora {
        font-size: 0.7rem;
    }

    .ceremonia-sep {
        height: 28px;
    }

    .ceremonia-lugar {
        font-size: 7px;
        line-height: 1.4;
    }

    .btn-ubicacion {
        padding: 7px 18px;
        font-size: 11px;
        letter-spacing: 0.08em;
    }

    .itin-wrapper {
        margin-top: 50px;
    }

    .itin-card {
        width: 233px;
        height: 368px;
        padding: 16px 14px;
        gap: 8px;
        margin-left: 20px;
    }

    .itin-titulo {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    .itin-item {
        min-height: 44px;
        grid-template-columns: 1fr 18px 1fr;
    }

    .itin-lado {
        padding: 4px 6px;
    }

    .itin-icon-img {
        width: 24px;
        height: 24px;
    }

    .itin-icon {
        font-size: 1rem;
    }

    .itin-hora {
        font-size: 0.65rem;
    }

    .itin-evento {
        font-size: 0.55rem;
        letter-spacing: 0.04em;
        margin-top: 2px;
    }

    .itin-punto {
        width: 6px;
        height: 6px;
        margin-top: 18px;
    }

    .itin-pergamino {
        width: 218px;
        height: 354px;
        left: 10px;
        top: 100px;
    }

    .itin-sello4 {
        width: 142px;
        height: 78px;
        right: 20px;
    }

    .itin-countdown {
        margin-top: 140px;
    }

    .itin-faltan {
        margin-bottom: 12px;
    }

    .itin-cd-label {
        margin-top: 4px;
    }

    .vest-wrapper {
        margin-top: 50px;
        min-height: 280px;
    }

    .vest-card {
        width: 191px;
        height: 120px;
        padding: 10px 12px;
        gap: 6px;
        overflow: hidden;
        justify-content: center;
    }

    .vest-titulo {
        font-size: 0.9rem;
        letter-spacing: 0.15em;
    }

    .vest-texto {
        font-size: 0.62rem;
        line-height: 1.3;
    }

    .vest-btn {
        padding: 7px 18px;
        font-size: 0.75rem;
        letter-spacing: 0.06em;
    }

    .vest-hoja2 {
        width: 108px;
        height: 92px;
        top: 0px;
        right: 30px;
    }

    .vest-colgante {
        width: 146px;
        height: 232px;
        bottom: -40px;
        left: 80px;
    }

    .vest-colgante-txt {
        margin-top: -80px;
    }

    .vest-papel3 {
        width: 175px;
        height: 129px;
        right: 10px;
        bottom: 60px;
    }

    .regalo-wrapper {
        margin-top: 90px;
    }

    .regalo-card {
        width: 228px;
        height: 119px;
        flex-direction: column;
        padding: 8px 12px;
        gap: 5px;
        overflow: hidden;
        justify-content: center;
    }

    .regalo-icono {
        font-size: 1.6rem;
        flex-shrink: 0;
    }

    .regalo-card img {
        width: 50px;
        height: 50px;
    }

    .regalo-intro {
        font-size: 0.8rem;
        line-height: 1.4;
        text-align: left;
    }

    .regalo-titulo  { font-size: 0.95rem; }
    .regalo-datos   { font-size: 0.7rem; }

    .regalo-sello {
        width: 109px;
        height: 76px;
        top: 90px;
        right: 95px;
    }

    .regalo-colgante {
        width: 135px;
        height: 215px;
        left: 0;
        top: 100px;
    }

    .regalo-colgante-txt {
        margin-top: -60px;
    }

    .regalo-papel4 {
        width: 249px;
        height: 210px;
        margin-top: 10px;
        margin-right: 20px;
    }

    .regalo-hoja2 {
        width: 139px;
        height: 118px;
        bottom: 0px;
        right: 0;
    }

    .adultos-papel {
        width: 215px;
        height: 159px;
        padding: 20px 24px;
        gap: 6px;
        margin-left: 50px;
        margin-top: -80px;
    }

    .adultos-titulo {
        font-size: 1.5rem;
    }

    .adultos-subtitulo {
        font-size: 0.65rem;
    }

    .adultos-gracias {
        font-size: 1.5rem;
    }

    .adultos-hoja2 {
        width: 150px;
        height: 120px;
        bottom: -20px;
        left: 10px;
    }

    .rsvp-wrapper {
        margin-top: 40px;
    }

    .rsvp-card {
        width: 208px;
        height: 113px;
        padding: 12px 14px;
        justify-content: center;
        display: flex;
        align-items: center;
        margin-top: -30px;
        margin-left: 10px;
    }

    .rsvp-cita {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .rsvp-sello5 {
       
        top: 90px;
        right: 10px;
    }

    .rsvp-sobre-wrapper {
        width: 100%;
        height: auto;
        margin-top: 55px;
    }

    .rsvp-content {
        bottom: 35%;
        left: 25px;
        right: 0;
    }

    .rsvp-titulo { font-size: 0.85rem; }
    .rsvp-desc   { font-size: 0.7rem; }

    .rsvp-btn {
        margin-top: 4px;
        padding: 6px 16px;
        font-size: 0.7rem;
    }

    .containerFoot {
        gap: 30px;
        margin-bottom: 15px;
    }

    #noir small {
        margin-bottom: 30px;
    }

    #fh5co-footer .copyright .pull-left,
    #fh5co-footer .copyright .pull-right {
        float: none !important;
        text-align: center;
    }
}

@media (max-width: 370px) {
    .mb-flor { width: 110px; }
    .mb-hoja { width: 90px; }
}

@media (max-width: 480px) {
    .mb-flor { width: 120px; }
    .mb-hoja { width: 100px; }
}
