/**
 * Estilos para Calidad V2 (Beta)
 * Diseño moderno con efectos avanzados
 */

.page-calidad-v2 {
    background: #111111;
    color: #e6e6e6;
    overflow-x: hidden;
}

/* Hero Section */
.calidad-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    overflow: hidden;
}

#particles-hero {
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #dbad50 0%, #ffb347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #e6e6e6;
    margin-bottom: 0.5rem;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(230, 230, 230, 0.7);
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 90, 95, 0.1);
    border: 2px solid #dbad50;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
}

.badge-icon {
    font-size: 2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(230, 230, 230, 0.6);
    font-size: 0.875rem;
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #dbad50 0%, transparent 100%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

/* Section Padding */
.section-padding {
    padding: 6rem 2rem;
}

.bg-dark {
    background: #0a0a0a;
}

/* Section Title */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: #e6e6e6;
    letter-spacing: -0.02em;
}

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

/* Intro Grid */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text {
    max-width: 600px;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #e6e6e6;
}

.intro-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(230, 230, 230, 0.8);
    margin-bottom: 1rem;
}

/* Stats Cards */
.intro-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
    border: 2px solid #2a2a2a;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.stat-card:hover {
    border-color: #dbad50;
    box-shadow: 0 20px 40px rgba(255, 90, 95, 0.2);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: #dbad50;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-suffix {
    display: inline;
    font-size: 4rem;
    font-weight: 800;
    color: #dbad50;
}

.stat-label {
    font-size: 1rem;
    color: rgba(230, 230, 230, 0.7);
    font-weight: 500;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 60px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #dbad50 0%, transparent 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-icon {
    position: absolute;
    left: -48px;
    top: 0;
    width: 40px;
    height: 40px;
    background: #dbad50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 0 20px rgba(255, 90, 95, 0.5);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #e6e6e6;
}

.timeline-content p {
    font-size: 1rem;
    color: rgba(230, 230, 230, 0.7);
    line-height: 1.6;
}

/* Certificado Card */
.certificado-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
    border: 2px solid #dbad50;
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.certificado-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 90, 95, 0.1) 0%, transparent 70%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.certificado-content {
    position: relative;
    z-index: 1;
}

.certificado-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(230, 230, 230, 0.8);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-certificado {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #dbad50;
    color: #000;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 90, 95, 0.3);
}

.btn-certificado:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 90, 95, 0.5);
    background: #dbad50;
}

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

/* Compromiso Grid */
.compromiso-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.compromiso-item {
    background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
    border: 2px solid #2a2a2a;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.compromiso-item:hover {
    border-color: #dbad50;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 90, 95, 0.2);
}

.compromiso-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.compromiso-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e6e6e6;
}

.compromiso-item p {
    font-size: 1rem;
    color: rgba(230, 230, 230, 0.7);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 1.5rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .timeline {
        padding-left: 50px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-icon {
        left: -43px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .certificado-card {
        padding: 2.5rem 1.5rem;
    }

    .compromiso-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
