/* ====== TOKENS ====== */
.aqs-root {
  --aqs-abyss: #081634;
  --aqs-deep: #102a6f;
  --aqs-blue: #2f4e9d;
  --aqs-cyan: #189dd9;
  --aqs-cyan-bright: #0ab1e4;
  --aqs-ink: #1c252c;
  --aqs-paper: #ffffff;
  --aqs-mist: #f5f8fc;
  --aqs-line: #e2eaf3;
  --aqs-grey: #6a7686;
  --aqs-trame: radial-gradient(currentColor 1.1px, transparent 1.2px);
  --aqs-head-h: 96px;

  font-family: "Poppins", sans-serif;
  color: var(--aqs-ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
/*.aqs-root * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: inherit;
}*/
.aqs-root img {
  max-width: 100%;
  display: block;
}

/* ====== UTILIDADES ====== */
.aqs-root .aqs-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.aqs-root .aqs-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aqs-cyan);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.aqs-root .aqs-eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--aqs-cyan);
  display: inline-block;
}

/* ====== CONTENEDOR DE IMAGEN (placeholder) ====== */
.aqs-root .aqs-imgholder {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eef3fa, #dbe7f5), var(--aqs-mist);
  border: 1px dashed #b7c7dd;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aqs-root .aqs-imgholder::after {
  content: "Imagen";
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #90a5c2;
}
/* cuando insertes un <img> dentro, ocupa todo y tapa el hint */
.aqs-root .aqs-imgholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ====== HEADER ====== */
.aqs-root .aqs-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease;
}
.aqs-root .aqs-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 30px -18px rgba(16, 42, 111, 0.45);
  padding: 14px 40px;
}
.aqs-root .aqs-logo img {
  height: 30px;
  width: auto;
  transition:
    height 0.35s ease,
    filter 0.35s ease;
}
/* sobre el hero: logo en blanco */
.aqs-root .aqs-header:not(.is-scrolled) .aqs-logo img {
  filter: brightness(0) invert(1);
}

.aqs-root .aqs-header.is-scrolled .aqs-logo img {
  height: 30px;
}

@media (max-width: 980px) {
  .aqs-root .aqs-logo img {
    height: 20px;
  }

  .aqs-root .aqs-header.is-scrolled .aqs-logo img {
    height: 20px;
  }
}

.aqs-root.aqs-inner .aqs-header {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 30px -18px rgba(16, 42, 111, 0.45);
}

.aqs-root.aqs-inner .aqs-menu a,
.aqs-root.aqs-inner .aqs-lang-toggle {
  color: var(--aqs-ink);
}

.aqs-root.aqs-inner .aqs-logo img {
  filter: none;
}

.aqs-root.aqs-inner .aqs-burger span {
  background: var(--aqs-ink);
}

.aqs-root.aqs-inner .aqs-header:not(.is-scrolled) .aqs-logo img {
  filter: none;
}

.aqs-root .aqs-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.aqs-root .aqs-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.aqs-root .aqs-menu a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.aqs-root .aqs-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--aqs-cyan);
  transition: width 0.25s ease;
}
.aqs-root .aqs-menu a:hover::after {
  width: 100%;
}
.aqs-root .aqs-header.is-scrolled .aqs-menu a {
  color: var(--aqs-ink);
}
.aqs-root .aqs-header.is-scrolled .aqs-menu a:hover {
  color: var(--aqs-blue);
}

/* selector idioma */
.aqs-root .aqs-lang {
  position: relative;
}
.aqs-root .aqs-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  padding: 6px 4px;
}
.aqs-root .aqs-header.is-scrolled .aqs-lang-toggle {
  color: var(--aqs-ink);
}
.aqs-root .aqs-flagsvg {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  display: block;
}
.aqs-root .aqs-lang-chev {
  width: 10px;
  height: 10px;
  transition: transform 0.25s ease;
}
.aqs-root .aqs-lang.is-open .aqs-lang-chev {
  transform: rotate(180deg);
}
.aqs-root .aqs-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 170px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 40px -16px rgba(16, 42, 111, 0.45);
  list-style: none;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.22s ease;
}
.aqs-root .aqs-lang.is-open .aqs-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.aqs-root .aqs-lang-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--aqs-ink);
  transition: background 0.18s ease;
}
.aqs-root .aqs-lang-menu a:hover {
  background: var(--aqs-mist);
}

