:root {
  --azul-profundo: #0f1733;
  --azul: #1c2447;
  --dorado: #9b8a45;
  --dorado-claro: #c9b66b;
  --marfil: #f6f4ee;
  --texto: #e8eaf2;
  --texto-suave: #c4cae0;
  --blanco: #ffffff;
  --cristal: rgba(255, 255, 255, .05);
  --cristal-borde: rgba(255, 255, 255, .14);

  --fuente-titulos: "Cormorant Garamond", Georgia, serif;
  --fuente-texto: "Source Sans 3", Arial, sans-serif;
  --alto-menu: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--alto-menu);
}

body {
  margin: 0;
  font-family: var(--fuente-texto);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--texto);
  background: #13214b;
}

img, video { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--fuente-titulos);
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--blanco);
}

h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 600; }
h3 { font-size: 1.6rem; font-weight: 700; }
p  { margin: 0 0 1em; max-width: 68ch; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--dorado-claro);
  outline-offset: 3px;
}

.progreso {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  z-index: 110;
  background: linear-gradient(90deg, var(--dorado), var(--dorado-claro));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.franja {
  display: block;
  width: 64px;
  height: 18px;
  margin-bottom: 18px;
  background: repeating-linear-gradient(
    to bottom,
    var(--dorado-claro) 0 3px,
    transparent 3px 6px
  );
}
.franja-dorada {
  background: repeating-linear-gradient(
    to bottom,
    var(--dorado-claro) 0 3px,
    transparent 3px 6px
  );
}

.contenedor {
  position: relative;
  z-index: 1;
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}
.contenedor.angosto { width: min(820px, 100% - 48px); }

.seccion {
  position: relative;
  overflow: hidden;
  padding: 110px 0 96px;
  background: transparent;
  border-top: 1px solid rgba(201, 182, 107, .14);
}
.seccion::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 380px at 88% 0%, rgba(92, 122, 214, .16), transparent 70%),
    radial-gradient(620px 320px at 5% 100%, rgba(201, 182, 107, .07), transparent 70%);
}
.seccion:nth-of-type(even)::before {
  background:
    radial-gradient(760px 380px at 8% 0%, rgba(92, 122, 214, .16), transparent 70%),
    radial-gradient(620px 320px at 95% 100%, rgba(201, 182, 107, .07), transparent 70%);
}

.dos-columnas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.intro { font-size: 1.15rem; margin-bottom: 2em; color: var(--texto-suave); }

.lema {
  font-family: var(--fuente-titulos);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.25;
  color: var(--dorado-claro);
  margin-bottom: 1em;
}
.legal {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: .98rem;
  color: var(--texto-suave);
}

.boton {
  display: inline-block;
  padding: 13px 30px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.boton:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(5, 10, 30, .4); }
.boton-dorado { background: var(--dorado); color: var(--blanco); }
.boton-dorado:hover { background: var(--dorado-claro); color: var(--azul-profundo); }
.boton-borde { border-color: var(--blanco); color: var(--blanco); }
.boton-borde:hover { background: var(--blanco); color: var(--azul); }
.contacto-botones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

.boton-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.boton-wa svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.boton-wa::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid var(--dorado-claro);
  opacity: 0;
  animation: latido 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes latido {
  0%   { opacity: .7; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.18); }
}

.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--alto-menu);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  background: var(--blanco);
  border-bottom: 3px solid var(--dorado);
  transition: box-shadow .3s;
}
.navbar.con-sombra { box-shadow: 0 4px 18px rgba(15, 23, 51, .3); }

.marca {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.marca-logo { height: 58px; width: auto; }
.marca-texto {
  font-family: var(--fuente-titulos);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.1;
  color: var(--azul);
  max-width: 150px;
}

.navbar nav { display: flex; align-items: center; gap: 26px; }
.navbar nav a {
  color: var(--azul);
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .25s, color .25s;
}
.navbar nav a:hover,
.navbar nav a.activo { border-color: var(--dorado); }
.navbar nav a.boton-menu {
  background: var(--azul);
  color: var(--blanco);
  padding: 10px 22px;
  border-bottom: 0;
}
.navbar nav a.boton-menu:hover { background: var(--dorado); }

.burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background: var(--azul);
  transition: transform .3s, opacity .3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--alto-menu);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--azul-profundo);
  color: var(--blanco);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.05) brightness(.92);
  transform-origin: 60% 50%;
  animation: acercar 22s ease-out both;
}
@keyframes acercar {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}

.hero-capa {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(15,23,51,0) 45%, rgba(15,23,51,.5) 100%),
    linear-gradient(90deg, rgba(15,23,51,.88) 0%, rgba(15,23,51,.55) 45%, rgba(15,23,51,.12) 100%),
    linear-gradient(180deg, rgba(15,23,51,.65) 0%, rgba(15,23,51,0) 26%, rgba(15,23,51,0) 58%, var(--azul-profundo) 100%);
}
.hero-capa::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--azul);
  mix-blend-mode: soft-light;
  opacity: .5;
}

