:root {
    --tx: 0%;
    --overlay-opacity: 1;
}

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

body {
    overflow-x: hidden;
    background-color: #fcfaf8;
}

/* Contenedor principal de 200vh para dar espacio al scroll */
.hero {
    height: 200vh;
    position: relative;
}

.hero__sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Escena de Puertas */
.door-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    pointer-events: none;
}

.door {
    position: absolute;
    top: 0;
    width: 60%; /* Solapamiento para evitar el corte recto */
    height: 100%;
    object-fit: cover;
    transition: transform 0.1s linear;
}

.door-left {
    left: 0;
    object-position: right center;
    transform: translateX(calc(-1 * var(--tx))) scale(1.1);
}

.door-right {
    right: 0;
    object-position: left center;
    transform: translateX(var(--tx)) scale(1.1);
}

/* Overlay de Texto e Indicador */
.door-overlay {
    position: relative;
    z-index: 10;
    text-align: center;
    opacity: var(--overlay-opacity);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.overlay__title {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: #4a4a4a;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.scroll-indicator {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #8d7a68;
    animation: bounce 2s infinite ease-in-out;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Adaptación para móviles */
@media (max-width: 768px) {
    .door {
        width: 85%;
        height: 125%;
        top: -12.5%; /* Centrado vertical por el exceso de altura */
    }
    
    .door-left {
        transform: translateX(calc(-1 * var(--tx))) scale(1.2);
    }
    
    .door-right {
        transform: translateX(var(--tx)) scale(1.2);
    }

    .overlay__title {
        font-size: 2.2rem;
    }
}

/* BLOQUE 2 */

/* Importar Poppins si no está en el HTML */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

.cover-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/fondo2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax suave */
    padding: 20px;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15); /* Oscurece levemente para legibilidad */
    z-index: 1;
}

.glass-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    color: #fff;
}

.glass-card__intro {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.glass-card__names {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3.5rem, 8vw, 5rem);
    margin-bottom: 20px;
    font-weight: 400;
}

.glass-card__text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Estilos de la Cuenta Regresiva */
.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.countdown__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 5px;
    border-radius: 12px;
}

.countdown__item span {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
}

.countdown__item small {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.glass-card__date {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 25px;
    font-weight: 400;
}

/* Responsivo */
@media (max-width: 480px) {
    .glass-card { padding: 40px 20px; }
    .countdown { gap: 8px; }
    .countdown__item span { font-size: 1.4rem; }
}

/* bloque 3 */

/* Importar Playfair Display */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

.special-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #fff5f6 0%, #ffffff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.special-content {
    max-width: 800px;
    width: 100%;
}

.special__title {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
    color: #a68b8b;
    margin-bottom: 10px;
}

.special__highlight {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #8d7a68;
    margin-bottom: 15px;
}

.special__text, .special__subtext {
    font-family: 'Poppins', sans-serif;
    color: #666;
    font-weight: 300;
}

.special__subtext {
    font-size: 0.9rem;
    margin-bottom: 50px;
    font-style: italic;
}

/* Tarjeta de Reservación Estilo Carta */
.reservation-card {
    background: #fff;
    padding: 15px;
    margin: 0 auto;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    position: relative;
    transition: transform 0.4s ease;
    animation: fadeInUp 1s ease-out;
}

.reservation-card:hover {
    transform: translateY(-10px);
}

.card-border {
    border: 1px solid #e5dada;
    padding: 40px 20px;
    border-radius: 2px;
}

.card__label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 20px;
}

.card__guest-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #4a4a4a;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 0.5;
}

.invitation-and {
    font-size: 3.3rem;
}




.card__divider {
    width: 50px;
    height: 1px;
    background: #d4af37; /* Toque dorado suave */
    margin: 0 auto 20px;
}

.card__footer {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .card__guest-name { font-size: 1.8rem; }
}


/* bloque 4 */


.map-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.map-container {
    width: 100%;
    height: 100%;
    filter: grayscale(0.2) contrast(0.9); /* Suaviza los colores del mapa */
}

/* Tarjeta Flotante Superior */
.location-card {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    width: 90%;
    max-width: 450px;
    animation: slideDownFade 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.location-card__content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.location-card__label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #a68b8b;
    display: block;
    margin-bottom: 10px;
}

.location-card__title {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: #8d7a68;
    margin-bottom: 10px;
    line-height: 1.2;
}

.location-card__address {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 25px;
    font-weight: 300;
}

/* Botón con Animación */
.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #8d7a68;
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(141, 122, 104, 0.3);
}

.map-btn svg {
    width: 16px;
    height: 16px;
}

.map-btn:hover {
    background: #7a6959;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(141, 122, 104, 0.4);
}

.map-btn:active {
    transform: translateY(-1px);
}

/* Animaciones */
@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translate(-50%, -30px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Ajustes para móviles */
@media (max-width: 480px) {
    .location-card {
        top: 20px;
    }
    .location-card__content {
        padding: 30px 20px;
    }
    .location-card__title {
        font-size: 2.2rem;
    }
}

.confirm-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
}