/* hamburguesa */
.aqs-root .aqs-burger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.aqs-root .aqs-burger span {
  width: 26px;
  height: 2px;
  background: #fff;
  transition: background 0.3s ease;
}
.aqs-root .aqs-header.is-scrolled .aqs-burger span {
  background: var(--aqs-ink);
}

/* ====== HERO ====== */
.aqs-root .aqs-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 230px 0 230px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 90px), 0 100%);
  background: var(--aqs-abyss);
}
/* video de fondo */
.aqs-root .aqs-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* velo azul (deja ver el video levemente) */
.aqs-root .aqs-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      120% 90% at 80% -10%,
      rgba(10, 177, 228, 0.3),
      transparent 55%
    ),
    linear-gradient(
      160deg,
      rgba(16, 42, 111, 0.86) 0%,
      rgba(8, 22, 52, 0.92) 100%
    );
}
/* rayos de luz caustica */
.aqs-root .aqs-hero-veil::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      transparent 40%,
      rgba(127, 212, 255, 0.1) 50%,
      transparent 60%
    ),
    linear-gradient(
      80deg,
      transparent 55%,
      rgba(127, 212, 255, 0.07) 65%,
      transparent 72%
    );
  background-size: 200% 200%;
  animation: aqs-caustic 14s ease-in-out infinite alternate;
}
/* textura trame */
.aqs-root .aqs-hero-veil::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: 60px;
  width: 340px;
  height: 240px;
  color: rgba(127, 212, 255, 0.3);
  background-image: var(--aqs-trame);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 75%);
  mask-image: linear-gradient(135deg, #000, transparent 75%);
}
@keyframes aqs-caustic {
  from {
    background-position:
      0 0,
      0 0;
  }
  to {
    background-position:
      100% 100%,
      -60% 40%;
  }
}

.aqs-root .aqs-hero .aqs-wrap {
  position: relative;
  z-index: 3;
}
.aqs-root .aqs-ghost {
  position: absolute;
  right: 0;
  bottom: -30px;
  z-index: 2;
  font-size: clamp(7rem, 22vw, 20rem);
  line-height: 0.8;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
  pointer-events: none;
}
.aqs-root .aqs-hero .aqs-loc {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fd6ff;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.aqs-root .aqs-hero .aqs-loc span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqs-cyan-bright);
  box-shadow: 0 0 0 4px rgba(10, 177, 228, 0.25);
}
.aqs-root .aqs-hero h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.aqs-root .aqs-hero h1 em {
  font-style: normal;
  font-weight: 300;
  display: block;
  color: #cfe4ff;
  font-size: 0.32em;
  line-height: 1.3;
  margin-top: 14px;
  letter-spacing: 0;
}
.aqs-root .aqs-hero .aqs-year {
  color: var(--aqs-cyan-bright);
}
.aqs-root .aqs-hero .aqs-lead {
  max-width: 660px;
  margin-top: 30px;
  font-size: 1.06rem;
  font-weight: 300;
  color: #dce8fb;
  line-height: 1.7;
}
.aqs-root .aqs-hero .aqs-cta-row {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.aqs-root .aqs-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 1.15rem 2rem;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.aqs-root .aqs-btn-primary {
  background: var(--aqs-cyan);
  color: #fff;
}
.aqs-root .aqs-btn-primary:hover {
  background: var(--aqs-cyan-bright);
  transform: translateY(-2px);
}

/* ====== STAT STRIP ====== */
.aqs-root .aqs-stats {
  position: relative;
  z-index: 4;
  margin-top: -100px;
}
.aqs-root .aqs-stats .aqs-grid {
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(16, 42, 111, 0.35);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.aqs-root .aqs-stats .aqs-stat {
  padding: 38px 30px;
  border-right: 1px solid var(--aqs-line);
}
.aqs-root .aqs-stats .aqs-stat:last-child {
  border-right: none;
}
.aqs-root .aqs-stats .aqs-stat b {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--aqs-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}
.aqs-root .aqs-stats .aqs-stat small {
  display: block;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--aqs-grey);
  font-weight: 500;
}

/* ====== SECCIÓN BASE ====== */
.aqs-root .aqs-section {
  padding: 120px 0;
  scroll-margin-top: 110px;
}
.aqs-root .aqs-section h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 18px 0 0;
  color: var(--aqs-ink);
  max-width: 760px;
}
.aqs-root .aqs-section .aqs-p {
  font-size: 1rem;
  color: var(--aqs-grey);
  line-height: 1.75;
  max-width: 680px;
  margin-top: 22px;
}

