/* ========================================
   PÁGINA PAGOS ONLINE - ESTILOS ESPECÍFICOS
   ======================================== */

/* Estilos base del hero (del home) */
.quirozchile-hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 25%, #3b82f6 50%, #2563eb 75%, #1d4ed8 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-badge {
    margin-bottom: 20px;
}

.badge-text {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    color: white;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.subtitle-icon {
    margin-right: 10px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-modern {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e3a8a;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
    color: #1e3a8a;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-icon {
    font-size: 1.1rem;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Section Personalizado para Pagos Online */
.pagos-hero .hero-background {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 25%, #2563eb 50%, #1d4ed8 75%, #1e3a8a 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Secciones */
.quirozchile-section {
    padding: 80px 0;
}

/* Títulos de sección con líneas */
h2.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

h2.section-title::after {
    content: '' !important;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b) !important;
    border-radius: 2px;
    display: block !important;
    z-index: 10;
}

/* Alternativa con elemento real */
.section-title-line {
    width: 60px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #fbbf24, #f59e0b) !important;
    border-radius: 2px !important;
    margin: 10px auto 30px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 50px;
}

/* Iconos de métodos de pago */
.payment-method-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
}

.payment-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.payment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.payment-method-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
    text-align: center;
}

.payment-method-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.payment-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.payment-features li {
    color: #374151;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.payment-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.payment-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #10b981;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Tarjetas de información de contacto - Estilos generales (no usados en pagos-online) */
.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Estilos generales de contact-icon - solo para compatibilidad */
.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.contact-info-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-action {
    margin-top: 20px;
}

/* Tarjetas de instrucciones */
.instructions-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.instructions-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 30px;
    text-align: center;
}

.instruction-step {
    text-align: center;
    margin-bottom: 30px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.instruction-step h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.instruction-step p {
    color: #6b7280;
    line-height: 1.6;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Métodos de Pago */
.pagos-methods {
    background: #f8fafc;
}

.payment-method-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.payment-method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.payment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 30px;
}

.payment-method-card h3 {
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.payment-method-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.payment-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.payment-features li {
    padding: 8px 0;
    color: #475569;
    position: relative;
    padding-left: 20px;
}

.payment-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.payment-security {
    background: #f0f9ff;
    padding: 15px;
    border-radius: 10px;
    color: #0369a1;
    font-weight: 500;
}

.payment-security i {
    margin-right: 8px;
    color: #3b82f6;
}

/* Información de Contacto */
.pagos-contact {
    background: #f8fafc;
}

.pagos-contact .container {
    display: flex;
    justify-content: center;
}

.pagos-contact .row {
    width: 100%;
    justify-content: center;
}

.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    margin: 0 auto;
    max-width: 100%;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h2 {
    color: #1e40af;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.contact-item {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item .contact-icon {
    width: 80px !important;
    height: 80px !important;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px !important;
    color: white !important;
    font-size: 30px !important;
    flex-shrink: 0;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
}

.contact-item .contact-icon i {
    font-size: 30px !important;
    line-height: 1 !important;
    color: white !important;
}

.contact-item h4 {
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.2rem;
    margin-top: 0;
}

.contact-item p {
    color: #1e293b;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.5;
    word-break: break-word;
}

.contact-item small {
    color: #64748b;
    font-size: 0.9rem;
    display: block;
    line-height: 1.5;
    white-space: normal;
}

/* Instrucciones */
.pagos-instructions {
    background: #f8fafc;
}

.pagos-instructions .container {
    display: flex;
    justify-content: center;
}

.pagos-instructions .row {
    width: 100%;
    justify-content: center;
}

.instructions-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 100%;
}

.instructions-card h2 {
    color: #1e40af;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.instruction-step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.instruction-step h4 {
    color: #1e40af;
    font-weight: 600;
    margin-bottom: 10px;
}

.instruction-step p {
    color: #64748b;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .payment-method-card {
        padding: 30px 20px;
    }
    
    .contact-info-card {
        padding: 40px 20px;
    }
    
    .instructions-card {
        padding: 40px 20px;
    }
    
    .quirozchile-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .payment-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}