/* 
  Guayas Aprende - Landing Page Futurista
  ---------------------------------------
  - Estilo futurista, minimalista y tecnológico.
  - Colores: azul eléctrico, morado neón y negro.
  - Enfoque en legibilidad y rendimiento.
*/

:root {
  /* Colores base */
  --ga-color-bg: #050816;              /* fondo principal basado en primario */
  --ga-color-bg-alt: #202b51;          /* primario institucional */
  --ga-color-bg-soft: #101938;         /* variante suave del primario */
  --ga-color-primary: #202b51;         /* primario institucional */
  --ga-color-primary-soft: rgba(32, 43, 81, 0.55);
  --ga-color-secondary: #00afff;       /* secundario institucional */
  --ga-color-secondary-soft: rgba(0, 175, 255, 0.35);
  --ga-color-accent: #00afff;          /* acento azul */
  --ga-color-text: #ffffff;            /* terciario institucional */
  --ga-color-text-soft: rgba(255, 255, 255, 0.72);
  --ga-color-border-soft: rgba(255, 255, 255, 0.18);

  /* Glassmorphism */
  --ga-glass-bg: rgba(8, 11, 39, 0.82);
  --ga-glass-border: rgba(255, 255, 255, 0.12);
  --ga-glass-blur: 16px;

  /* Sombra y glow sutil */
  --ga-shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.65);
  --ga-glow-primary: 0 0 22px rgba(0, 229, 255, 0.75);
  --ga-glow-secondary: 0 0 24px rgba(123, 44, 255, 0.85);

  /* Tipografía y tamaños */
  --ga-font-sans: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ga-font-display: "Orbitron", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ga-radius-lg: 24px;
  --ga-radius-md: 16px;
  --ga-radius-pill: 999px;

  --ga-transition-fast: 160ms ease-out;
  --ga-transition-med: 220ms ease-out;
  --ga-transition-slow: 320ms ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--ga-font-sans);
  color: var(--ga-color-text);
  background: radial-gradient(circle at top, #202b51 0, #050816 55%, #000 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

main {
  display: block;
  margin-left: 300px;
}

/* HEADER -------------------------------------------------------------- */

.ga-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
  width: 300px;
  padding: 1.6rem 1.4rem 1.8rem;
  background: radial-gradient(circle at top, rgba(0, 175, 255, 0.25), rgba(32, 43, 81, 0.98) 55%, #02000b);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 18px 0 40px rgba(0, 0, 0, 0.9);
  transition: background var(--ga-transition-med), padding var(--ga-transition-med), border-color var(--ga-transition-med), box-shadow var(--ga-transition-med);
}

.ga-header-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  min-height: 0;
}

.ga-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.ga-logo img {
  display: block;
  height: 120px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.6));
}

.ga-nav {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  width: 100%;
}

.ga-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0 0 1rem;
  min-height: 200px;
}

.ga-nav-link {
  position: relative;
  font-family: var(--ga-font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ffffff;
  font-weight: 600;
  padding: 0.35rem 0;
  overflow: hidden;
}

.ga-nav-link::before,
.ga-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--ga-color-primary), var(--ga-color-secondary), transparent);
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 220ms ease-out, opacity 220ms ease-out;
}

.ga-nav-link::after {
  height: 2px;
  filter: blur(4px);
  opacity: 0;
}

.ga-nav-link::marker {
  content: none;
}

.ga-nav-link::selection {
  background: rgba(0, 229, 255, 0.3);
}

/* Animación futurista al pasar el cursor (subrayado y glow, con "scan" diagonal) */
.ga-nav-link:hover::before,
.ga-nav-link:focus-visible::before {
  transform: translateX(0);
  opacity: 1;
}

.ga-nav-link:hover::after,
.ga-nav-link:focus-visible::after {
  transform: translateX(0);
  opacity: 0.9;
}

.ga-nav-link:hover,
.ga-nav-link:focus-visible {
  color: var(--ga-color-text);
  text-shadow: 0 0 16px rgba(0, 229, 255, 0.6);
}

.ga-nav-link::selection {
  background: rgba(0, 229, 255, 0.2);
}

