
/* ========================================
   SOLUCIÓN AMIGABLE: INFORMATIVA PERO NO OBLIGATORIA - MERCADO AMERICANO
   ======================================== */

/* Banner amigable - Visible pero discreto, cerrable */
.us-market-friendly-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    padding: 15px;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(33, 150, 243, 0.3);
    border-bottom: 3px solid #64B5F6;
    font-family: 'Inter', Arial, sans-serif;
    transition: all 0.3s ease;
}

.us-market-friendly-banner.minimized {
    transform: translateY(-100%);
    opacity: 0;
}

.us-market-friendly-banner .banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.us-market-friendly-banner .banner-text {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.us-market-friendly-banner .banner-icon {
    font-size: 1.5rem;
    color: #E3F2FD;
    animation: gentle-pulse 3s infinite;
}

@keyframes gentle-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.us-market-friendly-banner .banner-info {
    flex: 1;
}

.us-market-friendly-banner .banner-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: #E3F2FD;
}

.us-market-friendly-banner .banner-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.3;
}

.us-market-friendly-banner .banner-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.us-market-friendly-banner .close-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.us-market-friendly-banner .close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.us-market-friendly-banner .info-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.us-market-friendly-banner .info-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Indicador sutil en el header */
.us-market-header-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
    transition: all 0.3s ease;
}

.us-market-header-indicator:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 12px rgba(33, 150, 243, 0.4);
}

/* Pie de página prominente */
.footer-us-market {
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 4px solid #2196F3;
}

.footer-us-market .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-us-market .footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #E3F2FD;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-us-market .footer-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #BBDEFB;
}

.footer-us-market .footer-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    margin: 30px auto;
    max-width: 800px;
    border-left: 5px solid #64B5F6;
}

.footer-us-market .footer-details h4 {
    color: #E3F2FD;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-us-market .footer-details ul {
    margin: 0;
    padding-left: 20px;
    text-align: left;
}

.footer-us-market .footer-details li {
    margin-bottom: 12px;
    color: #E3F2FD;
    font-weight: 500;
}

.footer-us-market .footer-highlight {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 600px;
    border: 2px solid #64B5F6;
}

.footer-us-market .footer-highlight p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #E3F2FD;
}

/* Modal informativo (no bloqueante) */
.us-market-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.us-market-info-modal.active {
    opacity: 1;
    visibility: visible;
}

.us-market-info-modal .modal-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.us-market-info-modal.active .modal-content {
    transform: scale(1);
}

.us-market-info-modal .modal-header {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    padding: 20px;
    margin: -30px -30px 30px -30px;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.us-market-info-modal .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.us-market-info-modal .modal-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.us-market-info-modal .modal-body {
    color: #333;
    line-height: 1.6;
}

.us-market-info-modal .modal-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #2196F3;
}

.us-market-info-modal .modal-section h4 {
    color: #1976D2;
    margin-top: 0;
    margin-bottom: 15px;
}

.us-market-info-modal .modal-section ul {
    margin: 0;
    padding-left: 20px;
}

.us-market-info-modal .modal-section li {
    margin-bottom: 10px;
}

.us-market-info-modal .modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.us-market-info-modal .modal-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.us-market-info-modal .primary-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.us-market-info-modal .primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.us-market-info-modal .secondary-btn {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #dee2e6;
}

.us-market-info-modal .secondary-btn:hover {
    background: #e9ecef;
}

/* Botón flotante para información */
.us-market-float-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 9998;
}

.us-market-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.5);
}

/* Ajuste del body cuando el banner está activo */
.body-with-friendly-banner {
    padding-top: 80px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .us-market-friendly-banner {
        padding: 12px;
    }

    .us-market-friendly-banner .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .us-market-friendly-banner .banner-text {
        flex-direction: column;
        gap: 10px;
    }

    .us-market-friendly-banner .banner-title {
        font-size: 1rem;
    }

    .us-market-friendly-banner .banner-subtitle {
        font-size: 0.85rem;
    }

    .footer-us-market {
        padding: 30px 15px;
    }

    .footer-us-market .footer-title {
        font-size: 1.3rem;
    }

    .footer-us-market .footer-subtitle {
        font-size: 1rem;
    }

    .footer-us-market .footer-details {
        padding: 20px;
    }

    .us-market-info-modal .modal-content {
        padding: 20px;
    }

    .us-market-info-modal .modal-header {
        padding: 15px;
        margin: -20px -20px 20px -20px;
    }

    .us-market-info-modal .modal-title {
        font-size: 1.3rem;
    }

    .body-with-friendly-banner {
        padding-top: 100px !important;
    }
}

/* ========================================
   FIN DE LA SOLUCIÓN AMIGABLE
   ======================================== */
