@charset "utf-8";
/* 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;
}

*/

/*
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-tecnologia-operativa-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;
    box-sizing: border-box; /* Previene desbordamiento por padding */
}

.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%;
    display: inline-block; /* Respeta márgenes verticales */
}

.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 - SOLUCIONES EDUCATIVAS Y DOCENCIA
   ====================================================== */

/* --- HERO CONCEPTUAL --- */
.tech-hero {
    width: 100%;
    padding: 120px 0 80px 0;
    text-align: center;
}

.tech-wrapper {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.tag-tech {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.tech-hero h1 {
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 25px 0;
    letter-spacing: -1px;
}

.tech-hero p {
    font-size: 20px;
    line-height: 1.6;
}

/* --- GRID BENTO DE ÁREAS ACADÉMICAS --- */
.areas-expertise-sec {
    width: 100%;
    padding: 90px 0;
    background-color: #f4f6f9;
}

.areas-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.areas-header {
    text-align: center;
    margin-bottom: 60px;
}

.tag-areas {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FF6C2C;
    margin-bottom: 15px;
}

.areas-header h2 {
    font-size: 34px;
    color: #0c1b33;
    font-weight: 900;
    margin-bottom: 20px;
}

.areas-header p {
    font-size: 17px;
    color: #555555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.areas-grid {
    display: grid;
    gap: 30px;
}

.area-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
    border-color: #056839;
    box-shadow: 0 15px 30px rgba(12, 27, 51, 0.05);
}

.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;
}

.area-card:hover .area-icon {
    background-color: rgba(5, 104, 57, 0.1);
}

.area-icon svg {
    width: 26px;
    height: 26px;
    color: #0c1b33;
    transition: color 0.3s ease;
}

.area-card:hover .area-icon svg {
    color: #056839;
}

.area-card h3 {
    font-size: 20px;
    color: #0c1b33;
    margin: 0 0 15px 0;
    font-weight: 700;
    line-height: 1.3;
}

