:root {
    --primary: #089903; /* Verde principal */
    --primary-dark: #044d02; /* Verde oscuro */
    --primary-light: #128a0e; /* Verde medio */
    --secondary: #ff9f1c;
    --secondary-dark: #f08c00;
    --success: #06d6a0;
    --success-dark: #05b585;
    --dark: #1e293b;
    --gray-dark: #334155;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --gray-bg: #f8fafc;
    --white: #ffffff;
    --title-color: #010942; /* Azul oscuro para títulos */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'League Spartan', sans-serif;
    --transition: all 0.3s ease;
    
    /* Mantenemos algunas variables originales para compatibilidad */
    --nv: var(--dark);
    --nv2: var(--gray-dark);
    --nv3: #2d3a4f;
    --nv4: #3d4a5f;
    --nv5: #4d5a6f;
    --gr: var(--primary);
    --gr-l: var(--primary-light);
    --gr-d: var(--primary-dark);
    --gr-bg: rgba(8, 153, 3, 0.08);
    --go: var(--secondary);
    --go-l: var(--secondary);
    --go-bg: rgba(255, 159, 28, 0.07);
    --rd: #C04040;
    --rd-l: #E07070;
    --rd-bg: rgba(192,64,64,.07);
    --bl: #3A80D0;
    --bl-l: #70AAEE;
    --bl-bg: rgba(58,128,208,.07);
    --tx: #E8F2FC;
    --mu: var(--gray);
    --mu2: var(--gray-dark);
    --card: rgba(45,58,79,.7);
    --border: rgba(8, 153, 3, 0.12);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--white);color:var(--dark);font-family:'Sora',sans-serif;overflow-x:hidden}

/* scrollbar */
::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:var(--gray-light)}
::-webkit-scrollbar-thumb{background:var(--primary);border-radius:3px}


/* ═══ NAV ═══ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem; /* Aumentado el padding lateral para mejor centrado */
  background: var(--white);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(8, 153, 3, 0.15);
  box-shadow: var(--shadow-sm);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 55px; /* Aumentado de 45px a 55px */
  transition: all 0.2s ease;
  margin-right: auto; /* Empuja el logo a la izquierda */
}

.logo img {
  height: 100%;
  width: auto;
  max-width: 180px; /* Aumentado de 150px a 180px */
  object-fit: contain;
}

/* Efecto hover sutil para el logo */
.logo:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.nav-c {
  display: flex;
  align-items: center;
  gap: 1.8rem; /* Aumentado ligeramente el espacio entre elementos */
  margin-left: auto; /* Empuja el menú a la derecha */
}

.nav-c a {
  color: var(--title-color);
  font-size: 0.82rem; /* Aumentado ligeramente para compensar el logo más grande */
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
  white-space: nowrap; /* Evita que los textos se rompan */
}

.nav-c a:hover {
  color: var(--primary);
}

/* Efecto de línea inferior en hover (opcional) */
.nav-c a:not(.nav-login):not(.nav-cta) {
  position: relative;
}

.nav-c a:not(.nav-login):not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-c a:not(.nav-login):not(.nav-cta):hover::after {
  width: 100%;
}

.nav-login {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.45rem 1.2rem; /* Aumentado ligeramente para proporción */
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-login:hover {
  background: var(--gr-bg);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.nav-cta {
  background: var(--primary);
  color: var(--white);
  padding: 0.45rem 1.3rem; /* Aumentado ligeramente para proporción */
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(8, 153, 3, 0.2);
}

/* Media query para tablets */
@media (max-width: 1024px) {
  nav {
    padding: 0.5rem 2rem;
  }
  
  .logo {
    height: 48px; /* Ligeramente más pequeño en tablets */
  }
  
  .nav-c {
    gap: 1.4rem;
  }
  
  .nav-c a {
    font-size: 0.78rem;
  }
}

/* Media query para móviles */
@media (max-width: 768px) {
  nav {
    padding: 0.4rem 1.2rem;
  }
  
  .logo {
    height: 42px; /* Más pequeño en móviles */
  }
  
  .nav-c {
    gap: 1rem;
  }
  
  /* Opcional: ocultar algunos enlaces en móvil si es necesario */
  .nav-c a:not(.nav-login):not(.nav-cta) {
    display: none; /* O ajusta según necesidades */
  }
}

/* Si quieres centrar todo el contenido del nav de manera diferente */
/* Opción alternativa: centrado completo */
.nav-centered {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.nav-centered .logo {
  margin-right: 0;
}

.nav-centered .nav-c {
  margin-left: 0;
}







/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  padding: 8.5rem 2.5rem 8rem;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  /* Gradiente mezclando verde oscuro y azul oscuro con sombra negra */
  background: linear-gradient(135deg, 
    #011a02 0%, 
    #023101 30%, 
    #01263a 70%, 
    #001f33 100%
  );
  box-shadow: inset 0 -50px 50px -30px rgba(0, 0, 0, 0.7),
              inset 0 50px 50px -30px rgba(0, 0, 0, 0.4),
              0 20px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Efecto de rayas de luz superiores */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.03) 20px,
    rgba(255, 255, 255, 0.03) 40px
  );
  pointer-events: none;
  z-index: 1;
}

/* Efecto de rayas de luz inferiores */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 30px,
    rgba(255, 255, 255, 0.02) 30px,
    rgba(255, 255, 255, 0.02) 60px
  );
  pointer-events: none;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  animation: pulse 8s infinite ease-in-out;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.2), 
    rgba(255,255,255,0.6), 
    rgba(255,255,255,0.2), 
    transparent
  );
  animation: slideLight 6s infinite linear;
}

/* Nuevas rayas de luz diagonales */
.hero-light-rays {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-light-rays::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 50px,
    rgba(255, 255, 255, 0.03) 50px,
    rgba(255, 255, 255, 0.03) 100px
  );
  animation: rotateRays 20s infinite linear;
}

