@font-face {
    font-family: 'America';
    src: url('./fonts/GT-America-Standard-Bold-Trial.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Variables de la nueva paleta CORPORATIVA NEXUS */
:root {
    --color-nexus-purple: #6B46E4;  /* El morado exacto de tu logo (Acentos, botones, iconos) */
    --color-nexus-text: #3A3940;    /* El gris oscuro de las letras de tu logo */
    --color-bg-dark: #222129;       /* Gris Oxford profundo para bloques de contraste (Nav, Valores, Footer) */
    --color-bg-light: #F1F3F5;      /* Gris claro premium para romper el blanco plano */
    --color-card-bg: #FFFFFF;       /* Blanco puro para tarjetas */
    --color-border: #DDE1E5;        /* Gris suave para bordes */
}

/* Reinicios y configuración global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body,html{
  scroll-behavior: smooth !important;
}
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  
    line-height: 1.6;
    min-width: 0;
    overflow-x: hidden;
    background-color: var(--color-bg-light);
    color: var(--color-nexus-text);
}
a {
    text-decoration: none;
    color: inherit;
}

/* Navegación fija en la parte superior */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(34, 33, 41, 0.95); /* Fondo oscuro corporativo con ligera opacidad */
    z-index: 1000;
    border-bottom: 2px solid var(--color-nexus-purple);
}
nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 15px;
}
nav ul li {
    margin: 0 15px;
}
nav ul li a {
    color: #fff;
    font-weight: bold;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: var(--color-nexus-purple);
}

/* Secciones globales */
header, section {
    height: max-content;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px; /* Más padding para que respire el diseño */
}

/* Sección Header: Hero (RESTAURADO CON TU IMAGEN DE FONDO) */
header {
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100vh; /* Ajustado para mantener la pantalla completa original */
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

header ::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("img/fondo.webp"); /* Tu fondo original recuperado */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: blur(4px);
    z-index: -1;
}

header h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Sombra para que resalte sobre la imagen */
}

