@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;
}

/* Hero */
.hero {
    background-image: url(/img/background/background-SECU-servicios-Digital-Nexora.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 90vh;
    display: flex;
    align-items: center;
    padding: 50px;
    position: relative;
    color: #FFF;
    box-sizing: border-box; /* Previene desbordamiento del padding */
}

.hero-content {
    position: relative;
    max-width: 80%;
}

.hero h1 {
    font-size: 4.5rem;
    width: 90%;
    margin-left: 5%;
    margin-bottom: 20px;
    margin-top: 0;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 30px;
    margin-left: 5%;
    width: 100%;
    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: #123C5A;
    transition: .5s;
}

/* ==========================================
   DigitalNexora — Premium Corporate Style
========================================== */
main {
    width: 80%;
    margin-left: 10%;
    padding-top: 0px;
    padding-bottom: 70px;
}

/* ======================================================
   ESTILOS EXCLUSIVOS - CONTACTO Y DIAGNÓSTICO
   ====================================================== */

section#nexora-contacto {
    width: 100%;
    padding: 70px 0;
    background-color: #ffffff;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

#nexora-contacto .contacto-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

/* --- COLUMNA DE INFORMACIÓN --- */
#nexora-contacto .info-header {
    margin-bottom: 40px;
}

#nexora-contacto .info-tag {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FF6C2C;
    font-weight: 700;
    margin-bottom: 15px;
}

#nexora-contacto .info-header h2 {
    font-size: 42px;
    color: #0c1b33;
    margin: 0 0 20px 0;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

#nexora-contacto .info-header p {
    font-size: 18px;
    color: #555555;
    line-height: 1.6;
}

#nexora-contacto .info-detalles {
    margin-bottom: 40px;
}

#nexora-contacto .det-item {
    margin-bottom: 25px;
}

#nexora-contacto .det-item strong {
    display: block;
    font-size: 14px;
    color: #0c1b33;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

#nexora-contacto .det-item p {
    font-size: 18px;
    color: #444444;
    margin: 0;
}

#nexora-contacto .info-footer p {
    font-size: 14px;
    color: #888888;
    line-height: 1.5;
    border-top: 1px solid #eaeaea;
    padding-top: 20px;
}


/* ======================================================
   DISEÑO RESPONSIVO (TABLETS)
   ====================================================== */
@media only screen and (max-width: 992px) {
    #nexora-contacto .contacto-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    #nexora-contacto .info-header h2 {
        font-size: 36px;
    }
}

/* ======================================================
   CASCADA MÓVIL ESTRICTA (ESCALADO NORMALIZADO)
   ====================================================== */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

    section#nexora-contacto {
        padding: 50px 0;
    }

    #nexora-contacto .contacto-wrapper {
        width: 90%;
        gap: 40px;
    }

    /* Reducción a tamaños de lectura estándar para evitar scroll horizontal */
    #nexora-contacto .info-header h2 {
        font-size: 32px; 
        margin-bottom: 15px;
    }

    #nexora-contacto .info-header p {
        font-size: 16px;
        line-height: 1.5;
    }

    #nexora-contacto .det-item strong {
        font-size: 14px;
    }

    #nexora-contacto .det-item p {
        font-size: 16px;
    }

}

/* --- GESTIÓN DE EXPECTATIVAS (SLA) --- */
#nexora-contacto .form-expectativas {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 25px;
    padding: 18px;
    background-color: #eef2f5; 
    border-left: 3px solid #0c1b33; 
    border-radius: 4px;
}

#nexora-contacto .expectativas-icono svg {
    width: 22px;
    height: 22px;
    color: #0c1b33;
    margin-top: 2px; 
}

#nexora-contacto .expectativas-texto strong {
    display: block;
    font-size: 13px;
    color: #0c1b33;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

#nexora-contacto .expectativas-texto p {
    font-size: 14px;
    color: #555555;
    margin: 0;
    line-height: 1.5;
}