.hero-light-rays::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 80px,
    rgba(255, 255, 255, 0.02) 80px,
    rgba(255, 255, 255, 0.02) 160px
  );
  animation: rotateRaysReverse 25s infinite linear;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  opacity: 0.2;
  z-index: 2;
}

.hero-left {
  position: relative;
  z-index: 3;
}

.eyebrow {
  font-size: .85rem; /* Aumentado de .68rem */
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.2rem; /* Aumentado ligeramente */
  display: flex;
  align-items: center;
  gap: .6rem;
  position: relative;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; /* Aumentado de 22px */
  height: 2px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.live-dot {
  display: inline-block;
  width: 8px; /* Aumentado de 6px */
  height: 8px; /* Aumentado de 6px */
  border-radius: 50%;
  background: #ffffff;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 3.5vw, 2.8rem); /* Aumentado de clamp(1.9rem, 3.5vw, 3rem) */
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 1.2rem; /* Aumentado ligeramente */
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 0 20px rgba(255,255,255,0.3);
}

.c-g, .c-b, .c-o {
  color: #ffffff;
  font-style: italic;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 0 15px rgba(255,255,255,0.4);
}

.hero-sub {
  font-size: 1rem; /* Aumentado de .82rem */
  color: rgba(255,255,255,0.9);
  line-height: 1.8; /* Aumentado de 1.75 */
  max-width: 520px; /* Aumentado de 480px */
  margin-bottom: 1.8rem; /* Aumentado de 1.5rem */
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  position: relative;
  padding-left: 1.2rem; /* Aumentado ligeramente */
  border-left: 2px solid rgba(255,255,255,0.3);
}

.hero-mokum {
  font-size: .85rem; /* Aumentado de .68rem */
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.8rem; /* Aumentado de 1.5rem */
  display: flex;
  align-items: center;
  gap: .5rem; /* Aumentado de .4rem */
}

.hero-mokum span {
  color: #ffffff;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
  padding: 0.3rem 0.8rem; /* Aumentado de 0.2rem 0.6rem */
  border-radius: 20px;
  backdrop-filter: blur(5px);
  font-size: .85rem; /* Añadido para consistencia */
}

.hero-pills {
  display: flex;
  gap: .8rem; /* Aumentado de .6rem */
  flex-wrap: wrap;
  margin-bottom: 1.8rem; /* Aumentado de 1.5rem */
}

.hpill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  font-size: .85rem; /* Aumentado de .68rem */
  font-weight: 600;
  padding: .35rem 1rem; /* Aumentado de .28rem .75rem */
  border-radius: 50px;
  text-decoration: none;
  transition: all .2s;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hpill:hover {
  background: rgba(255,255,255,0.2);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem; /* Aumentado de .8rem */
  flex-wrap: wrap;
}

.btn-prim {
  background: #ffffff;
  color: #023101;
  padding: .9rem 2rem; /* Aumentado de .7rem 1.6rem */
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem; /* Aumentado de .82rem */
  text-decoration: none;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: .5rem; /* Aumentado de .4rem */
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 0 20px rgba(255,255,255,0.3);
}

.btn-prim:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.4);
  color: #012001;
}

.btn-sec {
  background: transparent;
  border: 1.5px solid #ffffff;
  color: #ffffff;
  padding: .9rem 1.8rem; /* Aumentado de .7rem 1.4rem */
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem; /* Aumentado de .78rem */
  text-decoration: none;
  transition: all .2s;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 0 15px rgba(255,255,255,0.2);
}

.btn-sec:hover {
  background: rgba(255,255,255,0.1);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25), 0 0 25px rgba(255,255,255,0.3);
}

/* Animaciones */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

@keyframes slideLight {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes rotateRays {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateRaysReverse {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

/* Asegurar que el contenido esté por encima de los efectos */
.hero-left, .hero-right {
  position: relative;
  z-index: 10;
}
/* ═══ SIMULATOR ═══ */
.hero-right{position:relative;z-index:1}
.sim-box{background:var(--white);border:1px solid var(--border);border-radius:20px;padding:1.6rem;box-shadow:var(--shadow-lg)}
.sim-box h3{font-family:'DM Serif Display',serif;font-size:1.15rem;color:var(--primary);margin-bottom:1.2rem;display:flex;align-items:center;gap:.5rem}
.fg{margin-bottom:.9rem}
.fg label{display:block;font-size:.62rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gray);margin-bottom:.38rem}
.fg select,.fg input{width:100%;background:var(--gray-bg);border:1px solid var(--gray-light);border-radius:9px;padding:.65rem .9rem;color:var(--dark);font-family:'Sora',sans-serif;font-size:.82rem;outline:none;appearance:none;transition:border-color .2s}
.fg select:focus,.fg input:focus{border-color:var(--primary)}
.fg select option{background:var(--white)}
.amount-row{display:grid;grid-template-columns:1fr auto;gap:.5rem}
.cur-badge{background:var(--gray-bg);border:1px solid var(--gray-light);border-radius:9px;padding:.65rem .8rem;font-weight:700;font-size:.78rem;color:var(--gray);white-space:nowrap}
/* result rows */
.sim-results{margin-top:1rem;border-top:1px solid var(--border);padding-top:1rem}
.rr{display:flex;justify-content:space-between;align-items:center;padding:.45rem 0;border-bottom:1px solid var(--gray-light)}
.rr:last-of-type{border-bottom:none}
.rl{font-size:.72rem;color:var(--gray)}
.rv{font-size:.78rem;font-weight:700;color:var(--dark)}
.rv.hi{color:var(--primary);font-size:.92rem}
.rv.rd{color:var(--rd)}
.total-box{background:var(--gr-bg);border:1px solid var(--primary);border-radius:12px;padding:1rem;margin-top:.8rem;text-align:center}
.total-lbl{font-size:.62rem;color:var(--gray);text-transform:uppercase;letter-spacing:.1em;margin-bottom:.3rem}
.total-num{font-family:'DM Serif Display',serif;font-size:1.9rem;color:var(--primary);line-height:1}
.total-cur{font-size:.72rem;color:var(--gray);margin-top:.2rem}
.sim-placeholder{text-align:center;padding:1.5rem 0;color:var(--gray);font-size:.78rem}
.sim-disclaimer{font-size:.62rem;color:var(--gray-dark);margin-top:.7rem;text-align:center;font-style:italic;line-height:1.5}





/* ═══ STATS BAR ═══ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 50%, #f0f0f0 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Efecto de luz sutil en el fondo */
.stats-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.8) 0%, transparent 50%);
  opacity: 0.4;
  pointer-events: none;
  animation: rotateGradient 15s infinite linear;
}

