/* Variables y Diseño General */
:root {
    --bg-primary: #FAF6F0; /* Beige muy claro/crema */
    --bg-secondary: #F4EFE6; /* Beige un poco más profundo */
    --color-text-dark: #2A2A2A; /* Carbón suave para legibilidad */
    --color-text-muted: #5C564F; /* Marrón grisáceo para subtítulos */
    --color-accent-gold: #B8976C; /* Dorado elegante */
    --color-accent-darkgold: #9E7D53; /* Dorado oscuro */
    --color-accent-rose: #52042F; /* Rosa oscuro/vino de la marca */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-script: 'MonteCarlo', cursive;
    --font-greatvibes: 'Great Vibes', cursive;
    --font-alexbrush: 'Alex Brush', cursive;
}

/* Reset y estructura básica */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100vh;
    min-height: 100dvh;
}

body {
    background-color: #E2DDD5;
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
}

/* Contenedor Principal */
.app-container {
    width: 100%;
    max-width: 428px;
    margin: 0 auto;
    background-color: var(--bg-primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}


/* Pantalla del Sobre (Apertura) - Sobre Cerrado con Sello */
.envelope-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #FAF6F0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.envelope-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

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

.envelope-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 40px;
}

.envelope-seal {
    position: absolute;
    top: 62%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35%;
    max-width: 180px;
    min-width: 120px;
    height: auto;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    filter: drop-shadow(0 3px 10px rgba(0,0,0,0.25));
}

.envelope-seal:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.envelope-seal:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.envelope-seal.opening {
    transform: translate(-50%, -50%) scale(1.4) rotate(15deg);
    opacity: 0;
}

/* Secciones Generales */
.section {
    padding: 60px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid rgba(184, 151, 108, 0.1);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--color-text-dark);
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background-color: var(--color-accent-gold);
    margin: 10px auto 0 auto;
}

/* Seccion Hero */
.section-hero {
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.6)), 
                      url('portada.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-bottom: 80px;
}

.hero-top {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #f0e6d3;
    margin-bottom: 15px;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-names {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 300;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-date {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #f0e6d3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow-down {
    font-size: 1.5rem;
    color: #f0e6d3;
    animation: bounce 2s infinite;
}

.scroll-down span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: #f0e6d3;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Seccion Frase */
.section-phrase {
    background-color: var(--bg-secondary);
    padding: 50px 30px;
}

.phrase-text {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    line-height: 1.5;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

.phrase-ref {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-accent-gold);
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.heart-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 15px;
}

.heart-divider .line {
    width: 60px;
    height: 1px;
    background-color: rgba(184, 151, 108, 0.4);
}

.heart-divider i {
    color: var(--color-accent-rose);
    font-size: 0.8rem;
}

/* Sección Padres */
.section-parents {
    background-color: var(--bg-primary);
}

.parents-intro {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.parents-group {
    margin-bottom: 35px;
    width: 100%;
}

.parents-title {
    font-family: var(--font-greatvibes);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--color-accent-gold);
    margin-bottom: 6px;
}

.parent-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-text-dark);
    line-height: 1.6;
    font-weight: 400;
}

.parents-outro {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 20px;
    line-height: 1.4;
    color: var(--color-text-dark);
}

/* Sección Contador */
.section-countdown {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.65)),
                      url('countdown-bg.jpg');
    background-size: cover;
    background-position: center;
}

.countdown-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-bottom: 25px;
}

.countdown-item {
    background-color: #FFF;
    border: 1px solid rgba(184, 151, 108, 0.2);
    border-radius: 50%;
    width: 75px;
    height: 75px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.time-digit {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-accent-rose);
}

.time-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.countdown-subtitle {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: #f0e6d3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Dónde y Cuándo (Tarjetas) */
.location-card {
    background-color: #FFF;
    border-radius: 12px;
    border: 1px solid rgba(184, 151, 108, 0.15);
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.04);
    width: 100%;
}

.card-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .card-img {
    transform: scale(1.05);
}

.card-body {
    padding: 25px 20px;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-accent-gold);
    margin-bottom: 10px;
}

.card-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text-dark);
}

.card-time {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-accent-rose);
    margin-bottom: 12px;
}

.card-address {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-map {
    display: inline-block;
    background-color: var(--color-accent-gold);
    color: #FFF;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 10px 25px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(184, 151, 108, 0.2);
    transition: all 0.3s ease;
}

.btn-map:hover {
    background-color: var(--color-accent-darkgold);
    transform: translateY(-1px);
}

/* Itinerario / Timeline - Liquid Flow */
.section-itinerary {
    background-color: var(--bg-secondary);
    min-height: 800px;
}

.itinerary-timeline {
    width: 100%;
    position: relative;
    padding: 20px 0;
}

/* Vertical timeline connecting line */
.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: rgba(184, 151, 108, 0.3); /* gold color */
    z-index: 1;
    pointer-events: none;
}

