@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;
  cursor: pointer;
  transition: .5s;
}

/* Hero */
.hero {
  background-image: url(/img/background/background-servicios-Digital-Nexora.png);
  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: #123C5A;
  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-color: #555;
  transition: .5s;
}

/*Main general para todos los contenedores del cuerpo, salvo encabezados y pie de página*/
main {
  width: 100%;
  margin-left: 0%;
}

/**/
#grid {
  width: 100%;
  background-color: #0A2A43;
  height: auto;
  padding-bottom: 20px;
  padding-top: 20px;
  align-items: center;
  align-content: center;
  alignment-baseline: central;
}

#grid .grid-3 {
  color: #FFF;
  font-size: 3rem;
  margin-left: 0%;
  text-align: center;
}

/**/
/* Contenedor general */
.servicios-wrapper {
  width: fit-content;
  margin: 0 auto;
  padding: 80px 100px;
  font-family: Arial, sans-serif;
  color: #222;
  background-color: #F4F6F8;
}

/* Encabezado */
.servicios-header {
  margin-bottom: 60px;
}

.servicios-header h1 {
  font-size: 3.4rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 15px;
}

.servicios-header p {
  font-size: 1.2 rem;
  color: #555;
}

/* Grid de servicios (4 tarjetas) */
/* ======================================================
   ESTILOS - SECCIÓN DE SERVICIOS (ESTRUCTURA BLINDADA)
   ====================================================== */

/* Ajuste preventivo global para el contenedor */
.servicios-wrapper {
  width: 100%;
  padding: 80px 5%; /* El uso de % evita desbordamientos en resoluciones menores */
  box-sizing: border-box;
  font-family: "Source Sans 3", Arial, sans-serif;
  color: #333333;
  background-color: #F4F6F8;
}

/* Sub-contenedor para mantener el ancho máximo controlado */
.servicios-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Encabezado */
.servicios-header {
  margin-bottom: 60px;
}

.servicios-header h1 {
  font-family: "Inter", sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  text-align: left;
  margin-top: 0;
  margin-bottom: 15px;
  color: #0A2A43;
}

.servicios-header p {
  font-size: 1.2rem; /* Corrección de sintaxis: eliminación del espacio */
  color: #555555;
  line-height: 1.6;
  margin: 0;
  max-width: 800px;
}

/* Grid de servicios (4 tarjetas en 2 columnas) */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.servicio-card {
  padding: 50px 40px;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #ffffff;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.servicio-card h4 {
  font-family: "Inter", sans-serif;
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 15px;
  color: #0A2A43;
}

.servicio-card p {
  color: #555555;
  line-height: 1.7;
  font-size: 1.1rem;
  margin-bottom: 25px;
  flex-grow: 1; /* Empuja el botón siempre hacia abajo para alinear tarjetas */
}

/* Hover interactivo y alineación corporativa */
.servicio-card:hover {
  border-color: #056839; 
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(10, 42, 67, 0.08);
}

.servicio-card button {
  padding: 14px 32px;
  border: none;
  background-color: #0A2A43;
  color: #ffffff;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.servicio-card button:hover {
  background-color: #056839;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(5, 104, 57, 0.2);
}

/* ======================================================
   CASCADA MÓVIL Y DISEÑO RESPONSIVO
   ====================================================== */

@media only screen and (max-width: 900px) {
  .servicios-wrapper {
    padding: 60px 20px;
  }
  
  .servicios-grid {
    gap: 20px;
  }
  
  .servicio-card {
    padding: 30px 25px;
  }
}

@media only screen and (max-width: 600px) {
  .servicios-header h1 {
    font-size: 2.5rem;
  }
  
  .servicios-grid {
    grid-template-columns: 1fr; /* Colapsa a 1 columna en teléfonos */
  }
  
  .servicio-card button {
    width: 100%; /* Botón de bloque completo para interfaces táctiles */
  }
}

/* Reset pequeño para la sección */
.dn-results {
  background: #fff;
  padding: 80px 20px;
  color: var(--text);
}

.dn-results__inner {
  max-width: var(--container);
  margin: 0 auto;
}

/* Header */
.dn-results__header {
  text-align: left;
  margin-bottom: 36px;
}

.dn-results__title {
  font-size: 3.1rem;
  margin: 0 0 10px;
  color: var(--purple-high);
  font-weight: 600;
  letter-spacing: -0.3px;
}

.dn-results__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 760px;
}
#resultados-importan{
  width: 80%;
  margin-left: 10%;
}
/* Lista de resultados: grid limpio */
.dn-results__list {
  list-style: none;
  margin: 40px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}

/* Elemento individual */
.dn-result {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--gray);
  padding: 60px;
  border-radius: 12px;
  border-left: 6px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease;
}

.dn-result:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

/* Icono */
.dn-result__icon {
  min-width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--blue-low), var(--blue-high));
  display: inline-grid;
  place-items: center;
  color:#0A2A43;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 6px 18px rgba(36, 147, 191, 0.12);
}