/* Efecto de brillo en los bordes */
.stats-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.3;
}

.st {
  padding: 2.5rem 1.2rem;
  border-right: 1px solid rgba(0,0,0,0.05);
  text-align: center;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.st:hover {
  background: rgba(255,255,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.st:last-child {
  border-right: none;
}

.sn {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  display: block;
  line-height: 1;
  margin-bottom: .3rem;
  position: relative;
  text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sn.g {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sn.b {
  color: var(--title-color);
  background: linear-gradient(135deg, var(--title-color), #030a5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sn.o {
  color: var(--secondary);
  background: linear-gradient(135deg, var(--title-color), #030a5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sl {
  font-size: .65rem;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
}

/* Animación para el gradiente */
@keyframes rotateGradient {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Efecto de brillo en cada número al pasar el mouse */
.st:hover .sn {
  animation: shimmer 1s ease;
}

@keyframes shimmer {
  0% {
    text-shadow: 0 0 0 rgba(255,255,255,0);
  }
  50% {
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
  }
  100% {
    text-shadow: 0 0 0 rgba(255,255,255,0);
  }
}



/* ═══ SECTION ═══ */
.sec {
  padding: 2rem 5rem; /* Aumentado el padding vertical y horizontal */
  max-width: 1400px; /* Ancho máximo para que no se estire demasiado en pantallas grandes */
  margin: 0 auto; /* Centrado automático */
  width: 100%;
}

.sec-alt {
  background: var(--gray-bg);
  position: relative;
  overflow: hidden;
}

/* Efecto decorativo sutil para secciones alternas */
.sec-alt::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--gr-bg) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
  border-radius: 50%;
}

.sec-alt::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--go-bg) 0%, transparent 70%);
  opacity: 0.2;
  pointer-events: none;
  border-radius: 50%;
}

.sec-lbl {
  font-size: 0.7rem; /* Ligeramente aumentado */
  font-weight: 700;
  letter-spacing: 0.2em; /* Más espaciado entre letras */
  text-transform: uppercase;
  margin-bottom: 1rem; /* Aumentado */
  position: relative;
  display: inline-block;
  padding-left: 0.5rem;
}

.sec-lbl.g {
  color: var(--primary);
  border-left: 3px solid var(--primary);
}

.sec-lbl.b {
  color: var(--title-color);
  border-left: 3px solid var(--title-color);
}

.sec-lbl.o {
  color: var(--secondary);
  border-left: 3px solid var(--secondary);
}

.sec-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem); /* Tamaño base aumentado */
  line-height: 1.2;
  margin-bottom: 1.2rem; /* Aumentado */
  max-width: 700px; /* Aumentado */
  color: var(--title-color);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.sec-sub {
  color: var(--gray);
  max-width: 580px; /* Aumentado */
  line-height: 1.8; /* Más espaciado entre líneas */
  margin-bottom: 3rem; /* Aumentado significativamente */
  font-size: 0.9rem; /* Ligeramente aumentado */
  font-weight: 400;
}

/* Separador opcional entre secciones */
.sec-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  margin: 2rem 0 3rem;
}

/* Ajustes para diferentes tamaños de pantalla */
@media (max-width: 1200px) {
  .sec {
    padding: 5rem 3rem;
  }
}

@media (max-width: 768px) {
  .sec {
    padding: 4rem 1.5rem;
  }
  
  .sec-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
  }
  
  .sec-sub {
    font-size: 0.85rem;
    margin-bottom: 2rem;
  }
  
  .sec-lbl {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .sec {
    padding: 3rem 1rem;
  }
}












/* ═══ SERVICES 4x1 (UNA SOLA FILA) ═══ */



.srv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  position: relative;
  z-index: 1;
}

/* Fondo con líneas cuadradas azul oscuro */
.srv-grid::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background-image: 
    linear-gradient(45deg, rgba(0, 20, 60, 0.15) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(0, 20, 60, 0.15) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: -1;
  border-radius: 30px;
}

.srv {
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  position: relative;
  overflow: hidden;
  border: none; /* Eliminamos el borde de color */
  transition: transform .25s, box-shadow .25s;
  background: var(--white);
  backdrop-filter: blur(2px);
  box-shadow: 0 8px 20px rgba(0, 40, 0, 0.15); /* Sombra verde oscuro suave */
}

.srv:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 60, 0, 0.25); /* Sombra más intensa al hover */
}

/* Eliminamos completamente los bordes de color */
.srv.nat,
.srv.intl,
.srv.tfr,
.srv.rec {
  border: none;
}

.srv::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;
}

.srv.nat::after {
  background: radial-gradient(circle, var(--gr-bg), transparent);
}

.srv.intl::after {
  background: radial-gradient(circle, var(--go-bg), transparent);
}

.srv.tfr::after {
  background: radial-gradient(circle, var(--bl-bg), transparent);
}

.srv.rec::after {
  background: radial-gradient(circle, rgba(8,153,3,0.05), transparent);
}

