/* ==========================================================================
   PROFESORADO EN CIENCIAS DE LA ADMINISTRACIÓN — IES N.º 9 JUANA AZURDUY
   Arquitectura Visual: Bento Grid, Carrusel Coverflow de Grupos, Escudos
   Completos sin recorte, Ilustraciones 3D de Perfiles e Iconos SVG Oficiales.
   ========================================================================== */

:root {
  color-scheme: light;
  --navy-950: #040b16;
  --navy-900: #071326;
  --navy-800: #0c1f3d;
  --navy-700: #132f5c;
  --royal-600: #1565c0;
  --royal-400: #42a5f5;
  --orange-500: #ff6d00;
  --orange-600: #e65100;
  --orange-300: #ffb74d;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --green-600: #059669;
  --amber-600: #d97706;
  --white: #ffffff;
  --shell: 1220px;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background-color: var(--navy-950);
  color: var(--slate-900);
  line-height: 1.6;
  overflow-x: hidden;
  min-width: 320px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, p, figure {
  margin: 0;
}

.svg-sprites {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg.ico {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.shell {
  width: min(var(--shell), calc(100% - 36px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-nav {
  position: fixed;
  top: -80px;
  left: 16px;
  background: var(--orange-500);
  color: var(--white);
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 10px;
  z-index: 2000;
  transition: top 0.2s;
}

.skip-nav:focus {
  top: 16px;
}

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 3px;
}

/* BARRA DE PROGRESO SUPERIOR */
.top-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--orange-500), var(--royal-400));
  z-index: 1500;
}

/* ==========================================================================
   DOCK FLOTANTE DE NAVEGACIÓN CON LOGOS COMPLETOS
   ========================================================================== */
.floating-header {
  position: sticky;
  top: 12px;
  z-index: 1000;
  padding: 0 0 8px;
}

.dock-nav {
  background: rgba(7, 19, 38, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 109, 0, 0.4);
  border-radius: 999px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  color: var(--white);
}

.dock-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dock-emblems {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Logos completos sin recortes */
.emblem-ies-full {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.emblem-admin-full {
  height: 50px;
  width: 50px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 2px 8px rgba(255, 109, 0, 0.35));
}

.dock-title {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dock-title span {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--orange-300);
}

.dock-title strong {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dock-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dock-links > a {
  font-size: 12.5px;
  font-weight: 700;
  color: #dbeafe;
  transition: color 0.2s;
}

.dock-links > a:hover {
  color: var(--orange-500);
}

.dock-links .dock-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(255, 109, 0, 0.3);
  transition: transform 0.2s;
}

.dock-links .dock-cta:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.dock-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.dock-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}

.dock-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dock-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.dock-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO BENTO ASIMÉTRICO CON ESCUDOS COMPLETOS E ICONOS SVG
   ========================================================================== */
.bento-hero {
  position: relative;
  padding: 28px 0 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(21, 101, 192, 0.28), transparent 42%),
    radial-gradient(circle at 85% 30%, rgba(255, 109, 0, 0.18), transparent 40%),
    url('assets/fondo-circuitos.webp') center/cover no-repeat,
    linear-gradient(160deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
  background-blend-mode: normal, normal, soft-light, normal;
  color: var(--white);
  overflow: hidden;
}

.hero-bento-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 20px;
  padding-bottom: 42px;
}

.bento-cell {
  border-radius: var(--radius-xl);
  padding: 36px;
  background: rgba(12, 31, 61, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.bento-main-pitch {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: rgba(255, 109, 0, 0.16);
  border: 1px solid rgba(255, 109, 0, 0.45);
  color: var(--orange-300);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 5px rgba(255, 109, 0, 0.25);
  animation: pulseGlow 2.2s infinite;
}

.bento-main-pitch h1 {
  font-size: clamp(2.2rem, 4.3vw, 3.8rem);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.bento-main-pitch h1 span {
  background: linear-gradient(95deg, #ffa726, #ff6d00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bento-main-pitch h1 em {
  font-style: normal;
  color: #64b5f6;
}

.hero-subtext {
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  color: #cbd5e1;
  margin-bottom: 28px;
  max-width: 640px;
}

.hero-subtext strong {
  color: var(--white);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.btn-solid-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(255, 109, 0, 0.32);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-solid-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 109, 0, 0.45);
}

.btn-glass-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-glass-navy:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--orange-500);
}

.hero-mini-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mini-metric {
  background: rgba(4, 11, 22, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
}

.mini-metric strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: var(--orange-300);
}

.mini-metric span {
  font-size: 11px;
  color: #94a3b8;
}

/* TARJETA DERECHA DEL HERO CON AMBOS ESCUDOS COMPLETOS */
.bento-emblem-showcase {
  background: linear-gradient(155deg, #102a52, #071326);
  border-color: rgba(255, 109, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  gap: 18px;
}

.dual-logos-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding: 12px;
  background: rgba(4, 11, 22, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.full-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.hero-ies-full {
  height: 124px;
  width: auto;
  max-width: 115px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55));
  animation: gentleFloat 5s ease-in-out infinite;
}

.hero-admin-full {
  height: 124px;
  width: 124px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 10px 24px rgba(255, 109, 0, 0.3));
  animation: gentleFloat 5s ease-in-out infinite 0.6s;
}

.seal-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--orange-300);
  margin-bottom: 6px;
}