/* ====== INTRO ====== */
.aqs-root .aqs-intro .aqs-intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 60px;
  align-items: center;
}
.aqs-root .aqs-intro .aqs-note {
  background: var(--aqs-mist);
  border-left: 4px solid var(--aqs-cyan);
  padding: 34px 36px;
  margin-top: 28px;
}
.aqs-root .aqs-intro .aqs-note p {
  font-size: 0.95rem;
  color: var(--aqs-ink);
  line-height: 1.7;
}
.aqs-root .aqs-intro .aqs-note strong {
  color: var(--aqs-deep);
}
/* imagen lateral del intro */
.aqs-root .aqs-intro .aqs-intro-media {
  aspect-ratio: 4/5;
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%);
}

/* ====== EJES (matriz) ====== */
.aqs-root .aqs-ejes {
  background: var(--aqs-mist);
}
.aqs-root .aqs-ejes .aqs-ejes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 58px;
}
.aqs-root .aqs-eje {
  background: #fff;
  border-top: 5px solid var(--aqs-cyan);
  padding: 38px 32px 34px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px -28px rgba(16, 42, 111, 0.4);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.aqs-root .aqs-eje:nth-child(2) {
  border-top-color: var(--aqs-blue);
}
.aqs-root .aqs-eje:nth-child(3) {
  border-top-color: var(--aqs-deep);
}
.aqs-root .aqs-eje:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 55px -28px rgba(16, 42, 111, 0.5);
}
.aqs-root .aqs-eje .aqs-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--aqs-cyan);
  letter-spacing: 0.1em;
}
.aqs-root .aqs-eje h3 {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--aqs-ink);
  margin: 14px 0 24px;
}
.aqs-root .aqs-eje ul {
  list-style: none;
  margin-top: auto;
}
.aqs-root .aqs-eje li {
  font-size: 0.86rem;
  color: var(--aqs-grey);
  line-height: 1.5;
  padding: 16px 0 16px 26px;
  border-top: 1px solid var(--aqs-line);
  position: relative;
}
.aqs-root .aqs-eje li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--aqs-cyan);
}
.aqs-root .aqs-eje li:last-child {
  padding-bottom: 0;
}

/* ====== BANDA IMAGEN FULL-WIDTH ====== */
.aqs-root .aqs-band {
  position: relative;
  height: 420px;
}
.aqs-root .aqs-band .aqs-imgholder {
  position: absolute;
  inset: 0;
  border: none;
  border-radius: 0;
}
.aqs-root .aqs-band .aqs-band-caption {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(8, 22, 52, 0.78) 0%,
    rgba(8, 22, 52, 0.3) 60%,
    transparent 100%
  );
}
.aqs-root .aqs-band .aqs-band-caption .aqs-wrap {
  color: #fff;
}
.aqs-root .aqs-band .aqs-band-caption h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 560px;
  line-height: 1.15;
}
.aqs-root .aqs-band .aqs-band-caption p {
  margin-top: 14px;
  color: #cfe0f5;
  max-width: 480px;
  font-weight: 300;
  line-height: 1.6;
}