.srv-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 2;
}

.nat .srv-tag {
  background: var(--gr-bg);
  color: var(--primary);
}

.intl .srv-tag {
  background: var(--go-bg);
  color: var(--secondary);
}

.tfr .srv-tag {
  background: var(--bl-bg);
  color: var(--title-color);
}

.rec .srv-tag {
  background: rgba(8,153,3,0.05);
  color: var(--primary-light);
}

.srv h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  color: var(--title-color);
  position: relative;
  z-index: 2;
}

.srv > p {
  font-size: .75rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.srv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  z-index: 2;
}

.srv-list li {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  font-size: .72rem;
  line-height: 1.4;
}

.dot {
  flex-shrink: 0;
  margin-top: .25rem;
  font-size: .45rem;
}

.nat .dot {
  color: var(--primary);
}

.intl .dot {
  color: var(--secondary);
}

.tfr .dot {
  color: var(--title-color);
}

.rec .dot {
  color: var(--primary-light);
}

.srv-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .6rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
  margin-top: 1rem;
  border: 1px solid;
  position: relative;
  z-index: 2;
}

.nat .srv-badge {
  background: var(--gr-bg);
  border-color: var(--primary);
  color: var(--primary);
}

.intl .srv-badge {
  background: var(--go-bg);
  border-color: var(--secondary);
  color: var(--secondary);
}

.tfr .srv-badge {
  background: var(--bl-bg);
  border-color: var(--title-color);
  color: var(--title-color);
}

.rec .srv-badge {
  background: rgba(8,153,3,0.05);
  border-color: var(--primary-light);
  color: var(--primary-light);
}

.info-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  background: var(--gray-bg);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: .2rem .1rem;
  margin-top: 0.8rem;
  font-size: .68rem;
  color: var(--gray);
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

.sub-opts {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 2;
}

.sub-opt {
  background: var(--gray-bg);
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: .2rem .6rem;
  font-size: .6rem;
  font-weight: 700;
  color: var(--primary);
}

/* Responsive para pantallas más pequeñas */
@media (max-width: 1200px) {
  .srv-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .srv {
    padding: 1.8rem 1.5rem;
  }
  
  .srv h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .srv-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .srv {
    padding: 2rem 1.5rem;
  }
  
  .srv h2 {
    font-size: 1.4rem;
  }
}









/* ═══ DINEX EN CIFRAS ═══ */
.cifras-sec {
  background: linear-gradient(135deg, var(--gray-bg) 0%, var(--white) 100%);
  padding: 2rem 5.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Cambiado de verde a blanco plateado */
.cifras-sec::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}

/* Efecto de brillo adicional plateado */
.cifras-sec::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.4;
  z-index: 1;
}

.cifras-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 2;
}

.cifra-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

/* Efecto de brillo en la esquina - cambiado a plateado */
.cifra-card::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.cifra-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ESTILOS DE COLORES */
/* Todo el texto por defecto en azul oscuro */
.cifra-card,
.cifra-card * {
  color: var(--title-color); /* Azul oscuro para todo */
}

/* EXCEPCIÓN: Las cifras (números) en verde oscuro */
.cifra-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.4rem;
  display: block;
  color: var(--primary-dark) !important; /* Verde oscuro forzado */
  /* Aseguramos que el signo + herede el color */
  &::before {
    content: '+';
    color: inherit;
  }
}

/* Versión sin + para el que no debe tenerlo (si es necesario) */
.cifra-card:nth-child(4) .cifra-num::before,
.cifra-card:nth-child(5) .cifra-num::before,
.cifra-card:nth-child(6) .cifra-num::before {
  content: ''; /* Vacío para los que no llevan + en el HTML */
}

/* Aseguramos que todos los números tengan el mismo verde oscuro */
.cifra-card:nth-child(1) .cifra-num,
.cifra-card:nth-child(2) .cifra-num,
.cifra-card:nth-child(3) .cifra-num,
.cifra-card:nth-child(4) .cifra-num,
.cifra-card:nth-child(5) .cifra-num,
.cifra-card:nth-child(6) .cifra-num {
  color: var(--primary-dark) !important; /* Todos los números en verde oscuro */
}

/* Iconos en azul oscuro (como el resto del texto) */
.cifra-icon {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  display: block;
  color: var(--title-color);
  transition: all 0.3s ease;
}

/* Efecto hover para los iconos - mantienen azul oscuro */
.cifra-card:hover .cifra-icon {
  transform: scale(1.1);
  color: var(--title-color);
}

/* Efecto hover para los números - cambian a verde más brillante */
.cifra-card:hover .cifra-num {
  color: var(--primary) !important; /* Verde más brillante al hover */
}

.cifra-lbl {
  font-size: 0.7rem;
  line-height: 1.5;
  max-width: 140px;
  margin: 0 auto;
  color: var(--title-color); /* Texto descriptivo en azul oscuro */
}

.cifra-live {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6rem;
  font-weight: 700;
  margin-top: 0.5rem;
  padding: 0.25rem 0.6rem;
  background: rgba(1, 9, 66, 0.05); /* Fondo azul muy claro */
  border-radius: 20px;
  color: var(--title-color); /* Texto azul oscuro */
  border: 1px solid rgba(1, 9, 66, 0.1);
}

.cifra-live .live-dot {
  background: var(--title-color); /* Punto azul oscuro */
}

/* Puntos decorativos plateados en el fondo */
.cifras-sec .plateado-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  opacity: 0.3;
  z-index: 1;
}