.hero-contenido {
  position: relative;
  z-index: 3;
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}
.hero-etiqueta {
  display: inline-block;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--dorado-claro);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dorado-claro);
}
.hero-contenido h1 {
  color: var(--blanco);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 600;
  max-width: 16ch;
  margin-bottom: .35em;
}
.hero-contenido p {
  font-size: 1.2rem;
  max-width: 54ch;
  color: #e3e6f0;
}
.hero-botones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 62px;
  z-index: 3;
  width: 26px;
  height: 44px;
  margin-left: -13px;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 14px;
}
.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--dorado-claro);
  animation: bajar 1.8s ease-in-out infinite;
}
@keyframes bajar {
  0%   { transform: translateY(0);    opacity: 1; }
  70%  { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

.hero-ola {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 44px;
  z-index: 2;
  background: repeating-linear-gradient(
    to bottom,
    rgba(201,182,107,.55) 0 2px,
    transparent 2px 7px
  );
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
          mask-image: linear-gradient(to top, #000, transparent);
}

.texto-oro h2 { color: #ffffff; }
.texto-oro p { color: #f2f4fa; max-width: 78ch; }
.texto-oro strong { color: #ffffff; font-weight: 700; }

.nosotros-grid { grid-template-columns: 1fr; gap: 48px; align-items: start; }

.imagen-nosotros { position: relative; }
.imagen-oro {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  border-radius: 14px;
  border: 2px solid var(--dorado-claro);
  box-shadow: 0 24px 50px rgba(5, 10, 30, .5);
  animation: nosotros-resplandor 4.5s ease-in-out infinite alternate;
}
.imagen-oro img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
.imagen-oro::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(246, 233, 171, .38) 50%, transparent 62%) 130% 0 / 250% 100% no-repeat;
  animation: nosotros-destello 6s ease-in-out infinite;
}
@keyframes nosotros-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}
@keyframes nosotros-destello {
  0%, 35% { background-position: 130% 0; }
  100%    { background-position: -60% 0; }
}
@keyframes nosotros-resplandor {
  from { box-shadow: 0 24px 50px rgba(5, 10, 30, .5), 0 0 6px rgba(201, 182, 107, .25); }
  to   { box-shadow: 0 24px 50px rgba(5, 10, 30, .5), 0 0 26px rgba(246, 233, 171, .6); }
}
@media (prefers-reduced-motion: reduce) {
  .imagen-oro, .imagen-oro img, .imagen-oro::after { animation: none; }
}

.rejilla {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.rejilla-servicios { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 0; }

.bloque {
  padding: 28px 26px 30px;
  border-top: 4px solid var(--dorado-claro);
  background: var(--cristal);
  transition: transform .3s, background .3s, box-shadow .3s;
}
.bloque:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.1);
  box-shadow: 0 18px 36px rgba(5, 10, 30, .4);
}
.bloque p { margin: 0 0 .8em; color: #d8dcea; font-size: 1rem; }
.bloque p:last-child { margin-bottom: 0; }
.bloque strong { color: var(--dorado-claro); }
.bloque ul { margin: 0; padding-left: 1.2em; color: #d8dcea; }
.bloque li { margin-bottom: .6em; }

.servicio {
  padding: 28px 26px 30px;
  border: 1px solid var(--cristal-borde);
  border-left: 5px solid var(--dorado-claro);
  background: var(--cristal);
  transition: border-left-color .25s, transform .25s, box-shadow .25s, background .25s;
}
.servicio:hover {
  border-left-color: var(--blanco);
  background: rgba(255,255,255,.09);
  transform: translateX(4px);
  box-shadow: 0 14px 32px rgba(5, 10, 30, .4);
}
.servicio h3 { font-size: 1.45rem; }
.servicio p { margin: 0 0 .8em; font-size: 1rem; color: #d8dcea; }
.servicio p:last-child { margin-bottom: 0; }
.servicio ul { margin: 0; padding-left: 1.2em; font-size: 1rem; color: #d8dcea; }
.servicio li { margin-bottom: .4em; }
.servicio .aduanas {
  padding: 12px 14px;
  background: rgba(10, 18, 48, .55);
  border-left: 4px solid var(--dorado-claro);
  font-weight: 600;
  color: var(--blanco);
}

.seccion-porque { padding: 120px 0 110px; }
.pq-contenedor { text-align: center; }
.pq-contenedor p { margin-inline: auto; }

.pq-fondo { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.pq-orbe { position: absolute; border-radius: 50%; }
.pq-orbe-1 {
  width: 560px; height: 560px; top: -190px; right: -130px;
  background: radial-gradient(circle, rgba(201, 182, 107, .30), transparent 66%);
  animation: pq-flota 10s ease-in-out infinite;
}
.pq-orbe-2 {
  width: 620px; height: 620px; bottom: -240px; left: -170px;
  background: radial-gradient(circle, rgba(92, 122, 214, .32), transparent 66%);
  animation: pq-flota 13s ease-in-out infinite reverse;
}
.pq-aro {
  position: absolute; width: 320px; height: 320px; top: 14%; left: 4%;
  border: 1.5px dashed rgba(201, 182, 107, .32);
  border-radius: 50%;
  animation: pq-girar 40s linear infinite;
}
@keyframes pq-flota {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-50px, 44px) scale(1.14); }
}
@keyframes pq-girar { to { transform: rotate(360deg); } }

.pq-etiqueta {
  display: inline-block;
  padding: 8px 24px;
  border: 1.5px solid var(--dorado-claro);
  border-radius: 999px;
  background: rgba(201, 182, 107, .1);
  color: var(--dorado-claro);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .06em;
}
.pq-titulo {
  margin: 28px 0 18px;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
}
.pq-oro {
  background: linear-gradient(100deg, #9b8a45 10%, #c9b66b 30%, #f6e9ab 45%, #c9b66b 60%, #9b8a45 90%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: pq-brillo 5s linear infinite;
}
@keyframes pq-brillo {
  from { background-position: 100% 0; }
  to   { background-position: -160% 0; }
}
.pq-sub {
  max-width: 640px;
  margin-bottom: 60px;
  font-size: 1.15rem;
  color: var(--texto-suave);
}

.pq-rejilla {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  text-align: center;
}
.pq-tarjeta {
  position: relative;
  overflow: hidden;
  padding: 40px 26px 36px;
  border: 1px solid rgba(201, 182, 107, .35);
  border-top: 4px solid var(--dorado-claro);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  box-shadow: 0 18px 40px rgba(5, 10, 30, .35);
  transition: border-color .3s, box-shadow .3s;
}
.pq-tarjeta:hover {
  border-color: var(--dorado-claro);
  box-shadow: 0 26px 52px rgba(5, 10, 30, .5), 0 0 34px rgba(201, 182, 107, .22);
}
.pq-tarjeta::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 182, 107, .24), transparent 65%);
}
.pq-tarjeta:hover::before { opacity: 1; }
.pq-tarjeta::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 40%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 244, 205, .14), transparent);
  transform: skewX(-18deg);
  animation: pq-destello 7s ease-in-out infinite;
}
.pq-tarjeta:nth-child(2)::after { animation-delay: 2.3s; }
.pq-tarjeta:nth-child(3)::after { animation-delay: 4.6s; }
@keyframes pq-destello {
  0%, 60% { left: -60%; }
  100%    { left: 130%; }
}

.pq-tarjeta h3 {
  margin: 0 0 12px;
  font-family: var(--fuente-texto);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--blanco);
}
.pq-tarjeta p { margin: 0 auto; font-size: .98rem; line-height: 1.55; color: var(--texto-suave); }

.pq-icono {
  position: relative;
  width: 104px; height: 104px;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
}
.pq-icono::before {
  content: "";
  position: absolute; inset: 0;
  border: 1.5px dashed rgba(201, 182, 107, .55);
  border-radius: 50%;
  animation: pq-girar 18s linear infinite;
}
.pq-icono svg {
  width: 72px; height: 72px;
  overflow: visible;
  fill: none;
  stroke: var(--dorado-claro);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(201, 182, 107, .35));
}