.emblem-caption h2 {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 8px;
}

.emblem-caption p {
  font-size: 12.5px;
  color: #cbd5e1;
}

.bento-quick-badges {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.bento-quick-badges span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 10px;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
}

.custom-svg-ico {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

/* CINTA TICKER INFERIOR */
.ticker-tape {
  background: linear-gradient(90deg, var(--orange-600), var(--orange-500));
  color: var(--white);
  padding: 12px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.ticker-track {
  display: flex;
  gap: 22px;
  width: max-content;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
  animation: tickerScroll 36s linear infinite;
}

/* ==========================================================================
   ESTILOS COMUNES DE SECCIÓN
   ========================================================================== */
.section-block {
  position: relative;
  padding: 88px 0;
}

.section-carousel-stage {
  background: linear-gradient(180deg, var(--navy-900) 0%, #0d2142 100%);
  color: var(--white);
}

.section-navy-matrix {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 109, 0, 0.12), transparent 36%),
    url('assets/fondo-circuitos.webp') center/cover no-repeat,
    var(--navy-950);
  background-blend-mode: normal, soft-light, normal;
  color: var(--white);
}

.section-light-bento {
  background:
    url('assets/fondo-lineas.webp') center/800px auto repeat,
    var(--slate-50);
  color: var(--slate-900);
}

.block-header-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--royal-600);
  margin-bottom: 12px;
}

.kicker-light {
  color: var(--orange-300);
}

.kicker-num {
  background: var(--orange-500);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 900;
}

.section-block h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.section-block h2 span {
  color: var(--orange-500);
}

.block-lead {
  font-size: 15px;
  color: var(--slate-700);
}

.text-soft {
  color: #cbd5e1;
}

/* ==========================================================================
   SECCIÓN 01: CARRUSEL CINEMATOGRÁFICO DE LOS 5 GRUPOS (GRUPO 1 A 5)
   ========================================================================== */
.group-carousel-wrapper {
  background: var(--navy-950);
  border: 1px solid rgba(255, 109, 0, 0.35);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

.group-stage {
  position: relative;
  height: clamp(320px, 56vw, 580px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #02060d;
}

.group-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.group-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.group-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.04);
  transition: transform 6.5s ease-out;
}

.group-slide.is-active img {
  transform: scale(1);
}

.group-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 28px 24px;
  background: linear-gradient(0deg, rgba(4, 11, 22, 0.96) 0%, rgba(4, 11, 22, 0.72) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.caption-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--orange-300);
  background: rgba(255, 109, 0, 0.2);
  border: 1px solid rgba(255, 109, 0, 0.45);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.caption-meta strong {
  display: block;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 4px;
}

.caption-meta p {
  font-size: 13.5px;
  color: #cbd5e1;
}

.btn-zoom-slide {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(12, 31, 61, 0.8);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 800;
  flex-shrink: 0;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-zoom-slide:hover {
  background: var(--orange-500);
  border-color: var(--orange-500);
}

.stage-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 19, 38, 0.78);
  backdrop-filter: blur(8px);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background-color 0.2s, transform 0.2s;
}