/* Droplet styling: teardrop shape */
.wine-drop {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 12px;
    background-color: var(--color-accent-rose);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    z-index: 5;
    pointer-events: none;
    opacity: 0.95;
    filter: drop-shadow(0 2px 4px rgba(82, 4, 47, 0.2));
}

/* Each timeline item */
.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 45px;
    position: relative;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Entrance animation */
.timeline-item.entrance-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.timeline-item.entrance-hidden[data-index="0"] { transition-delay: 0s; }
.timeline-item.entrance-hidden[data-index="1"] { transition-delay: 0.15s; }
.timeline-item.entrance-hidden[data-index="2"] { transition-delay: 0.3s; }
.timeline-item.entrance-hidden[data-index="3"] { transition-delay: 0.45s; }
.timeline-item.entrance-hidden[data-index="4"] { transition-delay: 0.6s; }

.timeline-item.entrance-hidden.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Glass fill behind each tile */
.timeline-fill {
    position: absolute;
    width: 40%;
    height: 100%;
    border-radius: 12px;
    z-index: 0;
    background: linear-gradient(
        to bottom,
        rgba(184, 151, 108, 0.05) 0%,
        rgba(184, 151, 108, 0.01) 100%
    );
    bottom: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.timeline-item:nth-child(odd) .timeline-fill {
    right: auto;
    left: 0;
}

.timeline-item.tile-filled .timeline-fill {
    opacity: 1;
}

/* Marker circle */
.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FFF;
    border: 2px solid rgba(184, 151, 108, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    color: var(--color-accent-gold);
    font-size: 1.3rem;
    box-shadow: 0 3px 10px rgba(184, 151, 108, 0.1);
    position: relative;
    overflow: hidden;
    transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

/* Wavy liquid wine fill inside the marker — dual-layer sloshing */
.timeline-marker-fill {
    position: absolute;
    bottom: -260%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: linear-gradient(135deg, var(--color-accent-rose), #6a053e);
    border-radius: 40%;
    z-index: 1;
    transition: bottom 1.5s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: liquid-rotate 3s ease-in-out infinite;
    transform-origin: center center;
}

.timeline-marker-fill-bg {
    position: absolute;
    bottom: -260%;
    left: -35%;
    width: 170%;
    height: 170%;
    background: rgba(82, 4, 47, 0.45);
    border-radius: 35%;
    z-index: 0;
    transition: bottom 1.5s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: liquid-rotate-bg 3.5s ease-in-out infinite;
    transform-origin: center center;
}

.timeline-item.tile-filled .timeline-marker-fill {
    bottom: -50%;
    border-radius: 50%;
}

.timeline-item.tile-filled .timeline-marker-fill-bg {
    bottom: -70%;
    border-radius: 50%;
}

@keyframes liquid-rotate {
    0%   { transform: rotate(0deg)   scale(1); }
    25%  { transform: rotate(90deg)  scale(1.04, 0.96); }
    50%  { transform: rotate(180deg) scale(1); }
    75%  { transform: rotate(270deg) scale(0.96, 1.04); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes liquid-rotate-bg {
    0%   { transform: rotate(360deg) scale(1); }
    25%  { transform: rotate(270deg) scale(1.06, 0.94); }
    50%  { transform: rotate(180deg) scale(1); }
    75%  { transform: rotate(90deg)  scale(0.94, 1.06); }
    100% { transform: rotate(0deg)   scale(1); }
}

.timeline-marker i,
.timeline-marker svg {
    position: relative;
    z-index: 2;
    transition: color 0.6s ease;
}

.timeline-item.tile-filled .timeline-marker i,
.timeline-item.tile-filled .timeline-marker svg {
    color: #FFF;
}

.timeline-item.tile-filled .timeline-marker {
    border-color: var(--color-accent-rose);
    box-shadow: 0 3px 15px rgba(82, 4, 47, 0.35);
}

.timeline-content {
    width: calc(50% - 50px);
    margin-left: auto;
    padding-left: 60px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    padding-left: 0;
    padding-right: 60px;
    text-align: right;
}

.timeline-time {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    position: relative;
    transition: color 0.4s ease;
}

.timeline-time::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-rose);
    transition: width 0.6s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.timeline-item.tile-filled .timeline-time {
    color: var(--color-accent-rose);
}

.timeline-item.tile-filled .timeline-time::after {
    width: 100%;
}

.timeline-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-text-dark);
    line-height: 1.3;
}

/* Mobile */
@media (max-width: 768px) {
    .timeline-line {
        left: 28px !important;
    }
    .timeline-marker {
        left: 28px;
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
    .timeline-content {
        width: calc(100% - 70px);
        margin-left: auto !important;
        padding-left: 70px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    .timeline-item:nth-child(odd) .timeline-content {
        text-align: left !important;
    }
    .timeline-fill {
        width: 55%;
    }
    .timeline-item:nth-child(odd) .timeline-fill {
        left: auto;
        right: 0;
    }
}

/* Galería - Carrusel */
.gallery-carousel {
    width: 100%;
    position: relative;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 15px 0 25px;
    cursor: grab;
    scroll-behavior: smooth;
    will-change: scroll-position;
    touch-action: pan-y;
}

.gallery-carousel::-webkit-scrollbar {
    display: none;
}

.gallery-track {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    align-items: flex-start; /* flex-start evita reflow al cargar imágenes lazy */
}

.gallery-card {
    flex-shrink: 0;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    clip-path: inset(0 round 16px);
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(82, 4, 47, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    width: 92%;
    aspect-ratio: 4 / 3;
}

.gallery-card:active {
    transform: scale(0.97);
}

.gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    pointer-events: none;
}

/* Galería Vertical */
.section-vertical {
    background-color: var(--bg-secondary);
}

.vertical-gallery {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
}

.vertical-card {
    flex: 1;
    max-width: 200px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(82, 4, 47, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 3 / 4;
}

.vertical-card:active {
    transform: scale(0.96);
}

.vertical-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal de Galería */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.gallery-modal.active {
    display: flex;
}

.modal-card {
    position: relative;
    max-width: 100%;
    max-height: 85vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    transform: scale(0.7) rotateX(10deg);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.35s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.gallery-modal.active .modal-card {
    transform: scale(1) rotateX(0deg);
    opacity: 1;
}

.modal-card img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .gallery-card {
        clip-path: inset(0 round 12px);
        border-radius: 12px;
    }
    .gallery-card img {
        border-radius: 12px;
    }
    .vertical-card {
        max-width: 140px;
        border-radius: 10px;
    }
    .gallery-modal {
        padding: 15px;
    }
    .modal-card {
        border-radius: 12px;
    }
    .modal-card img {
        border-radius: 12px;
    }
}

/* Confirmación RSVP */
.rsvp-card {
    background-color: #FFF;
    border-radius: 12px;
    border: 1px solid rgba(184, 151, 108, 0.2);
    padding: 25px 20px;
    width: 100%;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid rgba(184, 151, 108, 0.3);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background-color: var(--bg-primary);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-rose);
}

.attendance-options {
    display: flex;
    gap: 15px;
}

.attendance-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
}

.attendance-option input[type="radio"] {
    accent-color: var(--color-accent-rose);
    width: 18px;
    height: 18px;
}

.btn-toggle-extra {
    background: none;
    border: none;
    color: var(--color-accent-darkgold);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
    width: 100%;
}

.extra-rsvp-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px dashed rgba(184, 151, 108, 0.3);
    padding-top: 15px;
    transition: all 0.3s ease;
}

.extra-rsvp-fields.hidden {
    display: none;
}

.btn-submit {
    background-color: var(--color-accent-rose);
    color: #FFF;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(82, 4, 47, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background-color: #6d0740;
}

.rsvp-toast {
    margin-top: 15px;
    padding: 12px;
    background-color: #E2EDE4;
    color: #2E5C38;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.rsvp-intro-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 25px;
    line-height: 1.5;
}

.btn-rsvp-ir {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--color-accent-rose) 0%, #6d0740 100%);
    color: #FFF;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(82, 4, 47, 0.25);
    transition: all 0.3s ease;
}

.btn-rsvp-ir:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(82, 4, 47, 0.35);
}

