/* ===============================
   ATOMA OBSCURA · Visión & Principios
   =============================== */

:root {
  /* hereda variables de style.css */
}

/* Contenedor utilitario */
.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ---------- Hero Visión ---------- */
.vision-hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 100px 20px 60px;
  background: var(--bg-dark);
  overflow: visible; /* <- para no recortar el halo */
}

.vision-hero__content {
  position: relative; /* <- contenedor de referencia para el halo */
  z-index: 3;
  text-align: center;
  margin-top: 0;
  padding-top: 120px; /* espacio para que el halo “entre” sin tapar el H1 */
}

.vision-hero__halo {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  box-shadow:
    0 0 30px rgba(10,132,255,0.6),
    inset 0 0 20px rgba(10,132,255,0.3);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.vision-hero__halo .halo-letter {
  font-size: 4rem;
  margin-top: 8px;
  color: #fff;
  text-shadow:
    0 0 10px rgba(255,255,255,0.9),
    0 0 20px rgba(10,132,255,0.9),
    0 0 30px rgba(10,132,255,0.6);
}

.vision-hero__halo .page-title {
  font-size: 0.85rem;
  margin-bottom: 12px;
  top: -14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: linear-gradient(90deg, #ffffff, #0A84FF, #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineShift 4s linear infinite;
  text-align: center;
  z-index: 5;
  position: relative;
  pointer-events: none;
}

/* Contenido */
.vision-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-top: 90px;
}

.vision-hero__content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
}

.vision-hero__content .lead {
  color: var(--accent-blue);
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: .95;
}

/* ---------- Statement ---------- */
.vision-statement {
  background: var(--bg-dark);
  padding: 40px 20px 10px;
}

.vision-statement .container {
  max-width: 900px;
}

.vision-statement p {
  line-height: 1.8;
  font-size: 1.05rem;
  margin: 0 0 18px 0;
  opacity: .92;
}

.vision-statement p strong {
  color: var(--white);
}

.vision-statement .mission {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 1.08rem;
}

/* ---------- Grid de Principios ---------- */
.vision-grid {
  background: var(--bg-dark);
  padding: 30px 20px 60px;
}

.vision-grid .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.principle {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.principle:hover {
  transform: translateY(-6px);
  border-color: rgba(10,132,255,0.35);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 24px rgba(10,132,255,0.18);
}

.principle i {
  font-size: 1.6rem;
  color: var(--accent-blue);
  margin-bottom: 12px;
  display: inline-block;
  filter: drop-shadow(0 0 6px rgba(10,132,255,0.5));
}

.principle h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.principle p {
  font-size: 0.98rem;
  line-height: 1.55;
  opacity: .9;
}

/* ---------- CTA ---------- */
.vision-cta {
  background: var(--bg-dark);
  padding: 60px 20px 80px;
}

.vision-cta .cta {
  text-align: center;
  background: #121212;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 32px 20px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}

.vision-cta h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  font-weight: 800;
}

.vision-cta p {
  opacity: .9;
  margin-bottom: 18px;
}

.vision-cta .cta-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(10,132,255,0.6);
  background: #1a1a1a;
  color: var(--white);
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 0 10px rgba(10,132,255,0.25);
}

.vision-cta .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(10,132,255,0.45);
}

/* ---------- Navegación: estado activo ---------- */
.main-nav a.active {
  color: var(--accent-blue);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .vision-hero__halo {
    width: 120px;
    height: 120px;
    top: -160px;
  }
  .vision-hero__halo .halo-letter { font-size: 3.3rem; }
  .vision-hero__halo .page-title { font-size: 0.75rem; }
  
  .vision-grid .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .vision-hero__halo {
    width: 100px;
    height: 100px;
    top: -140px;
  }
  .vision-hero__halo .halo-letter { font-size: 2.8rem; }
  .vision-hero__halo .page-title { font-size: 0.7rem; top: -10px; }

  .vision-grid .grid {
    grid-template-columns: 1fr;
  }
}
