@charset 'UTF-8';

/*
 *************************************************************
 created    : 2026-07-30 09:08:09
 author     : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
 version    : 1.0.0
 file       : site.css
 description: Estilos de la página pública principal de Explorax
 package    : Explorax-app
 Copyright  : (R) 2026 Universidad del Valle de Guatemala
 id         : 00723120-8bfa-4824-a7d8-d1d857b5058c
 *************************************************************
 */

:root {
  /* Turquesa de botones y pastillas con texto blanco: #008290 da 4.6:1
     (el #00a0b0 original daba 3.2:1, por debajo del 4.5:1 recomendado). */
  --action-primary-fill: #008290;
  /* Gris de textos secundarios: 5.4:1 sobre blanco (el #8e8e8e de los
     tokens daba 3.3:1 y se leía lavado). */
  --text-muted: #5b6b82;
  /* Enlaces sobre fondo claro (el cian de los tokens daba 2.9:1). */
  --link-color: #007f8c;
  --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --action-primary-shadow: #005e68;
  --radius-control: 14px;
  --radius-card: 20px;
  --shadow-card: 0 8px 24px rgba(0, 36, 79, 0.12);
  --shadow-control: 0 4px 0 var(--action-primary-shadow);
  --section-space: clamp(64px, 7vw, 88px);
  --nav-height-safe: 96px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Lato', sans-serif;
  color: var(--text-on-light);
  background: var(--white);
  text-wrap: pretty;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-control);
  background: var(--navy-800);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
h4 {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  color: var(--navy-800);
}
a {
  color: var(--link-color);
}
a:hover {
  color: var(--navy-800);
}
img {
  max-width: 100%;
  display: block;
}

/*
*************************************************************
created     : 2026-07-30
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : map-load-error: Presenta errores de carga del mapa.
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : a67d77fd-9e48-4559-ae39-8419a4eeafaf
*************************************************************
*/
.map-load-error {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

/*
*************************************************************
created     : 2026-07-30
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : navigation: navegación global y estados interactivos
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : c6981964-cdaa-492a-a1cf-76592de68fde
*************************************************************
*/
.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(12px, 2vw, 32px);
  width: 100%;
  padding: 16px 28px;
  background: transparent;
  transition:
    padding 0.3s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}
.nav.scrolled {
  padding: 10px 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(0, 36, 79, 0.14);
  backdrop-filter: blur(16px);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 64px;
  transition: height 0.25s ease;
}
.nav.scrolled .nav-logo-img {
  height: 40px;
}
.nav-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}
.nav.scrolled .nav-menu-toggle {
  border-color: var(--navy-800);
  background: #fff;
  color: var(--navy-800);
}
.nav-menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.nav-menu-toggle:focus-visible {
  outline: 3px solid #7fe5fc;
  outline-offset: 3px;
}
.nav.menu-open .nav-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav.menu-open .nav-menu-toggle span:nth-child(2) {
  opacity: 0;
}
.nav.menu-open .nav-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-menu-content {
  display: contents;
}
/* Con el menú hamburguesa abierto, la página detrás se desenfoca un poco.
   El velo va en body (no dentro de .nav: su backdrop-filter haría que
   position: fixed se midiera contra la barra y no contra la ventana). Un
   toque en el velo cierra el menú (clic fuera de .nav). */
body::after {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(0, 15, 56, 0.12);
  content: '';
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}
body:has(.nav.menu-open)::after {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.nav-links {
  display: flex;
  width: 100%;
  max-width: 640px;
  justify-content: stretch;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0 auto;
}
.nav-links a {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0 3px;
  padding: 8px clamp(4px, 0.7vw, 14px);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-links a::after {
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 3px;
  border-radius: 3px;
  background: var(--action-primary-fill);
  content: '';
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}
.nav.scrolled .nav-links a {
  color: var(--navy-800);
}
.nav-links a[style*='text-align'] {
  line-height: 1;
}
.nav-links a:hover {
  color: var(--cyan-300);
}
.nav.scrolled .nav-links a:hover {
  color: var(--action-primary-shadow);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current]::after {
  transform: scaleX(1);
}
.nav-links a:focus-visible {
  outline: 3px solid #7fe5fc;
  outline-offset: 2px;
}
.nav-links a[aria-current] {
  color: #fff;
}
.nav.scrolled .nav-links a[aria-current] {
  color: var(--action-primary-shadow);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.nav.scrolled .nav-login {
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.nav-login:hover,
.nav.scrolled .nav-login:hover {
  color: #fff;
  background: var(--navy-800);
  border-color: var(--navy-800);
  box-shadow: 0 4px 0 #001b38;
  transform: translateY(-2px);
}
.nav:not(.scrolled):not(.menu-open) .nav-login:hover,
.nav:not(.scrolled):not(.menu-open) .nav-login:active {
  color: #fff;
  border-color: var(--cyan-600);
  background: var(--cyan-600);
  box-shadow: 0 4px 0 #007c8a;
}
.nav-login:focus-visible,
.nav-cta:focus-visible {
  outline: 3px solid #7fe5fc;
  outline-offset: 3px;
}
.nav-login:active {
  box-shadow: 0 1px 0 #001b38;
  transform: translateY(1px);
}
.nav-cta {
  background: var(--action-primary-fill);
  color: var(--navy-900);
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--action-primary-shadow);
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 13px;
  transition:
    filter 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.nav-cta:hover {
  color: var(--navy-900);
  filter: brightness(1.08) saturate(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--action-primary-shadow);
}
.nav-cta:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--action-primary-shadow);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-control);
  font-weight: 800;
  text-decoration: none;
  font-size: 15px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.btn:focus-visible {
  outline: 3px solid #7fe5fc;
  outline-offset: 3px;
}
.btn:active {
  box-shadow: 0 1px 0 var(--action-primary-shadow);
  transform: translateY(1px);
}
.btn-primary {
  background: var(--action-primary-fill);
  color: #fff;
  box-shadow: var(--shadow-control);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--action-primary-shadow);
}
.btn-secondary {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  border-color: #fff;
  background: #fff;
  color: var(--navy-800);
  transform: translateY(-2px);
}
.btn-tertiary {
  border-color: var(--action-primary-fill);
  background: #fff;
  color: var(--navy-800);
}
.btn-tertiary:hover {
  background: #e6f8fa;
  color: var(--navy-900);
  transform: translateY(-2px);
}
.btn-ghost {
  background: #fff;
  color: var(--navy-800);
  box-shadow: 0 5px 0 var(--surface-card-shadow);
}
.btn-ghost:hover {
  color: var(--navy-800);
  transform: translate(0, 2px);
  box-shadow: 0 3px 0 var(--surface-card-shadow);
}

/*
*************************************************************
created     : 2026-07-30
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : hero: composición, personajes y animaciones principales
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 6de354ac-ebd0-41e5-9c44-393233bc91e4
*************************************************************
*/
.hero {
  position: relative;
  background: var(--purple-700) url('assets/hero/fondo.png') center/cover
    no-repeat;
  overflow: hidden;
  padding: 144px 40px 160px;
  min-height: 640px;
}
.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: '';
  pointer-events: none;
}
.hero::before {
  background-image:
    radial-gradient(circle at 6% 18%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 14% 72%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 23% 34%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 31% 82%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 41% 16%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 52% 68%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 63% 25%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 72% 78%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 82% 38%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 93% 64%, #fff 0 1px, transparent 2px);
  background-size: 260px 220px;
  opacity: 0.5;
}
.hero::after {
  background-image:
    radial-gradient(circle at 9% 42%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 29% 20%, #7fe5fc 0 2px, transparent 3px),
    radial-gradient(circle at 48% 52%, #fff 0 2px, transparent 3px),
    radial-gradient(circle at 69% 15%, #ffd75a 0 2px, transparent 3px),
    radial-gradient(circle at 87% 48%, #fff 0 2px, transparent 3px);
  background-size: 480px 360px;
  opacity: 0.65;
  animation: stars-twinkle 4.5s ease-in-out infinite alternate;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 5;
}
.hero-copy > * {
  animation: hero-content-enter 0.65s ease both;
}
.hero-copy > :nth-child(2) {
  animation-delay: 0.08s;
}
.hero-copy > :nth-child(3) {
  animation-delay: 0.16s;
}
.hero-copy > :nth-child(4) {
  animation-delay: 0.24s;
}
.hero-art {
  animation: hero-art-enter 0.8s 0.18s ease both;
}
.eyebrow {
  display: inline-block;
  color: var(--yellow-400);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 14px;
}
.hero-copy h1 {
  color: #fff;
  max-width: 13ch;
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.02;
  margin-bottom: 20px;
}
.hero-copy h1 span {
  color: var(--cyan-300);
}
.hero-copy p {
  color: #e9e2f2;
  max-width: 48ch;
  margin-bottom: 28px;
  font-size: 18px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
  height: 440px;
}
.hero-art::before {
  position: absolute;
  right: -8%;
  bottom: -120px;
  z-index: 0;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: '';
  background: radial-gradient(
    circle,
    rgba(127, 229, 252, 0.32) 0,
    rgba(160, 105, 221, 0.2) 38%,
    transparent 70%
  );
  filter: blur(20px);
  animation: planet-glow 4.5s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-cloud-blend {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  line-height: 0;
  pointer-events: none;
}
.hero-cloud-blend img {
  width: 100%;
  display: block;
}
.hero-planeta {
  position: absolute;
  right: -6%;
  bottom: -150px;
  width: 58%;
  z-index: 1;
  filter:
    drop-shadow(0 0 18px rgba(127, 229, 252, 0.42))
    drop-shadow(0 0 38px rgba(160, 105, 221, 0.28));
  animation: planet-orbit 36s linear infinite;
  transform-origin: 50% 50%;
  will-change: transform, filter;
}
.hero-tojil {
  position: absolute;
  left: 0;
  top: -10px;
  width: 34%;
  animation: float-slow 5.5s ease-in-out infinite;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16));
}
@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-18px) rotate(2deg);
  }
}
@keyframes planet-orbit {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  25% {
    transform: translate3d(-10px, -7px, 0) rotate(90deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(180deg);
  }
  75% {
    transform: translate3d(10px, -7px, 0) rotate(270deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(360deg);
  }
}
@keyframes planet-glow {
  from {
    opacity: 0.58;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1.08);
  }
}
@keyframes hero-content-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-art-enter {
  from {
    opacity: 0;
    transform: translateX(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes stars-twinkle {
  from {
    opacity: 0.35;
    transform: scale(1);
  }
  to {
    opacity: 0.8;
    transform: scale(1.015);
  }
}

/*
*************************************************************
created     : 2026-08-03
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : shooting-stars: lluvia estelar para fondos espaciales
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 2d8ea687-cbcc-4655-930e-7b95d0b85fc4
*************************************************************
*/
.star-shower {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.shooting-star {
  position: absolute;
  width: var(--star-length);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #fff 70%, #7fe5fc);
  filter: drop-shadow(0 0 5px rgba(127, 229, 252, 0.9));
  opacity: 0;
  transform: rotate(var(--star-angle));
  transform-origin: right center;
  animation: shooting-star-move var(--star-duration) ease-out forwards;
}
.shooting-star::after {
  position: absolute;
  top: 50%;
  right: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #fff;
  content: '';
  transform: translateY(-50%);
}
@keyframes shooting-star-move {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(var(--star-angle));
  }
  12% {
    opacity: 0.9;
  }
  75% {
    opacity: 0.75;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--star-x), var(--star-y), 0)
      rotate(var(--star-angle));
  }
}

/*
*************************************************************
created     : 2026-07-30
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : content-sections: estructura compartida de contenidos
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : b2b72846-6d70-4437-9001-6b65cc4ed6c1
*************************************************************
*/
.section {
  padding: var(--section-space) 40px;
  scroll-margin-top: calc(var(--nav-height-safe) + 16px);
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-alt {
  background: #f7f4fb;
}
.que-es-section {
  position: relative;
  padding-bottom: 88px;
}
.como-funciona-section {
  position: relative;
  overflow: hidden;
  background-color: #f7f4fb;
}
.como-funciona-section .section-inner {
  position: relative;
  z-index: 1;
}
.que-es-cloud-blend {
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  height: 150px;
  overflow: hidden;
  transform: scaleY(-1);
  z-index: 0;
  opacity: 1;
  mask-image: linear-gradient(
    to top,
    #000 0,
    rgba(0, 0, 0, 0.55) 45%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to top,
    #000 0,
    rgba(0, 0, 0, 0.55) 45%,
    transparent 100%
  );
}
.que-es-cloud-blend img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
}
.que-es-section .section-inner {
  position: relative;
  z-index: 1;
}
.section-dark {
  background: var(--purple-700);
  color: #fff;
}
.section-dark h2,
.section-dark h3 {
  color: #fff;
}
h2 {
  max-width: 20ch;
  margin-bottom: 14px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
}
.lead {
  max-width: 60ch;
  margin-bottom: 40px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
}
.lead.light {
  color: #d8cbe8;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  display: flex;
  min-height: 260px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 6px 0 #b12a61;
  text-align: center;
}
.value-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  object-fit: contain;
}
.value-num {
  font-size: 15px;
  font-weight: 900;
  color: var(--gold-600);
  margin-bottom: 10px;
}
.value-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.2;
}
.value-card p {
  color: var(--navy-700);
  line-height: 1.5;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  border-radius: 20px;
  padding: 0 24px 30px;
  box-shadow: 0 6px 0 var(--surface-card-shadow);
  position: relative;
  overflow: hidden;
}
.step-num {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--action-primary-fill);
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 3px 0 #008180;
  z-index: 2;
}
.step-image {
  display: block;
  width: calc(100% + 48px);
  margin: 0 -24px 18px;
  height: 140px;
  object-fit: cover;
  object-position: center;
}
.step h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.2;
}
.step p {
  color: var(--navy-700);
  font-size: 15px;
  line-height: 1.5;
}