.btn-rsvp-ir:active {
    transform: translateY(0);
}

/* Nota Infantil y Dress Code */
.section-notes {
    background-color: var(--bg-secondary);
}

.note-kids {
    margin-bottom: 40px;
}

.note-kids i {
    color: var(--color-accent-gold);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.note-kids p {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.dress-code-card {
    background-color: #FFF;
    border: 1px solid rgba(184, 151, 108, 0.2);
    border-radius: 12px;
    padding: 30px 20px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.note-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.dress-code-value {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-accent-rose);
    margin-bottom: 20px;
}

.dress-code-img img {
    width: 70px;
    opacity: 0.8;
}

/* Regalos */
.gifts-intro {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.gift-accordion {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(184, 151, 108, 0.2);
    margin-bottom: 20px;
    overflow: hidden;
}

.gift-accordion-header {
    width: 100%;
    background-color: #FFF;
    border: none;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-dark);
    cursor: pointer;
}

.gift-accordion-content {
    background-color: #FCFAF7;
    border-top: 1px solid rgba(184, 151, 108, 0.1);
    padding: 20px;
    text-align: center;
}

.bank-details-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.bank-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent-rose);
}

.bank-account {
    font-family: monospace;
    font-size: 1.05rem;
    background-color: #FFF;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid rgba(184, 151, 108, 0.15);
    letter-spacing: 0.5px;
    word-break: break-all;
}

