/* ============================================================
   HISTORIA · MISIÓN · VISIÓN · VALORES
   Layout de 2 columnas:
   · Izquierda: encabezado + descripción
   · Derecha: acordeón
   ============================================================ */

.NS_historia {
    /* --- Color por item (tomado de la paleta) --- */
.NS_historia_item:nth-child(1) { --item-color: #d4ff00; }   /* 01 · Historia — amarillo-verde */
.NS_historia_item:nth-child(2) { --item-color: #00d9ff; }   /* 02 · Misión — cyan */
.NS_historia_item:nth-child(3) { --item-color: #c46a1a; }   /* 03 · Visión — naranja/marrón */
.NS_historia_item:nth-child(4) { --item-color: #3da9fc; }   /* 04 · Valores — azul claro */
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 80px 0;
  background: var(--go-navy);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Contenedor: 80% del ancho, centrado (10% por lado) */
.NS_historia_inner {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}

/* ============================================================
   COLUMNA IZQUIERDA · Encabezado
   ============================================================ */
.NS_historia_head {
  display: flex;
  flex-direction: column;
  max-width: 520px;
}

.NS_historia_p {
  font-family: var(--font-primary);
  font-size: var(--fs-small);
  font-weight: var(--fw-small);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--go-teal);
  margin: 0 0 20px 0;
}

.NS_historia_h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--tracking-h2);
  color: #ffffff;
  margin: 0 0 28px 0;
}

.NS_historia_desc {
  font-family: var(--font-primary);
  font-size: var(--font-p);
  line-height: var(--lh-p);
  color: var(--go-body);
  margin: 0;
  max-width: 440px;
}

/* ============================================================
   COLUMNA DERECHA · Acordeón
   ============================================================ */
.NS_historia_list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  height: 600px;                          /* ← altura fija para la animación */
  max-height: 72vh;
}

/* --- Item --- */
.NS_historia_item {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: flex 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.NS_historia_item.is-open {
  flex: 2.4;
}

/* --- Botón cabecera de cada item --- */
.NS_historia_btn {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 32px;
  width: 100%;
  flex: 1;
  min-height: 0;
  padding: 0 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: inherit;
  text-align: left;
  overflow: hidden;
  transition: padding-left 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.NS_historia_btn:hover {
  padding-left: 20px;
}

/* --- Número (recortado por arriba) --- */
.NS_historia_num {
  font-family: var(--font-display);
  font-size: clamp(80px, 9vw, 130px);
  font-weight: 200;
  line-height: 0.7;
  letter-spacing: -0.05em;
  color: var(--item-color, #00c6b2);                      /* ← color sólido */
  -webkit-text-stroke: 1.5px var(--item-color, #00c6b2);  /* ← contorno del mismo color */
  flex-shrink: 0;
  transform: translateY(28%);
  transition:
    -webkit-text-stroke 0.4s ease,
    color 0.4s ease,
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.NS_historia_item.is-open .NS_historia_num {
  transform: translateY(10%);
  /* Sin cambios de color: ya tiene el color intenso */
}

/* --- Nombre --- */
.NS_historia_name {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.65);
  padding-bottom: 18px;
  transition: color 0.4s ease;
}

.NS_historia_item.is-open .NS_historia_name,
.NS_historia_btn:hover .NS_historia_name {
  color: #ffffff;
}

/* --- Icono "+/−" --- */
.NS_historia_plus {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 18px;
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.NS_historia_plus::before,
.NS_historia_plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(255, 255, 255, 0.85);
  transition: transform 0.4s ease, background 0.4s ease;
}

.NS_historia_plus::before {
  width: 11px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.NS_historia_plus::after {
  width: 1.5px;
  height: 11px;
  transform: translate(-50%, -50%);
}

.NS_historia_item.is-open .NS_historia_plus {
  background: var(--go-teal);
  border-color: var(--go-teal);
  transform: rotate(180deg);
}

.NS_historia_item.is-open .NS_historia_plus::before,
.NS_historia_item.is-open .NS_historia_plus::after {
  background: #0a0a0a;
}

.NS_historia_item.is-open .NS_historia_plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* --- Panel desplegable --- */
.NS_historia_panel {
  display: grid;
  grid-template-rows: 0fr;
  flex-shrink: 0;
  transition: grid-template-rows 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.NS_historia_item.is-open .NS_historia_panel {
  grid-template-rows: 1fr;
}

.NS_historia_panel_inner {
  overflow: hidden;
  min-height: 0;
}

.NS_historia_panel_inner p {
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0;
  padding: 0 8px 24px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease 0.15s,
    transform 0.5s ease 0.15s;
}

.NS_historia_item.is-open .NS_historia_panel_inner p {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet: reducir gap y ancho */
@media (max-width: 1100px) {
  .NS_historia_inner {
    width: 88%;
    gap: 50px;
  }

  .NS_historia_h2 { font-size: clamp(32px, 4vw, 48px); }
}

/* Móvil: una sola columna */
@media (max-width: 768px) {
  .NS_historia {
    min-height: auto;
    padding: 80px 0;
  }

  .NS_historia_inner {
    width: 88%;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .NS_historia_head { max-width: 100%; }

  .NS_historia_list {
    height: auto;
    max-height: none;
  }

  .NS_historia_item { flex: none; }
  .NS_historia_item.is-open { flex: none; }

  .NS_historia_btn {
    padding: 24px 4px;
    gap: 16px;
  }

  .NS_historia_num {
    font-size: clamp(72px, 18vw, 110px);
    transform: translateY(18%);
  }

  .NS_historia_name {
    font-size: 20px;
    padding-bottom: 10px;
  }

  .NS_historia_plus {
    width: 24px;
    height: 24px;
    margin-bottom: 10px;
  }

  .NS_historia_panel_inner p {
    padding: 0 4px 20px;
  }
}

/* Portátiles bajos: quitar la altura fija para evitar aplastamiento */
@media (max-height: 700px) and (min-width: 769px) {
  .NS_historia_list {
    height: auto;
    max-height: none;
  }

  .NS_historia_item { flex: none; }
  .NS_historia_item.is-open { flex: none; }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .NS_historia_item,
  .NS_historia_btn,
  .NS_historia_num,
  .NS_historia_name,
  .NS_historia_plus,
  .NS_historia_panel,
  .NS_historia_panel_inner p {
    transition: none;
  }
}


/* ============================================================
   CÍRCULO DE ORO
   3 cajas + 3 círculos concéntricos + líneas SVG animadas
   + colores por elemento + popup con color dinámico
   ============================================================ */

.NS_circulo {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 80px 0 60px;
  background: var(--go-navy);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.NS_circulo_inner {
  width: 80%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================
   ENCABEZADO
   ============================================================ */
.NS_circulo_head {
  margin: 0 0 40px 0;
  max-width: 720px;
  flex-shrink: 0;
}

.NS_circulo_eyebrow {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 14px 0;
}

.NS_circulo_title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: var(--fw-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--tracking-h2);
  color: var(--go-body);
  margin: 0 0 10px 0;
}

.NS_circulo_subtitle {
  font-family: var(--font-primary);
  font-size: var(--font-p);
  font-weight: var(--fw-small);
  line-height: 1.5;
  color: var(--go-body);
  margin: 0;
}

/* ============================================================
   VARIABLES DE COLOR POR ELEMENTO
   ============================================================ */
.NS_circulo_box_que,
.NS_circulo_ring_what { --cir-color: #3da9fc; }   /* azul */

.NS_circulo_box_como,
.NS_circulo_ring_how  { --cir-color: #00d9ff; }   /* cyan */

.NS_circulo_box_porque,
.NS_circulo_ring_why  { --cir-color: #d4ff00; }   /* amarillo-verde */

/* ============================================================
   LAYOUT PRINCIPAL
   ============================================================ */
.NS_circulo_main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
}

/* ---------- SVG de líneas ---------- */
.NS_circulo_svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.NS_circulo_line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.NS_circulo.is-visible .NS_circulo_line_1 { transition-delay: 0.5s;  stroke-dashoffset: 0; }
.NS_circulo.is-visible .NS_circulo_line_2 { transition-delay: 0.75s; stroke-dashoffset: 0; }
.NS_circulo.is-visible .NS_circulo_line_3 { transition-delay: 1s;    stroke-dashoffset: 0; }

.NS_circulo_dot {
  fill: var(--cir-color, #ffffff);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition:
    opacity 0.4s ease,
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.NS_circulo_dot_1a, .NS_circulo_dot_1b { --cir-color: #3da9fc; }
.NS_circulo_dot_2a, .NS_circulo_dot_2b { --cir-color: #00d9ff; }
.NS_circulo_dot_3a, .NS_circulo_dot_3b { --cir-color: #d4ff00; }

.NS_circulo.is-visible .NS_circulo_dot_1a { transition-delay: 1.7s;  opacity: 1; transform: scale(1); }
.NS_circulo.is-visible .NS_circulo_dot_2a { transition-delay: 1.95s; opacity: 1; transform: scale(1); }
.NS_circulo.is-visible .NS_circulo_dot_3a { transition-delay: 2.2s;  opacity: 1; transform: scale(1); }
.NS_circulo.is-visible .NS_circulo_dot_1b { transition-delay: 1.85s; opacity: 1; transform: scale(1); }
.NS_circulo.is-visible .NS_circulo_dot_2b { transition-delay: 2.1s;  opacity: 1; transform: scale(1); }
.NS_circulo.is-visible .NS_circulo_dot_3b { transition-delay: 2.35s; opacity: 1; transform: scale(1); }

/* ============================================================
   CAJAS (columna izquierda)
   ============================================================ */
.NS_circulo_boxes {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.NS_circulo_box {
  position: relative;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid color-mix(in srgb, var(--cir-color, #ffffff) 55%, transparent);
  border-radius: 12px;
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.4s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
}

.NS_circulo_box:hover,
.NS_circulo_box:focus-visible {
  transform: translateY(-3px);
  outline: none;
  border-color: var(--cir-color, #ffffff);
  background: color-mix(in srgb, var(--cir-color, #ffffff) 6%, transparent);
  box-shadow: 0 15px 30px color-mix(in srgb, var(--cir-color, #ffffff) 18%, transparent);
}

.NS_circulo_box:focus-visible {
  outline: 2px solid var(--cir-color, var(--go-teal));
  outline-offset: 3px;
}

.NS_circulo_box_title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: #ffffff;
  margin: 0 0 10px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.NS_circulo_box_text {
  font-family: var(--font-primary);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.NS_circulo_box_more {
  position: absolute;
  bottom: -18px;
  left: 24px;
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cir-color, var(--go-teal));
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.NS_circulo_box:hover .NS_circulo_box_more,
.NS_circulo_box:focus-visible .NS_circulo_box_more {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CÍRCULOS (columna derecha)
   ============================================================ */
.NS_circulo_diagram {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.NS_circulo_rings {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.NS_circulo_ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border: 2px solid var(--cir-color, rgba(255, 255, 255, 0.2));
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0px,
    transparent 2px,
    rgba(255, 255, 255, 0.05) 2px,
    rgba(255, 255, 255, 0.05) 3px
  );
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition:
    transform 1s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.6s ease;
}

.NS_circulo.is-visible .NS_circulo_ring {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.NS_circulo.is-visible .NS_circulo_ring_what { transition-delay: 0.5s; }
.NS_circulo.is-visible .NS_circulo_ring_how  { transition-delay: 0.7s; }
.NS_circulo.is-visible .NS_circulo_ring_why  { transition-delay: 0.9s; }

.NS_circulo_ring_what {
  width: 400px;
  height: 400px;
  border-color: color-mix(in srgb, var(--cir-color) 40%, transparent);
}

.NS_circulo_ring_how {
  width: 265px;
  height: 265px;
  background-color: color-mix(in srgb, var(--cir-color) 6%, transparent);
  border-color: color-mix(in srgb, var(--cir-color) 55%, transparent);
}

.NS_circulo_ring_why {
  width: 135px;
  height: 135px;
  background-color: color-mix(in srgb, var(--cir-color) 14%, transparent);
  border-color: var(--cir-color);
  box-shadow: 0 0 30px color-mix(in srgb, var(--cir-color) 30%, transparent);
}

.NS_circulo_ring_label {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 12px;
  pointer-events: none;
}

.NS_circulo_ring_label strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--cir-color, #ffffff);
}

.NS_circulo_ring_label em {
  font-family: var(--font-primary);
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.25;
}

.NS_circulo_ring_why .NS_circulo_ring_label strong {
  font-size: 10px;
  letter-spacing: 0.04em;
}

.NS_circulo_ring_why .NS_circulo_ring_label em {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   ANIMACIÓN DE ENTRADA
   ============================================================ */
.NS_circulo_reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s),
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s);
}

.NS_circulo.is-visible .NS_circulo_reveal {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   POPUP · con color dinámico de la celda
   ============================================================ */
.NS_circulo_popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.NS_circulo_popup.is-open {
  opacity: 1;
  visibility: visible;
}

.NS_circulo_popup_overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.NS_circulo_popup_card {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  background: #0f1929;
  border: 1.5px solid var(--popup-color, rgba(255, 255, 255, 0.15));
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 60px color-mix(in srgb, var(--popup-color, transparent) 25%, transparent);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.NS_circulo_popup.is-open .NS_circulo_popup_card {
  transform: translateY(0) scale(1);
}

.NS_circulo_popup_media {
  position: relative;
  flex: 0 0 42%;
  background: #000;
  overflow: hidden;
}

.NS_circulo_popup_media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--popup-color, #0f1929) 20%, rgba(15, 25, 41, 0.4)) 100%
  );
  pointer-events: none;
}

.NS_circulo_popup_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.NS_circulo_popup_body {
  flex: 1;
  padding: 40px 36px 36px;
  overflow-y: auto;
  color: #ffffff;
}

.NS_circulo_popup_eyebrow {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--popup-color, var(--go-teal));
  margin: 0 0 14px 0;
}

.NS_circulo_popup_title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.NS_circulo_popup_text {
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.NS_circulo_popup_text p { margin: 0 0 14px 0; }
.NS_circulo_popup_text p:last-child { margin-bottom: 0; }

.NS_circulo_popup_text ul {
  margin: 0 0 14px 0;
  padding-left: 18px;
  list-style: none;
}

.NS_circulo_popup_text li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}

.NS_circulo_popup_text li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--popup-color, var(--go-teal));
}

.NS_circulo_popup_close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.NS_circulo_popup_close:hover {
  background: var(--popup-color, rgba(255, 255, 255, 0.2));
  color: #0f1929;
  transform: rotate(90deg);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .NS_circulo_inner { width: 88%; }
  .NS_circulo_rings { width: 340px; height: 340px; }
  .NS_circulo_ring_what { width: 340px; height: 340px; }
  .NS_circulo_ring_how  { width: 225px; height: 225px; }
  .NS_circulo_ring_why  { width: 115px; height: 115px; }
}

@media (max-width: 900px) {
  .NS_circulo {
    min-height: auto;
    padding: 80px 0;
  }

  .NS_circulo_main {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .NS_circulo_svg { display: none; }

  .NS_circulo_rings { width: 320px; height: 320px; }
  .NS_circulo_ring_what { width: 320px; height: 320px; }
  .NS_circulo_ring_how  { width: 210px; height: 210px; }
  .NS_circulo_ring_why  { width: 110px; height: 110px; }

  .NS_circulo_popup_card { flex-direction: column; max-height: 92vh; }
  .NS_circulo_popup_media { flex: 0 0 200px; min-height: 200px; }
  .NS_circulo_popup_body  { padding: 28px 24px 24px; }
  .NS_circulo_popup_title { font-size: 22px; }
}

@media (max-width: 500px) {
  .NS_circulo { padding: 60px 0; }

  .NS_circulo_box { padding: 18px 20px; }
  .NS_circulo_box_text { font-size: 12px; }

  .NS_circulo_rings { width: 260px; height: 260px; }
  .NS_circulo_ring_what { width: 260px; height: 260px; }
  .NS_circulo_ring_how  { width: 170px; height: 170px; }
  .NS_circulo_ring_why  { width: 90px; height: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  .NS_circulo_reveal,
  .NS_circulo_ring,
  .NS_circulo_line,
  .NS_circulo_dot {
    transition: none;
  }
  .NS_circulo_reveal { opacity: 1; transform: none; }
  .NS_circulo_ring   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  .NS_circulo_line   { stroke-dashoffset: 0; }
  .NS_circulo_dot    { transform: scale(1); opacity: 1; }
}
/* ============================================================
   PILARES · Sección editorial con imagen + grid overlay
   ============================================================ */

.NS_pilares {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 80px 0 60px;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}

/* ---------- Capa 1: imagen de fondo ---------- */
.NS_pilares_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('https://images.unsplash.com/39/lIZrwvbeRuuzqOoWJUEn_Photoaday_CSD%20%281%20of%201%29-5.jpg?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=NHwxMjA3fDA%3D');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter:blur(10px) brightness(0.6);
  /* Zoom-out al hacer scroll se activa con la clase .is-visible */
  transform: scale(1.08);
  transition: transform 2.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.NS_pilares.is-visible .NS_pilares_bg {
  transform: scale(1);
}

/* ---------- Capa 2: overlay oscuro ---------- */
.NS_pilares_overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      115deg,
      rgba(6, 12, 24, 0.94) 0%,
      rgba(6, 12, 24, 0.78) 45%,
      rgba(6, 12, 24, 0.55) 100%
    ),
    radial-gradient(
      ellipse 70% 50% at 15% 40%,
      rgba(0, 198, 178, 0.10) 0%,
      transparent 60%
    );
}

/* ---------- Capa 3: grid lines sutiles ---------- */
.NS_pilares_grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  pointer-events: none;
}

.NS_pilares_grid span {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.NS_pilares_grid span:nth-child(5n) { border-right: none; }
.NS_pilares_grid span:nth-child(n+6) { border-bottom: none; }

/* ---------- Capa 4: contenido ---------- */
.NS_pilares_inner {
  position: relative;
  z-index: 3;
  width: 80%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;           /* ← cambia space-between → center */
  align-items: left;               /* ← centra horizontalmente */
  min-height: calc(100vh - 140px);
  gap: 60px;                         /* ← espacio fijo entre título y celdas */
  text-align: left;                /* ← centra el texto del encabezado */
}

/* ---------- Encabezado ---------- */
.NS_pilares_head {
  max-width: 900px;                  /* ← antes 720px, más ancho para el título */
  flex-shrink: 0;
  text-align: left;                /* ← refuerza el centrado */
  margin: 0 auto;                    /* ← centra el bloque */
}

.NS_pilares_eyebrow {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--go-teal);
  margin: 0 0 18px 0;
}

.NS_pilares_title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0;
}

/* ---------- Grid de celdas ---------- */
.NS_pilares_cells {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;                       /* ← ocupa todo el ancho del inner */
  max-width: 1200px;                 /* ← limita el ancho total */
  margin: 0 auto;                    /* ← centra horizontalmente */
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Celda individual ---------- */
.NS_pilares_cell {
  position: relative;
  padding: 40px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;               /* ← centra icono, título, texto */
  text-align: center;                /* ← centra el texto */
  gap: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background 0.5s ease,
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  overflow: hidden;
}

.NS_pilares_cell:last-child { border-right: none; }

/* Línea de acento superior que aparece al hover */
.NS_pilares_cell::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--go-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.NS_pilares_cell:hover {
  background: rgba(255, 255, 255, 0.03);
}

.NS_pilares_cell:hover::before {
  transform: scaleX(1);
}

/* Icono */
.NS_pilares_icon {
  width: 44px;
  height: 44px;
  color: var(--go-teal);
  margin-bottom: 8px;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.NS_pilares_icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.NS_pilares_cell:hover .NS_pilares_icon {
  transform: scale(1.1) rotate(-4deg);
}

/* Número */
.NS_pilares_num {
  position: absolute;
  top: 36px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.4s ease;
}

.NS_pilares_cell:hover .NS_pilares_num {
  color: var(--go-teal);
}

/* Título de la celda */
.NS_pilares_cell_title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0;
}

/* Texto de la celda */
.NS_pilares_cell_text {
  font-family: var(--font-primary);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

/* ============================================================
   ANIMACIÓN DE ENTRADA
   ============================================================ */
.NS_pilares_reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s),
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s);
}

.NS_pilares.is-visible .NS_pilares_reveal {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .NS_pilares_inner { width: 88%; }

  .NS_pilares_cell { padding: 32px 22px 28px; }

  .NS_pilares_cell_title { font-size: 18px; }

  .NS_pilares_num { top: 28px; right: 22px; }
}

@media (max-width: 900px) {
  .NS_pilares {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .NS_pilares_inner {
    min-height: auto;
    gap: 40px;
  }

  .NS_pilares_cells {
    grid-template-columns: repeat(2, 1fr);
  }

  .NS_pilares_cell {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .NS_pilares_cell:nth-child(2n) { border-right: none; }
  .NS_pilares_cell:nth-child(n+3) { border-bottom: none; }
}

@media (max-width: 600px) {
  .NS_pilares_inner { width: 88%; }

  .NS_pilares_cells {
    grid-template-columns: 1fr;
  }

  .NS_pilares_cell {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 28px 20px 26px;
  }

  .NS_pilares_cell:last-child { border-bottom: none; }

  .NS_pilares_cell_title { font-size: 17px; }

  .NS_pilares_icon { width: 38px; height: 38px; }

  .NS_pilares_num { top: 24px; right: 20px; }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .NS_pilares_bg,
  .NS_pilares_reveal,
  .NS_pilares_cell,
  .NS_pilares_cell::before,
  .NS_pilares_icon {
    transition: none;
  }

  .NS_pilares_bg { transform: scale(1); }
  .NS_pilares_reveal { opacity: 1; transform: none; }
}


/* ============================================================
   COBERTURA · Video de fondo espacial
   ============================================================ */

.SL-cobertura {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--go-navy); /* Fallback por si el video no carga */
}

/* ---------- Video de fondo ---------- */
.SL-cobertura_video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que cubra toda la pantalla sin deformarse */
  z-index: 1;
}

/* ---------- Degradado espacial (Overlay) ---------- */
.SL-cobertura_overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* Combinación de tus tokens para crear la atmósfera espacial */
  background: 
    /* Viñeta radial para centrar la luz en el texto */
    radial-gradient(
      circle at 50% 50%,
      transparent 0%,
      rgba(10, 28, 46, 0.6) 70%,
      var(--go-navy) 100%
    ),
    /* Degradado diagonal con azul de marca */
    linear-gradient(
      135deg,
      rgba(10, 28, 46, 0.85) 0%,     /* --go-navy */
      rgba(0, 113, 227, 0.4) 50%,    /* --go-blue */
      rgba(10, 28, 46, 0.9) 100%     /* --go-navy */
    );
  pointer-events: none;
}

/* ---------- Contenido ---------- */
.SL-cobertura_inner {
  position: relative;
  z-index: 3;
  width: 85%;
  max-width: var(--container-xl);
  margin: 0 auto;
  text-align: center;
}

.SL-cobertura_head {
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- Textos usando Tokens ---------- */
.SL-cobertura_eyebrow {
  font-family: var(--font-primary);
  font-size: var(--fs-small);          /* 12px */
  font-weight: 500;
  letter-spacing: var(--tracking-small); /* 0.18em */
  text-transform: uppercase;
  color: var(--go-teal);               /* El color de acento de la marca */
  margin: 0 0 20px 0;
}

.SL-cobertura_title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);             /* clamp(36px, 4.4vw, 52px) */
  font-weight: var(--fw-h2);           /* 500 */
  line-height: var(--lh-h2);           /* 1 */
  letter-spacing: var(--tracking-h2);  /* -0.025em */
  
  /* Gradiente de texto de tu portada */
  background: var(--grad-hero-h1);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  
  margin: 0;
  /* Sombra sutil para separar el gradiente del video */
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5)); 
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .SL-cobertura {
    min-height: 80vh; /* Un poco más bajo en móviles */
  }
  
  .SL-cobertura_overlay {
    /* Hacemos el degradado más opaco en móvil para asegurar lectura */
    background: 
      linear-gradient(
        180deg,
        rgba(10, 28, 46, 0.9) 0%,
        rgba(10, 28, 46, 0.7) 50%,
        rgba(10, 28, 46, 0.95) 100%
      );
  }
}