/* Responsive para diferentes tamaños de pantalla */
@media (max-width: 1400px) {
  .cifras-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
  
  .cifra-card {
    padding: 1.8rem 1.2rem;
  }
  
  .cifra-num {
    font-size: 2.4rem;
  }
  
  .cifra-icon {
    font-size: 1.7rem;
  }
  
  .cifra-lbl {
    font-size: 0.75rem;
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  .cifras-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  
  .cifra-card {
    padding: 2rem 1.5rem;
  }
  
  .cifra-num {
    font-size: 2.6rem;
  }
  
  .cifra-icon {
    font-size: 2rem;
  }
  
  .cifra-lbl {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .cifras-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .cifra-card {
    padding: 2.2rem 1.5rem;
  }
  
  .cifra-num {
    font-size: 2.8rem;
  }
  
  .cifra-icon {
    font-size: 2.2rem;
  }
  
  .cifra-lbl {
    font-size: 0.9rem;
  }
}







/* ═══ HOW IT WORKS ═══ */
.how-tabs {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.tab-btn {
  padding: .48rem 1.2rem;
  border-radius: 50px;
  border: none;
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  background: var(--gray-light);
  color: var(--gray-dark);
}

.tab-btn.nt.active {
  background: var(--primary);
  color: white;
}

.tab-btn.it.active {
  background: var(--secondary);
  color: white;
}

.tab-btn.tt.active {
  background: var(--title-color);
  color: white;
}

.tab-btn.rt.active {
  background: var(--primary-dark);
  color: white;
}

.steps-w {
  display: none;
}

.steps-w.active {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem 1.3rem;
  border: none; /* Eliminamos el borde */
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Sombra base */
}

.step:hover {
  transform: translateY(-5px);
}

/* Sombras específicas para cada tipo al hacer hover */
.step.ns:hover {
  box-shadow: 0 15px 30px -8px rgba(8, 153, 3, 0.3); /* Sombra verde */
}

.step.is:hover {
  box-shadow: 0 15px 30px -8px rgba(255, 159, 28, 0.3); /* Sombra naranja */
}

.step.ts:hover {
  box-shadow: 0 15px 30px -8px rgba(1, 9, 66, 0.3); /* Sombra azul oscuro */
}

.step.rs:hover {
  box-shadow: 0 15px 30px -8px rgba(8, 153, 3, 0.2); /* Sombra verde claro */
}

.snum {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: .6rem;
}

.ns .snum {
  color: var(--gr-bg);
}

.is .snum {
  color: var(--go-bg);
}

.ts .snum {
  color: var(--bl-bg);
}

.rs .snum {
  color: rgba(8,153,3,0.15);
}

.sico {
  font-size: 1.4rem;
  margin-bottom: .6rem;
  display: block;
}

.step h3 {
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--title-color);
}

.step p {
  font-size: .76rem;
  color: var(--gray);
  line-height: 1.6;
}

.step p strong {
  color: var(--dark);
}

/* Efecto adicional de sombra interior para los steps */
.step {
  position: relative;
  overflow: hidden;
}

.step::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step:hover::after {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1200px) {
  .steps-w.active {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .steps-w.active {
    grid-template-columns: 1fr;
  }
  
  .how-tabs {
    justify-content: center;
  }
}




/* ═══ AUDIENCES ═══ */

.sec-alt{
    background-color: #ffffff;
    margin-top: 0.1rem 2.5rem;

}
.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;


}

.aud {
  background: var(--white);
  /* Eliminamos el borde */
  border: none;
  border-radius: 18px;
  padding: 1.9rem 1.6rem;
  transition: all .2s;
  /* Aplicamos sombra en lugar de borde */
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 4px 8px rgba(0, 0, 0, 0.03);
}

.aud:hover {
  /* border-color eliminado */
  transform: translateY(-3px);
  /* Sombra más pronunciada al hover, manteniendo el efecto de borde */
  box-shadow: 0 0 0 1px var(--primary), 0 8px 16px rgba(8, 153, 3, 0.1);
}

.aud-ico {
  font-size: 1.9rem;
  margin-bottom: .85rem;
  display: block;
}

.aud h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  margin-bottom: .6rem;
  color: var(--title-color);
}

.aud p {
  font-size: .8rem;
  color: var(--gray);
  line-height: 1.7;
}

.aud-pills {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: .9rem;
}

.pill {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .2rem .65rem;
  border-radius: 50px;
}

.pill.g {
  background: var(--gr-bg);
  color: var(--primary);
}

.pill.b {
  background: var(--bl-bg);
  color: var(--title-color);
}

.pill.o {
  background: var(--go-bg);
  color: var(--secondary);
}

.pill.p {
  background: rgba(8,153,3,0.1);
  color: var(--primary-light);
}

/* ═══ OPERATORS ═══ */
.ops-grid{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2.2rem}
.op{background:var(--white);border:1px solid var(--border);border-radius:12px;padding:.9rem 1.5rem;display:flex;align-items:center;gap:.65rem;font-weight:700;font-size:.84rem;transition:all .2s}
.op:hover{border-color:var(--primary);background:var(--gray-bg)}
.op-dot{width:8px;height:8px;border-radius:50%;background:var(--primary);flex-shrink:0}
.op span{color:var(--gray);font-size:.67rem;font-weight:400}

/* ═══ SOCIAL CONTACT ═══ */
.social-grid{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1.5rem}
.soc-btn{display:inline-flex;align-items:center;gap:.5rem;background:var(--white);border:1px solid var(--border);border-radius:10px;padding:.6rem 1.1rem;color:var(--gray);font-size:.78rem;font-weight:600;text-decoration:none;transition:all .2s}
.soc-btn:hover{color:var(--primary);border-color:var(--primary);background:var(--gray-bg)}

/* ═══ ABOUT ═══ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Cards de Misión, Visión y Valores en fila */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.acard {
  background: var(--white);
  border: none; /* Eliminado el borde */
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 0;
  transition: all 0.3s ease; /* Transición suave para todos los cambios */
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Sombra suave por defecto */
}

.acard:hover {
  border-color: transparent; /* Aseguramos que no aparezca borde */
  box-shadow: 0 8px 24px rgba(8, 153, 3, 0.15); /* Sombra más pronunciada al hacer hover */
  transform: translateY(-4px); /* Efecto de elevación */
}

.acard-ico {
  font-size: 1.6rem;
  margin-bottom: .75rem;
  display: block;
}

.acard h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--primary);
}

