/* ============================================================
    ARCHIVO: empresa.css
    Página de Empresa | UrgencLink
    Estilos para Historia, Misión, Visión, Valores, Equipo,
    Línea del Tiempo, CTA, Certificaciones, Partners y FAQ
    ============================================================ */

/* ============================================================
    SECCIÓN 1: HISTORIA
    ============================================================ */

.historia {
    background: #ffffff;
}

.historia-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.historia-grid p {
    font-size: 17px;
    line-height: 2;
    color: #6C757D;
    margin-bottom: 25px;
}

.historia-grid img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .15);
    transition: .4s;
}

.historia-grid img:hover {
    transform: scale(1.03);
}

/* ============================================================
    SECCIÓN 2: MISIÓN, VISIÓN Y VALORES (versión antigua)
    ============================================================ */

.mvv {
    background: #F6F9FD;
}

.tarjetas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.tarjetas .card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    text-align: center;
    padding: 45px 35px;
    transition: .4s;
}

.tarjetas .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #0B5ED7, #16C2F5);
}

.tarjetas .card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(11, 94, 215, .18);
}

.tarjetas .card i {
    width: 85px;
    height: 85px;
    border-radius: 22px;
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0B5ED7, #16C2F5);
    color: #fff;
    font-size: 34px;
}

.tarjetas .card h3 {
    font-size: 28px;
    margin-bottom: 18px;
    color: #061224;
}

.tarjetas .card p {
    line-height: 1.9;
    color: #6C757D;
}

/* ===== Efecto glass en la segunda tarjeta ===== */
.tarjetas .card:nth-child(2) {
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(15px);
}

/* ===== Animaciones de entrada ===== */
.tarjetas .card:nth-child(1) {
    animation: subir .9s ease;
}

.tarjetas .card:nth-child(2) {
    animation: subir 1.1s ease;
}

.tarjetas .card:nth-child(3) {
    animation: subir 1.3s ease;
}

/* ============================================================
    SECCIÓN 3: BADGES Y BOTONES DEL HERO
    ============================================================ */

.empresa-hero .badge {
    background: rgba(255, 255, 255, .12);
    color: #8BE9FF;
    border: 1px solid rgba(255, 255, 255, .18);
}

.empresa-hero .btn-primary {
    font-size: 17px;
    padding: 18px 36px;
}

/* ============================================================
    SECCIÓN 4: ANIMACIONES
    ============================================================ */

/* ===== Animación de flotación para la imagen del hero ===== */
@keyframes flotarEmpresa {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
    100% {
        transform: translateY(0);
    }
}

/* ===== Animación de entrada para tarjetas ===== */
@keyframes subir {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
    SECCIÓN 5: RESPONSIVE - SECCIONES GENERALES
    ============================================================ */

@media (max-width: 992px) {
    .empresa-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .empresa-grid h1 {
        font-size: 46px;
    }

    .historia-grid {
        grid-template-columns: 1fr;
    }

    .tarjetas {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .empresa-grid {
        padding-top: 30px;
    }

    .empresa-grid h1 {
        font-size: 38px;
    }

    .historia-grid p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .empresa-grid h1 {
        font-size: 32px;
    }

    .empresa-grid p {
        font-size: 15px;
    }

    .tarjetas .card {
        padding: 35px 25px;
    }

    .tarjetas .card h3 {
        font-size: 24px;
    }
}

/* ============================================================
    SECCIÓN 6: EQUIPO DE TRABAJO
    ============================================================ */

.equipo {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.equipo::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(22, 194, 245, 0.08);
    bottom: -180px;
    right: -180px;
}

.equipo-header {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.equipo-header h2 {
    font-size: 42px;
    color: #061224;
    margin-bottom: 15px;
    font-family: var(--font-sifon);
}

.equipo-header p {
    color: #6C757D;
    font-size: 18px;
    line-height: 1.8;
}

.equipo-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 50px;
}

/* ===== Tarjeta de miembro ===== */
.equipo-grid .miembro-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 0;
    border-radius: 22px;
    background: #fff;
    transition: .4s;
    border: 1px solid #EDF2F7;
}

.equipo-grid .miembro-card::after {
    content: "";
    position: absolute;
    width: 0;
    height: 4px;
    left: 0;
    bottom: 0;
    background: linear-gradient(90deg, #0B5ED7, #16C2F5);
    transition: .4s;
}

.equipo-grid .miembro-card:hover::after {
    width: 100%;
}

.equipo-grid .miembro-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 55px rgba(11, 94, 215, .15);
}

/* ===== Foto del miembro ===== */
.miembro-foto {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: #f0f2f5;
}

.miembro-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.equipo-grid .miembro-card:hover .miembro-foto img {
    transform: scale(1.08);
}

/* ===== Overlay al pasar el mouse ===== */
.miembro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 94, 215, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .4s;
}