/* Brillo extra para el botón de Campus Virtual */
.ga-nav-link--primary {
  padding-inline: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  background: radial-gradient(circle at 0 0, rgba(0, 229, 255, 0.35), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(123, 44, 255, 0.3), transparent 55%),
    rgba(3, 4, 20, 0.9);
  box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4);
  white-space: nowrap;
  transition: box-shadow var(--ga-transition-med), background var(--ga-transition-med), border-color var(--ga-transition-med), transform var(--ga-transition-med), color var(--ga-transition-med);
}

.ga-nav-link--primary::before,
.ga-nav-link--primary::after {
  display: none; /* ya tiene estilo de botón, no subrayado */
}

.ga-nav-link--primary:hover,
.ga-nav-link--primary:focus-visible {
  border-color: rgba(0, 229, 255, 0.8);
  box-shadow: var(--ga-glow-primary);
  transform: translateY(-1px);
}

.ga-header--scrolled {
  padding-block: 0.6rem;
  background: radial-gradient(circle at top left, rgba(0, 229, 255, 0.18) 0, rgba(0, 3, 10, 0.96) 35%, rgba(0, 0, 0, 0.98) 100%);
  border-bottom-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.75);
}

/* Engranaje oculto: acceso al sistema de gestión (esquina superior derecha) */
.ga-admin-gear {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--ga-color-text);
  opacity: 0.28;
  transition: opacity var(--ga-transition-med), transform var(--ga-transition-med), color var(--ga-transition-med);
}

.ga-admin-gear:hover,
.ga-admin-gear:focus-visible {
  opacity: 1;
  color: var(--ga-color-secondary);
  transform: rotate(90deg);
  outline: none;
}

.ga-admin-gear-icon {
  width: 22px;
  height: 22px;
  pointer-events: none;
}

/* HERO --------------------------------------------------------------- */

.ga-hero-video-wrapper {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ga-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05) brightness(0.9);
  transform: scale(1.02);
  transform-origin: center;
  will-change: transform;
}

.ga-hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 229, 255, 0.4), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(123, 44, 255, 0.45), transparent 45%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.96));
  mix-blend-mode: soft-light;
}

.ga-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2.5rem 4rem;
  overflow: hidden;
}

.ga-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ga-hero-core {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: none;
  padding: 0.4rem 0.8rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.ga-hero-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ga-color-text-soft);
  margin: 0 0 0.75rem;
}

.ga-hero-title {
  font-family: var(--ga-font-display);
  font-size: clamp(3rem, 6vw + 1.2rem, 5.4rem);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  margin: 0 0 0.8rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.ga-hero-title--center {
  display: block;
}

.ga-hero-word {
  position: relative;
  display: inline-block;
  padding-inline: 0.4rem;
  z-index: 1;
  color: #ffffff;
  -webkit-text-stroke: 1.5px rgba(0, 229, 255, 0.85);
  text-shadow:
    0 0 18px rgba(0, 229, 255, 0.85),
    0 0 34px rgba(123, 44, 255, 0.85);
  filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.9));
  transform-origin: center;
  animation:
    ga-title-pop 900ms cubic-bezier(0.16, 0.9, 0.3, 1.1) 150ms forwards,
    ga-title-breathe 6s ease-in-out 1.2s infinite;
}

.ga-hero-word--bottom {
  animation-delay: 260ms, 1.35s; /* misma animación, pero empieza un poco después */
}

.ga-hero-word::before {
  /* halo sutil detrás del texto */
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: 40% / 55%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.45), transparent 65%);
  opacity: 0.8;
  filter: blur(12px);
  z-index: -1;
}

/* Luz que pasa una vez por encima de cada palabra cuando ya está al frente */
.ga-hero-word::after {
  content: "";
  position: absolute;
  inset: -15%;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 35%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0.25) 65%,
    rgba(255, 255, 255, 0) 100%
  );
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-160%);
  pointer-events: none;
  /* 8s de ciclo: brillo corto y luego descanso largo, se repite suavemente */
  animation: ga-word-sheen 8s ease-out 1.5s infinite;
}

.ga-hero-word--bottom::after {
  animation-delay: 1.9s;
}