.confirm-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.confirm-inner {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 500px;
    width: 100%;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Icono Animado */
.envelope-wrapper {
    margin-bottom: 20px;
}

.envelope {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    color: #8d7a68;
    animation: float 3s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.confirm__title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: #4a4a4a;
    margin-bottom: 5px;
    font-weight: 400;
}

.confirm__subtitle {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #8d7a68;
    margin-bottom: 25px;
}

.confirm__invitation-info {
    font-family: 'Poppins', sans-serif;
    background: rgba(141, 122, 104, 0.1);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 30px;
    color: #666;
}

/* Botones y Acciones */
.confirm__actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-confirm, .btn-less {
    font-family: 'Poppins', sans-serif;
    padding: 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-confirm {
    background: #8d7a68;
    color: white;
    box-shadow: 0 4px 15px rgba(141, 122, 104, 0.3);
}

.btn-confirm:hover {
    background: #7a6959;
    transform: scale(1.03);
}

.btn-less {
    background: transparent;
    color: #8d7a68;
    border: 1px solid #8d7a68;
}

.btn-less:hover {
    background: rgba(141, 122, 104, 0.05);
    transform: scale(1.03);
}

.link-decline {
    font-family: 'Poppins', sans-serif;
    color: #999;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.link-decline:hover {
    color: #666;
    text-decoration: underline;
}

.confirm__deadline {
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #a68b8b;
    font-weight: 600;
}

/* bloque 6 */

.gallery-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #fff5f6 0%, #ffffff 100%);
    text-align: center;
    overflow: hidden;
}

.gallery__title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.5rem, 7vw, 4rem);
    color: #8d7a68;
    margin-bottom: 40px;
}

.carousel {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    perspective: 1000px;
}

.carousel__frame {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    position: relative;
    aspect-ratio: 4 / 5; /* Proporción elegante tipo retrato/postal */
    overflow: hidden;
}

.carousel__inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que cualquier tamaño de foto llene el marco */
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.8s ease, transform 1.2s ease;
    pointer-events: none;
}

.carousel__img.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Navegación */
.carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8d7a68;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel__nav:hover {
    background: #8d7a68;
    color: white;
}

.carousel__nav.prev { left: -22.5px; }
.carousel__nav.next { right: -22.5px; }

.carousel__counter {
    margin-top: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #a68b8b;
}

/* Ajustes móviles */
@media (max-width: 768px) {
    .carousel { max-width: 85%; }
    .carousel__nav { width: 40px; height: 40px; }
    .carousel__nav.prev { left: -15px; }
    .carousel__nav.next { right: -15px; }
}

/* bloque 7 */

.love-story {
    position: relative;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.story-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.7); /* Velo claro para legibilidad */
    z-index: 1;
}

.story-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.story__quote {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-style: italic;
    color: #8d7a68;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.story__main-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(3rem, 8vw, 4.5rem);
    color: #4a4a4a;
    margin-bottom: 60px;
}

/* Layout de dos columnas */
.story__display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
    min-height: 400px;
}

.story__text-col {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s ease;
}

.story__year {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 600;
    color: rgba(141, 122, 104, 0.2);
    line-height: 1;
    margin-bottom: -10px;
}

.story__moment-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.story__description {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
    font-weight: 300;
}

/* Foto Principal */
.story__photo-col {
    display: flex;
    justify-content: flex-start;
}

.story__frame {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4/5;
    background: #fff;
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transform: rotate(2deg);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.story__img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: opacity 0.5s ease;
}

/* Línea de tiempo */
.timeline-wrapper {
    position: relative;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    z-index: 1;
}

