/* ============================================
   Secciones Específicas - Estilos Mejorados
   ============================================ */

/* Timeline Section */
.historia {
    background: linear-gradient(135deg, #F5F1E8 0%, #FDFBF7 100%);
}

.historia .section-title {
    margin-bottom: 3.5rem;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

.timeline-image-container {
    position: absolute;
    right: 2%;
    top: 1.5rem;
    width: 36%;
    z-index: 1;
    pointer-events: none;
}

.timeline-nave {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    border-radius: 10px;
    opacity: 0.92;
}

.timeline-deco {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38%;
}

.timeline-item.left .timeline-deco {
    left: 54%;
}

.timeline-item.right .timeline-deco {
    right: 54%;
}

.timeline-deco img {
    max-width: 240px;
    width: 100%;
    height: auto;
    display: block;
}

.timeline-deco--light img {
    filter: drop-shadow(0 10px 18px rgba(44, 36, 22, 0.18));
}

.timeline-deco--dark img {
    mix-blend-mode: screen;
    filter: drop-shadow(0 8px 16px rgba(44, 36, 22, 0.12));
}

.timeline-deco--symbol img {
    max-width: 150px;
    mix-blend-mode: screen;
    opacity: 0.92;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--color-secondary), transparent);
}

.timeline-item {
    position: relative;
    z-index: 2;
    margin-bottom: 3.25rem;
    display: flex;
    align-items: center;
}

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

.timeline-item:first-child,
.timeline-item.has-deco {
    min-height: 240px;
}

.timeline-item.left {
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
}

.timeline-item.right {
    justify-content: flex-start;
    padding-left: calc(50% + 40px);
}

.timeline-content {
    background: white;
    padding: 1.75rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(44, 36, 22, 0.08);
    max-width: 440px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 169, 97, 0.12);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(44, 36, 22, 0.12);
}

.timeline-item.featured .timeline-content {
    background: linear-gradient(180deg, #ffffff 0%, #FBF6EA 100%);
    border-color: rgba(201, 169, 97, 0.45);
    box-shadow: 0 14px 36px rgba(201, 169, 97, 0.2);
}

.timeline-date {
    font-family: var(--font-title);
    color: var(--color-secondary);
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.timeline-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.45rem;
    color: var(--color-dark);
    margin-bottom: 0.85rem;
    line-height: 1.35;
    font-weight: 500;
}

.timeline-date + .timeline-description {
    margin-top: 0.35rem;
}

.timeline-description {
    color: var(--color-primary);
    line-height: 1.8;
    font-size: 0.98rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background: var(--color-secondary);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--color-cream);
}

.timeline-item.featured .timeline-marker {
    width: 22px;
    height: 22px;
    box-shadow: 0 0 0 5px #F5E6C4, 0 0 16px rgba(201, 169, 97, 0.55);
}

.historia-cierre {
    text-align: center;
    margin: 2.75rem auto 0.5rem;
    max-width: 720px;
    padding: 2rem 1.5rem 0.5rem;
}