.ga-link-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.2rem;
  border-radius: var(--ga-radius-pill);
  border: 1px solid rgba(0, 229, 255, 0.7);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: rgba(1, 5, 24, 0.96);
  color: #e6f9ff;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
  transition: background var(--ga-transition-med), color var(--ga-transition-med), box-shadow var(--ga-transition-med), transform var(--ga-transition-med), border-color var(--ga-transition-med);
}

.ga-link-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 60%);
  opacity: 0;
  transform: translateX(-130%);
  mix-blend-mode: screen;
  transition: opacity 220ms ease-out, transform 220ms ease-out;
}

.ga-link-chip:hover::after,
.ga-link-chip:focus-visible::after {
  opacity: 0.9;
  transform: translateX(130%);
}

.ga-link-chip:hover,
.ga-link-chip:focus-visible {
  background: linear-gradient(120deg, rgba(0, 229, 255, 0.2), rgba(123, 44, 255, 0.25));
  box-shadow: var(--ga-glow-primary);
  transform: translateY(-1px);
}

.ga-link-chip--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
}

.ga-link-chip--ghost:hover,
.ga-link-chip--ghost:focus-visible {
  border-color: rgba(0, 229, 255, 0.85);
}

/* BOTONES ------------------------------------------------------------- */

.ga-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.7rem;
  border-radius: var(--ga-radius-pill);
  border: 1px solid transparent;
  font-size: 0.87rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: background var(--ga-transition-med), color var(--ga-transition-med), border-color var(--ga-transition-med), box-shadow var(--ga-transition-med), transform var(--ga-transition-med), filter var(--ga-transition-med);
  overflow: hidden;
}

.ga-btn--primary {
  background: linear-gradient(135deg, var(--ga-color-primary), var(--ga-color-secondary));
  color: #020312;
  box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.6);
}

.ga-btn--primary:hover,
.ga-btn--primary:focus-visible {
  box-shadow: var(--ga-glow-primary);
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.ga-btn--ghost {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(3, 5, 24, 0.85);
  color: var(--ga-color-text);
}

.ga-btn--ghost:hover,
.ga-btn--ghost:focus-visible {
  border-color: rgba(0, 229, 255, 0.7);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.5);
  transform: translateY(-1px);
}

.ga-btn--full {
  width: 100%;
}

.ga-btn--compact {
  padding-inline: 1.3rem;
}

.ga-btn--inscribirse {
  background: var(--ga-color-text);
  color: var(--ga-color-secondary);
  border: 1px solid var(--ga-color-secondary);
}

.ga-btn--inscribirse:hover,
.ga-btn--inscribirse:focus-visible {
  filter: brightness(1.05);
  box-shadow: 0 0 12px rgba(0, 175, 255, 0.4);
}

.ga-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.ga-card-qr-wrap {
  position: relative;
  flex-shrink: 0;
}

.ga-card-qr {
  width: 88px;
  height: 88px;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease-out;
}

.ga-card-qr-wrap:hover .ga-card-qr {
  transform: scale(2.2);
  transform-origin: top right;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.ga-card-qr-wrap {
  z-index: 1;
}

.ga-card-qr-wrap:hover {
  z-index: 20;
}

.ga-btn-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-120%);
  animation: ga-btn-sheen 5s ease-in-out 1.8s infinite;
  pointer-events: none;
}

/* SECCIONES GENERALES ------------------------------------------------- */

.ga-section {
  padding: 4.5rem 1.5rem;
}

.ga-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.ga-section--light {
  background: #ffffff;
}

.ga-section--dark {
  background: radial-gradient(circle at top right, rgba(123, 44, 255, 0.5), #01010b 52%, #000000);
}

.ga-section--contact {
  background: #ffffff;
}

.ga-section-header {
  max-width: 720px;
  margin: 0 auto 2.6rem;
  text-align: left;
}

.ga-section-kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ga-color-text-soft);
  margin-bottom: 0.3rem;
}

.ga-section-title {
  font-family: var(--ga-font-display);
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 0.8rem;
}

.ga-section-subtitle {
  margin: 0;
  color: var(--ga-color-text-soft);
  font-size: 0.98rem;
}

.ga-section--light .ga-section-title,
.ga-section--contact .ga-section-title {
  color: var(--ga-color-primary);
}