.acard p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.68;
  flex-grow: 1;
}

/* Estadísticas - también con sombra */
.astat-g {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  margin-top: 1.3rem;
}

.ast {
  background: var(--gray-bg);
  border-radius: 12px;
  padding: 1.1rem;
  text-align: center;
  border: none; /* Eliminado borde */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Sombra suave */
  transition: all 0.2s ease;
}

.ast:hover {
  box-shadow: 0 4px 12px rgba(8, 153, 3, 0.12);
  transform: translateY(-2px);
}

.ast-n {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: .2rem;
}

.ast-l {
  font-size: .62rem;
  color: var(--gray);
}

/* Tag de Mokum */
.mokum-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gr-bg);
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: .6rem 1.1rem;
  font-size: .75rem;
  color: var(--gray);
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(8, 153, 3, 0.08); /* Sombra suave */
  transition: all 0.2s ease;
}

.mokum-tag:hover {
  box-shadow: 0 4px 12px rgba(8, 153, 3, 0.15);
  transform: translateY(-2px);
}

.mokum-tag strong {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .acard {
    padding: 1.2rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .mission-vision-grid {
    gap: 0.8rem;
  }
  
  .acard {
    padding: 1.2rem;
  }
  
  .acard h4 {
    font-size: 0.9rem;
  }
  
  .acard p {
    font-size: 0.75rem;
  }
}

/* ═══ REGULATORY ═══ */
.regulatory-col {
  margin: 3rem 0; /* Margen superior e inferior para separar de otras secciones */
}

.reg-grid-compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin: 2rem 0; /* Margen superior e inferior dentro de la columna */
  width: 100%;
}

.reg {
  background: var(--white);
  border: none;
  border-radius: 16px;
  padding: 1.4rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.reg:hover {
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(8, 153, 3, 0.15);
  transform: translateY(-4px);
}

.reg-ico {
  font-size: 2rem;
  margin-bottom: 0.9rem;
  display: block;
}

.reg h4 {
  font-size: 0.93rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--primary);
  line-height: 1.3;
}

.reg p {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 0.8rem;
}

.reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--gr-bg);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.22rem 0.7rem;
  border-radius: 50px;
  margin-top: auto;
  align-self: flex-start;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(8, 153, 3, 0.1);
}

.reg-badge:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(8, 153, 3, 0.25);
  transform: translateY(-2px);
}

.comp-note {
  background: var(--gr-bg);
  border: none;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0 1rem 0; /* Margen superior e inferior */
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  box-shadow: 0 4px 16px rgba(8, 153, 3, 0.12);
  transition: all 0.3s ease;
}

.comp-note:hover {
  box-shadow: 0 8px 24px rgba(8, 153, 3, 0.18);
  transform: translateY(-2px);
}

.comp-note p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

.comp-note p strong {
  color: var(--dark);
}

/* Responsive */
@media (max-width: 1024px) {
  .reg-grid-compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0; /* Margen ajustado para tablets */
  }
  
  .reg {
    padding: 1.3rem;
  }
  
  .comp-note {
    margin: 1.5rem 0 0.8rem 0;
    padding: 1.3rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .regulatory-col {
    margin: 2rem 0; /* Margen ajustado para móviles */
  }
  
  .reg-grid-compact {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.2rem 0; /* Margen ajustado para móviles */
  }
  
  .reg {
    padding: 1.2rem;
  }
  
  .comp-note {
    flex-direction: column;
    padding: 1.2rem;
    gap: 0.8rem;
    margin: 1.2rem 0 0.5rem 0;
  }
}

@media (max-width: 480px) {
  .regulatory-col {
    margin: 1.5rem 0; /* Margen ajustado para móviles pequeños */
  }
  
  .reg h4 {
    font-size: 0.85rem;
  }
  
  .reg p {
    font-size: 0.72rem;
  }
  
  .reg-badge {
    font-size: 0.58rem;
    padding: 0.18rem 0.6rem;
  }
  
  .comp-note {
    padding: 1rem;
    margin: 1rem 0 0.3rem 0;
  }
}

/* ═══ FAQ ═══ */
.faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.fi{background:var(--white);border:1px solid var(--gray-light);border-radius:12px;overflow:hidden}
.fq{width:100%;background:none;border:none;color:var(--dark);font-family:'Sora',sans-serif;font-size:.83rem;font-weight:600;padding:1.1rem 1.4rem;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:.7rem}
.fq:hover{color:var(--primary)}
.farr{color:var(--gray);font-size:.7rem;transition:transform .25s;flex-shrink:0}
.fi.open .farr{transform:rotate(180deg)}
.fa{max-height:0;overflow:hidden;transition:max-height .3s ease}
.fa p{padding:.1rem 0.4rem 0.2rem;font-size:.78rem;color:var(--gray);line-height:1.7;border-top:1px solid var(--gray-light)}

/* ═══ CTA ═══ */
.cta-sec {
  padding: 7rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #f5f5f5; /* Gris platino sólido */
}

/* Eliminamos el gradiente radial */
.cta-sec::before {
  display: none; /* Ocultamos el gradiente anterior */
}

/* Opcional: Añadir un patrón muy sutil de puntos si quieres textura */
.cta-sec::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.3;
  z-index: 0;
}

.cta-sec h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 1.1rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: var(--title-color);
  position: relative;
  z-index: 1;
}

.cta-sec > p {
  color: var(--gray);
  font-size: .95rem;
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  position: relative;
  z-index: 1;
}

.cc {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: var(--gray);
  font-size: .78rem;
}