.pq-barco   { transform-box: fill-box; transform-origin: 50% 100%; animation: pq-bote 3.2s ease-in-out infinite; }
.pq-olas    { animation: pq-olas 2.4s ease-in-out infinite; }
.pq-aguja   { transform-origin: 28px 32px; animation: pq-girar 8s linear infinite; }
.pq-flecha  { animation: pq-flecha 1.6s ease-in-out infinite; }
.pq-escudo  { transform-box: fill-box; transform-origin: 50% 50%; animation: pq-pulso 2.8s ease-in-out infinite; }
.pq-medalla { transform-box: fill-box; transform-origin: 50% 30%; animation: pq-medalla 3.4s ease-in-out infinite; }
@keyframes pq-bote    { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-2.5px) rotate(2deg); } }
@keyframes pq-olas    { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(2px); } }
@keyframes pq-flecha  { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
@keyframes pq-pulso   { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes pq-medalla { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }

@media (prefers-reduced-motion: reduce) {
  .pq-fondo *, .pq-oro, .pq-tarjeta::after, .pq-icono::before, .pq-icono svg * { animation: none !important; }
  .pq-oro { background-position: 40% 0; }
}

.lista-normas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
  align-items: start;
}

.norma {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  background: var(--cristal);
  border: 1px solid var(--cristal-borde);
  border-top: 4px solid var(--dorado-claro);
  box-shadow: 0 10px 30px rgba(5, 10, 30, .3);
  transition: border-top-color .3s, box-shadow .3s, background .3s;
}
.norma:hover {
  border-top-color: var(--blanco);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 18px 40px rgba(5, 10, 30, .5);
}

.norma-cabeza {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.norma-icono {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--dorado-claro);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.norma-num {
  font-family: var(--fuente-titulos);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: lining-nums;
  color: rgba(255, 255, 255, .16);
}
.norma h3 {
  font-family: var(--fuente-texto);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  font-variant-numeric: lining-nums tabular-nums;
  margin: 0 0 .5em;
  overflow-wrap: anywhere;
}
.norma > p { margin: 0; color: var(--texto-suave); font-size: 1rem; flex: 1; }

.norma-linea {
  display: block;
  height: 2px;
  margin: 18px 0 12px;
  background: linear-gradient(90deg, var(--dorado-claro), transparent);
  transform-origin: left;
}
.norma-enlace {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  color: var(--dorado-claro);
  transition: color .25s;
}
.norma-enlace span { display: inline-block; transition: transform .3s; }
.norma-enlace:hover { color: var(--blanco); }
.norma-enlace:hover span { transform: translateX(6px); }
.norma-enlace[aria-expanded="true"] span { transform: rotate(0deg); }
.norma-expandida {
  border-top-color: var(--blanco);
  background: rgba(255, 255, 255, .09);
}

.norma-detalle {
  margin-top: 18px;
  padding: 4px 0 0;
  overflow: hidden;
}
.norma-detalle[hidden] { display: none !important; }

.nd-titulo {
  margin: 0 0 14px;
  font-family: var(--fuente-titulos);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--dorado-claro);
}

.nd-fila {
  position: relative;
  margin-bottom: 14px;
  padding-left: 16px;
  border-left: 2px solid rgba(201, 182, 107, .55);
}
.nd-etq {
  display: block;
  margin-bottom: 3px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dorado-claro);
}
.nd-fila p { margin: 0; font-size: .98rem; line-height: 1.55; color: var(--texto); }

.nd-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
}
.nd-chips li {
  padding: 4px 12px;
  border: 1px solid rgba(201, 182, 107, .6);
  border-radius: 999px;
  background: rgba(201, 182, 107, .1);
  font-size: .9rem;
  color: var(--blanco);
}

.nd-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 18px;
  background: var(--dorado);
  color: var(--blanco);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background .25s, color .25s, transform .25s;
}
.nd-cta:hover { background: var(--dorado-claro); color: var(--azul-profundo); transform: translateY(-2px); }