.ga-section--light .ga-section-subtitle,
.ga-section--contact .ga-section-subtitle {
  color: rgba(32, 43, 81, 0.8);
}

.ga-section--dark .ga-section-title {
  color: #ffffff;
}

.ga-section--dark .ga-section-subtitle {
  color: rgba(222, 226, 255, 0.9);
}

.ga-section-inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
}

.ga-section-block--visual {
  display: flex;
  justify-content: center;
}

.ga-section-note {
  font-size: 0.75rem;
  color: rgba(220, 224, 252, 0.8);
  margin-top: 0.8rem;
}

/* Página Cursos: encabezado profesional y texto intro ----------------- */
.ga-page-cursos .ga-page-brand {
  font-family: var(--ga-font-display);
  font-size: clamp(2.1rem, 4vw + 0.5rem, 2.85rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin: 0 0 0.35rem;
  padding: 0.5rem 0.75rem 0.6rem;
  display: inline-block;
  background: linear-gradient(135deg, var(--ga-color-primary) 0%, #2d3a6b 50%, var(--ga-color-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(0, 175, 255, 0.35));
}

.ga-page-cursos .ga-page-brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ga-color-secondary), var(--ga-color-primary));
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(0, 175, 255, 0.5);
}

.ga-page-cursos .ga-page-section-title {
  font-family: var(--ga-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ga-color-primary);
  margin: 0 0 1.5rem;
}

.ga-page-intro {
  width: 100%;
  max-width: none;
  margin-bottom: 2.5rem;
}

.ga-page-intro p {
  margin: 0 0 1rem;
  color: rgba(32, 43, 81, 0.9);
  font-size: 1rem;
  line-height: 1.75;
  text-align: justify;
}

.ga-page-intro p:last-child {
  margin-bottom: 0;
}

.ga-page-intro p:last-child {
  margin-bottom: 0;
}

.ga-page-cursos .ga-section-note {
  color: rgba(32, 43, 81, 0.7);
}

/* GRID TARJETAS ------------------------------------------------------- */

.ga-grid {
  display: grid;
  gap: 1.6rem;
}

.ga-grid--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ga-card {
  padding: 1.8rem 1.6rem;
  border-radius: var(--ga-radius-md);
  background: radial-gradient(circle at top left, var(--ga-color-primary-soft), transparent 60%),
    radial-gradient(circle at bottom right, var(--ga-color-secondary-soft), transparent 55%),
    var(--ga-color-bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.65);
  transition: transform var(--ga-transition-med), box-shadow var(--ga-transition-med), border-color var(--ga-transition-med), background var(--ga-transition-med);
  overflow: visible;
}

.ga-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.7);
  box-shadow: 0 26px 40px rgba(0, 0, 0, 0.75), var(--ga-glow-primary);
}

.ga-card-icon {
  margin-bottom: 1.2rem;
}

.ga-card-title {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.ga-card-text {
  margin: 0;
  color: var(--ga-color-text-soft);
  font-size: 0.95rem;
}

.ga-card--hidden {
  display: none;
}

.ga-carousel-controls {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ga-carousel-info {
  font-size: 0.8rem;
  color: var(--ga-color-text-soft);
}

.ga-carousel-controls button[disabled] {
  opacity: 0.45;
  cursor: default;
  box-shadow: none;
}

/* Iconos futuristas básicos con puro CSS */
.ga-icon-chip,
.ga-icon-network,
.ga-icon-hologram {
  display: inline-block;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: radial-gradient(circle at 0 0, rgba(0, 229, 255, 0.9), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(123, 44, 255, 0.9), transparent 55%),
    #05071d;
  box-shadow: var(--ga-glow-secondary);
}

.ga-icon-chip::before,
.ga-icon-chip::after,
.ga-icon-network::before,
.ga-icon-network::after,
.ga-icon-hologram::before,
.ga-icon-hologram::after {
  content: "";
  position: absolute;
}

.ga-icon-chip::before {
  inset: 20%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.ga-icon-chip::after {
  inset: 35%;
  border-radius: 8px;
  border: 1px dashed rgba(0, 229, 255, 0.9);
}

.ga-icon-network::before {
  inset: 24%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.ga-icon-network::after {
  inset: 42%;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff, rgba(255, 255, 255, 0.1));
}

.ga-icon-hologram::before {
  inset: 18%;
  border-radius: 50%;
  border: 2px solid rgba(25, 255, 185, 0.9);
  filter: blur(1px);
}

.ga-icon-hologram::after {
  left: 18%;
  right: 18%;
  bottom: 10%;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 255, 185, 0.7), transparent);
  opacity: 0.9;
}

/* HOLOGRAMA CAMPUS VIRTUAL ------------------------------------------- */

.ga-holo-panel {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  border: 1px solid rgba(0, 229, 255, 0.55);
  background: radial-gradient(circle at top, rgba(0, 229, 255, 0.26), transparent 60%),
    radial-gradient(circle at bottom, rgba(123, 44, 255, 0.3), transparent 60%),
    rgba(2, 4, 24, 0.96);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.7);
  overflow: hidden;
}