.historia-cierre-line {
    display: block;
    width: 140px;
    height: 2px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

.historia-cierre p {
    font-family: var(--font-title);
    font-style: normal;
    font-size: clamp(1.35rem, 3.2vw, 2.05rem);
    color: var(--color-dark);
    line-height: 1.45;
    letter-spacing: 1px;
    margin: 1.15rem 0;
    font-weight: 600;
}

.historia-cierre em {
    display: block;
    margin-top: 0.35rem;
    font-style: italic;
    font-family: var(--font-serif);
    font-size: 1.15em;
    font-weight: 500;
    background: linear-gradient(135deg, #D4AF37 0%, #C9A961 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Evento Section */
.evento {
    background: white;
}

.venue-image {
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.hotel-illustration {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.venue-image:hover .hotel-illustration {
    transform: scale(1.02);
}

.evento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.evento-card {
    background: var(--color-cream);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.evento-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-secondary);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.2);
}

.evento-icon {
    width: 80px;
    height: 80px;
    background: #9B8456;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(155, 132, 86, 0.3);
}

.evento-card h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.evento-card p {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.evento-card p.small {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    margin: 3rem 0;
}

/* Cronograma Section */
.cronograma {
    background: linear-gradient(135deg, #F5F1E8 0%, #FDFBF7 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

@media (min-width: 992px) {
    .cronograma {
        background-image: url('../images/alcon1.png');
    }

    .rsvp::after {
        background-image: url('../images/casaacu.png');
    }
}

.cronograma::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.cronograma .container {
    position: relative;
    z-index: 2;
}

.cronograma-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.cronograma-item {
    display: grid;
    grid-template-columns: 210px 60px minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.cronograma-item::before {
    content: '';
    position: absolute;
    left: calc(210px + 2rem + 29px);
    top: 60px;
    width: 2px;
    height: calc(100% + 2.5rem);
    background: linear-gradient(180deg, var(--color-secondary), transparent);
}

.cronograma-item:last-child::before {
    display: none;
}

.cronograma-time {
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--color-primary);
    text-align: right;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.cronograma-icon {
    width: 60px;
    height: 60px;
    background: #9B8456;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(155, 132, 86, 0.3);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.cronograma-content {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.cronograma-content h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.cronograma-content p {
    color: var(--color-primary);
    margin: 0;
}

/* Transporte Section */
.transporte {
    background: white;
}

.transporte-image {
    max-width: 400px;
    margin: 0 auto 3rem;
    text-align: center;
}

.nave-illustration {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.transporte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.transporte-card {
    background: var(--color-cream);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--color-secondary);
}

.transporte-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
}

.transporte-card h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.transporte-time {
    font-size: 1.2rem;
    color: var(--color-secondary);
    font-weight: 600;
    margin: 0.5rem 0;
}

.transporte-note {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    background: rgba(201, 169, 97, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--color-secondary);
}

/* Alojamiento Section */
.alojamiento {
    background: linear-gradient(135deg, #F5F1E8 0%, #FDFBF7 100%);
}

.alojamiento-image {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    display: flex;
    justify-content: center;
}

.hotel-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 8px solid #C9A961;
    padding: 10px;
    background: white;
}

.alojamiento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.alojamiento-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.alojamiento-description {
    flex-grow: 1;
}

.alojamiento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.alojamiento-card h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-cream);
    padding-bottom: 1rem;
}

.alojamiento-address,
.alojamiento-distance,
.alojamiento-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.alojamiento-address i,
.alojamiento-distance i,
.alojamiento-price i {
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.alojamiento-description {
    color: var(--color-primary);
    line-height: 1.8;
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--color-cream);
    border-radius: 10px;
    font-style: italic;
}

.alojamiento-contact {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.alojamiento-contact .btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--color-secondary), #D4AF37);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.alojamiento-contact .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

.btn-sm {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--color-secondary);
    color: white;
}

.btn-outline:hover {
    background: var(--color-secondary);
    color: white;
}

/* RSVP Section */
.rsvp {
    background: white;
    position: relative;
    overflow: hidden;
}

/* Imagen de fondo difuminada */
.rsvp::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    transform: scale(1.1);
    z-index: 0;
}

.rsvp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 251, 247, 0.85);
    z-index: 1;
}

.rsvp .container {
    position: relative;
    z-index: 2;
}

.rsvp-symbols {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 4rem;
    padding: 2rem 0;
}

.symbol-img {
    width: 120px;
    height: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.symbol-img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.rsvp-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-cream);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.checkbox-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 400;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-secondary);
    flex-shrink: 0;
}

.rsvp-form input[type="radio"],
.rsvp-form input[type="checkbox"] {
    width: auto;
}

.rsvp-extra {
    margin-bottom: 0.5rem;
}

.acompanantes-title {
    font-weight: 600;
    color: var(--color-dark);
    margin: 0 0 1rem;
}

.acompanante-card {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid #E5E5E5;
}

.acompanante-card h4 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    color: var(--color-primary);
    margin: 0 0 1rem;
}