/* ======================================================
   CASCADA MÓVIL ESTRICTA PARA EL SLA
   ====================================================== */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    #nexora-contacto .form-expectativas {
        margin-top: 25px;
        padding: 20px;
        gap: 15px;
        border-left-width: 4px;
    }
    
    #nexora-contacto .expectativas-icono svg {
        width: 24px;
        height: 24px;
    }
    
    #nexora-contacto .expectativas-texto strong {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    #nexora-contacto .expectativas-texto p {
        font-size: 15px;
        line-height: 1.5;
    }
}
/* ======================================================
   ESTILOS - FORMULARIO DE CONTACTO (ESTRUCTURA BLINDADA)
   ====================================================== */

/* Ajuste preventivo para evitar que padding y bordes desborden los anchos */
.contact-section *,
.contact-section *::before,
.contact-section *::after {
  box-sizing: border-box;
}

.contact-section {
  padding: 50px 20px;

}

.contact-container {
  max-width: 800px;
  margin: auto;
  width: 100%;
}

.contact-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  width: 100%;
  overflow: hidden;
}

.contact-card h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #0A2A43;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  padding-bottom: 10px;
}

.contact-card p {
  text-align: center;
  margin: 0;
  font-size: 1.5rem;
  padding-bottom: 10px;
}

/* === Línea: Icono + Campo === */
.form-group-inline {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fafafa;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 18px;
  width: 100%;
}

.form-group-inline img {
  width: 32px;
  height: 32px;
  opacity: 0.75;
  flex-shrink: 0; /* Previene que el icono se deforme o reduzca su tamaño */
}

.inline-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0; /* Mitigación crítica: permite que el input se reduzca sin desbordar el contenedor padre */
}

.inline-group small {
  padding-bottom: 5px;
  padding-top: 5px;
  font-size: 1rem;
  color: #555;
}

/* Inputs y selects */
.form-group-inline input,
.form-group-inline select {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
}

.form-group-inline textarea {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: vertical; /* Bloquea el redimensionamiento horizontal por parte del usuario */
  min-height: 120px;
}

/* Ajuste para textarea (más alto pero alineado al inicio) */
.textarea-group {
  align-items: flex-start;
}

/* Botón de envío */
.btn-enviar {
  width: 100%;
  padding: 14px;
  background: #0A2A43;
  color: #fff;
  border: none;
  font-size: 17px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.btn-enviar:hover {
  background: #056839; 
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(5, 104, 57, 0.2);
}

/* ======================================================
   CASCADA MÓVIL Y DISEÑO RESPONSIVO
   ====================================================== */
@media only screen and (max-width: 600px) {
  .contact-card {
    padding: 25px 20px;
  }
  
  .form-group-inline {
    gap: 10px;
    padding: 10px;
  }
  
  .form-group-inline img {
    width: 24px;
    height: 24px;
  }
  
  .contact-card h2 {
    font-size: 2rem;
  }
  
  .contact-card p {
    font-size: 1.2rem;
  }
}

/* ======================================================
   ESTILOS EXCLUSIVOS - GESTIÓN DE FACTURACIÓN
   ====================================================== */

section#nexora-facturacion {
    width: 100%;
    padding: 80px 0;
    background-color: #f8f9fa; 
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
    border-top: 1px solid #eaeaea;
}

#nexora-facturacion .facturacion-wrapper {
    width: 90%;
    max-width: 1000px; 
    margin: 0 auto;
}

#nexora-facturacion .facturacion-header {
    margin-bottom: 50px;
    border-bottom: 2px solid #0c1b33;
    padding-bottom: 20px;
}

#nexora-facturacion .facturacion-header h2 {
    font-size: 32px;
    color: #0c1b33;
    margin: 0 0 15px 0;
    font-weight: 900;
    letter-spacing: -0.5px;
}

#nexora-facturacion .facturacion-header p {
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

#nexora-facturacion .facturacion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

/* --- LISTA DE REQUISITOS --- */
#nexora-facturacion .facturacion-info h3 {
    font-size: 20px;
    color: #0c1b33;
    margin: 0 0 20px 0;
    font-weight: 700;
}

#nexora-facturacion .facturacion-info p {
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 20px;
}

#nexora-facturacion .facturacion-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

#nexora-facturacion .facturacion-lista li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #333333;
    line-height: 1.4;
    font-weight: 500;
}