.materias-section {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  margin-top: -2px;
  padding-top: 150px;
  background: linear-gradient(
    180deg,
    #bceef6 0,
    #b3e5ed 32px,
    #a1d2df 67px,
    #8babc2 105px,
    #78779f 145px,
    #654b83 190px,
    var(--purple-700) 240px
  );
}
.materias-bg {
  position: absolute;
  inset: 0;
  background: url('assets/materias-bg.webp') center/cover;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, 0.08) 55px,
    rgba(0, 0, 0, 0.3) 115px,
    rgba(0, 0, 0, 0.7) 180px,
    #000 255px
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, 0.08) 55px,
    rgba(0, 0, 0, 0.3) 115px,
    rgba(0, 0, 0, 0.7) 180px,
    #000 255px
  );
}
.materias-cloud-blend {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  display: block;
}
.materias-section .section-inner {
  position: relative;
  z-index: 2;
}
h2.on-dark {
  color: #fff;
}
.materias-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 52px;
}
.academic-copy {
  width: 100%;
  max-width: 680px;
  color: #fff;
}
.academic-copy .lead {
  margin-bottom: 14px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.academic-copy > p:last-child {
  color: #e9e2f2;
  font-size: 17px;
  line-height: 1.6;
}
.materias-badge {
  width: calc(var(--orbit-h, 780px) * 0.2436);
  filter: drop-shadow(0 0 20px rgba(0, 207, 222, 0.42));
}
/*
*************************************************************
created     : 2026-09-24
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.1.0
file        : site.css
description : subjects-orbit-fit: la órbita se escala con la altura de la
              ventana para verse completa en una laptop. --orbit-h es la
              altura del sistema; planetas, insignia y brillo son
              proporciones del diseño original de 880 × 780 px.
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 3d8f1b27-9e4c-4a60-b5d2-7c1e0a94f6b8
*************************************************************
*/
.subjects-orbit {
  --orbit-h: 780px;
  position: relative;
  width: min(100%, calc(var(--orbit-h) * 1.128));
  height: var(--orbit-h);
  margin: 10px auto 0;
}
@media (min-width: 769px) {
  .subjects-orbit {
    /* Medido con los planetas girando: el sistema ocupa ≈ 0.97·H + 82px
       de alto. Debe caber en la ventana menos la navegación (64px) y un
       margen de 16px: H ≤ (100svh − 162px) / 0.97. */
    --orbit-h: clamp(440px, calc((100svh - 162px) * 1.03), 780px);
  }
}
.subjects-orbit::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--orbit-h) * 0.423);
  height: calc(var(--orbit-h) * 0.423);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 207, 222, 0.22),
    rgba(123, 45, 142, 0.08) 48%,
    transparent 70%
  );
  content: '';
  transform: translate(-50%, -50%);
  animation: orbit-core-glow 3.8s ease-in-out infinite alternate;
}
.subjects-orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  pointer-events: none;
}
.orbit-ring-outer {
  width: 72%;
  height: 70%;
  border-style: dashed;
  animation: orbit-ring-spin 42s linear infinite;
}
.orbit-ring-inner {
  width: 58%;
  height: 48%;
  border-color: rgba(0, 207, 222, 0.32);
  animation: orbit-ring-spin-reverse 30s linear infinite;
}
.subjects-orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
}
.subjects-orbit-core .materias-badge {
  filter: drop-shadow(0 0 20px rgba(0, 207, 222, 0.42));
  transform: scale(1);
  transition:
    filter 280ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.subjects-orbit-core:hover .materias-badge {
  filter:
    drop-shadow(0 0 38px rgba(127, 229, 252, 0.95))
    drop-shadow(0 16px 22px rgba(15, 3, 35, 0.52));
  transform: scale(1.12) translateY(-4px);
}
.subjects-grid {
  position: absolute;
  inset: 0;
  animation: subject-system-orbit 56s linear infinite;
}
.subject-card {
  position: absolute;
  width: max(124px, calc(var(--orbit-h, 780px) * 0.192));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transform: translate(-50%, -50%);
  animation: subject-counter-orbit 56s linear infinite;
}
.subject-card:nth-child(1) {
  top: 12%;
  left: 50%;
}
.subject-card:nth-child(2) {
  top: 25%;
  left: 78%;
}
.subject-card:nth-child(3) {
  top: 56%;
  left: 84%;
}
.subject-card:nth-child(4) {
  top: 84%;
  left: 68%;
}
.subject-card:nth-child(5) {
  top: 84%;
  left: 32%;
}
.subject-card:nth-child(6) {
  top: 56%;
  left: 16%;
}
.subject-card:nth-child(7) {
  top: 25%;
  left: 22%;
}
.subject-icon {
  position: relative;
  isolation: isolate;
  width: calc(var(--orbit-h, 780px) * 0.1667);
  height: calc(var(--orbit-h, 780px) * 0.1667);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: planet-float 4s ease-in-out infinite;
}
.subject-icon::before {
  position: absolute;
  inset: 10%;
  z-index: -1;
  border-radius: 50%;
  content: '';
  background: radial-gradient(
    circle,
    rgba(127, 229, 252, 0.72) 0,
    rgba(160, 105, 221, 0.42) 42%,
    transparent 72%
  );
  filter: blur(14px);
  opacity: 0;
  transform: scale(0.72);
  transition:
    opacity 260ms ease,
    transform 320ms ease;
}
.subject-icon img {
  position: relative;
  z-index: 1;
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 320ms ease;
  will-change: transform, filter;
}
.subject-card:hover .subject-icon img {
  transform: translateY(-16px) scale(1.12);
  filter:
    brightness(1.14)
    saturate(1.12)
    drop-shadow(0 12px 12px rgba(0, 36, 79, 0.28))
    drop-shadow(0 0 18px rgba(127, 229, 252, 0.9));
}
.subject-card:hover .subject-icon::before,
.subject-card.is-selected .subject-icon::before {
  opacity: 1;
  transform: translateY(-10px) scale(1.35);
}
.subject-card.is-selected .subject-icon img {
  transform: translateY(-16px) scale(1.12);
  filter:
    brightness(1.14)
    saturate(1.12)
    drop-shadow(0 12px 12px rgba(0, 36, 79, 0.28))
    drop-shadow(0 0 18px rgba(127, 229, 252, 0.9));
}
.subjects-mobile-carousel {
  display: contents;
}
.subject-card:nth-child(n + 8) {
  display: none;
}
.subject-card:nth-child(2n) .subject-icon {
  animation-delay: -1.3s;
}
.subject-card:nth-child(3n) .subject-icon {
  animation-delay: -2.6s;
}
@keyframes planet-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes subject-system-orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes subject-counter-orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}
@keyframes orbit-ring-spin {
  to {
    transform: translate(-50%, -50%) rotate(352deg);
  }
}
@keyframes orbit-ring-spin-reverse {
  to {
    transform: translate(-50%, -50%) rotate(-368deg);
  }
}
@keyframes orbit-core-glow {
  to {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(1.12);
  }
}
/*
*************************************************************
created     : 2026-09-24
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.2.0
file        : site.css
description : subject-info: al tocar un planeta la órbita se detiene y un
              widget del color del planeta sale hacia fuera de la órbita
              con una introducción breve. En móvil va debajo del carrusel.
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : b61d4e93-2a7f-4c08-9e35-d8f0a1c7b246
*************************************************************
*/
.subject-card {
  cursor: pointer;
}
.subject-card:focus-visible {
  outline: 3px solid #7fe5fc;
  outline-offset: 4px;
  border-radius: 18px;
}
.subjects-orbit.is-paused .subjects-grid,
.subjects-orbit.is-paused .subject-card {
  animation-play-state: paused;
}
/* Foco: con un planeta consultado, ese planeta crece, brilla con su color
   y emite un anillo pulsante; el resto del sistema se atenúa. */