.equipo-grid .miembro-card:hover .miembro-overlay {
    opacity: 1;
}

.miembro-overlay span {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 28px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
}

/* ===== Información del miembro ===== */
.miembro-info {
    padding: 28px 25px 25px;
}

.miembro-info h3 {
    font-size: 22px;
    color: #061224;
    margin-bottom: 4px;
}

.miembro-puesto {
    font-size: 14px;
    font-weight: 500;
    color: #0B5ED7;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.miembro-trayectoria {
    color: #6C757D;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* ===== Redes sociales del miembro ===== */
.miembro-redes {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.miembro-redes a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f0f2f5;
    color: #6C757D;
    text-decoration: none;
    font-size: 16px;
    transition: .35s;
}

.miembro-redes a:hover {
    background: #0B5ED7;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(11, 94, 215, .25);
}

/* ============================================================
    SECCIÓN 7: RESPONSIVE - EQUIPO
    ============================================================ */

@media (max-width: 992px) {
    .equipo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .equipo-header h2 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .equipo {
        padding: 60px 0;
    }

    .equipo-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .equipo-header h2 {
        font-size: 28px;
    }

    .equipo-header p {
        font-size: 16px;
    }

    .miembro-foto {
        height: 220px;
    }

    .miembro-info {
        padding: 20px 18px 18px;
    }

    .miembro-info h3 {
        font-size: 19px;
    }

    .miembro-trayectoria {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .equipo-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 40px auto 0;
    }

    .equipo-header h2 {
        font-size: 24px;
    }

    .miembro-foto {
        height: 250px;
    }

    .miembro-info h3 {
        font-size: 20px;
    }
}

/* ============================================================
    SECCIÓN 8: ANIMACIONES DEL EQUIPO
    ============================================================ */

.miembro-card.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.miembro-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.miembro-card.visible {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================================
    SECCIÓN 9: LÍNEA DEL TIEMPO - HISTORIA
    ============================================================ */

.timeline-section {
    background: #f8f9fa;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.timeline-section::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(22, 194, 245, 0.06);
    top: -180px;
    right: -180px;
}

.timeline-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 60px;
}

.timeline-header h2 {
    font-size: 42px;
    color: #061224;
    margin-bottom: 10px;
    font-family: var(--font-sifon);
}

.timeline-header p {
    color: #6C757D;
    font-size: 18px;
}

/* ===== Contenedor de la línea ===== */
.timeline {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

/* ===== Línea vertical central ===== */
.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #0B5ED7, #16C2F5);
    transform: translateX(-50%);
    border-radius: 4px;
}

/* ===== Cada hito ===== */
.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

/* ===== Items impares (izquierda) ===== */
.timeline-item:nth-child(odd) {
    flex-direction: row;
}

/* ===== Items pares (derecha) ===== */
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* ===== Badge (mes/año) ===== */
.timeline-badge {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0B5ED7, #16C2F5);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(11, 94, 215, 0.3);
    position: relative;
    z-index: 2;
    margin: 0 30px;
}

.timeline-month {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-year {
    font-size: 20px;
    letter-spacing: 0.5px;
}

/* ===== Contenido de cada hito ===== */
.timeline-content {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #EDF2F7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: .4s;
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(11, 94, 215, .12);
}

.timeline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(11, 94, 215, 0.1);
    color: #0B5ED7;
    font-size: 22px;
    margin-bottom: 15px;
    transition: .3s;
}

.timeline-content:hover .timeline-icon {
    background: #0B5ED7;
    color: #fff;
    transform: scale(1.05);
}

.timeline-content h3 {
    font-size: 20px;
    color: #061224;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #6C757D;
    font-size: 15px;
    line-height: 1.8;
}

/* ============================================================
    SECCIÓN 10: RESPONSIVE - LÍNEA DEL TIEMPO
    ============================================================ */

@media (max-width: 992px) {
    .timeline-header h2 {
        font-size: 34px;
    }

    .timeline-badge {
        width: 70px;
        height: 70px;
        margin: 0 20px;
    }

    .timeline-month {
        font-size: 14px;
    }

    .timeline-year {
        font-size: 18px;
    }

    .timeline-content {
        padding: 25px;
    }

    .timeline-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .timeline-section {
        padding: 60px 0;
    }

    .timeline-header h2 {
        font-size: 28px;
    }

    .timeline-header p {
        font-size: 16px;
    }

    /* Línea vertical más delgada y a la izquierda */
    .timeline::before {
        left: 30px;
        width: 3px;
    }

    /* Todos los items a la izquierda */
    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
        margin-bottom: 40px;
    }

    .timeline-badge {
        position: absolute;
        left: -10px;
        top: 0;
        width: 60px;
        height: 60px;
        margin: 0;
        z-index: 3;
    }

    .timeline-month {
        font-size: 12px;
    }

    .timeline-year {
        font-size: 16px;
    }

    .timeline-content {
        padding: 20px;
        border-radius: 12px;
    }

    .timeline-content h3 {
        font-size: 17px;
    }

    .timeline-content p {
        font-size: 14px;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .timeline-section {
        padding: 50px 15px;
    }

    .timeline-header h2 {
        font-size: 24px;
    }

    .timeline-header p {
        font-size: 14px;
    }

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

    .timeline-item {
        padding-left: 45px;
        margin-bottom: 30px;
    }

    .timeline-badge {
        width: 50px;
        height: 50px;
        left: -5px;
    }

    .timeline-month {
        font-size: 10px;
    }

    .timeline-year {
        font-size: 14px;
    }

    .timeline-content {
        padding: 16px;
    }

    .timeline-content h3 {
        font-size: 15px;
    }

    .timeline-content p {
        font-size: 13px;
    }

    .timeline-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-bottom: 10px;
    }
}