/* ====== PROGRAMA ====== */
.aqs-root .aqs-programa .aqs-dynamic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 54px;
}
.aqs-root .aqs-dyn-card {
  padding: 30px 28px;
  border: 1px solid var(--aqs-line);
  background: #fff;
}
.aqs-root .aqs-dyn-card .aqs-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqs-cyan);
}
.aqs-root .aqs-dyn-card b {
  display: block;
  font-size: 1.7rem;
  color: var(--aqs-deep);
  font-weight: 700;
  margin: 8px 0 10px;
  letter-spacing: -0.02em;
}
.aqs-root .aqs-dyn-card p {
  font-size: 0.85rem;
  color: var(--aqs-grey);
  line-height: 1.6;
}

.aqs-root .aqs-days {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.aqs-root .aqs-day {
  position: relative;
  overflow: hidden;
}
.aqs-root .aqs-day .aqs-wrap {
  position: relative;
  z-index: 2;
}
.aqs-root .aqs-day-1 {
  background: #fff;
}
.aqs-root .aqs-day-2 {
  background: linear-gradient(165deg, var(--aqs-deep), var(--aqs-abyss));
  color: #fff;
  clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
  margin-top: -30px;
  padding-bottom: 30px;
}
.aqs-root .aqs-day-2::after {
  content: "";
  position: absolute;
  left: -30px;
  top: 120px;
  width: 280px;
  height: 200px;
  color: rgba(127, 212, 255, 0.22);
  background-image: var(--aqs-trame);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(45deg, #000, transparent 70%);
  mask-image: linear-gradient(45deg, #000, transparent 70%);
}
.aqs-root .aqs-day-inner {
  padding: 70px 0;
}
.aqs-root .aqs-day-2 .aqs-day-inner {
  padding: 100px 0 80px;
}
.aqs-root .aqs-day-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.aqs-root .aqs-day-num {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--aqs-cyan);
  opacity: 0.9;
}
.aqs-root .aqs-day-2 .aqs-day-num {
  color: var(--aqs-cyan-bright);
}
.aqs-root .aqs-day-head .aqs-day-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aqs-grey);
}
.aqs-root .aqs-day-2 .aqs-day-head .aqs-day-label {
  color: #9fd6ff;
}
.aqs-root .aqs-day-head h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--aqs-ink);
}
.aqs-root .aqs-day-2 .aqs-day-head h3 {
  color: #fff;
}

.aqs-root .aqs-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.aqs-root .aqs-block {
  background: var(--aqs-mist);
  padding: 30px 28px;
  border-radius: 2px;
  position: relative;
  border-left: 4px solid var(--aqs-blue);
}
.aqs-root .aqs-day-2 .aqs-block {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--aqs-cyan-bright);
}
.aqs-root .aqs-block .aqs-kind {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqs-blue);
}
.aqs-root .aqs-day-2 .aqs-block .aqs-kind {
  color: var(--aqs-cyan-bright);
}
.aqs-root .aqs-block.is-pitch .aqs-kind {
  color: var(--aqs-cyan);
}
.aqs-root .aqs-block h4 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--aqs-ink);
  margin: 12px 0 0;
}
.aqs-root .aqs-day-2 .aqs-block h4 {
  color: #fff;
}
.aqs-root .aqs-block p {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--aqs-grey);
  margin-top: 10px;
}
.aqs-root .aqs-day-2 .aqs-block p {
  color: #bcd1ee;
}

/* ====== NOVEDADES (rescatado de home.php) ====== */
.aqs-root .aqs-news {
  padding: 0 0 130px;
  scroll-margin-top: 110px;
}
.aqs-root .aqs-news .aqs-news-head h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--aqs-blue);
  margin-top: 14px;
}
.aqs-root .aqs-news .aqs-news-head p {
  font-size: 0.9rem;
  color: var(--aqs-grey);
  line-height: 1.6;
  max-width: 680px;
  margin-top: 14px;
}