.area-card p {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* ======================================================
   CASCADA MÓVIL Y DISEÑO RESPONSIVO (ÁREAS Y HERO TECH)
   ====================================================== */

/* Ajustes para Tablets y pantallas medianas */
@media only screen and (max-width: 992px) {
    .tech-hero {
        padding: 90px 0 60px 0;
    }

    .tech-hero h1 {
        font-size: 40px;
    }

    .areas-expertise-sec {
        padding: 70px 0;
    }

    .areas-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Ajustes críticos para Teléfonos Móviles (TAMAÑOS NORMALIZADOS) */
@media only screen and (max-width: 768px) {
    .tech-hero {
        padding: 60px 0 40px 0;
    }

    .tag-tech {
        font-size: 11px;
        margin-bottom: 15px;
    }

    .tech-hero h1 {
        font-size: 32px;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .tech-hero p {
        font-size: 16px;
        line-height: 1.5;
    }

    .areas-expertise-sec {
        padding: 50px 0;
    }

    .areas-header {
        margin-bottom: 40px;
    }

    .areas-header h2 {
        font-size: 28px;
    }

    .areas-header p {
        font-size: 15px;
    }

    .areas-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .area-card {
        padding: 30px 25px;
    }

    .area-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 15px;
    }

    .area-icon svg {
        width: 22px;
        height: 22px;
    }

    .area-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .area-card p {
        font-size: 15px;
    }
}

/* --- METODOLOGÍA HORIZONTAL --- */
.tech-proceso-sec {
    width: 100%;
    padding: 100px 0;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
}

.proceso-wrapper {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.proceso-header {
    text-align: center;
    margin-bottom: 60px;
}

.proceso-header h2 {
    font-size: 36px;
    color: #0c1b33;
    font-weight: 900;
    margin-bottom: 15px;
}

.proceso-header p {
    font-size: 18px;
    color: #555555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.proceso-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.fase-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.fase-item:hover {
    transform: translateY(-5px);
    border-color: #056839;
    box-shadow: 0 10px 20px rgba(12, 27, 51, 0.05);
}

.fase-numero {
    font-size: 42px;
    font-weight: 900;
    color: #FF6C2C;
    margin-bottom: 15px;
    line-height: 1;
    opacity: 0.8;
}

.fase-contenido h3 {
    font-size: 20px;
    color: #0c1b33;
    font-weight: 700;
    margin-bottom: 15px;
}

.fase-contenido p {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* --- CTA INSTITUCIONAL --- */
.tech-cta-sec {
    width: 100%;
    padding: 90px 0;
    background-color: #0c1b33;
    text-align: center;
}

.cta-wrapper {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.tech-cta-sec h2 {
    font-size: 38px;
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 20px;
}

.tech-cta-sec p {
    font-size: 18px;
    color: #d1d5db;
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-tech-cta {
    display: inline-block;
    background-color: #FF6C2C;
    color: #ffffff;
    text-decoration: none;
    padding: 16px 35px;
    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;
}

.btn-tech-cta:hover {
    background-color: #056839;
    transform: translateY(-2px);
}

/* ======================================================
   DISEÑO RESPONSIVO (PROCESO Y CTA)
   ====================================================== */
@media only screen and (max-width: 1024px) {
    .proceso-horizontal {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* TAMAÑOS NORMALIZADOS PARA MÓVIL */
@media only screen and (max-width: 768px) {
    .proceso-horizontal {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .tech-proceso-sec {
        padding: 60px 0;
    }

    .proceso-header h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .proceso-header p {
        font-size: 16px;
        line-height: 1.5;
    }

    .fase-item {
        padding: 25px 20px;
    }

    .fase-numero {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .fase-contenido h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .fase-contenido p {
        font-size: 15px;
        line-height: 1.5;
    }

    .tech-cta-sec {
        padding: 60px 0;
    }

    .tech-cta-sec h2 {
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .tech-cta-sec p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .btn-tech-cta {
        font-size: 15px;
        padding: 15px 25px;
        display: block; /* Botón ancho completo en móvil */
    }
}

/* ======================================================
   ESTILOS - INGENIERÍA LOGÍSTICA (CUADRÍCULA HORIZONTAL)
   ====================================================== */

.modalidades-sec {
    width: 100%;
    padding: 100px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #eaeaea;
}

.modalidades-wrapper {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

.modalidades-header {
    text-align: center;
    margin-bottom: 70px;
}

.tag-modalidades {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FF6C2C;
    margin-bottom: 15px;
}

.modalidades-header h2 {
    font-size: 36px;
    color: #0c1b33;
    font-weight: 900;
    margin-bottom: 20px;
}

.modalidades-header p {
    font-size: 18px;
    color: #555555;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- GRID ESTRICTAMENTE HORIZONTAL (3 COLUMNAS) --- */
.modalidades-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.modalidad-card-full {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    border-top: 5px solid #123C5A;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modalidad-card-full:hover {
    transform: translateY(-8px);
    border-top-color: #056839;
    box-shadow: 0 15px 35px rgba(12, 27, 51, 0.08);
}

.modalidad-top {
    padding: 30px 30px 15px 30px;
    border-bottom: 1px solid #f0f0f0;
}

.modalidad-icono {
    width: 55px;
    height: 55px;
    background-color: #f4f6f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.modalidad-card-full:hover .modalidad-icono {
    background-color: rgba(5, 104, 57, 0.1);
}

.modalidad-icono svg {
    width: 28px;
    height: 28px;
    color: #0c1b33;
    transition: color 0.3s ease;
}

.modalidad-card-full:hover .modalidad-icono svg {
    color: #056839;
}

.modalidad-top h3 {
    font-size: 22px;
    color: #0c1b33;
    margin: 0;
    font-weight: 800;
    line-height: 1.3;
}

.modalidad-cuerpo {
    padding: 25px 30px 35px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.modalidad-desc {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.modalidad-datos {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0;
}

.modalidad-datos li {
    font-size: 14px;
    color: #555555;
    margin-bottom: 15px;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}

.modalidad-datos li:last-child {
    margin-bottom: 0;
}

.modalidad-datos li strong {
    color: #0c1b33;
}

.modalidad-datos li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 0;
    color: #FF6C2C;
    font-size: 10px;
    line-height: 1.5;
}

/* ======================================================
   DISEÑO RESPONSIVO (MODALIDADES LOGÍSTICAS)
   ====================================================== */
@media only screen and (max-width: 1024px) {
    .modalidades-grid-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* TAMAÑOS NORMALIZADOS PARA MÓVIL */
@media only screen and (max-width: 768px) {
    .modalidades-grid-horizontal {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modalidades-sec {
        padding: 60px 0;
    }

    .modalidades-header h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .modalidades-header p {
        font-size: 16px;
        line-height: 1.5;
    }

    .tag-modalidades {
        font-size: 11px;
        margin-bottom: 15px;
    }

    .modalidad-card-full {
        border-top-width: 5px;
    }

    .modalidad-top {
        padding: 25px 20px 15px 20px;
    }

    .modalidad-icono {
        width: 45px;
        height: 45px;
        margin-bottom: 15px;
    }

    .modalidad-icono svg {
        width: 22px;
        height: 22px;
    }

    .modalidad-top h3 {
        font-size: 20px;
        line-height: 1.3;
    }

    .modalidad-cuerpo {
        padding: 20px 20px 25px 20px;
    }

    .modalidad-desc {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .modalidad-datos li {
        font-size: 14px;
        margin-bottom: 15px;
        padding-left: 20px;
    }

    .modalidad-datos li::before {
        font-size: 10px;
        top: 2px;
    }
}

/* ======================================================
   CASCADA MÓVIL GLOBAL (MAIN Y HERO REPARADOS)
   ====================================================== */
@media only screen and (max-width: 768px) {
    main {
        width: 100%;
        margin-left: 0;
    }

    .hero {
        padding: 100px 5% 80px 5%; /* Ajustado para mejor visualización */
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem; 
        width: 100%;
        margin-left: 0;
    }

    .hero p {
        font-size: 1.2rem;
        width: 100%;
        margin-left: 0;
        margin-bottom: 25px;
    }

    .hero .cta-btn {
        margin-left: 0;
        display: block; 
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}