/* ============================================================
    SECCIÓN 11: MISIÓN, VISIÓN Y VALORES (NUEVA VERSIÓN)
    ============================================================ */

.mvv-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background: linear-gradient(135deg, #061224, #0B5ED7);
}

.mvv-section::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    top: -300px;
    right: -220px;
}

.mvv-section::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    bottom: -200px;
    left: -180px;
}

.mvv-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 60px;
}

.mvv-header .badge {
    background: rgba(255, 255, 255, .12);
    color: #8BE9FF;
    border: 1px solid rgba(255, 255, 255, .10);
}

.mvv-header h2 {
    color: #FFFFFF;
    font-size: 44px;
    margin: 15px 0 10px;
    font-family: var(--font-sifon);
}

.mvv-header p {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .75);
    font-size: 18px;
    line-height: 1.8;
}

/* ===== Misión y Visión ===== */
.mvv-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.mvv-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    transition: .35s;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
}

.mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
}

.mvv-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(11, 94, 215, .10), rgba(22, 194, 245, .10));
    color: #0B5ED7;
    font-size: 30px;
    margin-bottom: 20px;
    transition: .35s;
}

.mvv-card:hover .mvv-card-icon {
    background: linear-gradient(135deg, #0B5ED7, #16C2F5);
    color: #FFFFFF;
    transform: scale(1.08);
}

.mvv-card h3 {
    color: #061224;
    font-size: 26px;
    margin-bottom: 12px;
    font-family: var(--font-sifon);
}

.mvv-card p {
    color: #64748B;
    line-height: 1.9;
    font-size: 15px;
}

/* ===== Valores ===== */
.valores-wrapper {
    position: relative;
    z-index: 2;
    margin-top: 20px;
}

.valores-header {
    text-align: center;
    margin-bottom: 45px;
}

.valores-header h3 {
    color: #FFFFFF;
    font-size: 34px;
    margin-bottom: 6px;
    font-family: var(--font-sifon);
}

.valores-header p {
    color: rgba(255, 255, 255, .65);
    font-size: 17px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* ===== Tarjeta de valor ===== */
.valor-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 20px;
    padding: 26px 24px;
    transition: .35s;
    text-align: left;
}

.valor-item:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .20);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .20);
}