.ga-holo-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.14) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.14) 1px,
      transparent 1px
    );
  background-size: 20px 20px;
  opacity: 0.35;
  transform-origin: center;
  animation: ga-holo-grid 16s linear infinite;
}

.ga-holo-orbit {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.9);
  filter: blur(0.6px);
}

.ga-holo-orbit--two {
  inset: 30%;
  border-color: rgba(123, 44, 255, 0.95);
  animation: ga-holo-orbit-rotate 12s linear infinite;
}

.ga-holo-pulse {
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.9), transparent 60%);
  filter: blur(1px);
  animation: ga-holo-pulse 2.8s ease-in-out infinite;
}

.ga-holo-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(3, 6, 26, 0.92);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.ga-holo-label span {
  color: var(--ga-color-accent);
}

/* FORMULARIO ---------------------------------------------------------- */

.ga-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.8rem 1.7rem;
  border-radius: var(--ga-radius-md);
  background: radial-gradient(circle at top left, rgba(0, 229, 255, 0.14), transparent 60%),
    rgba(6, 8, 36, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}

.ga-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
  margin-bottom: 1.2rem;
}

.ga-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ga-form-field--full {
  grid-column: 1 / -1;
}

.ga-form label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ga-color-text-soft);
}

.ga-form input,
.ga-form select,
.ga-form textarea {
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(4, 6, 26, 0.95);
  color: var(--ga-color-text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--ga-transition-med), box-shadow var(--ga-transition-med), background var(--ga-transition-med);
}

.ga-form input::placeholder,
.ga-form textarea::placeholder {
  color: rgba(167, 177, 211, 0.75);
}

.ga-form input:focus-visible,
.ga-form select:focus-visible,
.ga-form textarea:focus-visible {
  border-color: rgba(0, 229, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.85);
  background: rgba(2, 5, 32, 0.96);
}

.ga-form textarea {
  resize: vertical;
  min-height: 96px;
}

/* FOOTER -------------------------------------------------------------- */

.ga-footer {
  padding: 1.6rem 1.5rem 2.1rem;
  margin-left: 300px;
  background: #01020b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ga-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--ga-color-text-soft);
}

.ga-footer-meta {
  opacity: 0.8;
}

/* ANIMACIONES GENERALES ---------------------------------------------- */

@keyframes ga-title-pop {
  0% {
    opacity: 0;
    transform: scale(0.55) translateZ(-260px);
    letter-spacing: 0.5em;
    filter: blur(18px);
  }
  45% {
    opacity: 1;
    transform: scale(1.08) translateZ(0);
    letter-spacing: 0.26em;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateZ(0);
    letter-spacing: 0.24em;
  }
}

@keyframes ga-title-breathe {
  0% {
    transform: scale(1);
    text-shadow:
      0 0 10px rgba(0, 229, 255, 0.6),
      0 0 18px rgba(123, 44, 255, 0.5);
  }
  50% {
    transform: scale(1.02);
    text-shadow:
      0 0 16px rgba(0, 229, 255, 0.9),
      0 0 26px rgba(123, 44, 255, 0.9);
  }
  100% {
    transform: scale(1);
    text-shadow:
      0 0 10px rgba(0, 229, 255, 0.6),
      0 0 18px rgba(123, 44, 255, 0.5);
  }
}

