/* Tipografía y ajustes generales

Para títulos
// <weight>: Use a value from 100 to 900
// <uniquifier>: Use a unique and descriptive class name

.inter-<uniquifier> {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

Para textos 
// <weight>: Use a value from 200 to 900
// <uniquifier>: Use a unique and descriptive class name

.source-sans-3-<uniquifier> {
  font-family: "Source Sans 3", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

*/
@charset "utf-8";

/*
Paleta de colores:
Azul Nexora Profundo
#0A2A43
Azul Corporativo Medio
#123C5A
Variación para secciones, hover, fondos alternos.
Blanco Profesional
#FFFFFF
Gris Fondo Suave
#F4F6F8
Fondos de secciones largas (blog, textos extensos).
*/
body {
    margin: 0;
    color: #333;
}

body p,
li,
a,
button {
    font-family: "Source Sans 3", sans-serif;
}

body h1,
h2,
h3 {
    font-family: "Inter", sans-serif;
}

body button:hover {
    background-color: #2f2f2f;
    color: #FFF;
    transition: .5s;
}

/* Hero */
.hero {
    background-image: url(/img/servicios/background-servicios-capacitacion-a-la-medida-digital-nexora.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: left;
    padding: 20px;
    padding-bottom: 200px;
    padding-top: 200px;
    position: relative;
    color: #FFF;
}

.hero-content {
    position: relative;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-left: 5%;
    margin-bottom: 20px;
    margin-top: 0;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 30px;
    margin-left: 5%;
    margin-top: 0;
}

.hero .cta-btn {
    background: #0A2A43;
    color: white;
    padding: 20px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    margin-left: 5%;
}

.hero .cta-btn:hover {
    background: #20447D;
    transition: .5s;
}

/*Main general para todos los contenedores del cuerpo, salvo encabezados y pie de página*/
main {
    width: 100%;
    margin-left: 0%;
}

/* ======================================================
   ESTILOS - PÁGINA CAPACITACIÓN A LA MEDIDA
   ====================================================== */

/* --- HERO --- */
.medida-hero {
    width: 100%;
    padding: 120px 0 80px 0;
    background-color: #0c1b33;
    /* Fondo oscuro para imponer seriedad consultiva */
    text-align: center;
}

.medida-wrapper {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.tag-medida {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FF6C2C;
    margin-bottom: 20px;
}

.medida-hero h1 {
    font-size: 48px;
    color: #ffffff;
    font-weight: 900;
    margin: 0 0 25px 0;
    letter-spacing: -1px;
}

.medida-hero p {
    font-size: 20px;
    color: #d1d5db;
    line-height: 1.6;
}

/* --- METODOLOGÍA TIMELINE --- */
.medida-proceso-sec {
    width: 100%;
    padding: 100px 0;
    background-color: #ffffff;
}

.medida-proceso-sec .proceso-wrapper {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.medida-proceso-sec .proceso-header {
    text-align: center;
    margin-bottom: 70px;
}

.medida-proceso-sec .proceso-header h2 {
    font-size: 36px;
    color: #0c1b33;
    font-weight: 900;
    margin-bottom: 15px;
}

.medida-proceso-sec .proceso-header p {
    font-size: 18px;
    color: #555555;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Grid del Timeline */
.timeline-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.timeline-grid::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #eaeaea;
}

.timeline-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative;
    transition: all 0.5s ease;
}

.timeline-item.hidden {
    opacity: 0;
    transform: translateX(-30px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background-color: #f8f9fa;
    border: 2px solid #0c1b33;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    background-color: #0c1b33;
    transform: scale(1.1);
}

.step-num {
    font-size: 18px;
    font-weight: 900;
    color: #0c1b33;
}

.timeline-item:hover .step-num {
    color: #ffffff;
}

.timeline-content {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    width: 100%;
}

.timeline-content h3 {
    font-size: 22px;
    color: #0c1b33;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.timeline-content p {
    font-size: 16px;
    color: #555555;
    margin: 0;
    line-height: 1.6;
}

/* --- CTA MEDIDA --- */
.medida-cta-sec {
    width: 100%;
    padding: 90px 0;
    background-color: #ffffff;
    text-align: center;
    border-top: 1px solid #eaeaea;
}

.medida-cta-sec .cta-wrapper {
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
}

.medida-cta-sec h2 {
    font-size: 36px;
    color: #0c1b33;
    font-weight: 900;
    margin-bottom: 20px;
}

.medida-cta-sec p {
    font-size: 18px;
    color: #555555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.medida-cta-sec .btn-medida-cta {
    display: inline-block;
    background-color: #0c1b33;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.medida-cta-sec .btn-medida-cta:hover {
    background-color: #056839;
    /* Directiva de color hover verde */
    transform: translateY(-2px);
}

/* ======================================================
   DISEÑO RESPONSIVO Y CASCADA MÓVIL
   ====================================================== */
@media only screen and (max-width: 992px) {
    .entregables-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .medida-hero {
        padding: 100px 0;
    }

    .medida-hero h1 {
        font-size: 3rem;
        line-height: 1.15;
    }

    .medida-hero p {
        font-size: 30px;
        line-height: 1.5;
    }

    .medida-proceso-sec {
        padding: 80px 0;
    }

    .medida-proceso-sec .proceso-header h2 {
        font-size: 45px;
        line-height: 1.2;
    }

    .medida-proceso-sec .proceso-header p {
        font-size: 28px;
        line-height: 1.6;
    }

    .timeline-grid::before {
        left: 40px;
    }

    .timeline-item {
        gap: 20px;
    }

    .timeline-icon {
        width: 80px;
        height: 80px;
        border-width: 4px;
    }

    .step-num {
        font-size: 30px;
    }

    .timeline-content {
        padding: 40px 30px;
    }

    .timeline-content h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .timeline-content p {
        font-size: 1.5;
        line-height: 1.6;
    }

    .entregables-sec {
        padding: 80px 0;
    }

    .entregables-header h2 {
        font-size: 45px;
    }

    .entregables-header p {
        font-size: 28px;
    }

    .entregable-card {
        padding: 40px 30px;
        border-left-width: 6px;
    }

    .entregable-card h3 {
        font-size: 34px;
        margin-bottom: 20px;
    }

    .entregable-card p {
        font-size: 26px;
        line-height: 1.6;
    }

    .medida-cta-sec {
        padding: 80px 0;
    }

    .medida-cta-sec h2 {
        font-size: 50px;
        line-height: 1.15;
        margin-bottom: 30px;
    }

    .medida-cta-sec p {
        font-size: 28px;
        line-height: 1.6;
        margin-bottom: 40px;
    }

    .medida-cta-sec .btn-medida-cta {
        font-size: 26px;
        padding: 25px 40px;
        border-radius: 8px;
    }
}

/**/
/* ======================================================
   ESTILOS - ÁREAS DE ESPECIALIDAD (ACTUALIZADO 6 CARDS)
   ====================================================== */

.areas-expertise-sec {
    width: 100%;
    padding: 80px 0;
    background-color: #f4f6f9;
}

.areas-expertise-sec .areas-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.areas-expertise-sec .areas-header {
    text-align: center;
    margin-bottom: 60px;
}

.areas-expertise-sec .tag-areas {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FF6C2C;
    margin-bottom: 15px;
}

.areas-expertise-sec .areas-header h2 {
    font-size: 34px;
    color: #0c1b33;
    font-weight: 900;
    margin-bottom: 20px;
}

.areas-expertise-sec .areas-header p {
    font-size: 17px;
    color: #555555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- GRID BENTO DE ÁREAS (3 COLUMNAS) --- */
.areas-expertise-sec .areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Ajustado para 6 elementos */
    gap: 30px;
}

.areas-expertise-sec .area-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.areas-expertise-sec .area-card:hover {
    transform: translateY(-5px);
    border-color: #056839;
    box-shadow: 0 15px 30px rgba(12, 27, 51, 0.05);
}

.areas-expertise-sec .area-icon {
    width: 50px;
    height: 50px;
    background-color: #eef2f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.areas-expertise-sec .area-card:hover .area-icon {
    background-color: rgba(5, 104, 57, 0.1);
}

.areas-expertise-sec .area-icon svg {
    width: 26px;
    height: 26px;
    color: #0c1b33;
    transition: color 0.3s ease;
}

.areas-expertise-sec .area-card:hover .area-icon svg {
    color: #056839;
}

.areas-expertise-sec .area-card h3 {
    font-size: 20px;
    color: #0c1b33;
    margin: 0 0 15px 0;
    font-weight: 700;
    line-height: 1.3;
}

.areas-expertise-sec .area-card p {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* ======================================================
   DISEÑO RESPONSIVO Y CASCADA MÓVIL
   ====================================================== */
@media only screen and (max-width: 1024px) {
    .areas-expertise-sec .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 768px) {
    .areas-expertise-sec .areas-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .areas-expertise-sec {
        padding: 80px 0;
    }

    .areas-expertise-sec .areas-header h2 {
        font-size: 45px;
        line-height: 1.15;
    }

    .areas-expertise-sec .areas-header p {
        font-size: 28px;
        line-height: 1.6;
    }

    .areas-expertise-sec .areas-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .areas-expertise-sec .area-card {
        padding: 40px 30px;
    }

    .areas-expertise-sec .area-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 30px;
    }

    .areas-expertise-sec .area-icon svg {
        width: 40px;
        height: 40px;
    }

    .areas-expertise-sec .area-card h3 {
        font-size: 34px;
        margin-bottom: 20px;
    }

    .areas-expertise-sec .area-card p {
        font-size: 26px;
        line-height: 1.6;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

    /* Hero */

    .hero h1 {
        font-size: 2.0rem;
        margin-bottom: 20px;
    }

    /* Fin de contenedor principal*/


}