/* Alternar acentos de borde por posición (mejora visual) */
.dn-result:nth-child(odd) {
  border-left-color: var(--purple-low);
}

.dn-result:nth-child(even) {
  border-left-color: var(--blue-high);
}

/* Cuerpo de texto */
.dn-result__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--purple-high);
  font-weight: 600;
}

.dn-result__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
  max-width: 42ch;
}

/* CTA final */
.dn-results__cta {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 28px;
}

.dn-results__cta-text {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.dn-btn {
  display: inline-block;
  padding: 10px 18px;
  background: linear-gradient(180deg, var(--purple-low), var(--purple-high));
  color:#0A2A43;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(99, 44, 115, 0.12);
  transition: transform .16s ease, box-shadow .16s ease;
}

.dn-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(99, 44, 115, 0.14);
}

/* Responsive */
@media (max-width: 900px) {
  .dn-results__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dn-results__header {
    text-align: center;
  }

  .dn-results__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .dn-results__cta {
    justify-content: center;
    margin-top: 22px;
    flex-direction: column;
    gap: 12px;
  }
}

/**/
.needs-section {
  background: #F2F2F2;
  padding: 100px 0;
  background-image: url(/img/background/background-SECU-servicios-Digital-Nexora.png);
  background-position: center;
  background-size: cover;
}

.needs-container {
  width: 80%;
  max-width: 1100px;
  margin: auto;
  text-align: left;

}

.needs-title {
  font-size: 3.5rem;
  text-align: center;
  color: #fff;
  margin-bottom: 10px;
}

.needs-subtitle {
  font-size: 1.5rem;
  text-align: center;
  color: #FFF;
  margin-bottom: 60px;
}



/* Responsivo */
@media(max-width: 768px) {
  .needs-container {
    width: 90%;
  }

  .needs-title {
    font-size: 32px;
  }
}

/* ======================================================
   ESTILOS EXCLUSIVOS - CLIENTES (MARQUESINA INFINITA)
   ====================================================== */

/* --- ANIMACIÓN DEL TICKER --- */
@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* Se mueve exactamente la mitad, como está clonado, crea el loop perfecto */
}

section#nexora-clientes {
  width: 100%;
  padding: 30px 0;
  background-color: #ffffff;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  overflow: hidden;
  /* Evita que el carrusel rompa el ancho de la página */
  box-sizing: border-box;
}

#nexora-clientes .clientes-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

#nexora-clientes .clientes-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
}

#nexora-clientes .clientes-header h2 {
  color: #0c1b33;
  font-size: 34px;
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

#nexora-clientes .clientes-header p {
  font-size: 18px;
  color: #555555;
  margin: 0;
}

/* --- CONTENEDOR DEL CARROUSEL --- */
#nexora-clientes .ticker-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

/* Efecto de desvanecimiento en los bordes izquierdo y derecho.
   Da la ilusión de que los logos aparecen y desaparecen suavemente.
*/
#nexora-clientes .ticker-container::before,
#nexora-clientes .ticker-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

#nexora-clientes .ticker-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

#nexora-clientes .ticker-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

#nexora-clientes .ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scrollTicker 85s linear infinite;
}

/* Pausar la animación cuando el usuario pone el mouse encima */
#nexora-clientes .ticker-track:hover {
  animation-play-state:running;
}

#nexora-clientes .ticker-slide {
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
  box-sizing: border-box;
}

#nexora-clientes .ticker-slide img {
  max-width: auto;
  max-height: 150px;
  width: auto;
  height: auto;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.4s ease;
}

/* Efecto al pasar el cursor sobre un logo específico */
#nexora-clientes .ticker-slide img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ======================================================
   CASCADA MÓVIL ESTRICTA (ESCALADO FORZADO)
   ====================================================== */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

  section#nexora-clientes {
    padding: 60px 0;
  }

  #nexora-clientes .clientes-header {
    margin-bottom: 50px;
  }

  #nexora-clientes .clientes-header h2 {
    font-size: 55px;
    line-height: 1.15;
    margin-bottom: 20px;
  }

  #nexora-clientes .clientes-header p {
    font-size: 30px;
    line-height: 1.5;
  }

  /* En móvil, los difuminados laterales deben ser más pequeños */
  #nexora-clientes .ticker-container::before,
  #nexora-clientes .ticker-container::after {
    width: 60px;
  }

  /* Logos más grandes en móvil y animación un poco más rápida */
  /* Logos más grandes en móvil */
  #nexora-clientes .ticker-slide {
    width: 380px;
    /* ANTES: 300px */
    padding: 0 40px;
  }

  #nexora-clientes .ticker-slide img {
    max-width: 260px;
    /* ANTES: 200px */
    max-height: 130px;
    /* ANTES: 100px */
  }

  #nexora-clientes .ticker-track {
    animation: scrollTicker 20s linear infinite;
  }
}

/**/
@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*/


}