@keyframes ga-word-sheen {
  0% {
    opacity: 0;
    transform: translateX(-160%);
  }
  20% {
    opacity: 0.9;
  }
  55% {
    opacity: 0;
    transform: translateX(160%);
  }
  100% {
    opacity: 0;
    transform: translateX(160%);
  }
}

@keyframes ga-btn-sheen {
  0% {
    opacity: 0;
    transform: translateX(-140%);
  }
  10% {
    opacity: 0.7;
  }
  30% {
    opacity: 0;
    transform: translateX(140%);
  }
  100% {
    opacity: 0;
    transform: translateX(140%);
  }
}

@keyframes ga-holo-grid {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-20px, -20px, 0);
  }
}

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

@keyframes ga-holo-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.07);
    opacity: 0.9;
  }
  100% {
    transform: scale(0.92);
    opacity: 0.4;
  }
}


/* ANIMACIONES ON-SCROLL (JS añade .is-visible) ------------------------ */

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

[data-animate][data-animate="slide-left"] {
  transform: translateX(24px);
}

[data-animate][data-animate="slide-right"] {
  transform: translateX(-24px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* RESPONSIVE ---------------------------------------------------------- */

@media (max-width: 960px) {
  .ga-header-inner {
    gap: 1rem;
  }

  /* En pantallas medianas volvemos a header superior */
  .ga-header {
    top: 0;
    bottom: auto;
    width: 100%;
    padding: 1rem 1.2rem;
    border-right: none;
    border-bottom: 1px solid rgba(0, 229, 255, 0.35);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.75);
  }

  .ga-header-inner {
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .ga-nav {
    flex: none;
    min-height: 0;
    overflow: visible;
  }

  .ga-nav-list {
    flex-direction: row;
    align-items: center;
    gap: 1.4rem;
    margin-top: 0;
    padding: 0;
    min-height: 0;
  }

  main {
    margin-left: 0;
  }

  .ga-footer {
    margin-left: 0;
  }

  .ga-logo img {
    height: 48px;
  }

  .ga-grid--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ga-section-inner--split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .ga-header {
    padding-inline: 1.1rem;
  }

  .ga-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ga-nav-list {
    gap: 1.1rem;
    font-size: 0.82rem;
  }

  .ga-hero {
    padding-inline: 1.1rem;
  }

  .ga-section {
    padding-inline: 1.1rem;
  }

  .ga-grid--cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .ga-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .ga-header-inner {
    align-items: center;
  }

  .ga-nav-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ga-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ga-meta-pill {
    margin-bottom: 0.3rem;
  }

  .ga-footer-inner {
    text-align: center;
    align-items: center;
  }
}

/* PREFIERE REDUCIR MOVIMIENTO ---------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ga-hero-video {
    transform: none;
  }
}

/* POP-UP (ventana emergente desde el panel) -------------------------- */

.ga-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.ga-popup-box {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.ga-popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #333;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.ga-popup-close:hover {
  background: rgba(0, 0, 0, 0.15);
}

.ga-popup-title {
  margin: 0;
  padding: 1.25rem 1.5rem 0.5rem;
  font-size: 1.25rem;
  color: #202b51;
}

.ga-popup-body {
  padding: 1rem 1.5rem 1.5rem;
}

.ga-popup-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.ga-popup-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.ga-popup-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ga-popup-video-el {
  width: 100%;
  max-height: 70vh;
  display: block;
  border-radius: 8px;
}

.ga-popup-html {
  max-width: 560px;
  line-height: 1.6;
  color: #333;
}

.ga-popup-html img {
  max-width: 100%;
  height: auto;
}

.ga-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0 1.5rem 1.5rem;
}

.ga-popup-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #00afff;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

.ga-popup-btn:hover {
  background: #0099e6;
  color: #fff;
}

.ga-popup-btn-salir {
  background: transparent;
  color: #555;
  border: 2px solid #ccc;
}

.ga-popup-btn-salir:hover {
  background: #f0f0f0;
  color: #333;
  border-color: #999;
}

.ga-popup-video-done {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}
