@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 {
    font-family: "Source Sans 3", sans-serif;
}

body button:hover {
    background-color: #2f2f2f;
    color: #FFF;
    transition: .5s;
}

/* ======================================================
   ESTILOS - HERO PRINCIPAL (ESTRUCTURA BLINDADA)
   ====================================================== */

.hero {
    background-image: url(/img/background/background-nexus-Digital-Nexora.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 90vh; /* Permite crecer en móviles si el texto ocupa más espacio */
    display: flex;
    align-items: center;
    padding: 50px 5%; /* Absorbe el margen izquierdo para evitar el 105% de ancho */
    position: relative;
    color: #FFF;
    box-sizing: border-box; /* Evita que el padding sume ancho extra */
}

.hero-content {
    position: relative;
    max-width: 800px;
    width: 100%;
}

.hero h1 {
    font-size: 4.5rem;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.1; /* Compacta el interlineado en tipografías grandes */
}

.hero p {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 35px; /* Mayor separación antes del llamado a la acción */
    line-height: 1.5;
}

.hero .cta-btn {
    display: inline-block; /* Crítico para que el <a> respete el padding vertical */
    background: #0A2A43;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease; /* Se coloca aquí para animar la entrada y salida */
}

.hero .cta-btn:hover {
    background: #056839; 
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ======================================================
   CASCADA MÓVIL Y DISEÑO RESPONSIVO
   ====================================================== */
@media only screen and (max-width: 768px) {
    .hero {
        padding: 60px 20px; /* Se ajusta el padding para aprovechar la pantalla */
        min-height: 50vh;
        text-align: left;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .hero .cta-btn {
        width: 100%; /* Botón de bloque completo para facilitar el clic en táctil */
        text-align: center;
        box-sizing: border-box;
    }
}

/* ==========================================
   DigitalNexora — Premium Corporate Style
========================================== */

main.nosotros.premium {
    max-width: 80%;
    margin: 0 auto;
    padding: 90px 30px;
    font-family: "Inter", "Segoe UI", sans-serif;
    color: #0A2A43;
    line-height: 1.75;
}

/* Sección de apertura */
.hero-text {
    max-width: 850px;
    margin-bottom: 70px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 1.15rem;
    color: #222;
}

/* Texto principal */
.statement {
    max-width: 850px;
    margin-bottom: 80px;
    padding-left: 20px;
    border-left: 4px solid #0A2A43;
}

.statement h2 {
    font-size: 1.9rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Valores en layout elegante */
.values {
    display: grid;
    gap: 50px;
    margin-bottom: 80px;
}

.value h3 {
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0A2A43;
}

.value p {
    font-size: 1.05rem;
    color: #2a2a2a;
}

/* Caja premium */
.nexo {
    background: #F4F6F8;
    padding: 45px 35px;
    border-radius: 14px;
    border: 1px solid #e0e4ff;
    max-width: 100%;
}

.nexo h2 {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Responsivo */
@media (min-width: 768px) {
    .values {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-text h1 {
        font-size: 3.3rem;
    }
}

@media (min-width: 1024px) {
    main.nosotros.premium {
        padding: 110px 30px;
    }
}

/**/
/* ===============================
   DigitalNexora 
   =============================== */

.nexora-diferencia-img {
    background: #ffffff;
    color: #151515;
    padding: 10px 20px;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}

.nx-wrap {
    max-width: 100%;
    margin: 0 auto;
}

.nx-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.3px;
}

/* Grid */
.nx-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}

/* Bloque */
.nx-block {
    border-radius: 14px;
    overflow: hidden;
    background: #F4F6F8;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.nx-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

/* Imagen */
.nx-img {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #ddd;
}

.nx-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Texto */
.nx-block h3 {
    font-size: 2rem;
    line-height: 2.1rem;
    color: #0A2A43;
    font-weight: 600;
    padding: 16px 20px 4px;
}

.nx-block p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.45;
    padding: 0 20px 20px;
}

/* Responsive */
@media (min-width: 700px) {
    .nx-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .nx-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/**/
/* ===============================
   DigitalNexora — CTA Premium
   =============================== */

.nexora-cta {
    background-color: #123C5A;
    color: #ffffff;
    padding: 70px 20px;
    text-align: center;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    border-radius: 16px;
    margin: 0px auto 50px auto;
    max-width: 1100px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.nexora-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.nexora-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
}

.nexora-cta p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #d5d5d5;
    margin-bottom: 28px;
}

/* Botón */
.nexora-btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    background: #ffffff;
    color: #0e0e0f;
    border-radius: 12px;
    transition: background 200ms ease, transform 200ms ease;
    border: 1px solid #ffffff;
}

.nexora-btn:hover {
    background: #eaeaea;
    transform: translateY(-3px);
}

/* Responsive */
@media (min-width: 900px) {
    .nexora-cta h2 {
        font-size: 2.2rem;
    }

    .nexora-cta p {
        font-size: 1.1rem;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

    /* Hero */

    .hero h1 {
        font-size: 2.0rem;
        margin-bottom: 20px;
    }


}