/**
 * Estilos del módulo de información
 * Colores: #8b2d33 (rojo), #f4a261 (dorado), #fffaf4 (crema), #f2ceb0 (beige)
 */

/* === HEADER SECTION === */
.info-module .info-header-section {
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fffaf4 0%, #fff8f0 100%);
    border-left: 4px solid #f4a261;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.info-module .info-main-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #8b2d33;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.3;
}

.info-module .info-main-title i {
    color: #f4a261;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.info-module .info-main-description {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #4b5563;
}

/* === GRID DE BOTONES === */
.info-module .info-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.info-module .info-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    padding: 0.625rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-family: inherit;
}

.info-module .info-btn:hover:not(.btn-disabled):not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: currentColor;
}

.info-module .info-btn i {
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-module .info-btn:hover i {
    transform: scale(1.1);
}

.info-module .info-btn span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
    text-align: left;
    line-height: 1.2;
    flex: 1;
    transition: color 0.3s ease;
}

/* Colores específicos por tipo de botón */
.info-module .info-btn:nth-child(1) i { color: #8b2d33; }
.info-module .info-btn:nth-child(1):hover { border-color: #8b2d33; }
.info-module .info-btn:nth-child(1):hover span { color: #8b2d33; }

.info-module .info-btn:nth-child(2) i { color: #f4a261; }
.info-module .info-btn:nth-child(2):hover { border-color: #f4a261; }
.info-module .info-btn:nth-child(2):hover span { color: #f4a261; }

.info-module .info-btn:nth-child(3) i { color: #ef4444; }
.info-module .info-btn:nth-child(3):hover { border-color: #ef4444; }
.info-module .info-btn:nth-child(3):hover span { color: #ef4444; }

.info-module .info-btn:nth-child(4) i { color: #3b82f6; }
.info-module .info-btn:nth-child(4):hover { border-color: #3b82f6; }
.info-module .info-btn:nth-child(4):hover span { color: #3b82f6; }

.info-module .info-btn:nth-child(5) {
    grid-column: span 2;
}

.info-module .info-btn:nth-child(5) i { color: #10b981; }
.info-module .info-btn:nth-child(5):hover { border-color: #10b981; }
.info-module .info-btn:nth-child(5):hover span { color: #10b981; }

.info-module .info-btn.btn-disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
}

.info-module .info-btn.btn-disabled:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-color: #e5e7eb;
}

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

.info-module .info-modal.active {
    display: flex !important;
}

.info-module .modal-content {
    position: relative;
    width: 100%;
    max-width: 42rem;
    background: linear-gradient(to bottom, #fffaf4, #fff);
    border-radius: 1.5rem;
    border: 2px solid #f2ceb0;
    box-shadow: 0 20px 60px rgba(139, 45, 51, 0.3);
    padding: 1.5rem;
    margin: 0 1rem;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.info-module .modal-content.wide {
    max-width: 56rem;
}

.info-module .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f2ceb0;
    background: linear-gradient(to right, #fff2e1, #ffe1c8);
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 1.5rem 1.5rem 0 0;
}

.info-module .modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #8b2d33;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-module .modal-header h3::before {
    content: '';
    width: 4px;
    height: 1.5rem;
    background: linear-gradient(to bottom, #8b2d33, #f4a261);
    border-radius: 2px;
}

.info-module .close-modal-btn {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #8b2d33;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.info-module .close-modal-btn:hover {
    background: rgba(139, 45, 51, 0.1);
    transform: rotate(90deg);
}

.info-module .modal-body {
    overflow-y: auto;
    flex: 1;
}

.info-module .modal-body::-webkit-scrollbar {
    width: 8px;
}

.info-module .modal-body::-webkit-scrollbar-track {
    background: #fffaf4;
    border-radius: 4px;
}

.info-module .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #f4a261, #8b2d33);
    border-radius: 4px;
}

/* === CONTENIDO DEL MODAL === */
.info-module .content-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f2ceb0;
}

.info-module .content-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #8b2d33;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.info-module .content-title i {
    color: #f4a261;
    font-size: 1.375rem;
}

.info-module .content-description {
    margin: 1rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #fffaf4 0%, #ffffff 100%);
    border-left: 4px solid #f4a261;
    border-radius: 0.5rem;
    color: #4b5563;
    font-size: 0.9375rem;
    line-height: 1.6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* === LISTAS DE CONTENIDO (Recomendaciones, etc.) === */
.info-module .info-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0.5rem 0 !important;
    display: block !important;
}

.info-module .info-list li {
    margin: 0 0 0.75rem 0 !important;
    padding: 0 0 0 1.75rem !important;
    position: relative !important;
    line-height: 1.6 !important;
    color: #334155 !important;
    font-size: 0.95rem !important;
    display: block !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.info-module .info-list li::before {
    content: '✓' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0.1rem !important;
    color: #10b981 !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    display: inline-block !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.info-module .info-list.prohibitions li {
    padding: 0 0 0 1.75rem !important;
    margin: 0 0 0.75rem 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    border-left: none !important;
    border: none !important;
    box-shadow: none !important;
}

.info-module .info-list.prohibitions li::before {
    content: '✕' !important;
    color: #ef4444 !important;
    background: transparent !important;
    border: none !important;
    font-size: 1rem !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    left: 0 !important;
    top: 0.1rem !important;
    font-weight: 700 !important;
    position: absolute !important;
    display: inline-block !important;
    border-radius: 0 !important;
} 

/* === CONTENIDO FAQ === */
.info-module .info-faq {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid #f2ceb0;
    transition: all 0.2s ease;
}

.info-module .info-faq:hover {
    box-shadow: 0 4px 12px rgba(139, 45, 51, 0.1);
    border-color: #f4a261;
}

.info-module .info-faq h4 {
    font-weight: 600;
    font-size: 0.9rem;
    color: #8b2d33;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.info-faq h4::before {
    content: '?';
    background: linear-gradient(135deg, #8b2d33 0%, #f4a261 100%);
    color: white;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.info-module .info-faq p {
    color: #4b5563;
    font-size: 0.85rem;
    line-height: 1.5;
    padding-left: 1.65rem;
}

.info-module .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.info-module .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem;
}

.info-module .map-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid #f2ceb0;
}

.info-module .map-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.info-module .map-image:hover {
    transform: scale(1.02);
}

.info-module .campo-pendiente {
    color: #991b1b;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border: 1px solid #f87171;
}

.info-module .campo-pendiente::before {
    content: '⚠';
    font-size: 0.875rem;
}

/* === FORMULARIO === */
.info-module .formulario-reserva {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(to bottom, #fffaf4, #fff);
    border: 2px solid #f2ceb0;
    border-radius: 0.5rem;
}

.info-module .form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.375rem;
    border-bottom: 2px solid #f2ceb0;
    margin-bottom: 0.5rem;
}

.info-module .form-titulo {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #8b2d33;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.info-module .form-titulo i {
    font-size: 0.85rem;
    color: #f4a261;
}

.info-module .form-descripcion {
    margin: 0 0 0.5rem 0;
    font-size: 0.65rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem;
    background: linear-gradient(135deg, #fffaf4 0%, #ffffff 100%);
    border-left: 2px solid #f4a261;
    border-radius: 0.25rem;
}

.info-module .form-descripcion i {
    color: #f4a261;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.info-module .close-form-btn {
    background: transparent;
    border: none;
    color: #8b2d33;
    font-size: 1.25rem;
    cursor: pointer;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.info-module .close-form-btn:hover {
    background: rgba(139, 45, 51, 0.1);
    transform: rotate(90deg);
}

.info-module .form-reserva-modal {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.info-module .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.375rem;
}

.info-module .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.info-module .form-reserva-modal label {
    font-size: 0.625rem;
    font-weight: 600;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.info-module .form-reserva-modal label i {
    color: #8b2d33;
    font-size: 0.65rem;
}

.info-module .form-reserva-modal input,
.info-module .form-reserva-modal textarea {
    padding: 0.375rem;
    border: 1px solid #f2ceb0;
    border-radius: 0.25rem;
    font-size: 0.65rem;
    transition: all 0.2s ease;
    background: white;
    width: 100%;
}

.info-module .form-reserva-modal input:focus,
.info-module .form-reserva-modal textarea:focus {
    outline: none;
    border-color: #f4a261;
    box-shadow: 0 0 0 2px rgba(244, 162, 97, 0.1);
}

.info-module .form-reserva-modal textarea {
    resize: vertical;
    min-height: 50px;
    font-family: inherit;
}

.info-module .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
    font-size: 0.6rem;
    margin-top: 0.25rem;
}

.info-module .form-checkbox input[type="checkbox"] {
    width: 0.875rem;
    height: 0.875rem;
    cursor: pointer;
    accent-color: #3ba776 !important;
    -webkit-appearance: checkbox;
    appearance: checkbox;
    flex-shrink: 0;
}

.info-module .form-checkbox input[type="checkbox"]:checked {
    accent-color: #3ba776 !important;
    background-color: #3ba776 !important;
    border-color: #3ba776 !important;
}

.info-module .form-checkbox label {
    color: #6b7280;
    line-height: 1.3;
    font-size: 0.6rem;
}

.info-module .form-checkbox a {
    color: #8b2d33;
    text-decoration: underline;
}

.info-module .btn-enviar {
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #3ba776 0%, #2d8659 100%);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.375rem;
}

.info-module .btn-enviar:hover {
    background: linear-gradient(135deg, #2d8659 0%, #3ba776 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(59, 167, 118, 0.3);
}

.info-module .btn-enviar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.info-module .mensaje-exito,
.info-module .mensaje-error {
    padding: 0.375rem;
    border-radius: 0.25rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.65rem;
    margin-top: 0.5rem;
}

.info-module .mensaje-exito {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #3ba776;
}

.info-module .mensaje-error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #dc2626;
}

/* === RESPONSIVE === */
@media (min-width: 640px) {
    .info-module .info-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .info-module .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .info-module .form-titulo {
        font-size: 1.125rem;
    }
    
    .info-module .form-descripcion {
        font-size: 0.875rem;
    }
    
    .info-module .form-reserva-modal label {
        font-size: 0.8rem;
    }
    
    .info-module .form-reserva-modal input,
    .info-module .form-reserva-modal textarea {
        font-size: 0.85rem;
        padding: 0.625rem;
    }
    
    .info-module .formulario-reserva {
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .info-module .info-buttons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .info-module .modal-content {
        margin: 0 0.5rem;
        padding: 1rem;
    }
    
    .info-module .modal-header {
        margin: -1rem -1rem 0.75rem -1rem;
        padding: 0.75rem 1rem;
    }
    
    .info-module .modal-header h3 {
        font-size: 1rem;
    }
}

/* Actualización: Lista simple para recomendaciones - v1.0.1 */

/* Badge de reCAPTCHA */
.info-recaptcha-badge {
    padding: 8px;
    background: #f0f9ff;
    border-radius: 6px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-recaptcha-badge svg {
    width: 14px;
    height: 14px;
    color: #3b82f6;
    flex-shrink: 0;
}

.info-recaptcha-badge span {
    font-size: 9px;
    color: #1e40af;
    line-height: 1.3;
}

.info-recaptcha-badge a {
    text-decoration: underline;
    color: #1e40af;
}

.info-recaptcha-badge a:hover {
    color: #1e3a8a;
}