.stage-nav:hover {
  background: var(--orange-500);
  border-color: var(--orange-500);
  transform: translateY(-50%) scale(1.06);
}

.stage-prev { left: 16px; }
.stage-next { right: 16px; }

.carousel-timer-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 6;
}

.carousel-timer-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange-500);
  transition: width 0.1s linear;
}

/* TIRA DE MINIATURAS (FILMSTRIP) */
.group-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.thumb-btn {
  position: relative;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: var(--navy-800);
  height: 86px;
  opacity: 0.6;
  transition: opacity 0.25s, border-color 0.25s, transform 0.2s;
}

.thumb-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.thumb-btn.is-active {
  opacity: 1;
  border-color: var(--orange-500);
  box-shadow: 0 8px 20px rgba(255, 109, 0, 0.35);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-btn span {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(4, 11, 22, 0.82);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   SECCIÓN 02: TABLERO DE MALLA CURRICULAR Y CORRELATIVIDADES (3 COLUMNAS)
   ========================================================================== */
.matrix-command-bar {
  background: rgba(12, 31, 61, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
}

.matrix-filters-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 18px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--orange-300);
}

.pill-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.matrix-btn, .field-filter-btn {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 800;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.matrix-btn:hover, .field-filter-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.matrix-btn.is-active {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--white);
}

.field-filter-btn.is-active {
  background: var(--royal-600);
  border-color: var(--royal-400);
  color: var(--white);
}

.matrix-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.matrix-search-input {
  flex: 1;
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(4, 11, 22, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 11px 16px;
  color: var(--orange-300);
}

.matrix-search-input:focus-within {
  border-color: var(--orange-500);
}

.matrix-search-input input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-size: 14px;
}

.matrix-search-input input::placeholder {
  color: #94a3b8;
}

.matrix-status-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: #cbd5e1;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.status-chip i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  display: inline-block;
}

.swatch-selected { background: var(--orange-500); }
.swatch-approved { background: #10b981; }
.swatch-regular { background: #f59e0b; }
.swatch-unlocks { background: #38bdf8; }

.matrix-counter {
  background: rgba(255, 109, 0, 0.2);
  border: 1px solid rgba(255, 109, 0, 0.45);
  color: var(--orange-300);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
}

/* GRILLA DE TARJETAS DE MATERIAS (3 COLUMNAS EN ESCRITORIO) */
.matrix-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.unit-card {
  background: var(--white);
  color: var(--slate-900);
  border-radius: 14px;
  border: 2px solid transparent;
  border-top: 5px solid var(--navy-800);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.unit-card[data-field-type="Específica"] { border-top-color: var(--orange-500); }
.unit-card[data-field-type="General"] { border-top-color: var(--royal-600); }
.unit-card[data-field-type="Práctica Profesional"] { border-top-color: var(--green-600); }

.unit-card.is-selected {
  grid-column: span 2;
  border-color: var(--orange-500);
  box-shadow: 0 18px 45px rgba(255, 109, 0, 0.28);
}

.unit-card.is-req-approved {
  border-color: #10b981;
  background: #ecfdf5;
}

.unit-card.is-req-regular {
  border-color: #f59e0b;
  background: #fffbeb;
}

.unit-card.is-unlocked-target {
  border-color: #0284c7;
  background: #f0f9ff;
}

.unit-card-btn {
  width: 100%;
  padding: 16px;
  border: 0;
  background: transparent;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
}

.unit-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.unit-order-badge {
  background: var(--navy-900);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 900;
  padding: 4px 9px;
  border-radius: 6px;
}

.unit-card.is-selected .unit-order-badge {
  background: var(--orange-500);
}

.unit-tags-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.unit-field-pill {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-700);
}

.unit-libre-pill {
  font-size: 10px;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e40af;
}

.unit-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.unit-title-row strong {
  font-size: 15px;
  font-weight: 850;
  line-height: 1.3;
}

.unit-chevron {
  color: var(--slate-500);
  transition: transform 0.25s;
}

.unit-card.is-open .unit-chevron {
  transform: rotate(180deg);
  color: var(--orange-500);
}

.unit-Quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--slate-500);
}

.unit-drawer {
  padding: 0 16px 18px;
  border-top: 1px dashed var(--slate-200);
}

.unit-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--orange-500);
  background: #fff3e0;
  color: var(--orange-600);
  font-size: 12px;
  font-weight: 800;
}