.otra-campo {
    margin-top: 0.75rem;
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 1rem;
}

/* Mensajes Section */
.mensajes {
    background: linear-gradient(135deg, #F5F1E8 0%, #FDFBF7 100%);
}

.mensaje-image {
    text-align: center;
    margin: 3rem auto;
    max-width: 600px;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.navere-img {
    width: 30%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.navere-img:last-child {
    transform: scaleX(-1);
}

.mensaje-form {
    max-width: 700px;
    margin: 0 auto 4rem;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.char-count {
    display: block;
    text-align: right;
    color: var(--color-primary);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.mensajes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mensaje-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 1.5rem;
}

.mensaje-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
}

.mensaje-content h4 {
    font-family: var(--font-title);
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.mensaje-content p {
    color: var(--color-primary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.mensaje-date {
    font-size: 0.85rem;
    color: var(--color-secondary);
}

/* Playlist Section */
.playlist {
    background: white;
}

.playlist-form {
    max-width: 700px;
    margin: 0 auto 3rem;
    background: var(--color-cream);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.playlist-form .btn {
    width: 100%;
}

.playlist-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--color-cream);
    padding: 1.25rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.playlist-icon {
    width: 48px;
    height: 48px;
    background: #9B8456;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.playlist-info h4 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--color-dark);
    margin: 0 0 0.2rem;
}

.playlist-info p {
    margin: 0;
    color: var(--color-primary);
}

.playlist-info span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: var(--color-secondary);
}

/* Regalos Section */
.regalos {
    background: white;
}

.regalos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.regalo-card {
    background: var(--color-cream);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.regalo-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-secondary);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.2);
}

.regalo-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
}

.regalo-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.regalo-card p {
    color: var(--color-primary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-item:first-child,
    .timeline-item.has-deco {
        min-height: 0;
    }
    
    .timeline-image-container,
    .timeline-deco,
    .timeline-deco img,
    .timeline-nave {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .historia-cierre p {
        font-size: 1.35rem;
        letter-spacing: 0.5px;
    }
    
    .cronograma-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cronograma-item::before {
        display: none;
    }
    
    .cronograma-time {
        text-align: left;
        white-space: nowrap;
        font-size: 1rem;
    }
    
    .rsvp-form,
    .mensaje-form,
    .playlist-form {
        padding: 2rem 1.5rem;
    }
}

/* Mobile Optimizations para secciones específicas */
@media (max-width: 767px) {
    /* RSVP Section Mobile */
    .rsvp {
        padding: 3rem 0;
    }
    
    .rsvp::after {
        filter: blur(2px);
        transform: scale(1.05);
    }
    
    .rsvp .container {
        padding: 0 1rem;
    }
    
    .rsvp-form {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .rsvp-form .form-row {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .rsvp-form .form-group {
        margin-bottom: 1rem;
    }
    
    .rsvp-form label {
        font-size: 0.9rem;
        margin-bottom: 0.375rem;
    }
    
    .rsvp-form input,
    .rsvp-form select,
    .rsvp-form textarea {
        padding: 0.75rem;
        font-size: 16px;
        border-radius: 8px;
    }
    
    /* Checkbox transporte en columna */
    .form-group:has(.checkbox-group) {
        margin-bottom: 1rem;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .checkbox-group label,
    .radio-label {
        font-size: 0.85rem;
    }
    
    /* Timeline Mobile */
    .timeline {
        padding: 1rem 0;
    }
    
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    .timeline-content {
        padding: 1.25rem 1.35rem;
        max-width: none;
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
    
    .timeline-description {
        font-size: 0.92rem;
        line-height: 1.7;
    }
    
    .historia-cierre {
        margin-top: 1.5rem;
        padding: 1.25rem 0.5rem 0;
    }
    
    /* Cronograma Mobile */
    .cronograma {
        padding: 2rem 0;
    }
    
    .cronograma-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .cronograma-time {
        font-size: 0.95rem;
        white-space: nowrap;
    }
    
    .cronograma-title {
        font-size: 1.1rem;
    }
    
    /* Evento Section Mobile */
    .evento-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .evento-card {
        padding: 1.5rem;
    }
    
    .evento-card h3 {
        font-size: 1.1rem;
    }
    
    /* Mensajes Section Mobile */
    .mensaje-form {
        padding: 1.5rem;
    }
    
    .mensajes-list {
        max-height: 400px;
    }
    
    .mensaje-item {
        padding: 1rem;
    }
    
    /* Regalo Section Mobile */
    .regalo-content {
        padding: 0 1rem;
    }
    
    .regalo-card {
        padding: 1.5rem;
    }
    
    .regalo-card h3 {
        font-size: 1.25rem;
    }
    
    /* Galería Mobile */
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .galeria-item img {
        height: 150px;
    }
    
    /* FAQ Mobile */
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (hasta 575px) */
@media (max-width: 575px) {
    .rsvp-form,
    .mensaje-form {
        padding: 1.25rem 1rem;
        border-radius: 12px;
    }
    
    .rsvp h2,
    .mensajes h2 {
        font-size: 1.75rem;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 50px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        left: 20px;
        width: 16px;
        height: 16px;
    }
    
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    .galeria-item img {
        height: 200px;
    }
    
    /* Símbolos RSVP más pequeños */
    .rsvp-symbols {
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .symbol-img {
        width: 80px;
    }
}

/* Very Small Mobile (hasta 375px) */
@media (max-width: 375px) {
    .rsvp-form,
    .mensaje-form {
        padding: 1rem 0.875rem;
    }
    
    .rsvp h2,
    .mensajes h2 {
        font-size: 1.5rem;
    }
    
    .symbol-img {
        width: 60px;
    }
    
    .cronograma-item {
        padding: 0.875rem;
    }
    
    .evento-card {
        padding: 1.25rem;
    }
}

/* Fase 3: evitar desbordes en móvil/tablet */
@media (max-width: 991px) {
    .evento-grid,
    .transporte-grid,
    .alojamiento-grid,
    .regalos-grid,
    .form-row {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .alojamiento-card,
    .transporte-card,
    .evento-card,
    .regalo-card,
    .cronograma-content {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .alojamiento-card {
        padding: 1.5rem;
    }

    .hotel-img,
    .nave-illustration,
    .hotel-illustration,
    img {
        max-width: 100%;
        height: auto;
    }

    .hotel-img {
        border-width: 4px;
        padding: 6px;
        box-sizing: border-box;
    }

    .alojamiento-contact .btn {
        min-width: 0;
    }

    .map-container {
        margin: 1.5rem 0;
    }

    .map-container iframe {
        width: 100%;
        height: 230px;
        max-width: 100%;
        display: block;
        border: 0;
    }

    .cronograma-time {
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: left;
    }

    .cronograma-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        min-width: 0;
    }

    .navere-img,
    .nave-illustration {
        mix-blend-mode: screen;
        background: transparent;
    }

    .mensaje-image {
        gap: 1rem;
        margin: 1.5rem auto;
        max-width: 100%;
    }

    .navere-img {
        width: 42%;
        max-width: 140px;
    }

    .transporte-image {
        max-width: 260px;
    }

    .radio-label,
    .checkbox-label {
        min-height: 48px;
        width: 100%;
        padding: 0.7rem 0.9rem;
        background: #fff;
        border-radius: 10px;
        box-sizing: border-box;
        font-size: 1rem;
        gap: 0.75rem;
    }

    .radio-label input[type="radio"],
    .checkbox-label input[type="checkbox"] {
        width: 22px;
        height: 22px;
        min-width: 22px;
    }

    .rsvp-form input,
    .rsvp-form select,
    .rsvp-form textarea,
    .playlist-form input,
    .mensaje-form input,
    .mensaje-form textarea {
        min-height: 48px;
        font-size: 16px;
    }

    .rsvp-form textarea,
    .mensaje-form textarea {
        min-height: 96px;
    }
}