#nexora-facturacion .facturacion-lista li::before {
    content: '■'; 
    color: #FF6C2C;
    font-size: 12px;
    position: absolute;
    left: 0;
    top: 3px;
}

/* --- CAJA DE ENVÍO CONTABLE --- */
#nexora-facturacion .contacto-contable-box {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 35px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

#nexora-facturacion .tag-contable {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #777777;
    font-weight: 700;
    margin-bottom: 10px;
}

#nexora-facturacion .contacto-contable-box h4 {
    font-size: 20px;
    color: #0c1b33;
    margin: 0 0 15px 0;
    font-weight: 700;
}

#nexora-facturacion .contacto-contable-box p {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 25px;
}

#nexora-facturacion .btn-facturacion {
    margin-top: auto; 
    display: inline-block;
    background-color: #ffffff;
    color: #0c1b33;
    text-decoration: none;
    padding: 14px 25px;
    font-size: 15px;
    font-weight: 700;
    border: 2px solid #0c1b33;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#nexora-facturacion .btn-facturacion:hover {
    background-color: #0c1b33;
    color: #ffffff;
}

/* ======================================================
   DISEÑO RESPONSIVO (TABLETS)
   ====================================================== */
@media only screen and (max-width: 992px) {
    #nexora-facturacion .facturacion-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ======================================================
   CASCADA MÓVIL ESTRICTA (ESCALADO NORMALIZADO)
   ====================================================== */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    
    section#nexora-facturacion { padding: 50px 0; }
    #nexora-facturacion .facturacion-wrapper { width: 90%; }
    
    #nexora-facturacion .facturacion-header { margin-bottom: 30px; padding-bottom: 20px; }
    #nexora-facturacion .facturacion-header h2 { font-size: 32px; margin-bottom: 15px; line-height: 1.2; }
    #nexora-facturacion .facturacion-header p { font-size: 16px; line-height: 1.5; }
    
    #nexora-facturacion .facturacion-grid { grid-template-columns: 1fr; gap: 40px; }
    
    #nexora-facturacion .facturacion-info h3 { font-size: 22px; margin-bottom: 15px; }
    #nexora-facturacion .facturacion-info p { font-size: 16px; margin-bottom: 20px; line-height: 1.5; }
    
    #nexora-facturacion .facturacion-lista li { font-size: 15px; padding-left: 25px; margin-bottom: 15px; line-height: 1.5; }
    #nexora-facturacion .facturacion-lista li::before { font-size: 12px; top: 4px; }
    
    #nexora-facturacion .contacto-contable-box { padding: 25px; border-width: 1px; border-radius: 8px; }
    #nexora-facturacion .tag-contable { font-size: 12px; margin-bottom: 10px; }
    #nexora-facturacion .contacto-contable-box h4 { font-size: 22px; margin-bottom: 15px; line-height: 1.2; }
    #nexora-facturacion .contacto-contable-box p { font-size: 16px; margin-bottom: 20px; line-height: 1.5; }
    
    #nexora-facturacion .btn-facturacion { font-size: 16px; padding: 15px; border-width: 2px; border-radius: 6px; width: 100%; display: block; }
}

/* ======================================================
   CASCADA MÓVIL GLOBAL (MAIN Y HERO REPARADOS)
   ====================================================== */
@media only screen and (max-width: 768px) {
    main {
        width: 90%;      /* Aumentamos el espacio útil al 90% */
        margin-left: 5%; /* Centramos con márgenes equilibrados */
    }

    .hero {
        height: auto;
        min-height: 50vh;
        padding: 60px 5%; /* Quitamos los padding fijos que causaban conflicto */
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem; /* Tamaño proporcional para móviles */
        width: 100%;
        margin-left: 0;    /* Se anula el margen forzado */
    }

    .hero p {
        font-size: 1.2rem;
        width: 100%;
        margin-left: 0;    /* Se anula el margen forzado */
        margin-bottom: 25px;
    }

    .hero .cta-btn {
        margin-left: 0;
        display: block;    /* El botón abarca todo el ancho para facilitar el toque */
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}