.unit-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.unit-specs-pills span {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--slate-100);
  color: var(--slate-700);
}

.dep-section {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--slate-100);
}

.dep-section h4 {
  font-size: 10.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.dep-section p {
  font-size: 12px;
  color: var(--slate-500);
}

.dep-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dep-chip {
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 0;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-align: left;
  transition: transform 0.15s, filter 0.15s;
}

.dep-chip:hover {
  transform: translateY(-1px);
  filter: brightness(0.95);
}

.dep-chip.approved { background: #d1fae5; color: #065f46; }
.dep-chip.regular { background: #fef3c7; color: #92400e; }
.dep-chip.exam { background: #e0e7ff; color: #1e40af; }
.dep-chip.unlocks { background: #e0f2fe; color: #0369a1; }

.matrix-normative-bar {
  margin-top: 24px;
  background: rgba(12, 31, 61, 0.85);
  border: 1px solid rgba(255, 109, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.matrix-normative-bar strong {
  display: block;
  font-size: 15px;
  color: var(--orange-300);
  margin-bottom: 4px;
}

.matrix-normative-bar p {
  font-size: 13px;
  color: #cbd5e1;
  max-width: 720px;
}

/* ==========================================================================
   SECCIÓN 03: ANILLOS SVG Y BÓVEDA DE DOCUMENTOS PDF
   ========================================================================== */
.rings-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.ring-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 14px 35px rgba(7, 19, 38, 0.06);
}

.ring-card-primary {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-800);
}

.svg-ring-wrap {
  position: relative;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-bg {
  fill: none;
  stroke: rgba(148, 163, 184, 0.2);
  stroke-width: 10;
}

.donut-fill {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
}

.fill-orange { stroke: var(--orange-500); }
.fill-navy { stroke: var(--navy-900); }
.fill-blue { stroke: var(--royal-600); }

.ring-value {
  position: absolute;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.ring-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--orange-500);
  margin-bottom: 8px;
}

.ring-info h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
}

.ring-info p {
  font-size: 13.5px;
  opacity: 0.86;
}

.docs-vault-banner {
  background: var(--white);
  border: 2px solid var(--navy-900);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  box-shadow: 0 18px 45px rgba(7, 19, 38, 0.08);
}

.vault-copy h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--navy-900);
}

.vault-copy p {
  font-size: 14px;
  color: var(--slate-700);
}

.vault-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vault-doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--white);
  border: 1px solid var(--navy-700);
  transition: transform 0.2s, border-color 0.2s;
}

.vault-doc-card:hover {
  transform: translateX(4px);
  border-color: var(--orange-500);
}

.vault-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--orange-500);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.vault-doc-card span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--orange-300);
}

.vault-doc-card strong {
  display: block;
  font-size: 16px;
  font-weight: 850;
  margin: 2px 0;
}

.vault-doc-card small {
  font-size: 12px;
  color: #cbd5e1;
}

/* ==========================================================================
   SECCIÓN 04: INCUMBENCIAS CON SIDEBAR STICKY
   ========================================================================== */
.incumbencias-split-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: start;
}

.inc-sidebar {
  position: sticky;
  top: 96px;
  background: rgba(12, 31, 61, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: 26px;
  backdrop-filter: blur(12px);
}

.inc-sidebar p {
  font-size: 13.5px;
  color: #cbd5e1;
  margin: 12px 0 20px;
}

.inc-vertical-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.inc-tab-btn {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s, border-color 0.2s;
}

.inc-tab-btn b {
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}

.inc-tab-btn.is-active {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--white);
}

.inc-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 11, 22, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--orange-300);
}

.inc-search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-size: 13px;
}

.inc-count-label {
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--orange-300);
}

.inc-cards-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* ==========================================================================
   SECCIÓN 05: ACORDEÓN DE PERFILES CON LAS 4 IMÁGENES 3D E ICONOS SVG
   ========================================================================== */
.expanding-deck {
  display: flex;
  gap: 16px;
  min-height: 460px;
  margin-bottom: 32px;
}