header p {
    font-size: 1.2em;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.container {
    width: 100%;
    height: 100vh;
    border-bottom-right-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
}
h2 {
    color: var(--color-nexus-text);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Estilo del Logo en el Hero */
.logo {
    width: min(350px, 80vw);
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 15px;
    max-width: 320px;
    background-color: white;
    border-top-left-radius: 30%;
    border-bottom-right-radius: 30%;
    box-sizing: border-box;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Sobre Nosotros */
.sobre-nosotros {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #FFFFFF;
}
.sobre-nosotros h2 {
    color: var(--color-nexus-purple);
}
.sobre-nosotros span {
    width: 75%;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-nexus-text);
}

/* Misión y Visión */
#mision {
    background: var(--color-bg-light);
}
.container-mision {
    width: 80%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.opciones-mision {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 20px;
    display: flex;
    gap: 30px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.opciones-mision p {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 1.1rem;
    font-family: "Inter", sans-serif;
    color: var(--color-nexus-text);
}
.material-symbols-outlined.mision {
    background-color: var(--color-bg-light);
    border-radius: 50%;
    width: max-content;
    padding: 15px;
    margin: 0 auto 10px auto;
    color: var(--color-nexus-purple);
    font-size: 2.5rem;
}

/* Sección Valores (Bloque Oscuro Premium) */
#valores {
    height: auto;
    padding: 100px 20px;
    background: var(--color-bg-dark);
    position: relative;
}
.container-valores {
    position: relative;
    width: 50%;
    height: 500px;
    margin: 0 auto;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(500px, 85vw);  
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.6;
}
.point {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: var(--color-card-bg);
    color: var(--color-nexus-text);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    padding: 15px;
    transform: translate(-50%, -50%); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    border: 2px solid var(--color-nexus-purple);
}
.point span {
    font-weight: 400;
    font-size: 0.7rem;
    color: var(--color-nexus-purple);
    margin-top: 5px;
}

/* Posiciones de los Valores */
.point:nth-child(2)  { top: 0%;   left: 50%; }
.point:nth-child(3)  { top: 25%;  left: 100%; }
.point:nth-child(4)  { top: 75%;  left: 100%; }
.point:nth-child(5)  { top: 100%; left: 50%; }
.point:nth-child(6)  { top: 75%;  left: 0%; }
.point:nth-child(7)  { top: 25%;  left: 0%; }
.point:nth-child(8)  { top: 50%;  left: 0%; }

/* Opciones de Retiro / Slider */
#opcionesRetiro {
    background: var(--color-bg-light);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.slider-retiro {
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%; 
    padding: 30px 0; 
}
.contenedor-op-retiro {
    display: flex;
    justify-content: flex-start; 
    gap: 25px;
    position: relative;
    min-width: 250px;
}
.contenedor-tarjeta {
    flex: 0 0 30%;
    height: 460px;
    max-width: 450px;
    padding: 20px;
    background: var(--color-card-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    border: 1px solid var(--color-border);
    transition: transform 0.3s;
}
.contenedor-tarjeta:hover {
    transform: translateY(-5px);
    border-color: var(--color-nexus-purple);
}
.contenedor-tarjeta h2 {
    font-size: 1.4rem !important;
    color: var(--color-nexus-purple);
    margin-top: 15px;
}
.contenedor-tarjeta p {
    font-size: 0.95rem !important;
    color: var(--color-nexus-text);
}
.slider-btn {
    position: absolute;
    display: flex;
    justify-content: center;
    background-color: var(--color-nexus-purple);
    color: white;
    border: none;
    cursor: pointer;
    padding: 12px 18px;
    font-size: 20px;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(107, 70, 228, 0.3);
}
.slider-btn:hover {
    background-color: var(--color-nexus-text);
}
#btn-prev { left: 0; z-index: 1; }
#btn-next { right: 0; }

.img-tarjeta img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
}

/* Inicia tu Trámite */
#iniciaTramite {
    background: #FFFFFF;
}
.container-tramite {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.txt-tramite {
    width: 55%;
    text-align: left;
}
.contenido-tramite h2 {
    color: var(--color-nexus-purple);
}
.txt-tramite ul {
    list-style: none;
    padding: 20px 0;
}
.txt-tramite ul li {
    font-size: 1.1rem;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.txt-tramite ul li::before {
    content: "✓";
    color: var(--color-nexus-purple);
    font-weight: bold;
}
.img-tramite{
  width: 45%;
  position: relative;

}
.img-tramite img{
    width: 70%;
}
.escritorio{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center !important;
}
.pie-tramite {
    font-style: italic;
    color: var(--color-nexus-text);
    font-weight: 500;
}

/* Nuestro Proceso */
#proceso {
    background: var(--color-bg-light);
    gap: 40px;
}
.titulos-proceso {
    width: 35%;
    text-align: left;
}
.titulos-proceso h2 {
    color: var(--color-nexus-text);
}
.pasos-proceso {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.paso {
    background-color: var(--color-card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s;
}
.paso:hover {
    transform: translateX(5px);
}
.paso h2 {
    font-size: 1.3rem;
    color: var(--color-nexus-purple);
    margin: 0;
}
.paso small {
    font-size: 1rem;
    color: var(--color-nexus-text);
    font-weight: 700;
    display: block;
    margin: 5px 0;
}

/* Términos */
.terminos {
    background: #FFFFFF;
    padding: 30px;
    text-align: center;
    border-top: 1px solid var(--color-border);
}
.terminos span {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--color-nexus-purple);
    font-weight: 600;
}

/* Footer Corporativo Profundo */
footer {
    background: var(--color-bg-dark);
    color: #fff;
    padding: 60px 20px 20px 20px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
}
.footer-contacto h2 {
    color: #FFFFFF;
    font-size: 1.5rem;
}
.footer-contacto a {
    color: var(--color-nexus-purple);
    font-weight: bold;
}
.Transparencia {
    border-left: 2px solid var(--color-nexus-purple);
    padding-left: 20px;
    font-size: 0.9rem;
    color: #CBD5E1;
}
.logo-blanco {
    width: 140px;
    height: auto;
    margin-bottom: 20px;
}

.icons{
  display: none;
}

/* Adaptación para pantallas móviles */
@media (max-width: 799px) {
    header, section { padding: 40px 15px; }
    .opciones-mision { flex-direction: column; }
    .container-valores { height: auto; display: flex; flex-direction: column; gap: 15px; }
    .center { position: relative; transform: none; top: auto; left: auto; width: 100%; margin-bottom: 20px; }
    .point { position: relative; transform: none; top: auto; left: auto !important; width: 100%; height: auto; border-radius: 10px; padding: 20px; }
    .contenedor-tarjeta { flex: 0 0 85%; }
    .container-tramite { flex-direction: column; }
    .txt-tramite { width: 100%; }
    #proceso { flex-direction: column; }
    .titulos-proceso { width: 100%; text-align: center; }
    .pasos-proceso { width: 100%; }
    .footer-container { grid-template-columns: 1fr; gap: 30px; }

    
    .icons{
      display: flex;
      color: white;
      width: 90%;
      justify-content: space-between;
      margin: 0 auto;
      align-items: center;
      padding: 6px;
    }
    .material-symbols-outlined{
      font-size: 1.6rem !important;
      cursor: pointer;
    }

    .oculto{
  display: none;
}
    nav > ul{
      position: absolute;
      width: 100%;
      display: flex;
      flex-direction: column;
      background-color: #222129;
      gap: 20px;
      padding: 20px;
    }
}