.bank-holder {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.btn-copy {
    background-color: var(--color-accent-rose);
    color: #FFF;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(82, 4, 47, 0.15);
}

.amazon-gift-card {
    width: 100%;
    background-color: #FFF;
    border-radius: 8px;
    border: 1px solid rgba(184, 151, 108, 0.2);
    display: flex;
    padding: 20px;
    align-items: center;
    gap: 20px;
}

.amazon-logo-wrapper {
    width: 80px;
    flex-shrink: 0;
}

.amazon-logo-wrapper img {
    width: 100%;
}

.amazon-info {
    text-align: left;
}

.amazon-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.amazon-event-id {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.btn-amazon-link {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #FF9900; /* Amazon Yellow */
    color: #000;
    padding: 6px 15px;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(255, 153, 0, 0.2);
}

/* Sugerencias Acordeón */
.suggestion-accordion {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(184, 151, 108, 0.15);
    margin-bottom: 15px;
    background-color: #FFF;
    overflow: hidden;
}

.suggestion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--color-text-dark);
}

.suggestion-content {
    background-color: #FCFAF7;
    border-top: 1px solid rgba(184, 151, 108, 0.1);
    padding: 20px;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
}

.suggestion-content ul {
    margin-left: 20px;
    margin-top: 10px;
}

.hotel-info {
    margin-bottom: 15px;
    border-bottom: 1px dashed rgba(184, 151, 108, 0.2);
    padding-bottom: 12px;
}

.hotel-info:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.hotel-title {
    font-weight: 600;
}

.hotel-phone {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.hotel-map-link {
    font-size: 0.85rem;
    color: var(--color-accent-rose);
    text-decoration: underline;
    font-weight: 500;
}

.tourist-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tourist-list li i {
    color: var(--color-accent-gold);
    margin-right: 10px;
}

/* Playlist de Youtube */
.btn-playlist-add {
    display: inline-block;
    background-color: var(--color-accent-rose);
    color: #FFF;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(82, 4, 47, 0.2);
}

.playlist-video-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(184, 151, 108, 0.2);
}

.playlist-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Hashtag */
.section-hashtag {
    background-color: var(--bg-secondary);
}

.hashtag-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

.hashtag-value {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--color-accent-rose);
}

/* Footer */
.section-footer {
    background-color: var(--bg-primary);
    padding: 50px 25px;
    text-align: center;
}

.thanks-message {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-bottom: 25px;
}

.credits {
    margin-top: 30px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

/* Toast Notificaciones Globales */
.global-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(42, 42, 42, 0.95);
    color: #FFF;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.global-toast.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 20px);
}

/* Animaciones y Clases Auxiliares */
.hidden {
    display: none !important;
}

.rotate-icon {
    transform: rotate(180deg);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animaciones de Fotogramas */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Responsive Móvil */
@media (max-width: 768px) {
    body {
        background-color: var(--bg-primary);
        min-height: 100vh;
        min-height: 100dvh;
    }
    .app-container {
        max-width: 100%;
        width: 100%;
        box-shadow: none;
        min-height: 100vh;
        min-height: 100dvh;
    }
    .section-hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding-bottom: 100px;
    }
    .envelope-bg {
        padding: 30px;
    }
    .envelope-seal {
        width: 30%;
        max-width: 150px;
        min-width: 100px;
    }
}

/* Tarjeta de Lluvia de Sobres */
.gift-envelope-card {
    width: 100%;
    background-color: #FFF;
    border-radius: 8px;
    border: 1px solid rgba(184, 151, 108, 0.2);
    display: flex;
    padding: 20px;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gift-envelope-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(184, 151, 108, 0.1);
}

.envelope-icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: rgba(184, 151, 108, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent-gold);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.gift-envelope-card:hover .envelope-icon-wrapper {
    background-color: var(--color-accent-rose);
    color: #FFF;
}

.envelope-svg {
    width: 28px;
    height: 28px;
    transition: transform 0.4s ease;
}

.gift-envelope-card:hover .envelope-svg {
    transform: scale(1.1) rotate(-3deg);
}

.envelope-info {
    text-align: left;
}

.envelope-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text-dark);
}

.envelope-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}
