/* ============================================
   RSVP - ESTILO CLÁSICO MEJORADO
   ============================================ */

/* --------------------------------------------
   1. SECCIÓN PRINCIPAL
   -------------------------------------------- */
.rsvp {
    padding: 5rem 0;
    background: var(--color-primary);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.rsvp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 40% 60%, rgba(133, 13, 35, 0.03) 40%, transparent 40%),
        radial-gradient(circle at 60% 40%, rgba(212, 175, 55, 0.04) 30%, transparent 30%);
    z-index: 0;
}

.rsvp .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.rsvp-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* --------------------------------------------
   2. ENCABEZADO
   -------------------------------------------- */
.rsvp-header {
    text-align: center;
    margin-bottom: 4rem;
}

.rsvp-header .section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-secondary);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.rsvp-header .decorative-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    margin: 0 auto 1.5rem;
    position: relative;
}

.rsvp-header .decorative-line::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--color-secondary);
    border-radius: 50%;
}

.rsvp-header .section-subtitle {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-text-light);
    font-style: italic;
    font-weight: 300;
}

/* --------------------------------------------
   3. CONTENIDO PRINCIPAL
   -------------------------------------------- */
.rsvp-main {
    text-align: center;
    animation: fadeInUp 1s ease-out forwards;
}

.rsvp-message {
    margin-bottom: 3rem;
}

.rsvp-text {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.rsvp-action {
    margin-bottom: 4rem;
}

/* --------------------------------------------
   4. BOTONES PRINCIPALES
   -------------------------------------------- */
.rsvp-button,
.whatsapp-button,
.btn-primary,
.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, var(--color-secondary), #6b0a1c);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(133, 13, 35, 0.2);
    text-decoration: none;
    min-width: 200px;
    animation: fadeInUp 1s ease-out 0.4s both;
    position: relative;
    overflow: hidden;
}

.rsvp-button.whatsapp-button {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.rsvp-button::before,
.whatsapp-button::before,
.btn-primary::before,
.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.rsvp-button:hover::before,
.whatsapp-button:hover::before,
.btn-primary:hover::before,
.form-submit:hover::before {
    left: 100%;
}

.rsvp-button:hover,
.whatsapp-button:hover,
.btn-primary:hover,
.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(133, 13, 35, 0.35);
    background: linear-gradient(135deg, #6b0a1c, var(--color-secondary));
}

.rsvp-button.whatsapp-button:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.35);
}

.rsvp-button:active,
.whatsapp-button:active,
.btn-primary:active,
.form-submit:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

.button-text {
    z-index: 2;
    position: relative;
}

.button-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.rsvp-button:hover .button-shimmer,
.whatsapp-button:hover .button-shimmer {
    left: 100%;
}

/* --------------------------------------------
   5. BOTONES SECUNDARIOS
   -------------------------------------------- */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2rem, 4vw, 3rem);
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(133, 13, 35, 0.2);
}

.btn-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, #e9b949, #d4a337);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(233, 185, 73, 0.2);
    text-decoration: none;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(233, 185, 73, 0.3);
    background: linear-gradient(135deg, #d4a337, #e9b949);
}

/* --------------------------------------------
   6. DETALLES RSVP (FECHA LÍMITE Y ADULTOS)
   -------------------------------------------- */
.rsvp-details {
    background: linear-gradient(135deg, rgba(133, 13, 35, 0.08), rgba(133, 13, 35, 0.12));
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid rgba(133, 13, 35, 0.15);
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(133, 13, 35, 0.08);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(133, 13, 35, 0.1);
}

.detail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(133, 13, 35, 0.12);
    background: rgba(255, 255, 255, 0.8);
}

.detail-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--color-secondary), #6b0a1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--color-white);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(133, 13, 35, 0.2);
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}

.detail-value {
    display: block;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: var(--color-text);
    font-weight: 400;
    line-height: 1.6;
}

.detail-value:first-of-type {
    font-weight: 500;
    color: #1a1a1a;
}

.detail-value:not(:last-child) {
    margin-bottom: 0.4rem;
}

/* --------------------------------------------
   7. ORNAMENTO DECORATIVO
   -------------------------------------------- */
.rsvp-ornament {
    margin-top: 4rem;
    text-align: center;
}

.ornament-line {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    margin: 0 auto;
    position: relative;
}

.ornament-line::before,
.ornament-line::after {
    content: '';
    position: absolute;
    top: -2px;
    width: 4px;
    height: 4px;
    background: var(--color-secondary);
    border-radius: 50%;
}

.ornament-line::before {
    left: 20px;
}

.ornament-line::after {
    right: 20px;
}

/* --------------------------------------------
   8. MODAL RSVP
   -------------------------------------------- */
.rsvp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    animation: fadeIn 0.3s ease-out;
    overflow-y: auto;
}

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

.modal-content {
    background: var(--color-white);
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    animation: scaleIn 0.3s ease-out;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(133, 13, 35, 0.1);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(1rem, 3vw, 1.5rem);
    border-bottom: 1px solid rgba(133, 13, 35, 0.1);
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, var(--color-secondary), #6b0a1c);
    color: var(--color-white);
    z-index: 10;
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    font-family: var(--font-serif);
    color: var(--color-white);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin: 0;
    font-weight: 400;
}