.cc strong {
  color: var(--primary);
}

/* Aseguramos que el fondo sea consistente en todos los elementos */
.cta-sec .social-grid {
  position: relative;
  z-index: 1;
}

.cta-sec .soc-btn {
  background: #ffffff; /* Blanco puro para los botones sociales */
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-sec .soc-btn:hover {
  background: var(--gr-bg);
  border-color: var(--primary);
}
/* ═══ FOOTER MEJORADO ═══ */
footer {
  background: linear-gradient(135deg, #1a2634 0%, #1e2a38 100%); /* Fondo más suave y menos oscuro */
  border-top: 2px solid var(--primary);
  padding: 4rem 2.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Efecto de fondo sutil */
footer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(8, 153, 3, 0.08) 0%, transparent 70%); /* Ligeramente más visible */
  border-radius: 50%;
  pointer-events: none;
}

footer::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(8, 153, 3, 0.05) 0%, transparent 70%); /* Ligeramente más visible */
  border-radius: 50%;
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
}

/* Columna de marca */
.footer-brand {
  position: relative;
}

/* Estilo para el logo con imagen - TAMAÑO AUMENTADO */
.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.8rem; /* Aumentado */
  position: relative;
  transition: transform 0.3s ease;
  height: 95px; /* Aumentado de 70px a 95px */
}

.footer-brand .logo:hover {
  transform: translateY(-4px); /* Efecto más pronunciado */
}

.footer-brand .logo img {
  height: 100%;
  width: auto;
  max-width: 280px; /* Aumentado de 220px a 280px */
  object-fit: contain;
}

/* Estilo para logo con texto (si alguna vez se usa) */
.footer-brand .logo-d,
.footer-brand .logo-inex {
  font-size: 2.8rem; /* Aumentado de 2.2rem a 2.8rem */
  font-weight: 800;
  line-height: 1;
}

.footer-brand .logo-d {
  color: var(--white);
  text-shadow: 0 2px 8px rgba(8, 153, 3, 0.3);
}

.footer-brand .logo-inex {
  color: var(--primary);
  text-shadow: 0 2px 8px rgba(8, 153, 3, 0.5);
}

.footer-brand p {
  font-size: 0.9rem; /* Aumentado */
  color: #d1d9e6; /* Color más suave que el gray-light original */
  line-height: 1.7;
  max-width: 400px; /* Aumentado */
  margin-bottom: 1.8rem; /* Aumentado */
  opacity: 0.95; /* Más visible */
}

/* Badge de confianza */
.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem; /* Aumentado */
  background: rgba(255, 255, 255, 0.08); /* Ligeramente más visible */
  border: 1px solid rgba(8, 153, 3, 0.25); /* Borde más visible */
  border-radius: 30px;
  padding: 0.6rem 1.4rem; /* Aumentado */
  margin-top: 1rem; /* Aumentado */
}

.footer-trust-badge span {
  font-size: 0.8rem; /* Aumentado */
  color: #d1d9e6; /* Color más suave */
  font-weight: 500;
}

.footer-trust-badge .dot {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Columnas de enlaces */
.footer-col {
  position: relative;
}

.footer-col h4 {
  font-size: 0.8rem; /* Aumentado */
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem; /* Aumentado */
  position: relative;
  padding-bottom: 0.7rem; /* Aumentado */
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px; /* Aumentado */
  height: 3px; /* Aumentado */
  background: var(--primary);
  border-radius: 2px;
}

.footer-col a {
  display: block;
  color: #d1d9e6; /* Color más suave */
  font-size: 0.9rem; /* Aumentado */
  text-decoration: none;
  margin-bottom: 0.9rem; /* Aumentado */
  transition: all 0.2s ease;
  opacity: 0.9; /* Más visible */
  position: relative;
  padding-left: 0;
}

.footer-col a:hover {
  color: var(--primary);
  opacity: 1;
  transform: translateX(8px); /* Aumentado */
  padding-left: 8px; /* Aumentado */
}

/* Iconos sociales mejorados */
.footer-social {
  display: flex;
  gap: 1.2rem; /* Aumentado */
  flex-wrap: wrap;
  margin-top: 1.8rem; /* Aumentado */
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; /* Aumentado de 42px a 48px */
  height: 48px; /* Aumentado de 42px a 48px */
  background: rgba(255, 255, 255, 0.08); /* Ligeramente más visible */
  border: 1px solid rgba(8, 153, 3, 0.25); /* Borde más visible */
  border-radius: 50%;
  color: #d1d9e6; /* Color más suave */
  font-size: 1.2rem; /* Aumentado */
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-5px); /* Aumentado */
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(8, 153, 3, 0.4); /* Aumentado */
}

/* Línea inferior */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem; /* Aumentado */
  padding-top: 2.5rem; /* Aumentado */
  margin-top: 2rem; /* Aumentado */
  border-top: 1px solid rgba(8, 153, 3, 0.25); /* Borde más visible */
  position: relative;
  z-index: 2;
}

.footer-disc {
  font-size: 0.8rem; /* Aumentado */
  color: #b8c4d4; /* Color más suave */
  max-width: 780px; /* Aumentado */
  line-height: 1.8;
  opacity: 0.95; /* Más visible */
}

.footer-disc strong {
  color: #ffffff; /* Blanco puro para destacar */
  font-weight: 600;
}

.footer-copy {
  font-size: 0.8rem; /* Aumentado */
  color: #b8c4d4; /* Color más suave */
  white-space: nowrap;
  background: rgba(8, 153, 3, 0.15); /* Más visible */
  padding: 0.6rem 1.5rem; /* Aumentado */
  border-radius: 30px;
  border: 1px solid rgba(8, 153, 3, 0.3); /* Borde más visible */
}

