/* ===================================
   AUTORIZACIÓN OFICIAL - ESTILOS
   =================================== */

/* === Hero Badge === */
.hero-auth-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.auth-badge-content {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(184, 148, 30, 0.95) 100%);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.auth-badge-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}

.auth-badge-content i:first-child {
    color: #fff;
    font-size: 20px;
}

.auth-badge-text {
    display: flex;
    flex-direction: column;
    color: #fff;
}

.auth-badge-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.auth-badge-number {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.auth-badge-zoom {
    color: #fff;
    font-size: 14px;
    opacity: 0.8;
}

/* === Sección de Autorización en "Quiénes Somos" === */
.official-authorization-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f4e8c1 0%, #fff9e6 100%);
    border-radius: 15px;
    border: 2px solid #d4af37;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

.auth-container {
    max-width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 25px;
}

.auth-icon {
    font-size: 40px;
    color: #d4af37;
    margin-bottom: 10px;
}

.auth-header h3 {
    font-size: 1.8rem;
    color: #0a0a0a;
    margin: 0;
}

.auth-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.auth-image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.auth-image-wrapper:hover {
    transform: scale(1.02);
}

.auth-credential {
    width: 100%;
    height: auto;
    display: block;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
}

.auth-image-wrapper:hover .auth-overlay {
    opacity: 1;
}

.auth-overlay i {
    font-size: 40px;
}

.auth-overlay span {
    font-size: 16px;
    font-weight: 600;
}

.auth-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.auth-detail-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.auth-detail-item i {
    font-size: 24px;
    color: #d4af37;
    min-width: 30px;
}

.auth-detail-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.auth-detail-item strong {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-detail-item span {
    font-size: 16px;
    color: #0a0a0a;
    font-weight: 600;
}

.auth-highlight {
    color: #d4af37 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
}

.auth-footer-text {
    margin-top: 20px;
    text-align: center;
    color: #333;
    line-height: 1.6;
    font-size: 15px;
}

/* === Modal de Autorización === */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

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

.auth-modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalZoomIn 0.4s ease-out;
}

@keyframes modalZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(212, 175, 55, 0.9);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.auth-modal-close:hover {
    background: #d4af37;
    transform: rotate(90deg);
}

.auth-modal-header {
    text-align: center;
    padding: 40px 30px 20px;
    background: linear-gradient(135deg, #f4e8c1 0%, #fff9e6 100%);
    border-radius: 20px 20px 0 0;
}

.auth-modal-header i {
    font-size: 50px;
    color: #d4af37;
    margin-bottom: 15px;
}

.auth-modal-header h2 {
    font-size: 2rem;
    color: #0a0a0a;
    margin: 0 0 10px 0;
}

.auth-modal-header p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.auth-modal-body {
    padding: 30px;
}

.auth-modal-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

.auth-modal-info {
    background: #f8f8f8;
    padding: 25px;
    border-radius: 10px;
}

.auth-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.auth-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth-info-item i {
    font-size: 30px;
    color: #d4af37;
    margin-bottom: 10px;
}

.auth-info-item span {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.auth-info-item strong {
    font-size: 18px;
    color: #0a0a0a;
    font-weight: 700;
}

.auth-modal-description {
    color: #333;
    line-height: 1.8;
    text-align: center;
    margin: 0;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .auth-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-auth-badge {
        top: 10px;
        right: 10px;
    }
    
    .auth-badge-content {
        padding: 8px 15px;
        gap: 8px;
    }
    
    .auth-badge-label {
        font-size: 9px;
    }
    
    .auth-badge-number {
        font-size: 14px;
    }
    
    .official-authorization-section {
        padding: 20px;
    }
    
    .auth-header h3 {
        font-size: 1.4rem;
    }
    
    .auth-body {
        gap: 20px;
    }
    
    .auth-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .auth-modal-content {
        max-height: 95vh;
    }
    
    .auth-modal-header {
        padding: 30px 20px 15px;
    }
    
    .auth-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .auth-modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-auth-badge {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px auto;
        width: fit-content;
    }
    
    .auth-badge-zoom {
        display: none;
    }
}