.aqs-root .aqs-news-main {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
  margin-top: 60px;
}
.aqs-root .aqs-news-main figure {
  width: 42%;
  height: 480px;
  margin: 0;
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 18%);
  position: relative;
  z-index: 9;
}
.aqs-root .aqs-news-main figure .aqs-imgholder {
  position: absolute;
  inset: 0;
  border: none;
  border-radius: 0;
}
.aqs-root .aqs-news-main .img-trame {
  position: absolute;
  left: 286px;
  top: 400px;
  width: 230px;
  height: 150px;
  z-index: 8;
  color: rgba(47, 78, 157, 0.3);
  background-image: var(--aqs-trame);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 75%);
  mask-image: linear-gradient(135deg, #000, transparent 75%);
}
.aqs-root .aqs-news-main .info-nota {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
}
.aqs-root .aqs-news-main .info-nota .epigrafe {
  font-size: 0.75rem;
  margin: 0 0 14px;
  font-weight: 600;
  color: var(--aqs-blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.aqs-root .aqs-news-main .info-nota .titulo {
  text-decoration: none;
  color: var(--aqs-ink);
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 14px;
  font-weight: 500;
  transition: opacity 0.2s ease;
  display: block;
}
.aqs-root .aqs-news-main .info-nota .titulo:hover {
  opacity: 0.55;
}
.aqs-root .aqs-news-main .info-nota .date-post {
  font-size: 0.78rem;
  color: var(--aqs-grey);
  font-weight: 500;
}
.aqs-root .aqs-news-main .info-nota .date-post span {
  color: var(--aqs-blue);
}
.aqs-root .aqs-news-main .info-nota .excerpt {
  font-size: 0.88rem;
  color: #696969;
  font-weight: 500;
  line-height: 1.6;
  margin: 16px 0 0;
}
.aqs-root .aqs-news-main .info-nota .access {
  font-size: 0.8rem;
  margin-top: 40px;
  margin-left: 35px;
  color: grey;
  font-weight: 400;
  text-decoration: none;
  position: relative;
  width: fit-content;
}
.aqs-root .aqs-news-main .info-nota .access::before {
  content: "";
  width: 25px;
  height: 3px;
  background: var(--aqs-blue);
  position: absolute;
  margin-left: -35px;
  margin-top: 8px;
}

.aqs-root .aqs-news h3.another {
  margin: 120px 0 40px;
  color: grey;
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 1px solid var(--aqs-line);
  padding-bottom: 20px;
}
.aqs-root .aqs-news-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.aqs-root .aqs-news-grid .more-notas-access {
  width: 32%;
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.aqs-root .aqs-news-grid .more-notas-access:hover {
  transform: translateY(-8px);
}
.aqs-root .aqs-news-grid .more-notas-access .thumb {
  width: 100px;
  height: 100px;
  min-width: 100px;
  border-radius: 50%;
  overflow: hidden;
}
.aqs-root .aqs-news-grid .more-notas-access .thumb .aqs-imgholder {
  position: absolute;
  inset: 0;
  border: none;
  border-radius: 50%;
}
.aqs-root .aqs-news-grid .more-notas-access .thumb {
  position: relative;
}
.aqs-root .aqs-news-grid .more-notas-access .meta {
  color: grey;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.3;
}
.aqs-root .aqs-news-grid .more-notas-access:hover .meta .t {
  text-decoration: underline;
}
.aqs-root .aqs-news-grid .more-notas-access .meta .date-post {
  display: block;
  font-size: 0.7rem;
  margin-top: 6px;
  color: var(--aqs-blue);
}

/* ====== CIERRE / CTA ====== */
.aqs-root .aqs-close {
  background: var(--aqs-ink);
  color: #fff;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 110px;
}
.aqs-root .aqs-close::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 320px;
  height: 220px;
  color: rgba(127, 212, 255, 0.16);
  background-image: var(--aqs-trame);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(225deg, #000, transparent 70%);
  mask-image: linear-gradient(225deg, #000, transparent 70%);
}
.aqs-root .aqs-close .aqs-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
}
.aqs-root .aqs-close .aqs-eyebrow {
  justify-content: center;
  color: var(--aqs-cyan-bright);
}
.aqs-root .aqs-close .aqs-eyebrow::before {
  background: var(--aqs-cyan-bright);
}
.aqs-root .aqs-close h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 20px auto 0;
  max-width: 820px;
}
.aqs-root .aqs-close p {
  color: #aeb9c7;
  max-width: 620px;
  margin: 22px auto 0;
  line-height: 1.7;
  font-size: 0.98rem;
}
.aqs-root .aqs-close .aqs-cta-row {
  justify-content: center;
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.aqs-root .aqs-who {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.aqs-root .aqs-who span {
  font-size: 0.78rem;
  font-weight: 500;
  color: #cfe4ff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px 18px;
  border-radius: 40px;
}

/* ====== REVEAL ====== */
.aqs-root .aqs-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.aqs-root .aqs-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ====== MOBILE MENU PANEL ====== */
.aqs-root .aqs-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(82vw, 340px);
  background: #fff;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  box-shadow: -20px 0 50px -20px rgba(16, 42, 111, 0.4);
  padding: 90px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aqs-root .aqs-mobile-panel.is-open {
  transform: none;
}
.aqs-root .aqs-mobile-panel a {
  text-decoration: none;
  color: var(--aqs-ink);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--aqs-line);
}
.aqs-root .aqs-mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--aqs-ink);
  cursor: pointer;
  line-height: 1;
}
.aqs-root .aqs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 22, 52, 0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.aqs-root .aqs-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .aqs-root .aqs-header .aqs-menu,
  .aqs-root .aqs-header .aqs-lang {
    display: none;
  }
  .aqs-root .aqs-burger {
    display: flex;
  }
  .aqs-root .aqs-header {
    padding: 18px 24px;
  }
  .aqs-root .aqs-header.is-scrolled {
    padding: 12px 24px;
  }
}
@media (max-width: 980px) {
  .aqs-root .aqs-stats .aqs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .aqs-root .aqs-stats .aqs-stat:nth-child(2) {
    border-right: none;
  }
  .aqs-root .aqs-stats .aqs-stat:nth-child(1),
  .aqs-root .aqs-stats .aqs-stat:nth-child(2) {
    border-bottom: 1px solid var(--aqs-line);
  }
  .aqs-root .aqs-intro .aqs-intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .aqs-root .aqs-intro .aqs-intro-media {
    aspect-ratio: 16/10;
  }
  .aqs-root .aqs-ejes .aqs-ejes-grid {
    grid-template-columns: 1fr;
  }
  .aqs-root .aqs-programa .aqs-dynamic {
    grid-template-columns: 1fr;
  }
  .aqs-root .aqs-blocks {
    grid-template-columns: 1fr;
  }
  .aqs-root .aqs-news-main {
    flex-direction: column;
  }
  .aqs-root .aqs-news-main figure {
    width: 100%;
    height: 320px;
    clip-path: none;
  }
  .aqs-root .aqs-news-main .info-nota {
    width: 100%;
    margin-top: 40px;
  }
  .aqs-root .aqs-news-main .img-trame {
    display: none;
  }
  .aqs-root .aqs-news-grid {
    flex-direction: column;
    gap: 24px;
  }
  .aqs-root .aqs-news-grid .more-notas-access {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .aqs-root .aqs-hero {
    padding: 150px 0 170px;
  }
  .aqs-root .aqs-section {
    padding: 80px 0;
  }
  .aqs-root .aqs-news {
    padding: 80px 0;
  }
  .aqs-root .aqs-stats {
    margin-top: -70px;
  }
  .aqs-root .aqs-stats .aqs-grid {
    grid-template-columns: 1fr;
  }
  .aqs-root .aqs-stats .aqs-stat {
    border-right: none;
    border-bottom: 1px solid var(--aqs-line);
  }
  .aqs-root .aqs-stats .aqs-stat:last-child {
    border-bottom: none;
  }
  .aqs-root .aqs-hero .aqs-cta-row .aqs-btn {
    flex: 1 1 100%;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aqs-root .aqs-hero-veil::before {
    animation: none;
  }
  .aqs-root .aqs-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.aqs-root a:focus-visible,
.aqs-root button:focus-visible {
  outline: 3px solid var(--aqs-cyan-bright);
  outline-offset: 3px;
}

/* ====== FOOTER (bloque cierre + info) — fuera de .aqs-root ====== */
.aqs-footer {
  position: relative;
  overflow: hidden;
  background: #1c252c;
  color: #fff;
  font-family: "Poppins", sans-serif;
  padding: 100px 0 0;
}
.aqs-footer,
.aqs-footer * {
  box-sizing: border-box;
}
.aqs-footer::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 320px;
  height: 220px;
  color: rgba(127, 212, 255, 0.16);
  background-image: radial-gradient(currentColor 1.1px, transparent 1.2px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(225deg, #000, transparent 70%);
  mask-image: linear-gradient(225deg, #000, transparent 70%);
  pointer-events: none;
}
.aqs-footer .aqs-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* CTA */
.aqs-foot-cta {
  text-align: center;
  margin: 0 auto;
  padding-bottom: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.aqs-foot-cta .aqs-logo {
  width: 250px;
  display: block;
  margin: 0 auto 20px;
}
.aqs-foot-cta .aqs-logo img {
  width: 100%;
}

.aqs-foot-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0ab1e4;
}
.aqs-foot-eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: #0ab1e4;
  display: inline-block;
}
.aqs-foot-cta h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 20px 0 0;
}
.aqs-foot-cta > p {
  color: #aeb9c7;
  max-width: 620px;
  margin: 22px auto 0;
  line-height: 1.7;
  font-size: 0.98rem;
}
.aqs-foot-btn {
  display: inline-block;
  margin-top: 34px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 1.15rem 2rem;
  background: #189dd9;
  color: #fff;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.aqs-foot-btn:hover {
  background: #0ab1e4;
  transform: translateY(-2px);
}
.aqs-foot-who {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.aqs-foot-who span {
  font-size: 0.78rem;
  font-weight: 500;
  color: #cfe4ff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px 18px;
  border-radius: 40px;
}

/* BOTTOM */
.aqs-foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 26px 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.aqs-foot-credits {
  color: #7e8b9b;
  font-size: 0.82rem;
}
.aqs-foot-credits p,
.aqs-foot-credits span {
  margin: 0;
  display: inline;
}
.aqs-foot-top {
  text-decoration: none;
  color: #aeb9c7;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.aqs-foot-top:hover {
  color: #0ab1e4;
}

/* ====== DROPDOWN / SUBMENÚ (desktop) ====== */
.aqs-root .aqs-menu .aqs-has-sub {
  position: relative;
}
.aqs-root .aqs-menu .aqs-has-sub > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.aqs-root .aqs-menu-caret {
  width: 11px;
  height: 11px;
  transition: transform 0.25s ease;
}
.aqs-root .aqs-menu .aqs-has-sub:hover .aqs-menu-caret,
.aqs-root .aqs-menu .aqs-has-sub:focus-within .aqs-menu-caret {
  transform: rotate(180deg);
}

.aqs-root .aqs-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 40px -16px rgba(16, 42, 111, 0.45);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
  z-index: 1001;
}
/* puente invisible: evita perder el hover en el espacio superior */
.aqs-root .aqs-submenu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.aqs-root .aqs-menu .aqs-has-sub:hover .aqs-submenu,
.aqs-root .aqs-menu .aqs-has-sub:focus-within .aqs-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* enlaces del submenú: panel blanco, texto oscuro en ambos estados del header */
.aqs-root .aqs-menu .aqs-submenu a,
.aqs-root .aqs-header.is-scrolled .aqs-menu .aqs-submenu a {
  display: block;
  color: var(--aqs-ink);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: 7px;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.aqs-root .aqs-menu .aqs-submenu a::after {
  display: none;
} /* sin subrayado del menú base */
.aqs-root .aqs-menu .aqs-submenu a:hover {
  background: var(--aqs-mist);
  color: var(--aqs-blue);
}

/* destino de anclas no tapado por el header fijo */
.aqs-root .aqs-day {
  scroll-margin-top: 96px;
}

/* ====== DROPDOWN / SUBMENÚ (desktop) — SOLO dentro del header ====== */
.aqs-root .aqs-header .aqs-menu .aqs-has-sub {
  position: relative;
}
.aqs-root .aqs-header .aqs-menu .aqs-has-sub > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.aqs-root .aqs-header .aqs-menu-caret {
  width: 11px;
  height: 11px;
  transition: transform 0.25s ease;
}
.aqs-root .aqs-header .aqs-menu .aqs-has-sub:hover .aqs-menu-caret,
.aqs-root .aqs-header .aqs-menu .aqs-has-sub:focus-within .aqs-menu-caret {
  transform: rotate(180deg);
}

.aqs-root .aqs-header .aqs-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 40px -16px rgba(16, 42, 111, 0.45);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
  z-index: 1001;
}
.aqs-root .aqs-header .aqs-submenu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.aqs-root .aqs-header .aqs-menu .aqs-has-sub:hover .aqs-submenu,
.aqs-root .aqs-header .aqs-menu .aqs-has-sub:focus-within .aqs-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.aqs-root .aqs-header .aqs-submenu a,
.aqs-root .aqs-header.is-scrolled .aqs-menu .aqs-submenu a {
  display: block;
  color: var(--aqs-ink);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: 7px;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.aqs-root .aqs-header .aqs-submenu a::after {
  display: none;
}
.aqs-root .aqs-header .aqs-submenu a:hover {
  background: var(--aqs-mist);
  color: var(--aqs-blue);
}

@media (max-width: 1024px) {
  /* ocultar SOLO el menú del header, NO el del panel móvil */
  .aqs-root .aqs-header .aqs-menu,
  .aqs-root .aqs-header .aqs-lang {
    display: none;
  }
  .aqs-root .aqs-burger {
    display: flex;
  }

  /* menú dentro del panel móvil */
  .aqs-root .aqs-mobile-panel .aqs-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    list-style: none;
  }
  .aqs-root .aqs-mobile-panel .aqs-menu > li {
    width: 100%;
    border-bottom: 1px solid var(--aqs-line);
  }
  .aqs-root .aqs-mobile-panel .aqs-menu > li > a {
    display: flex;
    align-items: center;
    color: var(--aqs-ink);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 0;
  }
  .aqs-root .aqs-mobile-panel .aqs-menu-caret {
    display: none;
  }
  .aqs-root .aqs-mobile-panel .aqs-menu a::after {
    display: none;
  }

  /* submenú móvil: SIEMPRE visible, en flujo, indentado */
  .aqs-root .aqs-mobile-panel {
    overflow-y: auto;
  }

  .aqs-root .aqs-mobile-panel .aqs-submenu {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      padding 0.35s ease;

    padding: 0 0 0 16px;
  }

  .aqs-root .aqs-mobile-panel .aqs-has-sub.is-open > .aqs-submenu {
    max-height: 500px;
    opacity: 1;
    padding: 10px 0 10px 16px;
  }
  .aqs-root .aqs-mobile-panel .aqs-submenu::before {
    display: none;
  }
  .aqs-root .aqs-mobile-panel .aqs-submenu li {
    border: none;
  }
  .aqs-root .aqs-mobile-panel .aqs-submenu a {
    display: block;
    padding: 9px 0;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--aqs-grey);
  }
}

@media (max-width: 980px) {
  .aqs-root .aqs-mobile-panel .aqs-submenu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    margin: 8px 0 0 0 !important;
    padding: 0 0 0 16px !important;
    display: none;
  }

  .aqs-root .aqs-mobile-panel .aqs-has-sub.is-open > .aqs-submenu {
    display: block;
  }

  .aqs-root .aqs-mobile-panel .aqs-submenu li {
    width: 100%;
  }

  .aqs-root .aqs-mobile-panel .aqs-submenu a {
    display: block;
    width: 100%;
  }
}

.aqs-mobile-lang {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
}

.aqs-mobile-lang .aqs-flag-text {
  font-size: 20px;
  line-height: 1;
}

.aqs-current-lang {
  margin-left: auto;
  color: #0097d7;
  font-weight: 700;
}