.deck-card {
  flex: 1;
  background: var(--navy-800);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: flex 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 14px 35px rgba(7, 19, 38, 0.14);
  overflow: hidden;
}

.deck-card.is-expanded {
  flex: 2.3;
  background: linear-gradient(150deg, var(--navy-900) 0%, #030914 100%);
  border-color: var(--orange-500);
  box-shadow: 0 24px 55px rgba(7, 19, 38, 0.32);
}

.deck-card-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deck-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.deck-index {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--orange-300);
  background: rgba(255, 109, 0, 0.18);
  border: 1px solid rgba(255, 109, 0, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
}

.deck-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--orange-500);
  padding: 9px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(255, 109, 0, 0.35);
  flex-shrink: 0;
}

.deck-svg-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.deck-card h3 {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--white);
}

.deck-visual-box {
  margin: 14px 0;
  height: 190px;
  border-radius: 16px;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.25) 0%, rgba(4, 11, 22, 0.85) 80%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
  transition: height 0.35s ease;
}

.deck-card.is-expanded .deck-visual-box {
  height: 225px;
  border-color: rgba(255, 109, 0, 0.4);
}

.deck-profile-img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.deck-card:hover .deck-profile-img,
.deck-card.is-expanded .deck-profile-img {
  transform: scale(1.05);
}

.deck-card-body p {
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 14px;
  color: #cbd5e1;
}

.deck-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.deck-tags span {
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 109, 0, 0.18);
  color: var(--orange-300);
  border: 1px solid rgba(255, 109, 0, 0.35);
}

.cfe-capacities-strip {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  border-left: 6px solid var(--orange-500);
}

.cfe-strip-title span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--orange-300);
}

.cfe-strip-title strong {
  display: block;
  font-size: 19px;
  font-weight: 900;
  margin: 4px 0 18px;
}

.cfe-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.cfe-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cfe-step b {
  font-size: 13px;
  color: var(--orange-500);
}

.cfe-step span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

/* ==========================================================================
   SECCIÓN 06: HUB DE INGRESO Y CONTACTO (SIN TELÉFONO)
   ========================================================================== */
.hub-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.legajo-widget {
  background: var(--white);
  color: var(--slate-900);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.legajo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--slate-200);
}

.legajo-top h2 {
  font-size: 26px;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.legajo-top p {
  font-size: 13.5px;
  color: var(--slate-700);
}

.legajo-ring-box {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.legajo-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.legajo-ring-bg {
  fill: none;
  stroke: var(--slate-200);
  stroke-width: 9;
}

.legajo-ring-progress {
  fill: none;
  stroke: var(--orange-500);
  stroke-width: 9;
  stroke-linecap: round;
  transition: stroke-dasharray 0.35s ease;
}

.legajo-ring-text {
  position: absolute;
  text-align: center;
  line-height: 1.1;
}

.legajo-ring-text strong {
  display: block;
  font-size: 17px;
  font-weight: 950;
  color: var(--navy-900);
}

.legajo-ring-text span {
  font-size: 10px;
  font-weight: 800;
  color: var(--slate-500);
}

.legajo-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-500);
}

.btn-reset-legajo {
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--slate-700);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
}

.legajo-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.legajo-items-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--slate-700);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.legajo-items-grid label:has(input:checked) {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}

.legajo-items-grid label:has(input:checked) span {
  text-decoration: line-through;
}

.legajo-items-grid input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange-500);
  flex-shrink: 0;
}

.contact-hub-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.hub-card {
  background: rgba(12, 31, 61, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex: 1;
}

.hub-card-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 109, 0, 0.18);
  color: var(--orange-500);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hub-card span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--orange-300);
}

.hub-card h3 {
  font-size: 19px;
  font-weight: 900;
  margin: 4px 0 6px;
}

.hub-card p {
  font-size: 13.5px;
  color: #cbd5e1;
}

.hub-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--orange-300);
}