.valor-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(22, 194, 245, .15);
    color: #8BE9FF;
    transition: .35s;
}

.valor-item:hover .valor-icon {
    background: linear-gradient(135deg, #16C2F5, #0B5ED7);
    color: #FFFFFF;
    transform: scale(1.05) rotate(-4deg);
}

.valor-info h4 {
    color: #FFFFFF;
    font-size: 18px;
    margin-bottom: 0;
    transition: .35s;
}

.valor-item:hover .valor-info h4 {
    color: #8BE9FF;
}

/* ===== Descripción (oculta por defecto, aparece en hover) ===== */
.valor-descripcion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    opacity: 0;
}

.valor-descripcion p {
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

/* ===== Al hacer hover se muestra la descripción ===== */
.valor-item:hover .valor-descripcion {
    max-height: 200px;
    opacity: 1;
}

/* ============================================================
    SECCIÓN 12: RESPONSIVE - MISIÓN, VISIÓN Y VALORES
    ============================================================ */

@media (max-width: 992px) {
    .mvv-header h2 {
        font-size: 36px;
    }

    .mvv-card {
        padding: 35px 25px;
    }

    .mvv-card h3 {
        font-size: 22px;
    }

    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .valores-header h3 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .mvv-section {
        padding: 80px 0;
    }

    .mvv-header h2 {
        font-size: 30px;
    }

    .mvv-header p {
        font-size: 16px;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto 60px;
        gap: 20px;
    }

    .mvv-card {
        padding: 35px 25px;
    }

    .mvv-card h3 {
        font-size: 20px;
    }

    .mvv-card p {
        font-size: 14px;
    }

    .valores-wrapper {
        margin-top: 10px;
    }

    .valores-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .valores-header h3 {
        font-size: 24px;
    }

    .valores-header p {
        font-size: 15px;
    }

    .valor-item {
        padding: 20px 18px;
        gap: 14px;
    }

    .valor-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }

    .valor-info h4 {
        font-size: 16px;
    }

    .valor-descripcion p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .mvv-section {
        padding: 60px 0;
    }

    .mvv-header h2 {
        font-size: 24px;
    }

    .mvv-header p {
        font-size: 14px;
    }

    .mvv-grid {
        max-width: 100%;
    }

    .mvv-card {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .mvv-card-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        border-radius: 16px;
    }

    .mvv-card h3 {
        font-size: 18px;
    }

    .mvv-card p {
        font-size: 13px;
    }

    .valores-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .valores-header h3 {
        font-size: 20px;
    }

    .valores-header p {
        font-size: 14px;
    }

    .valor-item {
        padding: 16px 16px;
        border-radius: 14px;
    }

    .valor-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 10px;
    }

    .valor-info h4 {
        font-size: 15px;
    }

    .valor-descripcion p {
        font-size: 12px;
        line-height: 1.6;
    }
}