.subject-card,
.subjects-orbit-core,
.subjects-orbit-ring {
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
    filter 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.subjects-orbit.is-paused .subject-card:not(.is-selected) {
  opacity: 0.6;
  filter: saturate(0.55) brightness(0.85);
}
.subjects-orbit.is-paused .subjects-orbit-core,
.subjects-orbit.is-paused .subjects-orbit-ring {
  opacity: 0.6;
  filter: saturate(0.6);
}
/* El brillo central anima su opacidad; se detiene para poder atenuarlo. */
.subjects-orbit::before {
  transition: opacity 0.8s ease;
}
.subjects-orbit.is-paused::before {
  opacity: 0.5;
  animation: none;
}
.subject-card.is-selected {
  z-index: 4;
}
.subjects-orbit .subject-card.is-selected .subject-icon img {
  transform: translateY(-16px) scale(1.2);
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease;
  filter:
    brightness(1.18)
    saturate(1.2)
    drop-shadow(0 12px 14px rgba(0, 36, 79, 0.3))
    drop-shadow(
      0 0 22px var(--planet-accent, rgba(127, 229, 252, 0.9))
    );
}
.subjects-orbit .subject-card.is-selected .subject-icon::before {
  background: radial-gradient(
    circle,
    var(--planet-accent, #7fe5fc) 0,
    color-mix(in srgb, var(--planet-accent, #7fe5fc) 40%, transparent) 42%,
    transparent 72%
  );
  opacity: 0.9;
}
.subject-card.is-selected .subject-icon::after {
  position: absolute;
  inset: 4%;
  z-index: 0;
  border: 2px solid var(--planet-accent, #7fe5fc);
  border-radius: 50%;
  content: '';
  translate: 0 -16px;
  animation: subject-focus-ring 2.8s cubic-bezier(0.2, 0.6, 0.35, 1) 0.3s
    infinite backwards;
  pointer-events: none;
}
.subject-card.is-selected h3 {
  color: var(--planet-accent, #dffaff);
  text-shadow: 0 0 14px
    color-mix(in srgb, var(--planet-accent, #7fe5fc) 70%, transparent);
}
@keyframes subject-focus-ring {
  from {
    opacity: 0.55;
    scale: 1.05;
  }
  to {
    opacity: 0;
    scale: 1.45;
  }
}
@media (prefers-reduced-motion: reduce) {
  .subject-card.is-selected .subject-icon::after {
    animation: none;
    opacity: 0.6;
    scale: 1.2;
  }
}
/* El contenedor ubica el widget y dibuja la conexión con el planeta: una
   línea (::before) y un punto (::after) del color del planeta. La
   tarjeta visible es .subject-info-body. */
.subject-info {
  --accent: #7fe5fc;
  --link: 26px;
  position: absolute;
  z-index: 5;
  width: 280px;
}
.subject-info[hidden] {
  display: none;
}
.subject-info::before,
.subject-info::after {
  position: absolute;
  background: var(--accent);
  content: '';
}
.subject-info::before {
  top: calc(var(--arrow-y, 50%) - 1px);
  width: var(--link);
  height: 2px;
  box-shadow: 0 0 8px var(--accent);
}
.subject-info::after {
  top: calc(var(--arrow-y, 50%) - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}
.subject-info[data-side='right']::before {
  left: calc(var(--link) * -1);
  transform-origin: 0 50%;
}
.subject-info[data-side='right']::after {
  left: calc(var(--link) * -1 - 4px);
}
.subject-info[data-side='left']::before {
  right: calc(var(--link) * -1);
  transform-origin: 100% 50%;
}
.subject-info[data-side='left']::after {
  right: calc(var(--link) * -1 - 4px);
}
.subject-info-body {
  position: relative;
  padding: 16px 20px 18px;
  border: 2px solid var(--accent);
  border-radius: 16px;
  background: #23103b;
  box-shadow:
    0 18px 34px rgba(15, 3, 35, 0.5),
    0 0 22px color-mix(in srgb, var(--accent) 40%, transparent);
}
.subject-info-hook {
  margin: 0 32px 8px 0;
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}
.subject-info-text {
  margin: 0;
  color: #e9e1f5;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
}
.subject-info-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.subject-info-close:hover {
  color: #23103b;
  background: var(--accent);
}
.subject-info-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 1px;
}
/* Entrada en tres tiempos: 1) la línea sale del planeta, 2) la tarjeta
   se despliega desde la línea, 3) el texto aparece enfocándose. Luego el
   borde respira suave mientras está abierta. */
.subject-info.is-open::after {
  animation: subject-info-dot 0.25s ease-out both;
}
.subject-info.is-open::before {
  animation: subject-info-link 0.22s 0.08s ease-out both;
}
.subject-info.is-open .subject-info-body {
  animation:
    subject-info-unfold 0.5s 0.24s cubic-bezier(0.22, 1, 0.36, 1) both,
    subject-info-glow 2.6s 0.9s ease-in-out infinite alternate;
}
.subject-info.is-open .subject-info-hook,
.subject-info.is-open .subject-info-close {
  animation: subject-info-focus 0.45s 0.46s ease-out both;
}
.subject-info.is-open .subject-info-text {
  animation: subject-info-focus 0.45s 0.6s ease-out both;
}
.subject-info[data-side='left'].is-open .subject-info-body {
  animation-name: subject-info-unfold-left, subject-info-glow;
}
@keyframes subject-info-dot {
  from {
    opacity: 0;
    transform: scale(0);
  }
}
@keyframes subject-info-link {
  from {
    transform: scaleX(0);
  }
}
@keyframes subject-info-unfold {
  from {
    clip-path: inset(0 100% 0 0 round 16px);
    transform: translateX(-10px);
  }
  to {
    clip-path: inset(0 0 0 0 round 16px);
  }
}
@keyframes subject-info-unfold-left {
  from {
    clip-path: inset(0 0 0 100% round 16px);
    transform: translateX(10px);
  }
  to {
    clip-path: inset(0 0 0 0 round 16px);
  }
}
@keyframes subject-info-unfold-down {
  from {
    clip-path: inset(0 0 100% 0 round 16px);
    transform: translateY(-8px);
  }
  to {
    clip-path: inset(0 0 0 0 round 16px);
  }
}
@keyframes subject-info-focus {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(6px);
  }
}
@keyframes subject-info-glow {
  to {
    box-shadow:
      0 18px 34px rgba(15, 3, 35, 0.5),
      0 0 34px color-mix(in srgb, var(--accent) 65%, transparent);
  }
}
/* En móvil los widgets flotan sobre el contenido (no lo empujan): si la
   sección creciera, el fondo que la cubre cambiaría de tamaño. */
@media (max-width: 768px) {
  .subject-info {
    top: 0;
    right: 0;
    left: 0;
    width: min(100%, 420px);
    margin: 0 auto;
    scroll-margin: 88px 0 16px;
  }
  .subject-info::before,
  .subject-info::after {
    display: none;
  }
  .subject-info.is-open .subject-info-body {
    animation:
      subject-info-unfold-down 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .subject-info.is-open .subject-info-hook,
  .subject-info.is-open .subject-info-close {
    animation-delay: 0.2s;
  }
  .subject-info.is-open .subject-info-text {
    animation-delay: 0.32s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .subject-info.is-open::before,
  .subject-info.is-open::after,
  .subject-info.is-open .subject-info-body,
  .subject-info.is-open .subject-info-hook,
  .subject-info.is-open .subject-info-text,
  .subject-info.is-open .subject-info-close {
    animation: none;
  }
}
/*
*************************************************************
created     : 2026-09-24
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : ruta-info: al tocar la insignia central la órbita se
              detiene, los planetas se atenúan y bajo la insignia se
              despliega una tarjeta sobre Ruta Intergaláctica con el
              botón de descarga.
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : f4c28a61-7d3e-4b95-a0e8-2b6d9c14e7f3
*************************************************************
*/
.ruta-trigger {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.ruta-trigger:focus-visible {
  outline: 3px solid #7fe5fc;
  outline-offset: 6px;
}
.subjects-orbit-core {
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
    filter 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.subjects-orbit.is-ruta .subjects-orbit-core {
  z-index: 6;
  opacity: 1;
  filter: none;
}
/* Al abrir la tarjeta, la insignia sube la mitad del alto de la tarjeta
   para que el conjunto quede centrado dentro de la órbita. */
@media (min-width: 769px) {
  .subjects-orbit.is-ruta .subjects-orbit-core {
    transform: translate(-50%, calc(-50% - 96px));
  }
}
.subjects-orbit.is-ruta .materias-badge {
  filter:
    drop-shadow(0 0 38px rgba(127, 229, 252, 0.95))
    drop-shadow(0 16px 22px rgba(15, 3, 35, 0.52));
  transform: scale(1.08);
}
.ruta-info {
  --accent: #7fe5fc;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 360px;
  margin-left: -180px;
  text-align: left;
}
.ruta-info[hidden] {
  display: none;
}
.ruta-info .subject-info-close {
  position: absolute;
}
.ruta-info-cta {
  margin-top: 14px;
  color: #fff;
}
.ruta-info.is-open {
  animation:
    subject-info-unfold-down 0.5s cubic-bezier(0.22, 1, 0.36, 1) both,
    subject-info-glow 2.6s 0.7s ease-in-out infinite alternate;
}
.ruta-info.is-open .subject-info-hook,
.ruta-info.is-open .subject-info-close {
  animation: subject-info-focus 0.45s 0.22s ease-out both;
}
.ruta-info.is-open .subject-info-text {
  animation: subject-info-focus 0.45s 0.34s ease-out both;
}
.ruta-info.is-open .ruta-info-cta {
  animation: subject-info-focus 0.45s 0.46s ease-out both;
}
@media (max-width: 768px) {
  .subjects-orbit-core .ruta-trigger {
    pointer-events: auto;
  }
  .ruta-info {
    top: calc(100% + 18px);
    right: 0;
    left: 0;
    width: min(calc(100vw - 48px), 420px);
    margin: 0 auto;
    pointer-events: auto;
    scroll-margin: 88px 0 16px;
    text-align: center;
  }
  /* Texto y botón centrados; el título deja lugar al botón de cerrar. */
  .ruta-info .subject-info-hook {
    padding: 0 24px;
  }
  .ruta-info-cta {
    margin-right: auto;
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ruta-info.is-open,
  .ruta-info.is-open .subject-info-hook,
  .ruta-info.is-open .subject-info-text,
  .ruta-info.is-open .subject-info-close,
  .ruta-info.is-open .ruta-info-cta {
    animation: none;
  }
}
.subject-card h3 {
  color: #fff;
  font-size: 16px;
  transition:
    color 260ms ease,
    text-shadow 260ms ease;
}
.subject-card:hover h3 {
  color: #dffaff;
  text-shadow: 0 0 14px rgba(127, 229, 252, 0.9);
}

/*
*************************************************************
created     : 2026-09-24
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 2.0.0
file        : site.css
description : game-level-map: los seis pasos como mapa de niveles; una
              línea punteada horizontal une las medallas y el texto va
              debajo. En pantallas angostas pasa a lista vertical.
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 0d6c3b8e-5a1f-4e27-b9d4-7f2a61c8e053
*************************************************************
*/
.game-map {
  --map-medal: 72px;
  --map-gap: 20px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--map-gap);
}
.game-map-trail {
  position: absolute;
  top: calc(var(--map-medal) / 2 - 1px);
  left: calc((100% - 5 * var(--map-gap)) / 12);
  z-index: 0;
  width: calc(100% - (100% - 5 * var(--map-gap)) / 6);
  height: 2px;
  overflow: visible;
}
.game-map-trail path {
  fill: none;
  stroke: #7fe5fc;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 5 13;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transition: opacity 1s ease;
}
.game-map.is-visible .game-map-trail path {
  opacity: 0.45;
  transition-delay: 0.2s;
  animation: game-map-flow 0.9s linear infinite;
}
@keyframes game-map-flow {
  to {
    stroke-dashoffset: -18;
  }
}
.game-map-item {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.game-map.is-visible .game-map-item {
  opacity: 1;
  transform: translateY(0);
}
.game-map-item:nth-child(3) { transition-delay: 80ms; }
.game-map-item:nth-child(4) { transition-delay: 160ms; }
.game-map-item:nth-child(5) { transition-delay: 240ms; }
.game-map-item:nth-child(6) { transition-delay: 320ms; }
.game-map-item:nth-child(7) { transition-delay: 400ms; }
.game-map-item--cyan {
  --map-accent: #7fe5fc;
}
.game-map-item--yellow {
  --map-accent: #ffd166;
}
.game-map-item--purple {
  --map-accent: #c79bff;
}
.game-map-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.game-map-medal {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--map-medal);
  height: var(--map-medal);
  border-radius: 999px;
  border: 3px solid
    color-mix(in srgb, var(--map-accent, #7fe5fc) 55%, #4e2a67);
  background: color-mix(in srgb, var(--map-accent, #7fe5fc) 24%, #4e2a67);
  color: var(--map-accent, #7fe5fc);
  box-shadow: 0 0 0 6px var(--purple-700);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.game-map-card:hover .game-map-medal {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 6px var(--purple-700),
    0 0 22px color-mix(in srgb, var(--map-accent, #7fe5fc) 55%, transparent);
}
.game-map-medal svg {
  width: 30px;
  height: 30px;
}
.game-map-num {
  position: absolute;
  top: -6px;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid #4e2a67;
  background: var(--map-accent, #7fe5fc);
  color: #23103b;
  font-size: 12px;
  font-weight: 900;
}
.game-map-copy h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.2;
  color: #fff;
}
.game-map-copy p {
  max-width: 22ch;
  margin: 0 auto;
  color: #d8cbe8;
  font-size: 14px;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .game-map {
    --map-medal: 56px;
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 520px;
    margin: 0 auto;
  }
  .game-map-trail {
    display: none;
  }
  .game-map::before {
    position: absolute;
    top: calc(var(--map-medal) / 2);
    bottom: calc(var(--map-medal) / 2);
    left: calc(var(--map-medal) / 2 - 1px);
    border-left: 2px dashed rgba(127, 229, 252, 0.45);
    content: '';
  }
  .game-map-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    text-align: left;
  }
  .game-map-copy {
    padding-top: 4px;
  }
  .game-map-copy p {
    max-width: none;
    margin: 0;
  }
  .game-map-medal svg {
    width: 24px;
    height: 24px;
  }
}
/*
*************************************************************
created     : 2026-09-24
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : game-map-delivery: con JS y sin movimiento reducido, los
              pasos se muestran de uno en uno; el cohete de Chanín trae
              cada tarjeta colgada, la suelta y se va. Sin JS queda la
              fila de medallas de game-level-map.
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : e2a7c519-8d3b-4f60-a1c4-6b9e0d25f873
*************************************************************
*/
.game-map.game-map--delivery {
  --map-medal: 64px;
  --rocket-width: 170px;
  --rocket-anchor-x: 0.757;
  --rocket-anchor-y: 0.58;
  --tether-length: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  max-width: none;
  padding-top: calc(
    var(--rocket-width) * var(--rocket-anchor-y) + var(--tether-length)
  );
}
/* El cohete entra y sale por el borde de la ventana: la sección recorta en
   horizontal para que el vuelo no genere scroll lateral. */
#gamificacion:has(.game-map--delivery) {
  overflow-x: clip;
}
.game-map.game-map--delivery::before,
.game-map--delivery .game-map-trail {
  display: none;
}
.game-map.game-map--delivery .game-map-item {
  grid-area: 1 / 1;
  width: min(540px, 100%);
  opacity: 0;
  visibility: hidden;
  transform: none;
  transform-origin: 50% 0;
  transition: none;
}
.game-map.game-map--delivery .game-map-item.is-active {
  opacity: 1;
  visibility: visible;
}
.game-map--delivery .game-map-card {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 22px 26px;
  border-radius: 22px;
  border: 1px solid
    color-mix(in srgb, var(--map-accent, #7fe5fc) 45%, transparent);
  background: linear-gradient(
    150deg,
    color-mix(in srgb, var(--map-accent, #7fe5fc) 18%, #4e2a67),
    #4e2a67
  );
  box-shadow: 0 16px 34px rgba(15, 4, 32, 0.4);
  text-align: left;
}
.game-map--delivery .game-map-medal {
  box-shadow: none;
}
.game-map--delivery .game-map-card:hover .game-map-medal {
  transform: none;
  box-shadow: none;
}
.game-map--delivery .game-map-copy h3 {
  font-size: 20px;
}
.game-map--delivery .game-map-copy p {
  max-width: none;
  margin: 0;
  font-size: 15px;
}
.game-map-carrier {
  position: absolute;
  top: 0;
  left: calc(50% - var(--rocket-width) * var(--rocket-anchor-x));
  z-index: 2;
  width: var(--rocket-width);
  pointer-events: none;
  visibility: hidden;
}
.game-map-carrier img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(15, 4, 32, 0.35));
}
.game-map-tether {
  position: absolute;
  top: calc(var(--rocket-width) * var(--rocket-anchor-y) - 4px);
  left: calc(var(--rocket-anchor-x) * 100% - 1px);
  width: 2px;
  height: calc(var(--tether-length) + 6px);
  background: repeating-linear-gradient(
    to bottom,
    #7fe5fc 0 4px,
    transparent 4px 8px
  );
  transform-origin: 50% 0;
}
.game-map-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 22px;
}
.game-map-step-button {
  display: grid;
  /* Área táctil de 32x44 (antes 28x28) sin mover el punto visible: el
     margen negativo compensa el alto extra. */
  width: 32px;
  height: 44px;
  margin: -8px 0;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.game-map-step-button::after {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  content: '';
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}
.game-map-step-button[aria-current='step']::after {
  width: 24px;
  background: #7fe5fc;
}
.game-map-step-button:hover::after {
  background: rgba(255, 255, 255, 0.6);
}
.game-map-pause {
  display: grid;
  width: 40px;
  height: 40px;
  margin: -4px 0 -4px 8px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}
.game-map-pause svg {
  width: 14px;
  height: 14px;
}
.game-map-step-button:focus-visible,
.game-map-pause:focus-visible {
  outline: 3px solid #7fe5fc;
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .game-map.game-map--delivery {
    --rocket-width: 124px;
    --tether-length: 22px;
  }
  .game-map--delivery .game-map-card {
    gap: 16px;
    padding: 18px;
  }
}
.game-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--game-accent);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition:
    gap 0.2s ease,
    color 0.2s ease;
}
.game-card-link svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.2s ease;
}
.game-card-link:hover,
.game-card-link:focus-visible {
  gap: 10px;
  color: #fff;
}
.game-card-link:hover svg,
.game-card-link:focus-visible svg {
  transform: translateX(2px);
}
.game-card-link:focus-visible {
  outline: 3px solid #7fe5fc;
  outline-offset: 3px;
}

#gamificacion {
  position: relative;
  margin-top: -3px;
  background:
    linear-gradient(
      180deg,
      var(--purple-700) 0,
      var(--purple-700) 72px,
      transparent 170px,
      transparent calc(100% - 170px),
      var(--purple-700) calc(100% - 72px),
      var(--purple-700) 100%
    ),
    radial-gradient(circle at 12% 32%, rgba(127, 229, 252, 0.1), transparent 25%),
    radial-gradient(circle at 88% 78%, rgba(199, 155, 255, 0.12), transparent 28%),
    var(--purple-700);
}
#gamificacion .section-inner > .lead {
  margin-bottom: 52px;
}
.game-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}
.game-cta p {
  margin: 0 0 18px;
  color: #d8cbe8;
  font-size: 15px;
  text-align: center;
}
.game-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}



/*
*************************************************************
created     : 2026-07-30
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : coverage: mapa, tooltip y estadísticas geográficas
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : a97b4019-ba59-4215-9a02-d5726a07a864
*************************************************************
*/
.coverage-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.gt-map {
  position: relative;
  width: 100%;
  height: 480px;
  background: transparent;
  border-radius: 24px;
  box-shadow: none;
  overflow: visible;
}
.gt-map svg {
  width: 100%;
  height: 100%;
  display: block;
}
.gt-map path.dept {
  stroke: #fff;
  stroke-width: 1.8;
  cursor: pointer;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition:
    fill 0.25s ease,
    filter 0.25s ease,
    transform 0.25s ease;
}
.gt-map.map-is-visible path.dept:not(.entry-complete) {
  animation: map-department-arrive 0.55s ease-out forwards;
  animation-delay: var(--map-enter-delay);
}
.gt-map.map-is-visible path.dept.entry-complete {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.gt-map.map-is-leaving path.dept {
  animation: map-department-leave 0.32s ease-in forwards;
  animation-delay: var(--map-exit-delay);
}
.gt-map path.dept {
  fill: #c9d3dc;
}
.gt-map path.dept:hover,
.gt-map path.dept.active,
.gt-map path.dept.selected {
  fill: var(--dept-color, #7fc9a0);
}
.gt-map path.dept:hover,
.gt-map path.dept.active {
  transform: translateY(-5px) scale(1.035);
  filter: brightness(1.12)
    saturate(1.12)
    drop-shadow(0 9px 7px rgba(0, 36, 79, 0.28));
}
.gt-map path.dept:focus {
  outline: none;
  stroke: var(--navy-800);
  stroke-width: 3;
}
.gt-map.map-is-visible path.dept.selected {
  stroke: var(--navy-800);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  paint-order: stroke fill;
  vector-effect: non-scaling-stroke;
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: map-selected-pulse 2.4s ease-in-out infinite;
}
@keyframes map-department-arrive {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes map-department-leave {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-10px) scale(0.94);
  }
}
@keyframes map-selected-pulse {
  0%,
  100% {
    filter: drop-shadow(0 4px 5px rgba(0, 36, 79, 0.2));
  }
  50% {
    filter: drop-shadow(0 8px 10px rgba(0, 169, 224, 0.45));
  }
}
.gt-map-tooltip {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -100%) scale(0.85);
  transition:
    opacity 0.15s ease,
    transform 0.18s ease;
  background: transparent;
  box-shadow: none;
  padding: 0;
  text-align: center;
  z-index: 5;
  white-space: nowrap;
  width: 116px;
}
.gt-map-tooltip.show {
  opacity: 1;
  transform: translate(-50%, -100%) scale(1);
}
.gt-map-pin {
  position: relative;
  width: 116px;
  transform-origin: bottom center;
}
.gt-map-pin::after {
  position: absolute;
  right: 28px;
  bottom: -6px;
  left: 28px;
  height: 12px;
  border: 3px solid var(--marker-color, #00a9e0);
  border-radius: 50%;
  content: '';
  opacity: 0;
}
.gt-map-pin > img {
  width: 100%;
  display: block;
  filter:
    drop-shadow(2px 0 0 var(--marker-color, #00a9e0))
    drop-shadow(-2px 0 0 var(--marker-color, #00a9e0))
    drop-shadow(0 2px 0 var(--marker-color, #00a9e0))
    drop-shadow(0 -2px 0 var(--marker-color, #00a9e0))
    drop-shadow(0 11px 10px rgba(0, 36, 79, 0.3));
}
.gt-map-pin-text {
  position: absolute;
  top: 19%;
  right: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.gt-map-tooltip.show .gt-map-pin {
  animation: map-pin-preview 0.48s
    cubic-bezier(0.22, 1, 0.36, 1) both;
}
.gt-map-tooltip.show .gt-map-pin-text {
  animation: map-pin-content 0.28s ease-out 0.2s both;
}
.gt-map-tooltip.show .gt-map-pin::after {
  animation: map-pin-ripple 1.4s ease-out 0.35s infinite;
}
.gt-map-tooltip strong {
  display: block;
  max-width: 92px;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.1;
  text-overflow: ellipsis;
  color: var(--navy-800);
  font-weight: 800;
}
.gt-map-tooltip span {
  display: block;
  margin-top: 2px;
  font-size: 20px;
  font-weight: 900;
  color: var(--navy-800);
  line-height: 1;
  transition: font-size 0.18s ease;
}
.gt-map-tooltip.show span {
  font-size: 24px;
}
.gt-map-tooltip small {
  margin-top: 2px;
  color: var(--navy-700);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}
@keyframes map-pin-preview {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.18, 0.08);
  }
  55% {
    opacity: 1;
    transform: translateY(-5px) scale(0.9, 1.08);
  }
  78% {
    transform: translateY(2px) scale(1.04, 0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes map-pin-content {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes map-pin-ripple {
  0% {
    opacity: 0.72;
    transform: scale(0.45);
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

.cobertura-section {
  position: relative;
  overflow: visible;
  margin-top: -3px;
  background: url('assets/cobertura/fondo.png') center/cover no-repeat;
  padding: 88px 40px;
}
.cobertura-cloud-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}
.cobertura-cloud-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}
.cobertura-section .section-inner {
  position: relative;
  z-index: 2;
}
.coverage-national-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
  width: min(100%, 780px);
  margin: 28px auto 34px;
}
.coverage-national-total {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 132px;
  padding: 18px 22px;
  border: 1px solid rgba(0, 54, 101, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 7px 0 rgba(0, 54, 101, 0.1),
    0 16px 34px rgba(0, 36, 79, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.coverage-national-totals:not(.is-ready) .coverage-national-total {
  opacity: 0;
  transform: translateY(22px) scale(0.94);
}
.coverage-national-totals.is-ready .coverage-national-total {
  animation: coverage-total-arrive 0.65s
    cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.coverage-national-totals.is-ready .coverage-national-total:nth-child(2) {
  animation-delay: 0.14s;
}
.coverage-national-total:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 0 rgba(0, 54, 101, 0.1),
    0 20px 38px rgba(0, 36, 79, 0.14);
}
.coverage-national-icon {
  display: grid;
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  place-items: center;
  border-radius: 24px;
}
.coverage-national-icon-institutions {
  background: linear-gradient(145deg, #e5f8fb, #bdeef4);
}
.coverage-national-icon-explorers {
  background: linear-gradient(145deg, #f1e7f7, #dfc8ed);
}
.coverage-national-icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.coverage-national-copy {
  min-width: 0;
}
.coverage-national-copy span {
  display: block;
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.coverage-national-copy strong {
  display: block;
  margin-top: 5px;
  color: var(--navy-800);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1;
}
.coverage-national-copy p {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.3;
}
@keyframes coverage-total-arrive {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.coverage-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.coverage-stat {
  background: #fff;
  border-radius: 20px;
  padding: 10px 14px;
  box-shadow: 0 6px 0 var(--surface-card-shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.coverage-icon {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  object-fit: contain;
}
.coverage-stat span {
  display: block;
  font-size: 21px;
  font-weight: 900;
  color: var(--action-primary-fill);
}
.coverage-stat p {
  font-size: 15px;
  color: var(--navy-700);
  margin-top: 4px;
}
.coverage-note {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/*
*************************************************************
created     : 2026-07-30
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : characters-and-community: personajes y comunidad
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 38b11c62-2766-4819-910a-651dcfc68c96
*************************************************************
*/
.char-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.char-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 0 var(--surface-card-shadow);
  border-top: 6px solid var(--char-color);
  opacity: 0;
  transform: translateY(30px) scale(0.92);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.char-card.char-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.char-portrait {
  width: 100%;
  height: 160px;
  margin-bottom: 14px;
}
.char-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
/*
*************************************************************
created     : 2026-09-23
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.1.0
file        : site.css
description : character-wave: retrato por capas encuadrado como busto;
              el escenario conserva la proporción 612/792 de las capas
              para que el giro del brazo caiga sobre el hombro. Encuadre
              y hombro llegan por personaje como variables CSS.
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 44e06fb1-74f1-462a-a0e7-d8359e9c3370
*************************************************************
*/
.char-portrait--waving {
  position: relative;
  overflow: hidden;
}
.char-wave-stage {
  position: absolute;
  top: 50%;
  left: var(--wave-left);
  width: var(--wave-width);
  aspect-ratio: var(--wave-aspect, 612 / 792);
  /* Reproduce el encuadre del busto anterior (object-fit: contain): el
     margen en % se calcula sobre el ancho, igual que aquella escala, y el
     recorte replica los bordes de aquella imagen. Los valores de cada
     personaje los calcula tools/character_wave_framing.py. */
  margin-top: var(--wave-shift);
  clip-path: var(--wave-clip);
}
.char-wave-stage img {
  position: absolute;
  inset: 0;
}
.char-wave-arm {
  transform-origin: var(--wave-pivot);
}
.char-element {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--char-color);
  /* Tono más profundo del color del personaje para que el texto blanco
     se lea (los colores claros daban entre 2.4 y 3.1:1). */
  background: color-mix(in srgb, var(--char-color) 65%, #000);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.char-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}
.char-meaning {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 10px;
}
.char-ability {
  font-size: 14px;
  color: var(--navy-700);
  line-height: 1.4;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
/*
*************************************************************
created     : 2026-09-24
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : testimonials-rotation: grupos de 3 testimonios superpuestos;
              las 3 tarjetas del grupo activo aparecen a la vez después de
              que el grupo anterior se desvanece. Las tarjetas de un grupo
              igualan la altura de la más larga; el espacio mide lo del
              grupo más alto y no cambia, así la sección y su fondo no se
              mueven al rotar.
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 8d4b2e71-6c9a-4f05-b3e8-1a7c0f59d264
*************************************************************
*/
.testi-grid.testi-grid--rotating {
  position: relative;
  display: block;
}
/* Cada grupo va centrado verticalmente en el espacio fijo. */
.testi-page {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  translate: 0 -50%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  visibility: hidden;
  pointer-events: none;
}
.testi-page.is-active {
  visibility: visible;
  pointer-events: auto;
}
.testi-page .testi-card {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.testi-page.is-active .testi-card {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s ease 0.45s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s;
}
/* El grupo que sale sigue visible mientras se desvanece. */
.testi-page:not(.is-active) {
  transition: visibility 0s linear 0.5s;
}
/* Página de todos los testimonios: sin rotación, todos en cuadrícula. */
.testimonials-all {
  align-items: stretch;
  margin-bottom: 40px;
}
/* Página de testimonios: el mismo cielo celeste de la sección del inicio,
   así las burbujas blancas resaltan en lugar de perderse en el fondo. */
.form-page-section.testimonials-page-section {
  background:
    radial-gradient(
      ellipse 70% 40% at 85% 8%,
      rgba(255, 255, 255, 0.7),
      transparent 70%
    ),
    linear-gradient(180deg, #eefbff 0%, #c9f2fc 320px, #b4ebf8 100%);
}
.testimonials-page-section .testi-card {
  filter: drop-shadow(0 10px 18px rgba(0, 60, 110, 0.12));
}
.page-footer-wave.page-footer-wave--sky {
  background: #b4ebf8;
}
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 18px;
}
.testi-dots button {
  display: grid;
  /* Área táctil de 32x44 (antes 28x28) sin mover el punto visible: el
     margen negativo compensa el alto extra. */
  width: 32px;
  height: 44px;
  margin: -8px 0;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.testi-dots button::after {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 36, 79, 0.25);
  content: '';
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}
.testi-dots button[aria-current='true']::after {
  width: 24px;
  background: var(--navy-800);
}
.testi-dots button:focus-visible {
  outline: 3px solid var(--cyan-600);
  outline-offset: 2px;
}
@media (max-width: 980px) {
  .testi-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .testi-page {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .testi-page .testi-card,
  .testi-page.is-active .testi-card {
    transition: opacity 0.2s ease;
    transform: none;
  }
}
.testimonios-section {
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: visible;
  background-color: #f7f4fb;
}
/* El título queda sobre las nubes claras de la parte baja de la
   transición (no sobre las montañas) sin dejar un hueco grande. Con
   .section delante para ganarle al padding: 56px de .section en tablet. */
.section.testimonios-section {
  padding-top: clamp(200px, 15.5vw, 300px);
}
.testimonios-transition {
  position: absolute;
  top: clamp(-82px, -4.5vw, -54px);
  left: 0;
  z-index: 1;
  width: 100%;
  height: clamp(300px, 28vw, 470px);
  object-fit: fill;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 16%,
    #000 100%
  );
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 100%);
}
/* En el celular la imagen no se estira: conserva su proporción (recorta
   a los lados) y el título baja a la zona clara de las nubes, fuera de
   las montañas. */
@media (max-width: 600px) {
  /* .section en celular fija padding: 56px; aquí debe ganar. */
  .section.testimonios-section {
    padding-top: 200px;
    padding-bottom: 150px;
  }
  .testimonios-transition {
    height: 240px;
    object-fit: cover;
    object-position: center top;
  }
}
.testimonios-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
/*
*************************************************************
created     : 2026-09-23
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : footer-edge-transition: el fondo de testimonios termina en
              una onda azul marino del mismo tono que el footer; se ancla
              abajo para que la onda nunca quede recortada. El relleno
              inferior deja la onda (hasta ~80px) libre del botón.
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 6b1f0d2e-4c7a-4f2b-9e51-3a8d7c0b64f9
*************************************************************
*/
.testimonios-bg {
  object-position: center bottom;
}
.section.testimonios-section {
  padding-bottom: 128px;
}
.testimonios-section .section-inner {
  position: relative;
  z-index: 2;
}
.testi-card {
  background: url('assets/testimonios/dialogue.png') center/100% 100% no-repeat;
  box-shadow: none;
  border-radius: 0;
  padding: 32px 32px 56px;
}
.testi-card p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--navy-700);
}
.testi-card footer {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-800);
}

.testi-submit-form {
  max-width: 640px;
  margin: 40px auto 0;
}
.testi-submit-form h3 {
  margin: 0;
  color: var(--navy-800);
}
.testi-submit-hint {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--text-muted);
}
.form-error {
  display: none;
  color: #c0392b;
  font-weight: 700;
}

/*
 *************************************************************
 created     : 2026-09-09
 author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
 version     : 1.0.0
 file        : site.css
 description : testimonial-cta: acceso al formulario externo de testimonios
 package     : Explorax-app
 Copyright   : (R) 2026 Universidad del Valle de Guatemala
 id          : 3f2b6d18-4c7a-4e91-9b0d-6a1e2c5f8a44
 *************************************************************
*/
.testi-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 640px;
  margin: 40px auto 0;
  text-align: center;
}
.testi-cta-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy-700);
}
/* En el celular "Ver todos los testimonios" y "Comparte tu experiencia"
   miden lo mismo: todo el ancho y la misma altura. */
@media (max-width: 600px) {
  .testi-cta {
    align-items: stretch;
  }
  .testi-cta .btn,
  .testimonios-section .community-more {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
  }
}

.testimonial-page-inner {
  max-width: 720px;
}
.testimonial-page-heading {
  text-align: center;
}
.testimonial-page-heading h1 {
  margin: 12px 0 16px;
  color: var(--navy-800);
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.05;
}
.testimonial-page-heading .lead {
  margin: 0 auto;
  max-width: 560px;
}
.testi-submit-back {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 700;
}
.testi-submit-back a {
  /* Área táctil de 44px de alto aunque el texto sea pequeño. */
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--link-color);
}

.maestro-section {
  position: relative;
  overflow: visible;
  margin: 40px -40px -88px;
  padding: 56px 40px;
}
.maestro-transition {
  position: absolute;
  top: clamp(-150px, -9vw, -96px);
  left: 0;
  z-index: 1;
  width: 100%;
  height: clamp(190px, 18vw, 300px);
  object-fit: fill;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 76%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 76%,
    transparent 100%
  );
}
.maestro-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  z-index: 0;
  pointer-events: none;
}
.maestro-section .section-inner {
  position: relative;
  z-index: 2;
}
.maestro-section h2,
.maestro-section .lead,
.maestro-section .sub-h {
  color: #fff;
}
.maestro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}
.maestro-months-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.maestro-months-scroll {
  flex: 1;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: auto;
  scrollbar-width: none;
  padding-bottom: 10px;
}
.maestro-months-scroll::-webkit-scrollbar {
  display: none;
}
.maestro-months-scroll .maestro-card {
  flex-shrink: 0;
}
.maestro-scroll-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}
.maestro-scroll-arrow img {
  width: 100%;
  height: 100%;
  display: block;
}
.maestro-scroll-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.maestro-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 6px 0 var(--surface-card-shadow);
  position: relative;
}
.maestro-card-year {
  padding-top: 40px;
  box-shadow: 0 8px 0 var(--gold-600, #d4a017);
}
.maestro-badge {
  display: inline-block;
  background: #40b900;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.maestro-photo {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
}
.maestro-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}
.maestro-card p {
  font-size: 14px;
  color: var(--navy-700);
}
.maestro-quote {
  font-style: italic;
  margin-top: 10px;
  font-size: 14px;
}
/*
*************************************************************
created     : 2026-09-30
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : maestro-month-cards: tarjetas del Maestro del mes con una
              medalla (foto en un disco dorado con dos listones), el mes en
              una pastilla y la tarjeta como vitrina de vidrio translúcido
              sobre el fondo azul. El carrusel muestra 1, 2 o 3
              tarjetas completas según el ancho disponible (consultas de
              contenedor) y se detiene en cada una: nunca queda una
              tarjeta cortada.
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 908852fa-af4d-4ccc-a8b0-28d062411d71
*************************************************************
*/
.maestro-months-row {
  min-width: 0;
}
/* En escritorio, las tarjetas quedan a la altura del trofeo: centradas
   respecto a la columna del ganador. */
@media (min-width: 981px) {
  .maestro-grid > .maestro-months-row {
    align-self: center;
    /* Sube el centro ~18px: la columna incluye nombre y cita debajo del
       trofeo, y aquí se busca el centro de la copa con su isla. */
    margin-bottom: 36px;
  }
}
.maestro-months-scroll {
  --maestro-per-view: 1;
  --maestro-gap: 20px;
  min-width: 0;
  gap: var(--maestro-gap);
  /* Abajo deja ver la sombra de las tarjetas. */
  padding: 4px 0 30px;
  container-type: inline-size;
  scroll-snap-type: x mandatory;
}
@container (min-width: 460px) {
  .maestro-months-scroll > .maestro-card {
    --maestro-per-view: 2;
  }
}
@container (min-width: 820px) {
  .maestro-months-scroll > .maestro-card {
    --maestro-per-view: 3;
  }
}
.maestro-months-scroll > .maestro-card {
  display: flex;
  width: calc(
    (100cqi - (var(--maestro-per-view) - 1) * var(--maestro-gap)) /
      var(--maestro-per-view)
  );
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  padding: 0 18px 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  color: #fff;
  /* Vitrina de vidrio: translúcida y en degradado (más clara arriba, casi
     transparente abajo), con un reflejo diagonal suave y un desenfoque
     leve del bosque que queda detrás. */
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 45%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.07) 55%,
      rgba(255, 255, 255, 0.02) 100%
    );
  /* Sombra corta y suave pegada a la tarjeta; la sombra en el "piso" la
     pone ::after. Ambas terminan antes del borde del carrusel, así no se
     recortan en línea recta ni se juntan con la tarjeta vecina. */
  box-shadow: 0 6px 14px rgba(0, 3, 18, 0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  text-align: center;
  scroll-snap-align: start;
}
/* Al desplazarse, la tarjeta que entra crece y gana opacidad y la que
   sale se encoge y se desvanece (animación ligada a su posición en el
   carrusel; si el navegador no la soporta, simplemente no se anima). */
@supports (animation-timeline: view()) {
  .maestro-months-scroll > .maestro-card {
    animation:
      maestro-card-in linear both,
      maestro-card-out linear both;
    animation-range: entry, exit;
    animation-timeline: view(inline), view(inline);
  }
}
@keyframes maestro-card-in {
  from {
    opacity: 0.2;
    scale: 0.86;
  }
}
@keyframes maestro-card-out {
  to {
    opacity: 0.2;
    scale: 0.86;
  }
}
@media (prefers-reduced-motion: reduce) {
  .maestro-months-scroll > .maestro-card {
    animation: none;
  }
}
/* Sombra bajo toda la tarjeta, de borde a borde: oscura junto a la
   tarjeta y se desvanece hacia abajo (degradado + desenfoque leve). */
.maestro-months-scroll > .maestro-card::after {
  position: absolute;
  right: 6px;
  bottom: -20px;
  left: 6px;
  height: 20px;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 3, 18, 0.5) 0%,
    rgba(0, 3, 18, 0.18) 55%,
    transparent 100%
  );
  content: '';
  filter: blur(3px);
  pointer-events: none;
}
.maestro-medal {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Dos listones (rojo y dorado) que cuelgan del borde de la tarjeta. */
.maestro-medal-ribbons {
  display: flex;
  height: 38px;
  gap: 5px;
}
.maestro-medal-ribbons i {
  width: 20px;
  height: 100%;
  background: #e84a5f;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
}
.maestro-medal-ribbons i + i {
  background: #ffc928;
}
.maestro-medal-disc {
  width: 124px;
  height: 124px;
  margin-top: -6px;
  padding: 7px;
  border-radius: 50%;
  background: conic-gradient(
    #ffe27a,
    #f5a300,
    #ffd84a,
    #e08400,
    #ffe27a,
    #f5a300,
    #ffe27a
  );
  box-shadow:
    0 0 0 3px rgba(255, 216, 74, 0.25),
    0 0 26px rgba(255, 201, 40, 0.45);
}
.maestro-months-scroll .maestro-photo {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  margin: 0;
  border: 3px solid #fff3c4;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #0e6f8f 0%, #1686d6 100%);
}
.maestro-photo--initials {
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}
.maestro-months-scroll .maestro-badge {
  margin: 12px 0 0;
  padding: 4px 14px;
  border-radius: 999px;
  color: #0a2a66;
  background: #ffd84a;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.maestro-months-scroll .maestro-card h3 {
  margin: 10px 0 2px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}
.maestro-months-scroll .maestro-school {
  margin: 0;
  color: #bfe3ff;
  font-size: 13px;
}
.maestro-months-scroll .maestro-quote {
  margin: 10px 0 0;
  color: #e6f4ff;
  font-size: 13.5px;
  line-height: 1.45;
}
/*
*************************************************************
created     : 2026-09-24
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.1.0
file        : site.css
description : maestro-trophy: el Maestro Estrella del año aparece dentro de
              la copa de un trofeo dorado sobre una isla flotante, con
              destellos; una etiqueta en la isla muestra el año. La foto se
              recorta en círculo, así cualquier formato encaja igual.
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 5b2e8f19-7c4a-4d63-a0b9-e1f6c3d8a472
*************************************************************
*/
.maestro-trophy {
  position: relative;
  width: 100%;
  max-width: 360px;
  color: #fff;
  text-align: center;
}
.maestro-trophy-kicker {
  margin: 0;
  color: #ffd84a;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.1;
  text-shadow:
    0 3px 0 #b86e00,
    0 8px 18px rgba(0, 15, 56, 0.45);
}
.maestro-trophy-stage {
  position: relative;
  aspect-ratio: 1 / 1.08;
  margin-top: 4px;
}
.trophy-float {
  position: absolute;
  right: 4%;
  bottom: 0;
  left: 4%;
  animation: trophy-bob 5s ease-in-out infinite;
}
.trophy-island {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 18px rgba(0, 15, 56, 0.45));
}
.trophy {
  position: absolute;
  /* La base se apoya en el césped (la parte superior de la isla). */
  bottom: 72%;
  left: 50%;
  width: 70%;
  translate: -50% 0;
}
.trophy-cup {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 10px rgba(0, 15, 56, 0.35));
}
/* Centrada en la copa del SVG (círculo de 80 en un lienzo de 240). */
.trophy-photo {
  position: absolute;
  top: 17.5%;
  left: 50%;
  width: 33.3%;
  aspect-ratio: 1;
  border: 4px solid #ffe27a;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow:
    0 0 0 3px #e89400,
    0 0 26px rgba(255, 216, 74, 0.8);
  translate: -50% 0;
}
.trophy-plaque {
  position: absolute;
  bottom: 22%;
  left: 50%;
  margin: 0;
  padding: 4px 16px;
  border-radius: 10px;
  color: var(--navy-900, #000f38);
  background: #fff;
  box-shadow: 0 4px 0 #b9c7dc;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.2;
  translate: -50% 0;
}
.trophy-plaque:has(.trophy-year:empty) {
  display: none;
}
.trophy-year {
  font-weight: 900;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.trophy-sparkle {
  position: absolute;
  width: 7%;
  animation: trophy-twinkle 2.4s ease-in-out infinite;
}
.trophy-sparkle--1 {
  top: 18%;
  left: 24%;
}
.trophy-sparkle--2 {
  top: 12%;
  right: 26%;
  width: 5%;
  animation-delay: -0.8s;
}
.trophy-sparkle--3 {
  top: 34%;
  right: 16%;
  width: 6%;
  animation-delay: -1.6s;
}
.trophy-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.maestro-trophy .carousel-name {
  margin: 14px 0 4px;
  color: #fff;
  font-size: 22px;
}
.maestro-trophy .carousel-school {
  margin: 0;
  color: #d7ecff;
  font-size: 14px;
}
.maestro-trophy .maestro-quote {
  max-width: 32ch;
  margin: 10px auto 0;
  color: #fff;
  font-size: 15px;
}
.maestro-trophy .carousel-dots span {
  background: rgba(255, 255, 255, 0.35);
}
.maestro-trophy .carousel-dots span.active {
  background: #ffd84a;
}
/* Al cambiar de ganador la foto aparece con un destello en la copa. */
.maestro-trophy.is-revealing .trophy-photo {
  animation: trophy-photo-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.maestro-trophy.is-revealing .carousel-name,
.maestro-trophy.is-revealing .carousel-school,
.maestro-trophy.is-revealing .maestro-quote {
  animation: trophy-text-in 0.5s 0.15s ease-out backwards;
}
@keyframes trophy-bob {
  50% {
    translate: 0 -8px;
  }
}
@keyframes trophy-twinkle {
  0%,
  100% {
    opacity: 0.2;
    scale: 0.6;
  }
  50% {
    opacity: 1;
    scale: 1.1;
  }
}
@keyframes trophy-photo-in {
  from {
    opacity: 0;
    scale: 0.4;
    filter: brightness(2.2);
  }
}
@keyframes trophy-text-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@media (max-width: 980px) {
  .maestro-trophy {
    margin: 0 auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .trophy-float,
  .trophy-sparkle,
  .maestro-trophy.is-revealing .trophy-photo,
  .maestro-trophy.is-revealing .carousel-name,
  .maestro-trophy.is-revealing .carousel-school,
  .maestro-trophy.is-revealing .maestro-quote {
    animation: none;
  }
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.carousel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--slate-200);
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}
.carousel-dots span.active {
  background: #40b900;
  transform: scale(1.3);
}

.sub-h {
  font-size: 20px;
  margin: 0 0 20px;
  color: var(--navy-800);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.event-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 6px 0 var(--surface-card-shadow);
}
.event-date {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--action-primary-fill);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 var(--action-primary-shadow);
}
.event-date span {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}
.event-date em {
  font-size: 12px;
  font-style: normal;
  text-transform: uppercase;
  font-weight: 700;
}
.event-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
}
.event-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.event-desc {
  color: var(--navy-700) !important;
}
/*
*************************************************************
created     : 2026-09-24
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 2.0.0
file        : site.css
description : community-gallery: cuadrícula fija de fotos (inicio y
              gallery.html) que se amplían con GLightbox, enlaces "Ver
              más", filtros por año, mes y evento, e historial de eventos.
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 2c7e91d4-5a3b-4f08-b6e1-9d0f3a8c52e7
*************************************************************
*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gallery-grid--full {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: var(--slate-100, #eef2f6);
  box-shadow: 0 8px 20px rgba(0, 36, 79, 0.1);
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item::after {
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E")
      center / 40px no-repeat,
    rgba(0, 36, 79, 0.35);
  content: '';
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
}
.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}
.gallery-item:focus-visible {
  outline: 3px solid var(--cyan-600);
  outline-offset: 3px;
}
.community-more {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 18px 0 56px auto;
  padding: 10px 18px;
  border: 2px solid var(--navy-800);
  border-radius: 999px;
  color: var(--navy-800);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}
.community-more span {
  transition: transform 0.2s ease;
}
.community-more:hover,
.community-more:focus-visible {
  color: #fff;
  background: var(--navy-800);
}
.community-more:hover span {
  transform: translateX(3px);
}
#eventos .events-grid {
  margin-bottom: 0;
}
.community-page-heading {
  max-width: 720px;
  margin-bottom: 32px;
}
.community-page-heading h1 {
  margin: 12px 0 12px;
  color: var(--navy-800);
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
}
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 36, 79, 0.08);
}
.gallery-filters label {
  display: flex;
  min-width: 150px;
  flex: 1 1 150px;
  flex-direction: column;
  gap: 6px;
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 800;
}
.gallery-filters select {
  padding: 10px 12px;
  border: 2px solid var(--slate-200);
  border-radius: 12px;
  color: var(--navy-800);
  background: #fff;
  font: inherit;
  font-weight: 600;
}
.gallery-filters select:focus {
  outline: 2px solid var(--cyan-600);
}
/* Un filtro con valor elegido (no "Todos…") se marca en turquesa con una
   palomita, igual que la página actual en el menú. */
.gallery-filters label {
  position: relative;
}
.gallery-filters label:has(option:checked:not([value='']))::after {
  position: absolute;
  top: -1px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--action-primary-fill);
  content: '';
}
.gallery-filters label:has(option:checked:not([value='']))::before {
  position: absolute;
  z-index: 1;
  top: 3px;
  right: 6px;
  width: 10px;
  height: 10px;
  background: #fff;
  content: '';
  -webkit-mask: var(--check-icon) center / contain no-repeat;
  mask: var(--check-icon) center / contain no-repeat;
}
.gallery-filters label:has(option:checked:not([value=''])) select,
.custom-select.has-value .custom-select-button {
  border-color: var(--action-primary-fill);
  background-color: #e6f9fc;
}
/*
*************************************************************
created     : 2026-09-30
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : custom-select: desplegable propio (custom_select_controller.js)
              con bordes redondeados, flecha animada y lista flotante; la
              opción elegida va en turquesa con palomita, como el menú.
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 722f7bbc-756b-4c8f-9773-159c68ae297e
*************************************************************
*/
.custom-select-native {
  display: none;
}
.custom-select {
  position: relative;
}
.custom-select-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px 10px 14px;
  border: 2px solid var(--slate-200);
  border-radius: 12px;
  color: var(--navy-800);
  background: #fff;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}
.custom-select-button:hover {
  border-color: var(--action-primary-fill);
}
.custom-select-button:focus-visible,
.custom-select.is-open .custom-select-button {
  border-color: var(--action-primary-fill);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 160, 176, 0.22);
}
.custom-select-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Flecha: un chevrón que gira al abrir. */
.custom-select-button::after {
  flex: none;
  width: 9px;
  height: 9px;
  margin: -4px 4px 0 0;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  content: '';
  transform: rotate(45deg);
  transition: transform 0.2s ease, margin 0.2s ease;
}
.custom-select.is-open .custom-select-button::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}
.custom-select-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  max-height: 264px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 36, 79, 0.18);
  list-style: none;
  outline: none;
  animation: custom-select-in 0.18s ease-out;
}
.custom-select-list[hidden] {
  display: none;
}
.custom-select-list [role='option'] {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--navy-800);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.custom-select-list [role='option'].is-active {
  background: #e6f9fc;
}
.custom-select-list [role='option'][aria-selected='true'] {
  color: #fff;
  background: var(--action-primary-fill);
}
.custom-select-list [role='option'][aria-selected='true']::before {
  flex: none;
  width: 14px;
  height: 14px;
  background: currentColor;
  content: '';
  -webkit-mask: var(--check-icon) center / contain no-repeat;
  mask: var(--check-icon) center / contain no-repeat;
}
.custom-select-list [role='option'][aria-selected='true'].is-active {
  background: var(--action-primary-shadow);
}
@keyframes custom-select-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .custom-select-list {
    animation: none;
  }
}
.gallery-filters-clear {
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  color: var(--navy-800);
  background: var(--slate-100, #eef2f6);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.gallery-count {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}
.gallery-month {
  margin: 30px 0 14px;
  color: var(--navy-800);
  font-size: 20px;
  text-transform: capitalize;
}
.gallery-month:first-of-type {
  margin-top: 0;
}
.events-history-title {
  margin-top: 56px;
}
.events-history-year {
  margin: 36px 0 16px;
  color: var(--navy-800);
  font-size: 22px;
}
.event-card.is-past {
  opacity: 0.85;
  box-shadow: 0 6px 0 var(--slate-200);
}
.event-card.is-past .event-date {
  /* Gris con contraste suficiente para el mes en blanco (4.5:1+). */
  background: var(--text-muted);
  box-shadow: 0 4px 0 var(--slate-600, #475569);
}
@media (max-width: 980px) {
  .gallery-grid--full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* En el celular, una foto por fila: dos juntas quedan muy pequeñas. */
/* Maestro del mes en el celular: la tarjeta usa todo el ancho y las
   flechas van debajo, centradas. */
@media (max-width: 600px) {
  .maestro-months-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 24px;
  }
  .maestro-months-row > .maestro-months-scroll {
    flex: 1 0 100%;
    order: -1;
  }
}
@media (max-width: 600px) {
  /* Filtros uno debajo de otro, a todo el ancho. */
  .gallery-filters {
    flex-direction: column;
    align-items: stretch;
  }
  .gallery-filters label {
    flex: none;
    min-width: 0;
  }
  .gallery-filters-clear {
    padding: 12px 16px;
  }
  .gallery-grid,
  .gallery-grid--full {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .gallery-item {
    border-radius: 14px;
  }
  .community-more {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item img {
    transition: none;
  }
}
.community-empty {
  color: var(--text-muted);
  font-style: italic;
  padding: 12px 0;
  grid-column: 1 / -1;
}

/*
*************************************************************
created     : 2026-07-30
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : contact-and-footer: contacto y cierre institucional
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : d37aaf9f-52fd-43c3-8c30-1a9680e830f1
*************************************************************
*/
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  overflow: visible;
  position: relative;
}
.contact-image-wrap {
  width: 561px;
  height: 496px;
  margin-top: 24px;
  position: absolute;
  left: -40px;
  bottom: -88px;
}
.contact-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
}
#contacto {
  overflow: hidden;
}
.contact-form {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-800);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid var(--slate-200);
  color: var(--navy-800);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--cyan-600);
}
.contact-form button {
  margin-top: 8px;
}
.form-ok {
  display: none;
  color: var(--green-500);
  font-weight: 700;
}
/*
*************************************************************
created     : 2026-09-24
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : form-page: estructura de las páginas independientes con
              formulario (navegación, fondo y pie propios).
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 9c47e2a1-3b8d-4f06-a5e9-12d7b0c63f48
*************************************************************
*/
.form-page-section {
  min-height: calc(100vh - 120px);
  padding-top: 150px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(0, 160, 176, 0.14), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #eef8fb 100%);
}
.form-page-nav {
  grid-template-columns: auto 1fr;
}
.form-page-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}
.form-page-links a {
  color: var(--navy-800);
  font-weight: 800;
  text-decoration: none;
}
.form-page-links a:hover {
  color: var(--cyan-600);
}
/* La página actual se marca con una pastilla turquesa y una palomita. */
.form-page-links a[aria-current='page'] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: -8px 0;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--action-primary-fill);
}
.form-page-links a[aria-current='page']::before {
  width: 15px;
  height: 15px;
  background: currentColor;
  content: '';
  -webkit-mask: var(--check-icon) center / contain no-repeat;
  mask: var(--check-icon) center / contain no-repeat;
}
.form-page-links a[aria-current='page']:hover {
  color: #fff;
  background: var(--action-primary-shadow);
}
/* Las páginas independientes usan el mismo pie del inicio; una onda azul
   marino lo une con el fondo claro de la página en lugar de un corte. */
.page-footer-wave {
  display: block;
  width: 100%;
  height: clamp(40px, 6vw, 90px);
  margin-bottom: -1px;
  background: #eef8fb;
}
/* El botón de menú solo aparece en pantallas angostas (ver abajo). */
.form-page-nav .page-menu-toggle {
  display: none;
}
@media (max-width: 700px) {
  /* .section en celular fija padding: 56px; aquí debe ganar para que la
     etiqueta de arriba no quede bajo la barra fija. */
  .section.form-page-section {
    padding-top: 120px;
  }
  /* En el celular los enlaces pasan a un menú hamburguesa, igual que en el
     inicio (page_menu_controller.js). */
  .form-page-nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .form-page-nav .page-menu-toggle {
    display: inline-flex;
  }
  .form-page-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    visibility: hidden;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(0, 36, 79, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    backdrop-filter: blur(16px);
    transition:
      visibility 0.2s ease,
      opacity 0.2s ease,
      transform 0.2s ease;
  }
  .form-page-nav.menu-open .form-page-links {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .form-page-links a {
    padding: 12px 14px;
    border-radius: 12px;
  }
  .form-page-links a:hover,
  .form-page-links a:focus-visible {
    background: var(--slate-100, #eef2f6);
  }
  .form-page-links a[aria-current='page'] {
    display: flex;
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .form-page-links {
    transition: none;
  }
}

.site-footer {
  position: relative;
  isolation: isolate;
  display: flex;
  overflow: hidden;
  min-height: 210px;
  align-items: center;
  justify-content: center;
  padding: 36px 40px 68px;
  color: rgba(255, 255, 255, 0.82);
  border: 0;
  background: var(--navy-900);
}
.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 1200px);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.footer-partners img {
  width: auto;
  max-width: 150px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}
.footer-community {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-community p {
  max-width: 22ch;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
}
.footer-social-navigation {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.footer-social-button {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: #3d91df;
  box-shadow: 0 6px 14px rgba(20, 85, 184, 0.14);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.footer-social-button svg {
  width: 21px;
  height: 21px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-social-button .social-icon-fill {
  fill: currentColor;
  stroke: none;
}
.footer-social-button:hover,
.footer-social-button:focus-visible {
  color: var(--white);
  background: var(--cyan-600);
  box-shadow: 0 9px 20px rgba(20, 85, 184, 0.25);
  transform: translateY(-3px);
}
.footer-social-button:active {
  transform: translateY(0) scale(0.96);
}
.footer-social-button:focus-visible {
  outline: 3px solid rgba(127, 229, 252, 0.8);
  outline-offset: 3px;
}
.footer-copyright {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 14px 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  border: 0;
  background: rgba(6, 22, 63, 0.72);
  backdrop-filter: blur(8px);
}

/*
*************************************************************
created     : 2026-08-03
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : visual-system: normaliza tarjetas y superficies
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : c5aac4d8-d576-4a72-8d2e-1a332e19f2fb
*************************************************************
*/
.value-card,
.step,
.coverage-stat,
.char-card,
.event-card,
.contact-form {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

/*
*************************************************************
created     : 2026-08-03
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : interaction-motion: entradas y respuestas visuales sutiles
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : ee21474b-aa87-46fc-8434-3ad6c7602ae0
*************************************************************
*/
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.value-card,
.step,
.coverage-stat {
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.value-card:hover,
.step:hover,
.coverage-stat:hover {
  box-shadow: 0 14px 30px rgba(0, 36, 79, 0.18);
  transform: translateY(-6px);
}
.value-card:hover .value-icon,
.coverage-stat:hover .coverage-icon {
  transform: scale(1.08) rotate(2deg);
}
.value-icon,
.coverage-icon {
  transition: transform 0.25s ease;
}
.step-image {
  transition: transform 0.35s ease;
}
.step:hover .step-image {
  transform: scale(1.04);
}

/*
*************************************************************
created     : 2026-08-03
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : visual-refresh: unifica jerarquía, ritmo y superficies
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 914c5126-fc5c-48f3-a5f2-b9ac7bfe0a2d
*************************************************************
*/
:root {
  --section-space: clamp(64px, 7vw, 96px);
  --radius-card: 22px;
  --shadow-card: 0 12px 32px rgba(0, 36, 79, 0.1);
}
.hero,
main > .section,
.maestro-section,
.site-footer {
  border-top: 0;
  border-bottom: 0;
  outline: 0;
}
.hero {
  min-height: 820px;
  padding: 128px 40px 270px;
}
.hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(40px, 6vw, 80px);
}
.hero-copy::before {
  position: absolute;
  inset: -36px -56px;
  z-index: -1;
  content: '';
  background: radial-gradient(
    ellipse at center,
    rgba(41, 17, 71, 0.5),
    transparent 70%
  );
  pointer-events: none;
}
.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(42px, 4.2vw, 60px);
}
.hero-copy p {
  max-width: 45ch;
}
.hero-art {
  height: 390px;
}
.section > .section-inner > h2 {
  max-width: 18ch;
  margin-right: auto;
}
/* Título de la sección Maestro Estrella: tamaño de título de sección y en
   una sola línea (antes era un subtítulo de 20px partido en dos). */
.maestro-section h3.sub-h {
  max-width: none;
  margin: 0 0 14px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
}
.section > .section-inner > .lead,
.maestro-section .lead {
  max-width: 65ch;
}
.section-alt,
#eventos {
  background-color: #f5f8fc;
}
#personajes {
  background-color: #f1f7fb;
}
.value-card,
.step,
.coverage-stat,
.char-card,
.event-card,
.maestro-card,
.contact-form {
  border: 1px solid rgba(0, 36, 79, 0.08);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.value-card {
  position: relative;
  z-index: 1;
  min-height: 230px;
  justify-content: flex-start;
  padding: 30px 28px 28px;
  border-top: 6px solid var(--value-accent);
  box-shadow: 0 12px 28px rgba(0, 36, 79, 0.1);
}
.que-es-section {
  background: linear-gradient(
    180deg,
    var(--white) 0,
    #f7fbfd 110px,
    #f1f7fb 220px
  );
}
.que-es-section .section-inner > h2,
.que-es-section .section-inner > .lead {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.que-es-section .section-inner > h2 {
  max-width: none;
}
.que-es-section .section-inner > .lead {
  margin-bottom: 48px;
}
.value-grid {
  position: relative;
}
.value-grid::before {
  position: absolute;
  top: 50%;
  right: 8%;
  left: 8%;
  height: 2px;
  content: '';
  background: linear-gradient(
    90deg,
    rgba(230, 52, 116, 0.3),
    rgba(0, 160, 176, 0.3),
    rgba(254, 194, 35, 0.4)
  );
}
.value-card:nth-child(1) {
  --value-accent: #e63474;
}
.value-card:nth-child(2) {
  --value-accent: #00a0b0;
}
.value-card:nth-child(3) {
  --value-accent: #f0ae00;
}
/*
*************************************************************
created     : 2026-09-24
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : value-number-reveal: el número de cada tarjeta no se ve
              hasta que se pasa el cursor o se toca la tarjeta; entonces
              sube, grande, alargado y tenue, detrás del contenido en el
              lado derecho. La tarjeta conserva su tamaño original.
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 8a3f6c12-4e9d-4b70-9c25-e1d7b04a8f36
*************************************************************
*/
.value-number {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 22px;
  color: transparent;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--value-accent) 38%, transparent) 0%,
    color-mix(in srgb, var(--value-accent) 6%, transparent) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 180px;
  font-weight: 900;
  line-height: 0.8;
  pointer-events: none;
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  translate: 0 28px;
  transform: translateY(-50%) scaleX(0.62);
  transform-origin: 100% 50%;
  transition:
    opacity 0.6s ease,
    clip-path 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.value-card:hover .value-number,
.value-card:active .value-number,
.value-card:focus-within .value-number {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  translate: 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .value-number {
    clip-path: none;
    translate: 0 0;
    transition: opacity 0.2s ease;
  }
}
.value-card .value-icon {
  width: 84px;
  height: 84px;
  padding: 10px;
  margin-bottom: 18px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--value-accent) 12%, white);
}
.value-card h3 {
  color: var(--navy-800);
  font-size: 20px;
}
/* Títulos de tarjeta en una sola escala: 20px (valores, personajes,
   pasos, eventos); 18px en las tarjetas compactas del Maestro del mes. */
.event-card h3 {
  font-size: 20px;
}
.value-card p {
  max-width: 30ch;
  color: var(--text-muted);
  font-size: 15px;
}
.steps {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding-top: 34px;
}
.steps::before {
  position: absolute;
  top: 50px;
  right: 16.66%;
  left: 16.66%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    #e52e72,
    var(--cyan-600),
    #f2b400
  );
  box-shadow: 0 2px 8px rgba(0, 36, 79, 0.15);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
}
.steps.is-visible::before {
  animation: step-route-draw 0.9s ease-out 0.25s forwards;
}
.step {
  min-height: 0;
  padding: 0 0 26px;
  overflow: visible;
  border-top: 0;
  box-shadow: 0 14px 28px rgba(0, 36, 79, 0.12);
}
.step:nth-child(1) {
  --step-accent: #e52e72;
}
.step:nth-child(2) {
  --step-accent: var(--cyan-600);
  transition-delay: 0.12s;
}
.step:nth-child(3) {
  --step-accent: #f2b400;
  transition-delay: 0.24s;
}
.step-num {
  top: -17px;
  right: auto;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 4px solid #fff;
  background: var(--step-accent);
  box-shadow: 0 5px 12px rgba(0, 36, 79, 0.22);
  transform: translateX(-50%);
}
/* Las imágenes de los pasos tienen proporciones distintas y contenido
   hasta las orillas: se muestran completas (contain) en un recuadro 16:9 y
   el espacio sobrante toma el color de fondo de cada imagen. */
.step-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: var(--step-media-bg, var(--navy-800));
}
.step:nth-child(1) .step-media {
  --step-media-bg: #3e1c5c;
}
.step:nth-child(2) .step-media {
  --step-media-bg: #004685;
}
.step:nth-child(3) .step-media {
  --step-media-bg: #341b4b;
}
.step-image {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
}
.step h3,
.step p {
  margin-right: 24px;
  margin-left: 24px;
}
.step h3 {
  margin-bottom: 8px;
  color: var(--navy-800);
  font-size: 20px;
}
.step p {
  color: var(--text-muted);
  font-size: 14px;
}
.como-funciona-section {
  margin-top: -2px;
  padding-top: 72px;
  padding-bottom: 92px;
  background: linear-gradient(
    180deg,
    #f1f7fb 0,
    #e4f6fa 90px,
    #c9f1f7 210px,
    #bceef6 100%
  );
}
.como-funciona-section .section-inner > h2,
.como-funciona-section .section-inner > .lead {
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.como-funciona-section .section-inner > .lead {
  margin-bottom: 34px;
}
@keyframes step-route-draw {
  to {
    transform: scaleX(1);
  }
}
@keyframes step-route-draw-vertical {
  to {
    transform: scaleY(1);
  }
}
.coverage-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 5vw, 64px);
}
.gt-map {
  min-height: 460px;
  padding: 8px;
}
.coverage-side {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.map-shell {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(0, 36, 79, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(0, 207, 222, 0.2),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(123, 45, 142, 0.16),
      transparent 34%
    ),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}
.map-shell-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.map-shell-header h3 {
  margin-top: 4px;
  color: var(--navy-800);
  font-size: 22px;
}
.map-eyebrow {
  color: var(--cyan-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.map-prototype-badge {
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  background: #e4f7fa;
  color: #007d8b;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.map-help {
  position: relative;
  z-index: 2;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}
.coverage-selection {
  width: 100%;
  padding: 28px;
  border: 1px solid rgba(0, 36, 79, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.coverage-selection h3 {
  margin: 6px 0 18px;
  color: var(--navy-800);
  font-size: 28px;
}
.coverage-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.coverage-total strong {
  color: var(--cyan-700);
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
}
.coverage-total strong.is-updating {
  animation: coverage-number-pop 0.45s
    cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes coverage-number-pop {
  from {
    opacity: 0.25;
    transform: translateY(8px) scale(0.72);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.coverage-total span {
  color: var(--navy-700);
  font-weight: 800;
}
.coverage-selection > p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.coverage-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition:
    max-height 0.65s ease,
    opacity 0.35s ease,
    transform 0.45s ease,
    visibility 0s linear 0.65s;
}
.coverage-details.is-visible {
  max-height: 520px;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}
.coverage-details .coverage-stat {
  min-height: 142px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 14px;
  text-align: center;
}
.coverage-details .coverage-icon {
  width: 58px;
  height: 58px;
}
.coverage-details .coverage-metric-value {
  display: block;
  color: var(--navy-800);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.coverage-details .coverage-stat span {
  margin-top: 5px;
  font-size: 14px;
}
.coverage-details .coverage-stat p {
  font-size: 12px;
  line-height: 1.35;
}
.coverage-note {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  text-align: left;
}

.map-controls {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(210px, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 36, 79, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
}
.map-controls label {
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 800;
}
.map-controls select {
  width: 100%;
  min-height: 44px;
  padding: 0 42px 0 14px;
  border: 1px solid rgba(0, 36, 79, 0.2);
  border-radius: 12px;
  background: #fff;
  color: var(--navy-800);
  font: inherit;
  font-weight: 700;
}
.map-controls select:focus-visible {
  outline: 3px solid rgba(0, 169, 224, 0.28);
  outline-offset: 2px;
}
.coverage-side.is-zero-coverage .coverage-selection {
  border-color: rgba(232, 92, 92, 0.35);
  background: #fff9f8;
}

@media (max-width: 820px) {
  .map-controls {
    grid-template-columns: 1fr;
  }
}
.char-grid {
  display: flex;
  gap: 20px;
  padding: 8px 0 24px;
  overflow-x: auto;
  scroll-behavior: auto;
  scrollbar-width: none;
  scrollbar-color: var(--cyan-600) transparent;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}
.char-grid:active {
  cursor: grabbing;
}
.char-grid::-webkit-scrollbar {
  display: none;
}
.char-card {
  min-width: 260px;
  flex: 0 0 calc(25% - 15px);
  border-top: 6px solid var(--char-color);
  opacity: 0;
  transform: translateX(28px) scale(0.94);
  transition:
    opacity 0.42s ease,
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}
.char-card.is-before-view {
  opacity: 0;
  transform: translateX(-28px) scale(0.94);
}
.char-card.is-after-view {
  opacity: 0;
  transform: translateX(28px) scale(0.94);
}
.char-card.is-in-view {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.char-grid.is-repositioning .char-card {
  transition: none;
}
/* El carril es el padre posicionado de las tarjetas (el script alinea con
   offsetLeft). */
.char-grid {
  position: relative;
}
/* Fuera del celular, las tarjetas miden lo justo para que quepan 2, 3 o 4
   completas según el ancho (consultas de contenedor): en reposo nunca
   queda una tarjeta a medias, así que tampoco hace falta difuminar las
   orillas. */
@media (min-width: 601px) {
  .char-grid {
    --chars-per-view: 2;
    container-type: inline-size;
    -webkit-mask-image: none;
    mask-image: none;
  }
  @container (min-width: 700px) {
    .char-card {
      --chars-per-view: 3;
    }
  }
  @container (min-width: 980px) {
    .char-card {
      --chars-per-view: 4;
    }
  }
  .char-card {
    min-width: 0;
    flex: 0 0
      calc(
        (100cqi - (var(--chars-per-view) - 1) * 20px) /
          var(--chars-per-view)
      );
  }
}
.character-carousel {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 14px;
  align-items: center;
}
.character-carousel-button {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: inherit;
  font-size: 34px;
  line-height: 1;
  border: 0;
  border-radius: 50%;
  background: var(--action-primary-fill);
  box-shadow: 0 5px 0 var(--action-primary-shadow);
  cursor: pointer;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.character-carousel-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--action-primary-shadow);
}
.character-carousel-button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--action-primary-shadow);
}
.character-carousel-button:focus-visible {
  outline: 3px solid var(--cyan-300);
  outline-offset: 3px;
}
#eventos {
  --events-transition-height: clamp(110px, 9vw, 160px);
  position: relative;
  z-index: 2;
  isolation: isolate;
  padding-bottom: 0;
}
#eventos::before {
  position: absolute;
  top: calc((var(--events-transition-height) - 2px) * -1);
  right: 0;
  left: 0;
  height: var(--events-transition-height);
  z-index: -1;
  content: '';
  background: #f5f8fc;
  pointer-events: none;
  -webkit-mask: url('assets/academic-clouds.png') bottom center / 100% 100%
    no-repeat;
  mask: url('assets/academic-clouds.png') bottom center / 100% 100% no-repeat;
}
.events-grid {
  margin-bottom: 48px;
}
.event-card {
  align-items: center;
}
.maestro-section {
  margin: 56px -40px 0;
  padding-top: clamp(124px, 10vw, 156px);
  padding-bottom: 72px;
}
.maestro-grid {
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(28px, 5vw, 56px);
}
#contacto {
  padding-top: 80px;
  border-top: 0;
  background: var(--navy-900) !important;
}
.contact-inner {
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1fr);
  gap: clamp(40px, 7vw, 88px);
}
.contact-form {
  padding: clamp(28px, 4vw, 40px);
}
.contact-form textarea {
  resize: vertical;
}
.site-footer {
  min-height: 180px;
}
/*
*************************************************************
created     : 2026-07-30
author      : Carlo Manuel Lara Orellana (cmlara@uvg.edu.gt)
version     : 1.0.0
file        : site.css
description : responsive-layout: adaptación para tableta y móvil
package     : Explorax-app
Copyright   : (R) 2026 Universidad del Valle de Guatemala
id          : 2f12137b-dce4-4f3d-a00a-d2553bd9900f
*************************************************************
*/
@media (max-width: 980px) {
  .value-grid::before {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .value-grid,
  .steps,
  .subjects-grid,
  .char-grid,
  .testi-grid,
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .coverage-grid {
    grid-template-columns: 1fr;
  }
  /* minmax(0, …): el carrusel de meses no debe ensanchar la columna (si
     lo hace, el trofeo queda fuera de la pantalla). */
  .maestro-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .nav-links {
    gap: 0;
    font-size: 0;
  }
  .nav-links a {
    font-size: 13px;
  }
  .materias-heading-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .materias-badge {
    width: 120px;
  }
  .gt-map {
    height: 400px;
    min-height: 400px;
  }
  .contact-image-wrap {
    position: static;
    width: 100%;
    max-width: 100%;
    height: 340px;
    margin: 24px 0 0;
    left: auto;
    bottom: auto;
  }
  #contacto {
    overflow: visible;
  }
}
@media (max-width: 1100px) {
  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px 20px;
  }
  .nav.scrolled {
    padding: 10px 20px;
  }
  .nav-menu-toggle {
    display: inline-flex;
  }
  .nav-menu-content {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: flex;
    visibility: hidden;
    max-height: calc(100vh - 110px);
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    overflow-y: auto;
    border: 1px solid var(--slate-200);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(0, 36, 79, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    backdrop-filter: blur(16px);
    transition:
      visibility 0.2s ease,
      opacity 0.2s ease,
      transform 0.2s ease;
  }
  .nav.menu-open .nav-menu-content {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    font-size: 0;
  }
  .nav-links a {
    flex: none;
    width: 100%;
    margin: 0;
    color: var(--navy-800);
    font-size: 13px;
  }
  /* La sección actual va en turquesa con una palomita (✓). */
  .nav-links a[aria-current],
  .nav.scrolled .nav-links a[aria-current] {
    gap: 8px;
    border-radius: 12px;
    color: #fff;
    background: var(--action-primary-fill);
  }
  .nav-links a[aria-current]::before {
    width: 16px;
    height: 16px;
    background: currentColor;
    content: '';
    -webkit-mask: var(--check-icon) center / contain no-repeat;
    mask: var(--check-icon) center / contain no-repeat;
  }
  .nav-links a[aria-current]::after {
    display: none;
  }
  .nav-actions {
    width: 100%;
    align-items: stretch;
    gap: 10px;
  }
  .nav-actions a {
    flex: 1 1 0;
    justify-content: center;
  }
  .nav-login {
    border-color: var(--navy-800);
    color: var(--navy-800);
  }
}
@media (max-width: 768px) {
  .hero {
    min-height: 850px;
    padding: 120px 24px 250px;
  }
  .hero-art {
    height: 340px;
  }
  .section {
    padding: 56px 24px;
  }
  .materias-section {
    padding-top: 120px;
  }
  /* Espacio fijo para el widget de planeta bajo la fila (el script mide
     --info-reserve): el widget empieza 14px bajo el planeta, la fila ya
     deja 64px y quedan ~24px de aire antes de la transición. */
  .subjects-orbit {
    height: auto;
    margin-top: 36px;
    padding-bottom: max(0px, calc(var(--info-reserve, 0px) - 26px));
  }
  .subjects-orbit::before,
  .subjects-orbit-ring {
    display: none;
  }
  .subjects-orbit-core {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 34px;
    pointer-events: none;
    transform: none;
  }
  .subjects-orbit-core .materias-badge,
  .subjects-orbit-core:hover .materias-badge {
    width: 160px;
    filter:
      brightness(1.12)
      saturate(1.08)
      drop-shadow(0 0 38px rgba(127, 229, 252, 0.95))
      drop-shadow(0 16px 22px rgba(15, 3, 35, 0.52));
    transform: scale(1.08) translateY(-4px);
    transition: none;
  }
  .subjects-grid {
    position: static;
    display: flex;
    width: calc(100% + 48px);
    gap: 18px;
    margin-left: -24px;
    padding: 76px 24px 64px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 24px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    animation: none;
  }
  .subjects-mobile-carousel {
    position: relative;
    display: block;
  }
  .subjects-grid::-webkit-scrollbar {
    display: none;
  }
  .subject-card,
  .subject-card:nth-child(n) {
    position: static;
    display: flex;
    width: min(42vw, 160px);
    min-width: min(42vw, 160px);
    flex: 0 0 min(42vw, 160px);
    transform: none;
    animation: none;
  }
  .subject-card .subject-icon {
    animation: planet-float 4s ease-in-out infinite;
  }
  .maestro-months-row {
    flex-wrap: wrap;
  }
  .maestro-section {
    margin: 56px -24px 0;
    padding-right: 24px;
    padding-left: 24px;
  }
}
@media (max-width: 600px) {
  .coverage-national-totals {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 22px auto 28px;
  }
  .coverage-national-total {
    min-height: 112px;
    padding: 14px 16px;
  }
  .coverage-national-icon {
    width: 74px;
    height: 74px;
    flex-basis: 74px;
    border-radius: 20px;
  }
  .coverage-national-icon img {
    width: 62px;
    height: 62px;
  }
  .nav-actions {
    flex-direction: column;
  }
  .nav-actions a {
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .site-footer {
    min-height: 290px;
    padding: 32px 20px 76px;
  }
  .footer-content {
    flex-direction: column;
    justify-content: center;
    gap: 30px;
  }
  .footer-community {
    flex-direction: column;
    gap: 14px;
  }
  .footer-community p {
    max-width: none;
    text-align: center;
  }
  .footer-partners {
    justify-content: center;
    gap: 20px;
  }
  .footer-partners img {
    max-width: 125px;
    max-height: 48px;
  }
  .footer-social-navigation {
    margin-left: 0;
  }
  .footer-copyright {
    padding: 14px 20px;
  }
  .coverage-side {
    grid-template-columns: 1fr;
  }
  .coverage-details {
    grid-template-columns: 1fr;
  }
  .coverage-details.is-visible {
    max-height: 760px;
  }
  .coverage-note {
    grid-column: auto;
  }
  .char-card {
    width: min(72vw, 280px);
    min-width: min(72vw, 280px);
    flex-basis: min(72vw, 280px);
  }
  .character-carousel {
    position: relative;
    display: block;
  }
  .char-grid {
    gap: 16px;
    padding-right: calc((100% - min(72vw, 280px)) / 2);
    padding-left: calc((100% - min(72vw, 280px)) / 2);
    scroll-padding-inline: calc((100% - min(72vw, 280px)) / 2);
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      rgba(0, 0, 0, 0.25) 8%,
      #000 22%,
      #000 78%,
      rgba(0, 0, 0, 0.25) 92%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      rgba(0, 0, 0, 0.25) 8%,
      #000 22%,
      #000 78%,
      rgba(0, 0, 0, 0.25) 92%,
      transparent 100%
    );
    scroll-snap-type: x mandatory;
  }
  .char-card {
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .character-carousel-button {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    font-size: 28px;
    transform: translateY(-50%);
  }
  .character-carousel-previous {
    left: 0;
  }
  .character-carousel-next {
    right: 0;
  }
  .character-carousel-button:hover {
    transform: translateY(calc(-50% - 2px));
  }
  .character-carousel-button:active {
    transform: translateY(calc(-50% + 2px));
  }
  .value-grid,
  .steps,
  .subjects-grid,
  .char-grid,
  .testi-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    gap: 34px;
    padding-top: 0;
    padding-left: 38px;
  }
  .steps::before {
    top: 22px;
    right: auto;
    bottom: 22px;
    left: 18px;
    width: 4px;
    height: auto;
    transform: scaleY(0);
    transform-origin: top;
  }
  .steps.is-visible::before {
    animation-name: step-route-draw-vertical;
  }
  .step-num {
    top: 20px;
    right: auto;
    left: -40px;
    transform: none;
  }
  .hero-copy h1 {
    font-size: 32px;
  }
  .hero-art {
    height: 260px;
  }
  .hero {
    min-height: 810px;
    padding-bottom: 220px;
  }
  .hero-planeta {
    width: 70%;
    bottom: -90px;
  }
  .hero-tojil {
    width: 40%;
  }
  .value-card image-slot {
    width: 64px !important;
    height: 64px !important;
  }
  .gt-map {
    height: 320px;
    min-height: 320px;
  }
  .materias-badge {
    width: 160px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .skip-link,
  .nav-menu-content,
  .nav-menu-toggle span,
  .nav-links a,
  .nav-links a::after,
  .nav-login,
  .nav-cta,
  .reveal-on-scroll,
  .value-card,
  .step,
  .coverage-stat,
  .coverage-details,
  .char-card,
  .value-icon,
  .coverage-icon,
  .step-image,
  .game-map-item,
  .game-map-trail path,
  .game-map-medal,
  .subject-icon::before,
  .subject-icon img,
  .subject-card h3,
  .character-carousel-button,
  .footer-social-button {
    transition: none;
  }
  .hero-copy > *,
  .hero-art,
  .hero-art::before,
  .hero-planeta,
  .hero::after,
  .shooting-star,
  .gt-map path.dept,
  .coverage-total strong.is-updating,
  .gt-map-tooltip.show .gt-map-pin,
  .gt-map-tooltip.show .gt-map-pin-text,
  .gt-map-tooltip.show .gt-map-pin::after,
  .coverage-national-totals.is-ready .coverage-national-total,
  .subjects-grid,
  .subject-card,
  .subject-icon,
  .subjects-orbit-ring,
  .subjects-orbit::before,
  .game-map-trail path {
    animation: none;
  }
  .game-map-card:hover .game-map-medal {
    transform: none;
  }
  .gt-map path.dept {
    opacity: 1;
  }
  .star-shower {
    display: none;
  }
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1600px) {
  .section-inner,
  .hero-inner {
    max-width: 1400px;
  }
}