.hub-whatsapp-card {
  background: linear-gradient(135deg, #0d2b56, #071326);
  border: 1.5px solid var(--orange-500);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.wa-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.hub-whatsapp-card p {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

/* ==========================================================================
   FOOTER CON ESCUDOS COMPLETOS Y MODAL DE PANTALLA COMPLETA
   ========================================================================== */
.main-footer {
  background: #02060d;
  color: #94a3b8;
  border-top: 2px solid var(--orange-500);
}

.footer-upper {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-ies-full {
  height: 68px;
  width: auto;
  object-fit: contain;
}

.footer-admin-full {
  height: 68px;
  width: 68px;
  object-fit: contain;
  border-radius: 12px;
}

.footer-brand-row strong {
  display: block;
  font-size: 15px;
  color: var(--white);
}

.footer-brand-row p {
  font-size: 12.5px;
}

.btn-top-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.footer-lower {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11.5px;
}

.fullscreen-modal {
  border: 0;
  border-radius: 18px;
  background: var(--navy-950);
  color: var(--white);
  padding: 50px 18px 20px;
  max-width: min(95vw, 1120px);
  max-height: 92dvh;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
  text-align: center;
}

.fullscreen-modal::backdrop {
  background: rgba(2, 6, 13, 0.92);
  backdrop-filter: blur(10px);
}

.fullscreen-modal > img {
  max-width: min(88vw, 1040px);
  max-height: 68dvh;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: grid;
  place-items: center;
}

.fullscreen-modal > p {
  font-size: 13.5px;
  color: #e2e8f0;
  margin: 14px 0;
}

.modal-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.modal-nav-bar button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: grid;
  place-items: center;
}

/* ==========================================================================
   ANIMACIONES Y OPTIMIZACIÓN 100% CELULARES
   ========================================================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pulseGlow {
  50% { box-shadow: 0 0 0 10px rgba(255, 109, 0, 0); }
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes tickerScroll {
  to { transform: translateX(-50%); }
}

@media (max-width: 1040px) {
  .hero-bento-grid,
  .block-header-row,
  .docs-vault-banner,
  .incumbencias-split-layout,
  .hub-grid {
    grid-template-columns: 1fr;
  }
  .inc-sidebar {
    position: static;
  }
  .matrix-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rings-bento-grid {
    grid-template-columns: 1fr;
  }
  .expanding-deck {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 0;
  }
  .cfe-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 780px) {
  .dock-burger {
    display: flex;
  }
  .dock-links {
    position: absolute;
    top: 76px;
    left: 14px;
    right: 14px;
    background: var(--navy-900);
    border: 1px solid var(--orange-500);
    border-radius: 20px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }
  .dock-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .dock-links > a {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 10px;
  }
  .dock-links .dock-cta {
    justify-content: center;
  }
  .hero-mini-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .matrix-cards-grid,
  .inc-cards-list,
  .legajo-items-grid,
  .expanding-deck {
    grid-template-columns: 1fr;
  }
  .unit-card.is-selected {
    grid-column: span 1;
  }
  .group-caption {
    flex-direction: column;
    align-items: flex-start;
  }
  .group-thumbnails {
    grid-template-columns: repeat(5, minmax(90px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .cfe-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .shell {
    width: calc(100% - 24px);
  }
  .dock-nav {
    padding: 8px 14px;
  }
  .emblem-ies-full,
  .emblem-admin-full {
    height: 42px;
  }
  .emblem-admin-full {
    width: 42px;
  }
  .dock-title strong {
    font-size: 12.5px;
  }
  .bento-cell {
    padding: 22px 16px;
  }
  .dual-logos-stage {
    gap: 14px;
    padding: 10px;
  }
  .hero-ies-full {
    height: 98px;
  }
  .hero-admin-full {
    height: 98px;
    width: 98px;
  }
  .bento-quick-badges {
    grid-template-columns: 1fr;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .group-carousel-wrapper {
    padding: 10px;
  }
  .stage-nav {
    width: 38px;
    height: 38px;
  }
  .pill-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
  .matrix-btn[data-year="all"] {
    grid-column: 1 / -1;
  }
  .matrix-search-input input,
  .inc-search-box input {
    font-size: 16px;
  }
  .deck-visual-box,
  .deck-card.is-expanded .deck-visual-box {
    height: 210px;
  }
  .legajo-widget {
    padding: 22px 16px;
  }
  .legajo-top {
    flex-direction: column-reverse;
    text-align: center;
  }
  .cfe-steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand-row {
    flex-wrap: wrap;
  }
  .footer-ies-full,
  .footer-admin-full {
    height: 54px;
  }
}