.timeline-items {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.timeline-dot {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.dot__circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #fff;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #eee;
}

.dot__circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.dot__year {
    margin-top: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    color: #8d7a68;
    font-weight: 600;
}

/* Estados Activos */
.timeline-dot:hover .dot__circle {
    transform: scale(1.1);
}

.timeline-dot.active .dot__circle {
    transform: scale(1.2);
    border-color: #d4af37;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.timeline-dot.active .dot__circle img {
    filter: grayscale(0%);
}

.fade-out { opacity: 0; transform: translateY(10px); }
.fade-in { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 768px) {
    .story__display {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .story__text-col {
        order: 2;
        text-align: center;
    }
    .story__photo-col {
        order: 1;
        justify-content: center;
    }
    .story__frame { transform: rotate(0); }
    .timeline-items { gap: 15px; }
    .dot__circle { width: 50px; height: 50px; }
}

/* Datos de la invitación física: detalles añadidos conservando la estética original */
.invitation-opening { max-width: 650px; margin: 0 auto 18px; line-height: 1.8; }
.invitation-card { max-width: 620px; }
.invitation-card .card__guest-name { font-size: clamp(1.25rem, 3vw, 1.8rem); line-height: 1.55; }
.invitation-and { font-size: 1rem; color: #a68b8b; font-weight: 400; }
.locations-section { height: auto; min-height: 100vh; overflow: visible; padding: 70px 22px; background: linear-gradient(135deg, #fff5f6 0%, #ffffff 100%); }
.locations-grid { width: min(1100px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.location-panel { overflow: hidden; background: rgba(255,255,255,.96); border-radius: 15px; box-shadow: 0 20px 40px rgba(0,0,0,.10); border: 1px solid rgba(255,255,255,.7); }
.location-panel .location-card__content { padding: 34px 24px; box-shadow: none; border: 0; border-radius: 0; }
.location-panel iframe { display: block; width: 100%; height: 300px; border: 0; filter: grayscale(.15) contrast(.95); }
.bible-verse-section { padding: 85px 24px; text-align: center; background: linear-gradient(135deg, #fff5f6 0%, #ffffff 100%); }
.bible-verse-inner { max-width: 760px; margin: 0 auto; }
.bible-verse { color: #8d7a68; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.1rem, 2.6vw, 1.55rem); font-style: italic; line-height: 1.9; }
.bible-reference { color: #a68b8b; font-family: 'Poppins', sans-serif; letter-spacing: 2px; margin-top: 18px; }
.bible-closing { color: #192e53; font-family: 'Great Vibes', cursive; font-size: clamp(2.8rem, 6vw, 4rem); margin-top: 28px; }
@media (max-width: 700px) { .locations-grid { grid-template-columns: 1fr; } .locations-section { padding: 48px 16px; } .location-panel iframe { height: 250px; } .invitation-card .card__guest-name { font-size: 1.25rem; } }


/* =========================================================
   INTRO ELEGANTE DESPUÉS DEL SOBRE
   Mantiene la animación de apertura/scroll existente.
   ========================================================= */
.intro-elegant {
    gap: 0;
    padding: 30px 20px;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.intro-elegant::before {
    content: "";
    position: absolute;
    inset: 10%;
    background: radial-gradient(circle at center, rgba(255,255,255,.20), rgba(255,255,255,0) 62%);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    filter: blur(.2px);
    z-index: -1;
}
.intro-elegant__eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(.62rem, 1.5vw, .82rem);
    letter-spacing: .45em;
    font-weight: 400;
    margin: 0 0 14px .45em;
    opacity: .95;
}
.intro-elegant__names {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(3.1rem, 8vw, 6.8rem);
    font-weight: 600;
    letter-spacing: .08em;
    line-height: .95;
    margin: 0;
    text-transform: uppercase;
}
.intro-elegant__subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(.75rem, 2vw, 1rem);
    letter-spacing: .55em;
    font-weight: 300;
    margin: 18px 0 16px .55em;
}
.intro-elegant__line {
    display: block;
    width: 72px;
    height: 1px;
    margin: 0 auto 15px;
    background: rgba(255,255,255,.78);
}
.intro-elegant__date {
    font-family: 'Poppins', sans-serif;
    font-size: .72rem;
    letter-spacing: .28em;
    margin: 0 0 28px .28em;
    opacity: .9;
}
.intro-elegant .scroll-indicator {
    margin-top: 2px;
    background: rgba(255,255,255,.88);
    color: #8d7a68;
    width: 48px;
    height: 48px;
    box-shadow: 0 8px 30px rgba(0,0,0,.16);
}

/* =========================================================
   FOTOGRAFÍAS INTERMEDIAS — ESTILO POLAROID
   ========================================================= */
.photo-interlude {
    position: relative;
    min-height: min(76vh, 760px);
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 24px;
    isolation: isolate;
}
.photo-interlude::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background-size: cover;
    background-position: center;
    transform: scale(1.035);
}
.photo-interlude--one::before {
    background-image: url('../img/2b.jpeg');
}
.photo-interlude--two::before {
    background-image: url('../img/fondo5.jpg');
}
.photo-interlude__wash {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(180deg, rgba(24,35,29,.18), rgba(24,35,29,.34));
}
.polaroid {
    position: relative;
    width: min(360px, 78vw);
    margin: 0;
    padding: 13px 13px 58px;
    background: #fffdf9;
    box-shadow: 0 24px 55px rgba(0,0,0,.25);
    transform: rotate(-3deg);
    transition: transform .45s ease, box-shadow .45s ease;
}
.polaroid:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 30px 65px rgba(0,0,0,.3);
}
.polaroid--right {
    transform: rotate(3.5deg);
}
.polaroid--right:hover {
    transform: rotate(0deg) translateY(-5px);
}
.polaroid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}
.polaroid figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 17px;
    padding: 0 10px;
    text-align: center;
    color: #5f5a54;
    font-family: 'Great Vibes', cursive;
    font-size: 1.7rem;
}
@media (max-width: 600px) {
    .intro-elegant__names {
        font-size: clamp(2.6rem, 12vw, 4.2rem);
        letter-spacing: .045em;
    }
    .intro-elegant__subtitle {
        letter-spacing: .38em;
        margin-left: .38em;
    }
    .intro-elegant__date {
        font-size: .62rem;
        letter-spacing: .2em;
        margin-left: .2em;
    }
    .intro-elegant::before {
        inset: 7%;
    }
    .photo-interlude {
        min-height: 68vh;
        padding: 55px 18px;
    }
    .polaroid {
        width: min(320px, 82vw);
        padding: 10px 10px 50px;
    }
    .polaroid figcaption {
        bottom: 14px;
        font-size: 1.5rem;
    }
}