/* Responsive */
@media (max-width: 1200px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
    text-align: center;
  }
  
  .footer-brand .logo {
    justify-content: center;
    height: 85px; /* Ajustado para tablets */
  }
  
  .footer-brand .logo img {
    max-width: 250px; /* Ajustado para tablets */
  }
  
  .footer-brand p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-col {
    text-align: center;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 3rem 1.5rem 2rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-brand .logo {
    height: 75px; /* Ajustado para móviles */
  }
  
  .footer-brand .logo img {
    max-width: 220px; /* Ajustado para móviles */
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-copy {
    white-space: normal;
    width: 100%;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 2.5rem 1rem 1.5rem;
  }
  
  .footer-top {
    gap: 1.8rem;
  }
  
  .footer-brand .logo {
    height: 65px; /* Ajustado para móviles pequeños */
  }
  
  .footer-brand .logo img {
    max-width: 200px; /* Ajustado para móviles pequeños */
  }
}


/* ═══ MODAL ═══ */
.modal-ov{position:fixed;inset:0;background:rgba(0,0,0,.88);backdrop-filter:blur(8px);z-index:999;display:none;align-items:center;justify-content:center;padding:2rem}
.modal-ov.open{display:flex}
.modal{background:var(--white);border:1px solid var(--primary);border-radius:22px;max-width:820px;width:100%;max-height:85vh;overflow:hidden;display:flex;flex-direction:column}
.modal-hd{padding:1.6rem 2.2rem;border-bottom:1px solid var(--gray-light);display:flex;justify-content:space-between;align-items:center}
.modal-hd h2{font-family:'DM Serif Display',serif;font-size:1.5rem;color:var(--primary)}
.modal-cls{background:none;border:none;color:var(--gray);font-size:1.4rem;cursor:pointer;line-height:1;transition:color .2s}
.modal-cls:hover{color:var(--dark)}
.modal-bd{padding:1.8rem 2.2rem;overflow-y:auto;flex:1}
.modal-bd h3{font-family:'DM Serif Display',serif;font-size:1.1rem;color:var(--primary);margin:1.4rem 0 .55rem}
.modal-bd h3:first-child{margin-top:0}
.modal-bd p{font-size:.79rem;color:var(--gray);line-height:1.74;margin-bottom:.75rem}
.modal-bd ul{margin:.4rem 0 .75rem 1.1rem}
.modal-bd ul li{font-size:.79rem;color:var(--gray);line-height:1.68;margin-bottom:.3rem}
.modal-bd strong{color:var(--dark)}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
@keyframes countUp{from{opacity:0}to{opacity:1}}
.hero-left>*{animation:fadeUp .6s ease both}
.hero-left .eyebrow{animation-delay:.05s}
.hero-left h1{animation-delay:.12s}
.hero-left .hero-sub{animation-delay:.2s}
.hero-left .hero-mokum{animation-delay:.25s}
.hero-left .hero-pills{animation-delay:.3s}
.hero-left .hero-cta-row{animation-delay:.38s}
.hero-right{animation:fadeUp .7s .2s ease both}

/* ═══ RESPONSIVE ═══ */
@media(max-width:1050px){
  nav{padding:.8rem 1.5rem}
  .nav-c{gap:.8rem}
  .nav-c a:not(.nav-login):not(.nav-cta){display:none}
  .hero{grid-template-columns:1fr;padding:6rem 1.5rem 3rem;gap:2rem}
  .hero-right{order:-1}
  .srv-grid{grid-template-columns:1fr}
  .cifras-grid{grid-template-columns:1fr 1fr}
  .steps-w.active{grid-template-columns:1fr 1fr}
  .aud-grid{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr}
  .reg-grid{grid-template-columns:1fr}
  .faq-grid{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr 1fr}
  .sec{padding:4rem 1.5rem}
  .cifras-sec{padding:4rem 1.5rem}
}
@media(max-width:600px){
  .stats-bar{grid-template-columns:repeat(3,1fr)}
  .cifras-grid{grid-template-columns:1fr}
  .hero-quad,.hero-pills{flex-wrap:wrap}
}




/* Estilos para los elementos dentro de los modales */
.modal-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.modal-option {
    background: rgba(8, 153, 3, 0.05);
    border: 1px solid rgba(8, 153, 3, 0.1);
    border-radius: 12px;
    padding: 1rem;
}

.modal-option h4 {
    color: var(--primary);
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.modal-option p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--mu);
}

.reg-item {
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(8, 153, 3, 0.2);
}

.reg-item h4 {
    color: var(--primary);
    margin: 0 0 0.3rem 0;
    font-size: 0.95rem;
}

.reg-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--mu);
}

.cifras-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.cifra-modal-item {
    background: rgba(8, 153, 3, 0.05);
    border: 1px solid rgba(8, 153, 3, 0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.cifra-modal-num {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.cifra-modal-lbl {
    display: block;
    font-size: 0.7rem;
    color: var(--mu);
}

.faq-modal-item {
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(8, 153, 3, 0.1);
}

.faq-modal-item h4 {
    color: var(--title-color);
    margin: 0 0 0.3rem 0;
    font-size: 0.95rem;
}

.faq-modal-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--mu);
}

.modal-note {
    background: rgba(8, 153, 3, 0.08);
    border-left: 3px solid var(--primary);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-top: 1.2rem;
    font-size: 0.85rem;
}

.modal-note p {
    margin: 0;
}

.modal-tabs {
    margin-top: 1rem;
}

.modal-tab-content h3 {
    color: var(--primary);
    font-size: 1rem;
    margin: 1.2rem 0 0.5rem 0;
}

.modal-tab-content h3:first-of-type {
    margin-top: 0;
}

.modal-tab-content ol, .modal-tab-content ul {
    margin-left: 1.2rem;
    margin-bottom: 1rem;
}

.modal-tab-content li {
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}

.btn-prim {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-prim:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(8, 153, 3, 0.2);
}