.modal-close {
    background: none;
    border: none;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    cursor: pointer;
    color: var(--color-white);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------
   9. FORMULARIOS
   -------------------------------------------- */
.rsvp-form {
    padding: clamp(1rem, 3vw, 1.5rem);
}

.rsvp-step {
    width: 100%;
    animation: fadeInUp 0.5s ease-out;
    padding: clamp(1rem, 3vw, 1.5rem);
}

.grupo-info {
    margin-bottom: 1.5rem;
    animation: slideInLeft 0.6s ease-out;
}

.grupo-info .alert {
    margin-bottom: 1rem;
    padding: clamp(1rem, 3vw, 1.2rem);
    border-radius: 10px;
    background: rgba(133, 13, 35, 0.1);
    border-left: 4px solid var(--color-secondary);
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--color-text);
}

.form-group {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.5s ease-out;
}

.form-group:nth-child(n+2) {
    animation-delay: calc(0.1s * var(--i, 0));
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text);
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-family: var(--font-sans);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: clamp(0.6rem, 2vw, 0.8rem);
    border: 2px solid rgba(133, 13, 35, 0.2);
    border-radius: 8px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    background: var(--color-white);
    box-sizing: border-box;
    color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(133, 13, 35, 0.1);
    transform: translateY(-1px);
}

#codigo_grupo {
    text-transform: uppercase !important;
    font-weight: 600;
    letter-spacing: 1px;
}

.campos-asistencia {
    border-left: 3px solid var(--color-secondary);
    padding: clamp(1rem, 3vw, 1.2rem);
    margin: 1.5rem 0;
    background: rgba(133, 13, 35, 0.05);
    border-radius: 0 10px 10px 0;
    animation: slideInLeft 0.6s ease-out;
}

.nombres-container .form-group {
    margin-top: 1rem;
    padding-left: clamp(0.8rem, 2vw, 1rem);
    border-left: 2px solid rgba(133, 13, 35, 0.2);
    animation: fadeInUp 0.4s ease-out;
}

/* --------------------------------------------
   10. CONFIRMACIÓN Y RESPUESTAS
   -------------------------------------------- */
.confirmacion-header {
    margin-bottom: 2rem;
    text-align: center;
}