/* ============================================================
    SECCIÓN 13: ANIMACIONES DE TECNOLOGÍA
    ============================================================ */

.tech-grid .card {
    animation: fadeUp .8s ease both;
}

.tech-grid .card:nth-child(2) {
    animation-delay: .15s;
}

.tech-grid .card:nth-child(3) {
    animation-delay: .30s;
}

.tech-grid .card:nth-child(4) {
    animation-delay: .45s;
}

.tech-grid .card:nth-child(5) {
    animation-delay: .60s;
}

.tech-grid .card:nth-child(6) {
    animation-delay: .75s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(45px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
    SECCIÓN 14: RESPONSIVE - TECH Y STATS
    ============================================================ */

@media (max-width: 992px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 80px;
        padding-right: 20px;
    }

    .timeline-item::after {
        left: 24px !important;
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat h2 {
        font-size: 42px;
    }
}

/* ============================================================
    SECCIÓN 15: CTA (Llamada a la acción)
    ============================================================ */

.cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0B5ED7, #16C2F5);
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.cta::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    top: -180px;
    right: -120px;
}

.cta::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    bottom: -120px;
    left: -120px;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 25px;
    font-family: var(--font-sifon);
}

.cta p {
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.9;
    opacity: .95;
}

.cta .btn-primary {
    background: #fff;
    color: #0B5ED7;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

.cta .btn-primary:hover {
    transform: translateY(-6px);
}

/* ============================================================
    SECCIÓN 16: CERTIFICACIONES
    ============================================================ */

.certificaciones {
    background: #ffffff;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.cert {
    background: #fff;
    border-radius: 20px;
    text-align: center;
    padding: 35px;
    border: 1px solid #E8EDF4;
    transition: .35s;
}

.cert:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 94, 215, .12);
}

.cert i {
    font-size: 55px;
    color: #16C2F5;
    margin-bottom: 20px;
}

.cert h3 {
    margin-bottom: 10px;
}

.cert p {
    color: #6C757D;
    line-height: 1.8;
}

/* ============================================================
    SECCIÓN 17: PARTNERS (Aliados)
    ============================================================ */

.partners {
    background: #F7FAFD;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.partner {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .05);
    transition: .35s;
}

.partner:hover {
    transform: scale(1.05);
}

.partner img {
    max-width: 120px;
    margin: 0 auto;
}

/* ============================================================
    SECCIÓN 18: FAQ (Preguntas frecuentes)
    ============================================================ */

.faq {
    background: #ffffff;
}

.faq-item {
    background: #fff;
    border-radius: 18px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .05);
}

.faq-question {
    padding: 22px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #061224;
}

.faq-question i {
    color: #0B5ED7;
    transition: .35s;
}

.faq-answer {
    display: none;
    padding: 0 30px 25px;
    color: #6C757D;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active i {
    transform: rotate(180deg);
}

/* ============================================================
    SECCIÓN 19: EFECTOS GENERALES
    ============================================================ */

.cert,
.partner,
.faq-item {
    animation: fadeEmpresa .8s ease both;
}

.cert:nth-child(2) {
    animation-delay: .15s;
}

.cert:nth-child(3) {
    animation-delay: .30s;
}

.cert:nth-child(4) {
    animation-delay: .45s;
}

@keyframes fadeEmpresa {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
    SECCIÓN 20: RESPONSIVE - CERTIFICACIONES, PARTNERS Y FAQ
    ============================================================ */

@media (max-width: 992px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cta h2 {
        font-size: 36px;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .cta {
        padding: 70px 0;
    }

    .cta h2 {
        font-size: 30px;
    }

    .cta p {
        font-size: 15px;
    }

    .partner-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }
}