.datos { list-style: none; margin: 0; padding: 0; }
.datos li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.datos strong { color: var(--dorado-claro); font-weight: 600; }
.datos span { font-size: 1.02rem; color: #d8dcea; }
.datos a { color: var(--blanco); text-decoration: none; font-weight: 600; }
.datos a:hover { color: var(--dorado-claro); text-decoration: underline; }

.pie { background: var(--azul-profundo); color: #c4c8d8; padding: 30px 0; font-size: .95rem; border-top: 1px solid rgba(201, 182, 107, .2); }
.pie-fila { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.pie-logo { height: 64px; width: auto; background: var(--blanco); padding: 6px 10px; }
.pie p { margin: 0; }

.cursor-punto,
.cursor-aro {
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
  will-change: transform;
}
.cursor-punto.visible,
.cursor-aro.visible { opacity: 1; }

.cursor-punto::before {
  content: "";
  position: absolute;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--dorado-claro);
  box-shadow: 0 0 0 1px rgba(10, 18, 48, .45);
  transition: transform .25s ease, background .25s ease;
}
.cursor-punto.sobre-enlace::before { transform: scale(.5); background: #ffffff; }

.cursor-aro::before {
  content: "";
  position: absolute;
  width: 30px; height: 30px;
  margin: -15px 0 0 -15px;
  border: 1.5px solid rgba(201, 182, 107, .7);
  border-radius: 50%;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), background .3s ease, border-color .3s ease;
}
.cursor-aro.sobre-enlace::before {
  transform: scale(1.55);
  background: rgba(255, 255, 255, .1);
  border-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(10, 18, 48, .4), inset 0 0 0 1px rgba(10, 18, 48, .25);
}
.cursor-aro.presionado::before { transform: scale(.75); }
.cursor-aro.sobre-enlace.presionado::before { transform: scale(1.25); }

html.cursor-suave,
html.cursor-suave * { cursor: none !important; }

@media (max-width: 900px) {
  .dos-columnas,
  .nosotros-grid { grid-template-columns: 1fr; gap: 36px; }
  .seccion { padding: 84px 0 72px; }

  .burger { display: block; }
  .navbar nav {
    position: absolute;
    top: var(--alto-menu);
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--blanco);
    border-bottom: 3px solid var(--dorado);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .navbar nav.abierto { max-height: 480px; }
  .navbar nav a { padding: 15px 6%; border-bottom: 1px solid #eceae0; }
  .navbar nav a.boton-menu { margin: 14px 6%; text-align: center; }
  .marca-texto { display: none; }

}

@media (max-width: 520px) {
  .hero-scroll { display: none; }
  .rejilla-servicios { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { animation: none; }
  .hero-scroll span { animation: none; }
  .boton-wa::after { animation: none; }
  .servicio, .bloque, .navbar { transition: none; }
}

.norma[data-tema="textil"]    { --t1: #e8b4b8; --t2: #f5e6d3; }
.norma[data-tema="juguete"]   { --t1: #ffd166; --t2: #ff6b6b; }
.norma[data-tema="cosmetico"] { --t1: #f4a6cd; --t2: #c4a1ff; }
.norma[data-tema="cuero"]     { --t1: #e0a96d; --t2: #f3d9b1; }
.norma[data-tema="bebida"]    { --t1: #e07a92; --t2: #c9b66b; }
.norma[data-tema="electro"]   { --t1: #5ec8ff; --t2: #b9ebff; }
.norma[data-tema="general"]   { --t1: #e2bd85; --t2: #c9b66b; }
.norma[data-tema="alimento"]  { --t1: #e3a878; --t2: #f6d5b5; }
.norma[data-tema="aseo"]      { --t1: #6fd6ff; --t2: #bdeeff; }

.norma[data-tema] { border-top-color: var(--t1); }
.norma[data-tema]:hover,
.norma[data-tema].norma-expandida { border-top-color: var(--t2); }
.norma[data-tema] .norma-icono  { stroke: var(--t1); }
.norma[data-tema] .norma-linea  { background: linear-gradient(90deg, var(--t1), transparent); }
.norma[data-tema] .norma-enlace { color: var(--t1); }
.norma[data-tema] .norma-enlace:hover { color: #ffffff; }

.norma-icono { overflow: visible; }

.norma-icono .ic-mecer      { transform-box: fill-box; transform-origin: 50% 0;   animation: ic-mecer 3s ease-in-out infinite; }
.norma-icono .ic-mecer-base { transform-box: fill-box; transform-origin: 0 100%;  animation: ic-mecer 3.4s ease-in-out infinite; }
.norma-icono .ic-bote       { transform-box: fill-box; transform-origin: 50% 100%; animation: ic-bote 1.5s ease-in-out infinite; }
.norma-icono .ic-subir      { animation: ic-subir 2.6s ease-in-out infinite; }
.norma-icono .ic-paso       { transform-box: fill-box; transform-origin: 90% 100%; animation: ic-paso 1.8s ease-in-out infinite; }
.norma-icono .ic-tapa       { animation: ic-tapa 2.4s ease-in-out infinite; }
.norma-icono .ic-latir      { transform-box: fill-box; transform-origin: 50% 60%; animation: ic-latir 2.2s ease-in-out infinite; }
.norma-icono .ic-titila     { transform-box: fill-box; transform-origin: 50% 50%; animation: ic-titila 2s ease-in-out infinite; }
.norma-icono .ic-parp       { animation: ic-parp 1.8s ease-in-out infinite; }
.norma-icono .ic-escaneo    { animation: ic-escaneo 2.2s ease-in-out infinite; }
.norma-icono .ic-ola        { animation: ic-ola 2s ease-in-out infinite; }
.norma-icono .ic-burbuja    { animation: ic-burbuja 2.4s ease-in infinite; }
.norma-icono .ic-gatillo    { transform-box: fill-box; transform-origin: 0 0; animation: ic-gatillo 1.8s ease-in-out infinite; }
.norma-icono .ic-d2 { animation-delay: .7s; }
.norma-icono .ic-d3 { animation-delay: 1.4s; }

@keyframes ic-mecer    { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes ic-bote     { 0%, 100% { transform: translateY(0) scale(1.06, .94); } 50% { transform: translateY(-2.6px) scale(1, 1); } }
@keyframes ic-subir    { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.2px); } }
@keyframes ic-paso     { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-7deg); } }
@keyframes ic-tapa     { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.4px); } }
@keyframes ic-latir    { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes ic-titila   { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes ic-parp     { 0%, 100% { opacity: 1; } 45% { opacity: .2; } 55% { opacity: 1; } 70% { opacity: .35; } }
@keyframes ic-escaneo  { 0% { transform: translateY(0); opacity: 0; } 20%, 80% { opacity: 1; } 100% { transform: translateY(6px); opacity: 0; } }
@keyframes ic-ola      { 0%, 100% { transform: translateX(-.8px); } 50% { transform: translateX(.8px); } }
@keyframes ic-burbuja  { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-4px); opacity: 0; } }
@keyframes ic-gatillo  { 0%, 55%, 100% { transform: rotate(0); } 70% { transform: rotate(-16deg); } }

.nd-interior {
  position: relative;
  padding: 14px 16px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
}
.norma[data-tema] .nd-titulo { color: var(--t1); }
.norma[data-tema] .nd-etq    { color: var(--t1); }
.norma[data-tema] .nd-fila   { border-left-color: var(--t1); }
.norma[data-tema] .nd-chips li {
  border-color: var(--t1);
  background: rgba(255, 255, 255, .08);
  background: color-mix(in srgb, var(--t1) 16%, transparent);
  transition: transform .2s ease;
}
.norma[data-tema] .nd-chips li:hover { transform: translateY(-3px) scale(1.05); }
.norma[data-tema] .nd-cta {
  background: linear-gradient(90deg, var(--t2), var(--t1));
  color: #0f1733;
}
.norma[data-tema] .nd-cta:hover { filter: brightness(1.1); background: linear-gradient(90deg, var(--t2), var(--t1)); color: #0f1733; }

.nd-escena {
  display: block;
  width: 100%;
  height: auto;
  max-height: 128px;
  margin: 0 0 10px;
  overflow: visible;
}
.nd-escena * { transform-box: fill-box; transform-origin: 50% 50%; }
.nd-escena g[transform] { transform-box: view-box; transform-origin: 0 0; }

.norma[data-tema="juguete"] .nd-interior {
  border: 2px dashed rgba(255, 209, 102, .6);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 14%, rgba(255, 107, 107, .22) 0 12px, transparent 13px),
    radial-gradient(circle at 92% 22%, rgba(77, 171, 247, .24) 0 16px, transparent 17px),
    radial-gradient(circle at 78% 92%, rgba(81, 207, 102, .22) 0 11px, transparent 12px),
    radial-gradient(circle at 6% 88%, rgba(255, 209, 102, .2) 0 9px, transparent 10px),
    rgba(255, 255, 255, .04);
}
.norma[data-tema="juguete"] .nd-chips li:nth-child(1) { border-color: #ff6b6b; background: rgba(255, 107, 107, .22); transform: rotate(-2deg); }
.norma[data-tema="juguete"] .nd-chips li:nth-child(2) { border-color: #4dabf7; background: rgba(77, 171, 247, .22); transform: rotate(1.5deg); }
.norma[data-tema="juguete"] .nd-chips li:nth-child(3) { border-color: #51cf66; background: rgba(81, 207, 102, .22); transform: rotate(-1deg); }
.norma[data-tema="juguete"] .nd-fila:nth-of-type(1) { border-left-color: #ff6b6b; }
.norma[data-tema="juguete"] .nd-fila:nth-of-type(2) { border-left-color: #4dabf7; }

.norma[data-tema="textil"] .nd-interior {
  border: 2px dashed rgba(232, 180, 184, .6);
  border-radius: 6px;
  background:
    repeating-linear-gradient(45deg, rgba(232, 180, 184, .07) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(-45deg, rgba(245, 230, 211, .05) 0 2px, transparent 2px 7px),
    rgba(255, 255, 255, .03);
}

.norma[data-tema="cosmetico"] .nd-interior {
  border: 1px solid rgba(244, 166, 205, .5);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(244, 166, 205, .2), rgba(196, 161, 255, .14));
  box-shadow: inset 0 0 28px rgba(244, 166, 205, .12);
}

.norma[data-tema="cuero"] .nd-interior {
  border: 2px dashed rgba(224, 169, 109, .65);
  border-radius: 6px;
  background:
    radial-gradient(rgba(224, 169, 109, .16) 1px, transparent 1.6px) 0 0 / 9px 9px,
    rgba(120, 70, 30, .16);
}

.norma[data-tema="bebida"] .nd-interior {
  border: 1px solid rgba(201, 182, 107, .6);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(150, 30, 60, .32), rgba(15, 23, 51, .22));
  box-shadow: inset 0 0 30px rgba(194, 65, 93, .16);
}

.norma[data-tema="electro"] .nd-interior {
  border: 1px solid rgba(94, 200, 255, .55);
  border-radius: 4px;
  background:
    linear-gradient(rgba(94, 200, 255, .08) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(94, 200, 255, .08) 1px, transparent 1px) 0 0 / 16px 16px,
    rgba(10, 18, 48, .45);
  box-shadow: 0 0 20px rgba(94, 200, 255, .18), inset 0 0 20px rgba(94, 200, 255, .08);
}
.norma[data-tema="electro"] .nd-etq { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }

.norma[data-tema="general"] .nd-interior {
  border: 1px solid rgba(226, 189, 133, .6);
  outline: 1px solid rgba(226, 189, 133, .25);
  outline-offset: 3px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 14%, transparent 0 14px, rgba(226, 189, 133, .22) 15px 16px, transparent 17px 24px, rgba(226, 189, 133, .14) 25px 26px, transparent 27px),
    radial-gradient(circle at 8% 90%, transparent 0 10px, rgba(189, 238, 255, .2) 11px 12px, transparent 13px),
    rgba(255, 255, 255, .04);
}

.norma[data-tema="alimento"] .nd-interior {
  border: 1px solid rgba(227, 168, 120, .55);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(160, 98, 60, .3), transparent 42%),
    radial-gradient(circle at 88% 85%, rgba(246, 213, 181, .14), transparent 42%),
    rgba(90, 52, 30, .16);
}

.norma[data-tema="aseo"] .nd-interior {
  border: 1px solid rgba(111, 214, 255, .55);
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 84%, rgba(189, 238, 255, .22) 0 8px, transparent 9px),
    radial-gradient(circle at 84% 24%, rgba(111, 214, 255, .22) 0 13px, transparent 14px),
    radial-gradient(circle at 58% 92%, rgba(255, 255, 255, .16) 0 5px, transparent 6px),
    linear-gradient(160deg, rgba(111, 214, 255, .18), rgba(255, 255, 255, .03));
}

.es-suelo { stroke: rgba(255, 255, 255, .25); stroke-width: 2; stroke-linecap: round; }

.es-flotar   { animation: es-flotar 3.2s ease-in-out infinite; }
.es-rebotar  { transform-origin: 50% 100%; animation: es-rebotar 1.1s cubic-bezier(.3, 0, .4, 1) infinite; }
.es-sombra-bote { animation: es-sombra 1.1s ease-in-out infinite; }
.es-mecer    { animation: es-mecer 2.6s ease-in-out infinite; }
.es-titilar  { animation: es-titilar 1.8s ease-in-out infinite; }
.es-girar    { animation: es-girar 6s linear infinite; }
.es-subir    { animation: es-subir 3.4s ease-in infinite; opacity: 0; }
.es-desl     { animation: es-desl 5.1s linear infinite; }
.es-flujo    { stroke-dasharray: 6 10; animation: es-flujo 1.2s linear infinite; }
.es-aguja    { animation: es-aguja 2.4s ease-in-out infinite alternate; }
.es-sube-labial { animation: es-sube-labial 2.8s ease-in-out infinite; }
.es-paso     { transform-origin: 90% 100%; animation: es-paso 1.8s ease-in-out infinite; }
.es-huella   { opacity: 0; animation: es-huella 2s ease-in-out infinite; }
.es-ola-vino { animation: es-ola-vino 2s ease-in-out infinite; }
.es-chip     { animation: es-chip 1.8s ease-in-out infinite; }
.es-latir    { animation: es-latir 2.2s ease-in-out infinite; }
.es-caer     { animation: es-caer 4s ease-in-out infinite; }
.es-linea    { transform-origin: 0 50%; animation: es-linea 1.8s ease-in-out infinite; }
.es-gatillo  { transform-origin: 0 0; animation: es-gatillo 1.8s ease-in-out infinite; }
.es-rocio    { opacity: 0; animation: es-rocio 1.1s ease-out infinite; }

@keyframes es-flotar   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes es-rebotar  { 0%, 100% { transform: translateY(0) scale(1.12, .88); } 50% { transform: translateY(-36px) scale(1, 1); } }
@keyframes es-sombra   { 0%, 100% { transform: scaleX(1); opacity: .4; } 50% { transform: scaleX(.5); opacity: .12; } }
@keyframes es-mecer    { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes es-titilar  { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(25deg); } }
@keyframes es-girar    { to { transform: rotate(360deg); } }
@keyframes es-subir    { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-74px); opacity: 0; } }
@keyframes es-desl     { 0% { transform: translateX(-70px); } 100% { transform: translateX(340px); } }
@keyframes es-flujo    { to { stroke-dashoffset: -32; } }
@keyframes es-aguja    { 0% { transform: translateX(0) rotate(-4deg); } 100% { transform: translateX(104px) rotate(4deg); } }
@keyframes es-sube-labial { 0%, 100% { transform: translateY(8px); } 50% { transform: translateY(-4px); } }
@keyframes es-paso     { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-8deg); } }
@keyframes es-huella   { 0% { opacity: 0; transform: scale(.6); } 25% { opacity: .9; transform: scale(1); } 70% { opacity: .5; } 100% { opacity: 0; } }
@keyframes es-ola-vino { 0%, 100% { transform: translateX(-.4px); } 50% { transform: translateX(.4px); } }
@keyframes es-chip     { 0%, 100% { stroke-opacity: 1; fill-opacity: .14; } 50% { stroke-opacity: .5; fill-opacity: .28; } }
@keyframes es-latir    { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes es-caer     { 0% { transform: translateY(0) rotate(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(96px) rotate(200deg); opacity: 0; } }
@keyframes es-linea    { 0%, 100% { transform: scaleX(.35); opacity: .5; } 50% { transform: scaleX(1); opacity: 1; } }
@keyframes es-gatillo  { 0%, 55%, 100% { transform: rotate(0); } 70% { transform: rotate(-14deg); } }
@keyframes es-rocio    { 0% { transform: translate(0, 0) scale(1); opacity: 0; } 12% { opacity: 1; } 100% { transform: translate(56px, 6px) scale(.4); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .norma-icono *, .nd-escena * { animation: none !important; }
  .es-subir, .es-rocio { opacity: 0 !important; }
  .es-huella { opacity: .6 !important; }
}

@media (max-width: 520px) {
  .nd-escena { max-height: 104px; }
}

/* ==========================================================
   ALTERNANCIA DE SECCIONES: CLARA (blanco) / OSCURA (azul)
   ========================================================== */
:root {
  --oro-oscuro: #7d6e2c;
  --texto-claro: #2b3354;
  --texto-claro-suave: #4a5380;
}

body { background: #ffffff; }

/* ---------- Secciones oscuras (azul) ---------- */
.seccion-oscura {
  background: linear-gradient(180deg, #16265a 0%, #0f1733 100%);
}

/* ---------- Secciones claras (blanco) ---------- */
.seccion-clara {
  background: #ffffff;
  color: var(--texto-claro);
  border-top: 1px solid rgba(15, 23, 51, .08);
}
.seccion-clara:nth-of-type(odd) { background: #ffffff; }
.seccion-clara::before,
.seccion-clara:nth-of-type(even)::before {
  background:
    radial-gradient(760px 380px at 90% 0%, rgba(92, 122, 214, .10), transparent 70%),
    radial-gradient(620px 320px at 5% 100%, rgba(201, 182, 107, .14), transparent 70%);
}

.seccion-clara h2,
.seccion-clara h3 { color: var(--azul-profundo); }
.seccion-clara p,
.seccion-clara .intro { color: var(--texto-claro-suave); }
.seccion-clara .franja {
  background: repeating-linear-gradient(to bottom, var(--dorado) 0 3px, transparent 3px 6px);
}

/* Nosotros */
.seccion-clara .texto-oro h2 { color: var(--azul-profundo); }
.seccion-clara .texto-oro p { color: var(--texto-claro); }
.seccion-clara .texto-oro strong { color: var(--azul); }
.seccion-clara .imagen-oro { box-shadow: 0 24px 50px rgba(15, 23, 51, .22); }

/* ¿Por qué IRN? */
.seccion-clara .pq-titulo { color: var(--azul-profundo); }
.seccion-clara .pq-oro {
  background: linear-gradient(100deg, #7d6e2c 10%, #b39d46 30%, #e3cd6f 45%, #b39d46 60%, #7d6e2c 90%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.seccion-clara .pq-etiqueta {
  color: var(--oro-oscuro);
  border-color: var(--dorado);
  background: rgba(155, 138, 69, .10);
}
.seccion-clara .pq-sub { color: var(--texto-claro-suave); }
.seccion-clara .pq-tarjeta {
  background: linear-gradient(165deg, #ffffff, #f6f4ee);
  border: 1px solid rgba(155, 138, 69, .45);
  border-top: 4px solid var(--dorado);
  box-shadow: 0 16px 36px rgba(15, 23, 51, .12);
}
.seccion-clara .pq-tarjeta:hover {
  border-color: var(--dorado);
  box-shadow: 0 24px 48px rgba(15, 23, 51, .2), 0 0 30px rgba(201, 182, 107, .3);
}
.seccion-clara .pq-tarjeta h3 { color: var(--azul-profundo); }
.seccion-clara .pq-tarjeta p { color: var(--texto-claro-suave); }
.seccion-clara .pq-icono svg {
  stroke: var(--azul);
  filter: drop-shadow(0 0 5px rgba(155, 138, 69, .35));
}
.seccion-clara .pq-icono::before { border-color: rgba(155, 138, 69, .6); }
.seccion-clara .pq-aro { border-color: rgba(155, 138, 69, .35); }

/* Servicios */
.seccion-clara .servicio {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 51, .12);
  border-left: 5px solid var(--dorado);
  box-shadow: 0 8px 24px rgba(15, 23, 51, .08);
}
.seccion-clara .servicio:hover {
  border-left-color: var(--azul);
  background: #fbfaf6;
  box-shadow: 0 16px 34px rgba(15, 23, 51, .16);
}
.seccion-clara .servicio h3 { color: var(--azul-profundo); }
.seccion-clara .servicio p,
.seccion-clara .servicio ul { color: var(--texto-claro-suave); }
.seccion-clara .servicio .aduanas {
  background: rgba(15, 23, 51, .06);
  border-left-color: var(--dorado);
  color: var(--azul-profundo);
}

/* Contacto */
.seccion-clara .boton-borde { border-color: var(--azul); color: var(--azul); }
.seccion-clara .boton-borde:hover { background: var(--azul); color: var(--blanco); }
.seccion-clara .datos li { border-bottom-color: rgba(15, 23, 51, .14); }
.seccion-clara .datos strong { color: var(--oro-oscuro); }
.seccion-clara .datos span { color: var(--texto-claro-suave); }
.seccion-clara .datos a { color: var(--azul); }
.seccion-clara .datos a:hover { color: var(--oro-oscuro); }
.seccion-clara .legal { border-top-color: rgba(15, 23, 51, .18); color: var(--texto-claro-suave); }


/* ==========================================================
   AJUSTE: fondos planos (sin degradado) y letra negra en secciones blancas
   ========================================================== */
.seccion-oscura { background: #13214b; }

.seccion-clara,
.seccion-clara:nth-of-type(odd) { background: #ffffff; }

.seccion-clara::before,
.seccion-clara:nth-of-type(even)::before,
.seccion-oscura::before,
.seccion-oscura:nth-of-type(even)::before { background: none; }

/* Letra negra en secciones blancas */
.seccion-clara h2,
.seccion-clara h3,
.seccion-clara p,
.seccion-clara li,
.seccion-clara .intro,
.seccion-clara .texto-oro h2,
.seccion-clara .texto-oro p,
.seccion-clara .texto-oro strong,
.seccion-clara .pq-titulo,
.seccion-clara .pq-sub,
.seccion-clara .pq-etiqueta,
.seccion-clara .pq-tarjeta h3,
.seccion-clara .pq-tarjeta p,
.seccion-clara .servicio h3,
.seccion-clara .servicio p,
.seccion-clara .servicio ul,
.seccion-clara .servicio .aduanas,
.seccion-clara .datos strong,
.seccion-clara .datos span,
.seccion-clara .datos a,
.seccion-clara .legal { color: #000000; }

.seccion-clara .datos a:hover { color: #000000; text-decoration: underline; }

/* El texto "Somos quien te libera..." sin degradado: negro y en negrita */
.seccion-clara .pq-oro {
  background: none;
  -webkit-background-clip: border-box;
          background-clip: border-box;
  color: #000000;
  animation: none;
}

/* Tarjetas de "¿Por qué IRN?" con fondo plano */
.seccion-clara .pq-tarjeta { background: #ffffff; }


/* ==========================================================
   CORRECCIONES DE ERRORES
   ========================================================== */

/* Sin el párrafo vacío de "¿Por qué IRN?", el espacio va en el título */
.pq-titulo { margin-bottom: 56px; }

/* Hero: altura correcta en celulares (la barra del navegador no lo corta) */
.hero { min-height: 100vh; min-height: 100svh; }

/* Las escenas animadas no se salen de su tarjeta */
.nd-escena { overflow: hidden; }

/* Botón dorado legible sobre fondo blanco */
.seccion-clara .boton-dorado { background: var(--oro-oscuro); color: #ffffff; }
.seccion-clara .boton-dorado:hover { background: var(--dorado-claro); color: var(--azul-profundo); }

/* Menú móvil: no mostrar la línea dorada doble cuando está cerrado */
@media (max-width: 900px) {
  .navbar nav { border-bottom: 0; }
  .navbar nav.abierto { border-bottom: 3px solid var(--dorado); }
}

body { background: #13214b; }

#nosotros          { background: #13214b; }
#calidad           { background: #1a2d62; }
#porque            { background: #0e1b40; }
#normas            { background: #16265a; }
#normas-seguridad  { background: #1a2d62; }
#servicios         { background: #0f2150; }
#documentos        { background: #1b2f66; }
#contacto          { background: #0a1230; }

#normas-seguridad { isolation: isolate; padding-bottom: 110px; }
#normas-seguridad .contenedor { position: relative; z-index: 1; }

.ns-fondo { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ns-fondo::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 28%, #000 8%, transparent 70%);
          mask-image: radial-gradient(ellipse at 50% 28%, #000 8%, transparent 70%);
}
.ns-orbe { position: absolute; border-radius: 50%; }
.ns-orbe-1 {
  width: 540px; height: 540px; top: -190px; right: -130px;
  background: radial-gradient(circle, rgba(201, 182, 107, .26), transparent 66%);
  animation: pq-flota 11s ease-in-out infinite;
}
.ns-orbe-2 {
  width: 620px; height: 620px; bottom: -230px; left: -170px;
  background: radial-gradient(circle, rgba(94, 200, 255, .2), transparent 66%);
  animation: pq-flota 14s ease-in-out infinite reverse;
}

.ns-cabeza { text-align: center; margin-bottom: 46px; }
.ns-etiqueta {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 24px;
  border: 1.5px solid var(--dorado-claro);
  border-radius: 999px;
  background: rgba(201, 182, 107, .1);
  color: var(--dorado-claro);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.ns-cabeza h2 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); font-weight: 700; margin-bottom: .45em; }
.ns-cabeza p { margin: 0 auto 1em; color: var(--texto-suave); font-size: 1.12rem; max-width: 70ch; }
.ns-cabeza p:last-child { margin-bottom: 0; }

.ns-stats {
  display: flex;
  max-width: 660px;
  margin: 0 auto 34px;
  border: 1px solid var(--cristal-borde);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  box-shadow: 0 16px 38px rgba(5, 10, 30, .35);
  overflow: hidden;
}
.ns-stat { position: relative; flex: 1; padding: 22px 12px 20px; text-align: center; }
.ns-stat + .ns-stat::before {
  content: "";
  position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: rgba(255, 255, 255, .18);
}
.ns-stat strong {
  display: block;
  font-family: var(--fuente-titulos);
  font-size: 3rem;
  line-height: 1;
  color: var(--dorado-claro);
  font-variant-numeric: lining-nums tabular-nums;
}
.ns-stat:nth-child(3) strong { color: #5ec8ff; }
.ns-stat span { display: block; margin-top: 6px; font-size: .86rem; letter-spacing: .06em; color: var(--texto-suave); }

.ns-filtros {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 48px;
  padding: 6px;
  border: 1px solid var(--cristal-borde);
  border-radius: 999px;
  background: rgba(10, 18, 48, .55);
}
.ns-filtro {
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--texto);
  font: 600 .95rem var(--fuente-texto);
  cursor: pointer;
  transition: background .3s, color .3s, box-shadow .3s;
}
.ns-filtro:hover { color: var(--blanco); background: rgba(255, 255, 255, .08); }
.ns-filtro[aria-pressed="true"] {
  background: linear-gradient(90deg, #9b8a45, #c9b66b);
  color: var(--azul-profundo);
  box-shadow: 0 6px 18px rgba(201, 182, 107, .35);
}
.ns-filtro[data-filtro="ener"][aria-pressed="true"] {
  background: linear-gradient(90deg, #35a5df, #5ec8ff);
  box-shadow: 0 6px 18px rgba(94, 200, 255, .35);
}

.ns-rejilla {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.ns-card {
  --c: #c9b66b;
  --d: 0ms;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 32px 26px 26px;
  border: 1px solid var(--cristal-borde);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03));
  box-shadow: 0 16px 38px rgba(5, 10, 30, .38);
  opacity: 0;
  transition: box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}
.ns-card[hidden] { display: none !important; }
.ns-card[data-grupo="ener"] { --c: #5ec8ff; }
.ns-card.ns-visible { opacity: 1; animation: ns-entra .85s cubic-bezier(.2, .8, .2, 1) var(--d) backwards; }
.ns-card:hover {
  border-color: color-mix(in srgb, var(--c) 70%, transparent);
  box-shadow: 0 28px 56px rgba(5, 10, 30, .55), 0 0 34px color-mix(in srgb, var(--c) 26%, transparent);
}
.ns-card::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 24%, transparent), transparent 65%);
}
.ns-card:hover::before { opacity: 1; }
.ns-card::after {
  content: attr(data-n);
  position: absolute; right: 18px; bottom: 2px;
  font-family: var(--fuente-titulos);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, .05);
  pointer-events: none;
}
.ns-barra {
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 25%, transparent));
}
.ns-brillo {
  position: absolute; top: 0; bottom: 0; left: -70%;
  width: 40%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 244, 205, .13), transparent);
  transform: skewX(-18deg);
  animation: ns-brillo 8s ease-in-out infinite;
  animation-delay: calc(var(--d) + 1s);
}

.ns-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.ns-grupo {
  padding: 4px 13px;
  border: 1px solid var(--c);
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  color: var(--c);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ns-anio { font-size: .92rem; font-weight: 600; color: var(--texto-suave); font-variant-numeric: tabular-nums; }

.ns-ico-wrap {
  position: relative;
  width: 96px; height: 96px;
  margin-bottom: 22px;
  padding: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 72%);
  box-shadow: 0 0 26px color-mix(in srgb, var(--c) 18%, transparent);
  transition: box-shadow .35s;
}
.ns-card:hover .ns-ico-wrap { box-shadow: 0 0 40px color-mix(in srgb, var(--c) 40%, transparent); }
.ns-ico-wrap::before,
.ns-ico-wrap::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
}
.ns-ico-wrap::before { border: 1.5px dashed color-mix(in srgb, var(--c) 60%, transparent); animation: ns-girar 30s linear infinite; }
.ns-ico-wrap::after  { border: 2px solid transparent; border-top-color: var(--c); animation: ns-girar 4.5s linear infinite; }
.ns-ico {
  position: relative;
  width: 100%; height: 100%;
  fill: none;
  stroke: var(--c);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--c) 45%, transparent));
}
.ns-ico :is(path, line, rect, circle) {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.3s ease calc(var(--d) + .25s);
}
.ns-card.ns-visible .ns-ico :is(path, line, rect, circle) { stroke-dashoffset: 0; }

.ns-card h3.ns-codigo {
  position: relative;
  margin: 0 0 6px;
  font-family: var(--fuente-texto);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--c);
  font-variant-numeric: lining-nums tabular-nums;
  overflow-wrap: anywhere;
}
.ns-titulo {
  position: relative;
  margin: 0;
  font-family: var(--fuente-titulos);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.12;
  color: var(--blanco);
}
.ns-linea {
  position: relative;
  display: block;
  width: 48px; height: 2px;
  margin: 16px 0 14px;
  background: linear-gradient(90deg, var(--c), transparent);
  transition: width .5s ease;
}
.ns-card:hover .ns-linea { width: 100%; }
.ns-desc { position: relative; margin: 0 0 18px; flex: 1; font-size: .98rem; line-height: 1.58; color: #d8dcea; }

.ns-chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ns-chips li {
  padding: 4px 12px;
  border: 1px solid color-mix(in srgb, var(--c) 60%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  font-size: .84rem;
  color: var(--blanco);
  transition: transform .2s;
}
.ns-chips li:hover { transform: translateY(-2px) scale(1.05); }

.ns-ico .ns-scan   { animation: ns-scan 2.4s ease-in-out infinite; }
.ns-ico .ns-blink  { animation: ns-blink 1.2s steps(2, jump-none) infinite; }
.ns-ico .ns-bolt   { animation: ns-bolt 1.8s ease-in-out infinite; }
.ns-ico .ns-led    { fill: var(--c); animation: ns-blink 1.6s ease-in-out infinite; }
.ns-ico .ns-sube   { fill: var(--c); animation: ns-sube 2.2s ease-in infinite; }
.ns-ico .ns-ola    { animation: ns-ola 2s ease-in-out infinite; }
.ns-ico .ns-ring   { transform-origin: 32px 32px; animation: ns-ring 2.2s ease-in-out infinite; }
.ns-ico .ns-luz    { fill: var(--c); fill-opacity: 0; animation: ns-luz 2.6s ease-in-out infinite; }
.ns-ico .ns-rayo   { animation: ns-rayo 1.8s ease-in-out infinite; }
.ns-ico .ns-latir  { transform-origin: 32px 32px; animation: ns-latir 1.6s ease-in-out infinite; }
.ns-ico .ns-aire   { animation: ns-aire 2s ease-in infinite; }
.ns-ico .ns-gira   { transform-origin: 32px 32px; animation: ns-gira 5s linear infinite; }
.ns-ico .ns-g54    { transform-origin: 54px 32px; animation-duration: 2.4s; }
.ns-ico .ns-g48    { transform-origin: 32px 48px; animation-duration: 6s; }
.ns-ico .ns-flujo  {
  stroke: #ffffff;
  stroke-width: 2;
  stroke-dasharray: 3 6;
  stroke-dashoffset: 0;
  transition: none;
  animation: ns-flujo 1s linear infinite;
}
.ns-ico .ns-d2 { animation-delay: .6s; }
.ns-ico .ns-d3 { animation-delay: 1.2s; }

@keyframes ns-entra  { from { opacity: 0; transform: translateY(40px) scale(.96); } }
@keyframes ns-brillo { 0%, 62% { left: -70%; } 100% { left: 140%; } }
@keyframes ns-girar  { to { transform: rotate(360deg); } }
@keyframes ns-scan   { 0% { transform: translateY(0); opacity: 0; } 20%, 80% { opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
@keyframes ns-blink  { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes ns-bolt   { 0%, 100% { opacity: 1; } 40% { opacity: .2; } 50% { opacity: 1; } 65% { opacity: .35; } }
@keyframes ns-sube   { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-26px); opacity: 0; } }
@keyframes ns-ola    { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(2px); } }
@keyframes ns-ring   { 0%, 100% { transform: scale(.82); opacity: .2; } 50% { transform: scale(1.04); opacity: .9; } }
@keyframes ns-luz    { 0%, 100% { fill-opacity: .04; } 50% { fill-opacity: .32; } }
@keyframes ns-rayo   { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes ns-latir  { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
@keyframes ns-aire   { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
@keyframes ns-gira   { to { transform: rotate(360deg); } }
@keyframes ns-flujo  { to { stroke-dashoffset: -18; } }

@media (max-width: 700px) {
  #normas-seguridad { padding-bottom: 84px; }
  .ns-stat strong { font-size: 2.2rem; }
  .ns-stat span { font-size: .76rem; }
  .ns-filtros { width: 100%; border-radius: 22px; }
  .ns-filtro { flex: 1 1 auto; padding: 10px 14px; font-size: .88rem; }
  .ns-rejilla { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ns-card { opacity: 1; transition: none; }
  .ns-card.ns-visible { animation: none; }
  .ns-brillo, .ns-orbe, .ns-ico-wrap::before, .ns-ico-wrap::after, .ns-ico * { animation: none !important; }
  .ns-ico :is(path, line, rect, circle) { stroke-dashoffset: 0; transition: none; }
}

/* Pausa las animaciones infinitas de las secciones que no se ven */
.seccion.pausada *,
.seccion.pausada *::before,
.seccion.pausada *::after { animation-play-state: paused !important; }