.confirmacion-header h4 {
    font-family: var(--font-serif);
    color: var(--color-secondary);
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.confirmacion-header p {
    color: var(--color-text-light);
    margin-bottom: 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.confirmacion-info,
.respuesta-existente,
.resumen-confirmacion,
.resumen-final {
    background: rgba(133, 13, 35, 0.08);
    padding: clamp(1.2rem, 3vw, 1.8rem);
    border-radius: 10px;
    border-left: 4px solid var(--color-secondary);
    margin: 1.5rem 0 2rem 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
    color: var(--color-text);
}

.respuesta-existente {
    border-left-color: #6b0a1c;
}

/* --------------------------------------------
   11. ÉXITO
   -------------------------------------------- */
.exito-container {
    text-align: center;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.exito-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-secondary), #6b0a1c);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem auto;
    animation: scaleIn 0.6s ease-out 0.2s both;
}

.exito-container h3 {
    font-family: var(--font-serif);
    color: var(--color-secondary);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
    font-weight: 400;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.exito-container p {
    color: var(--color-text);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

/* --------------------------------------------
   12. BOTONES DEL FORMULARIO
   -------------------------------------------- */
.form-buttons {
    display: flex;
    gap: clamp(0.8rem, 2vw, 1.2rem);
    justify-content: space-between;
    margin-top: 2rem;
    flex-wrap: wrap;
    padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.form-buttons .btn {
    flex: 1;
    min-width: 120px;
}

.form-submit {
    width: calc(100% - clamp(1rem, 4vw, 2rem));
    margin: 1.5rem clamp(0.5rem, 2vw, 1rem) 0;
    box-sizing: border-box;
}

/* --------------------------------------------
   13. ALERTAS Y MENSAJES
   -------------------------------------------- */
.alert-container {
    margin: 1.5rem clamp(0.5rem, 2vw, 1rem);
}

.alert {
    padding: clamp(1rem, 3vw, 1.2rem);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    animation: fadeInUp 0.4s ease-out;
}

.alert-info {
    background: rgba(133, 13, 35, 0.1);
    border-left: 4px solid var(--color-secondary);
    color: var(--color-text);
}

.alert-warning {
    background: rgba(233, 185, 73, 0.1);
    border-left: 4px solid #e9b949;
    color: var(--color-text);
}

.alert-success {
    background: rgba(133, 13, 35, 0.1);
    border-left: 4px solid #6b0a1c;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.form-text {
    font-size: clamp(0.8rem, 1.8vw, 0.9rem);
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.text-muted {
    color: var(--color-text-light) !important;
}

/* --------------------------------------------
   14. UTILIDADES
   -------------------------------------------- */
.mb-3 {
    margin-bottom: 1.5rem !important;
}

.form-submit:disabled,
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-warning:disabled {
    background: var(--color-text-light);
    cursor: not-allowed;
    transform: none;
    border-color: var(--color-text-light);
}

.form-submit.loading,
.btn-primary.loading,
.btn-secondary.loading,
.btn-warning.loading {
    position: relative;
    color: transparent;
}

.form-submit.loading::after,
.btn-primary.loading::after,
.btn-secondary.loading::after,
.btn-warning.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.rsvp.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* --------------------------------------------
   15. ANIMACIONES
   -------------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes scaleIn {
    from { 
        opacity: 0; 
        transform: scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

@keyframes slideInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-20px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --------------------------------------------
   16. MEDIA QUERIES
   -------------------------------------------- */
@media (max-width: 768px) {
    .rsvp {
        padding: 3rem 0;
    }
    
    .rsvp-modal {
        padding: 1rem 0.5rem;
        align-items: center;
    }
    
    .modal-content {
        max-height: calc(100vh - 2rem);
    }

    .rsvp-step {
        padding: clamp(0.8rem, 2vw, 1rem);
    }
    
    .form-buttons {
        flex-direction: column;
        padding: 0;
        gap: 1rem;
    }
    
    .form-buttons .btn {
        flex: none;
        width: 100%;
    }
    
    .campos-asistencia {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .nombres-container .form-group {
        padding-left: 0.8rem;
    }

    .exito-container {
        padding: 1.5rem 1rem;
    }

    .form-submit {
        width: 100%;
        margin: 1.5rem 0 0;
    }

    .alert-container {
        margin: 1rem 0;
    }

    .confirmacion-info,
    .respuesta-existente,
    .resumen-confirmacion,
    .resumen-final {
        margin: 1rem 0;
        padding: 1rem;
    }

    .rsvp-header {
        margin-bottom: 2.5rem;
    }

    .rsvp-message {
        margin-bottom: 2rem;
    }

    .rsvp-action {
        margin-bottom: 2.5rem;
    }

    .rsvp-button,
    .whatsapp-button,
    .btn-primary,
    .btn-secondary,
    .btn-warning {
        padding: 1rem 2rem;
        font-size: 1rem;
        gap: 0.8rem;
        width: 100%;
        min-width: auto;
    }

    .rsvp-details {
        padding: 2rem;
        margin-top: 1.5rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .detail-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 1.2rem;
        padding: 1.2rem;
    }

    .detail-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .rsvp-ornament {
        margin-top: 2.5rem;
    }
}

@media (max-width: 480px) {
    .rsvp {
        padding: 2.5rem 0;
    }
    
    .rsvp-modal {
        padding: 0.5rem;
        align-items: center;
    }
    
    .modal-content {
        max-height: calc(100vh - 1rem);
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .rsvp-form {
        padding: 0.8rem;
    }

    .rsvp-step {
        padding: 0.8rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .rsvp-button,
    .whatsapp-button,
    .btn-primary,
    .btn-secondary,
    .btn-warning {
        min-width: 180px;
        padding: 1rem 2rem;
        width: 100%;
        justify-content: center;
    }

    .exito-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .confirmacion-header {
        margin-bottom: 1.5rem;
    }

    .rsvp-content {
        padding: 0 1rem;
    }

    .rsvp-header .section-title {
        font-size: 2rem;
    }

    .rsvp-details {
        padding: 1.5rem;
    }

    .detail-grid {
        gap: 1rem;
    }

    .detail-item {
        padding: 1rem;
        gap: 1rem;
    }

    .detail-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .detail-label {
        font-size: 0.85rem;
    }

    .detail-value {
        font-size: 0.95rem;
    }

    .rsvp-text {
        font-size: 1rem;
    }
}

/* --------------------------------------------
   17. ACCESIBILIDAD
   -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --------------------------------------------
   18. COMPATIBILIDAD - ESTILOS ORIGINALES PLANTILLA 1
   -------------------------------------------- */
.rsvp .container.original {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.rsvp h2.original {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.rsvp p.original {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.rsvp-button.original {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.rsvp-button.original:hover {
    background: #6b0a1c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.rsvp-modal.original {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.rsvp-modal.original.active {
    display: flex;
}

.modal-content.original {
    background: var(--color-white);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

/* Estilos para modal de fecha límite */
.fechaLimite-content {
    text-align: center;
    padding: 1rem 1rem;
}

.fechaLimite-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.fechaLimite-content h4 {
    color: var(--color-secondary);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.fechaLimite-content p {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.fechaLimite-contacto {
    background: rgba(133, 13, 35, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--color-secondary);
    margin-top: 2rem;
    text-align: left;
}

.contacto-info {
    margin-top: 1rem;
}

.contacto-info strong {
    color: var(--color-secondary);
    display: block;
    margin-bottom: 0.5rem;
}

/* Animación para el icono */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Estilos para el footer del modal */
.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(133, 13, 35, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.modal-body {
    padding: 0;
}

/* ============================================
   FIN DEL CSS RSVP
   ============================================ */