/* =====================================================================
   GEXIA · Hero v2 — "Del evento a la acción"
   Concepto: el hero ES el sistema funcionando. Capturas reales de la
   plataforma en un escenario 3D; un flujo evento → acción salta de un
   módulo a otro y se puede explorar desde la consola.
   Todo el estilo está aislado bajo .gx para convivir con el sitio actual.
   ===================================================================== */

.gx {
  /* Color: la noche de una sala de control, derivada del azul del símbolo */
  --night: #050b1a;            /* fondo */
  --night-2: #0b1530;          /* consola y superficies */
  --text: #eef2fa;             /* 17.5:1 sobre --night */
  --text-2: #a7b3cb;           /* 9.3:1 */
  --text-3: #8592ad;           /* 6.3:1 */
  --hair: rgba(167, 179, 203, 0.14);
  --accent: #6aa1ff;           /* foco y enlaces · 7.6:1 */
  --event: #f65f18;            /* naranja del símbolo = evento · 6.1:1 */
  --action: #3ccf7a;           /* verde del símbolo, aclarado para fondo oscuro = acción · 9.7:1 */

  /* Tipografía: Inter, la familia oficial (definida en gexia.css) */
  --f-display: var(--font);
  --f-text: var(--font);
  --f-mono: var(--font);

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.2, 0.75, 0.15, 1);

  font-family: var(--f-text);
  color: var(--text);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
.gx *, .gx *::before, .gx *::after { box-sizing: border-box; }
.gx svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gx :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.gx [hidden] { display: none !important; }

.gx-skip {
  position: fixed; left: 16px; top: -80px; z-index: 80; padding: 10px 16px; border-radius: 10px;
  background: #fff; color: var(--night) !important; font-weight: 600;
}
.gx-skip:focus { top: 12px; }

/* ---------- Navegación: la única superficie de vidrio ---------- */
.gx-nav { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background-color 300ms, box-shadow 300ms; }
.gx-nav.is-solid, .gx-nav.is-open, .gx-nav.is-sheet {
  background: rgba(5, 11, 26, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 1px 0 var(--hair);
}
@media (prefers-reduced-transparency: reduce) { .gx-nav.is-solid, .gx-nav.is-open, .gx-nav.is-sheet { background: var(--night); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.gx-nav-inner {
  height: var(--nav-h); width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
}
.gx-logo { display: flex; align-items: center; min-height: 44px; }
.gx-logo img { height: 40px; width: auto; }
@media (max-width: 47.99rem) { .gx-logo img { height: 34px; } }
.gx-logo-oscuro { display: none; }
.gx-links { display: none; margin-left: auto; gap: 0.25rem; }
.gx-link {
  display: inline-flex; align-items: center; gap: 0.3rem; min-height: 40px; padding: 0 0.8rem;
  border-radius: 999px; background: none; border: 0; cursor: pointer;
  color: var(--text-2); font: 500 0.9rem/1 var(--f-text); transition: color 200ms, background-color 200ms;
}
.gx-link:hover, .gx-link[aria-expanded="true"] { color: var(--text); background: rgba(238, 242, 250, 0.06); }
.gx-link svg { width: 14px; height: 14px; transition: transform 250ms var(--ease); }
.gx-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.gx-nav-cta { display: none; }
.gx-burger {
  margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  display: grid; place-content: center; gap: 6px; color: var(--text);
}
.gx-burger span { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform 300ms var(--ease); }
.gx-burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.gx-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 64rem) {
  .gx-links, .gx-nav-cta { display: flex; }
  .gx-burger { display: none; }
}

.gx-menu { border-top: 1px solid var(--hair); }
.gx-menu-inner {
  width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; padding: 1.75rem 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem;
}
.gx-menu-title { font: 600 0.75rem/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin: 0 0 0.75rem; }
.gx-menu a { display: block; padding: 0.55rem 0.75rem; margin-inline: -0.75rem; border-radius: 10px; transition: background-color 200ms; }
.gx-menu a:hover { background: rgba(238, 242, 250, 0.05); }
.gx-menu strong { display: block; font-weight: 600; font-size: 1rem; color: var(--text); }
.gx-menu span { display: block; font-size: 0.875rem; color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) {
  .gx-menu:not([hidden]) { animation: gx-drop 280ms var(--ease); }
  .gx-sheet:not([hidden]) { animation: gx-drop 280ms var(--ease); }
}
@keyframes gx-drop { from { opacity: 0; transform: translateY(-8px); } }

.gx-sheet {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 59; overflow-y: auto; overscroll-behavior: contain;
  background: var(--night); padding: 1.5rem var(--gutter) 3rem; display: flex; flex-direction: column;
}
.gx-sheet a:not(.btn) { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--hair); font-size: 1.125rem; color: var(--text); }
.gx-sheet .gx-menu-title { margin-top: 1.5rem; }
.gx-sheet .btn { margin-top: 2rem; }
.gx-lock { overflow: hidden; }

/* Al bajar, la barra pasa a vidrio claro (salvo con el menú móvil abierto) */
.gx-nav.is-solid:not(.is-sheet) {
  background: rgba(255, 255, 255, 0.82); box-shadow: 0 1px 0 rgba(10, 16, 34, 0.08);
  --text: #0a1022; --text-2: #4a5468; --text-3: #5f6878; --hair: rgba(10, 16, 34, 0.1);
}
.gx-nav.is-solid:not(.is-sheet) .gx-logo-claro { display: none; }
.gx-nav.is-solid:not(.is-sheet) .gx-logo-oscuro { display: block; }
.gx-nav.is-solid:not(.is-sheet) .gx-link:hover,
.gx-nav.is-solid:not(.is-sheet) .gx-link[aria-expanded="true"],
.gx-nav.is-solid:not(.is-sheet) .gx-menu a:hover { background: rgba(10, 16, 34, 0.05); }
.gx-nav.is-solid:not(.is-sheet) .gx-nav-cta { background: #0a1022; color: #fff; }
.gx-nav.is-solid:not(.is-sheet) .gx-nav-cta:hover { background: var(--blue); box-shadow: none; }
@media (prefers-reduced-transparency: reduce) { .gx-nav.is-solid:not(.is-sheet) { background: #fff; } }

/* ---------- Hero ---------- */
.gx-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(700px, 100svh);
  padding-top: calc(var(--nav-h) + clamp(1rem, 3vh, 2.5rem));
  display: grid; grid-template-rows: 1fr auto;
  --p: 0;  /* progreso de salida al desplazarse (0 → 1) */
}
/* Iluminación: un foco frío detrás del escenario y un rastro tenue del evento */
.gx-light {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 55% at 72% 46%, rgba(54, 108, 230, 0.30), transparent 70%),
    radial-gradient(30% 30% at 58% 30%, rgba(246, 95, 24, 0.10), transparent 70%),
    radial-gradient(40% 40% at 12% 90%, rgba(60, 207, 122, 0.06), transparent 70%);
}
/* Piso de planta en perspectiva: da profundidad al escenario */
.gx-floor {
  position: absolute; z-index: -1; left: -25%; right: -25%; bottom: -8%; height: 62%;
  background-image:
    linear-gradient(rgba(167, 179, 203, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 179, 203, 0.10) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(700px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: radial-gradient(70% 90% at 60% 100%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 90% at 60% 100%, #000 20%, transparent 75%);
  pointer-events: none;
}

.gx-grid {
  width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; gap: 1.75rem;
  grid-template-areas: "copy" "stage";
  align-content: center;
}
.gx-copy { grid-area: copy; min-width: 0; position: relative; z-index: 2; }
.gx-stage { grid-area: stage; min-width: 0; }

@media (min-width: 64rem) {
  .gx-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    grid-template-areas: "copy stage";
    column-gap: clamp(1rem, 3vw, 3rem); row-gap: 1.75rem;
    align-items: center;
  }
  .gx-copy { align-self: center; }
}

/* Texto */
@media (min-width: 64rem) {
  .gx-copy { transform: translateY(calc(var(--p) * -40px)); opacity: calc(1 - var(--p) * 1.1); }
  .gx-proof { opacity: calc(1 - var(--p) * 1.2); }
}
.gx-eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font: 600 0.75rem/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); margin: 0 0 1.25rem;
}
.gx-eyebrow-tag { background: var(--event); color: var(--night); padding: 0.3em 0.55em; border-radius: 4px; font-weight: 600; }
.gx-title {
  margin: 0; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.25rem, 1.45rem + 2.1vw, 3.5rem); line-height: 1.04; letter-spacing: -0.035em;
  text-wrap: balance; max-width: 13ch;
}
.gx-lead {
  margin: 1rem 0 0; max-width: 31rem;
  font-size: clamp(1.02rem, 0.96rem + 0.25vw, 1.15rem); line-height: 1.55; color: var(--text-2); text-wrap: pretty;
}
.gx-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ---------- Escenario: de la operación a los resultados (planta.js) ---------- */
.gx-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 300px; }
@media (min-width: 64rem) { .gx-stage { min-height: clamp(460px, min(42vw, 66svh), 620px); } }
.gx-viz { width: 100%; max-width: 760px; height: auto; overflow: visible; font-family: var(--f-text); stroke: none; }
.gx .gx-viz, .gx-viz text { stroke: none; }
.gx-viz .gxv-head { fill: var(--text-3); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.gx-viz .gxv-pill { fill: rgba(11, 21, 48, 0.72); stroke: rgba(167, 179, 203, 0.2); stroke-width: 1; transition: stroke 400ms, fill 400ms; }
.gx-viz .gxv-label { fill: var(--text-2); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; transition: fill 400ms; }
.gx-viz .gxv-icon { fill: none; stroke: var(--text-3); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke 400ms; }
.gx-viz .gxv-dot { fill: var(--text-3); transition: fill 400ms; }
.gx-viz .gxv-link { fill: none; stroke: rgba(167, 179, 203, 0.16); stroke-width: 1; transition: stroke 500ms; }
.gx-viz .gxv-pulse { fill: none; stroke: rgba(106, 161, 255, 0.55); stroke-width: 1.4; stroke-linecap: round; opacity: 0; }
.gx-viz .gxv-ring { fill: none; stroke: rgba(167, 179, 203, 0.22); stroke-width: 1; }
.gx-viz .gxv-ring-dash { stroke: rgba(106, 161, 255, 0.45); stroke-dasharray: 2 6; transform-box: fill-box; transform-origin: center; }
.gx-viz .gxv-disc { fill: var(--night-2); stroke: rgba(106, 161, 255, 0.55); stroke-width: 1.2; }
@media (prefers-reduced-motion: no-preference) {
  .gx-viz .gxv-pulse.is-run { animation: gxv-run 4.2s var(--ease) infinite; }
  .gx-viz .gxv-ring-dash { animation: gxv-spin 40s linear infinite; }
}
@keyframes gxv-run { 0% { stroke-dashoffset: 14; opacity: 0; } 8% { opacity: 1; } 55% { opacity: 1; } 70%, 100% { stroke-dashoffset: calc(-1 * var(--len)); opacity: 0; } }
@keyframes gxv-spin { to { transform: rotate(360deg); } }
@media (max-width: 39.99rem) {
  .gx-viz .gxv-label { font-size: 12px; }
}

/* ---------- Prueba social ---------- */
.gx-proof {
  width: min(var(--max), 100% - 2 * var(--gutter)); margin: clamp(1.25rem, 3vh, 2rem) auto 0;
  padding: 1rem 0 1.25rem; border-top: 1px solid var(--hair);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2.5rem;
}
.gx-proof-stat { margin: 0; font-size: 0.9rem; color: var(--text-2); }
.gx-proof-stat strong { color: var(--text); font-weight: 700; margin-right: 0.3rem; font-variant-numeric: tabular-nums; }
.gx-proof-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem clamp(1.5rem, 3.5vw, 3rem); }
.gx-proof-logos img { display: block; height: 22px; width: auto; max-width: 96px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.62; transition: opacity 250ms; }
.gx-proof-logos img:hover { opacity: 1; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .gx-viz * { transition: none; }
  .gx-copy, .gx-proof { transform: none; opacity: 1; }
}

/* ---------- Portátiles de poca altura ---------- */
@media (min-width: 64rem) and (max-height: 860px) {
  .gx-title { font-size: clamp(2.1rem, 1.2rem + 2vw, 2.9rem); }
  .gx-eyebrow { margin-bottom: 0.9rem; }
  .gx-lead { font-size: 1rem; margin-top: 0.75rem; }
  .gx-actions { margin-top: 1.25rem; }
  .gx-grid { row-gap: 1.25rem; }
}

/* ---------- Encabezado con foto real (sala de control con GEXIA) ---------- */
.gx-hero.is-photo { background: #060c1c; }
.gx-hero.is-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background: url('../../Images/inicio/hero-control.webp') right center / auto 100% no-repeat;
}
.gx-hero.is-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, #060c1c 0%, rgba(6, 12, 28, 0.95) 34%, rgba(6, 12, 28, 0.55) 60%, rgba(6, 12, 28, 0.3) 100%),
    linear-gradient(180deg, rgba(6, 12, 28, 0.9) 0%, rgba(6, 12, 28, 0) 22%),
    linear-gradient(0deg, #060c1c 0%, rgba(6, 12, 28, 0) 35%);
}
@media (min-width: 1920px) { .gx-hero.is-photo::before { background-size: cover; background-position: 70% center; } }
.gx-hero.is-photo .gx-light, .gx-hero.is-photo .gx-floor, .gx-hero.is-photo .gx-stage { display: none; }
@media (min-width: 64rem) { .gx-hero.is-photo .gx-grid { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr); } }
@media (max-width: 63.99rem) {
  .gx-hero.is-photo { padding-top: calc(var(--nav-h) + 54vw); }
  .gx-hero.is-photo::before { background: url('../../Images/inicio/hero-control.webp') 72% 0 / auto 64vw no-repeat; }
  .gx-hero.is-photo::after { background: linear-gradient(180deg, rgba(6,12,28,0.8) 0%, rgba(6,12,28,0.25) 14%, rgba(6,12,28,0.35) 40%, #060c1c 66vw); }
}

/* ---------- Entrada por necesidad (barra inferior del encabezado) ---------- */
.gx-needs { position: relative; z-index: 2; width: min(var(--max), 100% - 2 * var(--gutter)); margin: clamp(1.5rem, 4vh, 3rem) auto 0; padding: 1.1rem 0 calc(1.25rem + var(--sheet-r)); border-top: 1px solid rgba(167, 179, 203, 0.18); }
.gx-needs > p { margin: 0 0 0.8rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--snow-2); }
.gx-needs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 0.5rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
.gx-needs ul::-webkit-scrollbar { display: none; }
.gx-needs li { scroll-snap-align: start; }
.gx-needs a { display: flex; flex-direction: column; justify-content: space-between; gap: 0.75rem; height: 100%; min-height: 88px; padding: 0.85rem 0.9rem; border-radius: 12px; color: var(--snow); text-decoration: none; font-size: 0.875rem; font-weight: 600; line-height: 1.3;
  background: rgba(11, 21, 48, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(167, 179, 203, 0.18); transition: background-color 200ms, box-shadow 200ms, transform 200ms var(--ease); }
.gx-needs a:hover { background: rgba(0, 71, 179, 0.55); box-shadow: inset 0 0 0 1px rgba(106, 161, 255, 0.6); transform: translateY(-2px); }
.gx-needs a:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
.gx-needs svg { width: 20px; height: 20px; fill: none; stroke: var(--blue-bright); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 64rem) { .gx-needs ul { grid-auto-flow: row; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: visible; } }
@media (max-width: 63.99rem) { .gx-needs ul { margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); } }
.gx-hero { grid-template-columns: minmax(0, 1fr); }
.gx-needs { min-width: 0; }

/* Franja «todo conectado» (parte baja del encabezado) */
.gx-sync { position: relative; z-index: 2; width: min(var(--max), 100% - 2 * var(--gutter)); margin: clamp(1.5rem, 4vh, 3rem) auto 0; padding: 1.1rem 0 calc(1.1rem + var(--sheet-r)); border-top: 1px solid rgba(167, 179, 203, 0.18); display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; min-width: 0; }
.gx-sync ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.gx-sync li { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--snow); }
.gx-sync li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--action); box-shadow: 0 0 0 3px rgba(60, 207, 122, 0.18); animation: gxSync 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * 0.3s); }
.gx-sync p { margin: 0 0 0 auto; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--action); }
.gx-sync p img { width: 18px; height: 18px; }
@keyframes gxSync { 0%, 100% { box-shadow: 0 0 0 3px rgba(60, 207, 122, 0.18); } 50% { box-shadow: 0 0 0 6px rgba(60, 207, 122, 0.05); } }
@media (max-width: 47.99rem) { .gx-sync p { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .gx-sync li::before { animation: none; } }

/* Encabezado en teléfonos: foto a pantalla completa y texto abajo */
@media (max-width: 63.99rem) {
  .gx-hero.is-photo { padding-top: calc(var(--nav-h) + 1rem); min-height: max(640px, 100svh); }
  .gx-hero.is-photo .gx-grid { align-content: end; }
  .gx-hero.is-photo::before { background: url('../../Images/inicio/hero-control.webp') 74% 22% / cover no-repeat; }
  .gx-hero.is-photo::after { background:
    linear-gradient(180deg, rgba(6,12,28,0.75) 0%, rgba(6,12,28,0.15) 18%, rgba(6,12,28,0.35) 36%, rgba(6,12,28,0.92) 56%, #060c1c 72%); }
  .gx-hero.is-photo .gx-title { font-size: clamp(2.25rem, 1.6rem + 3.2vw, 3rem); }
  .gx-hero.is-photo .gx-lead { font-size: 1rem; }
  .gx-hero.is-photo .gx-actions { flex-wrap: nowrap; gap: 0.6rem; }
  .gx-hero.is-photo .gx-actions .btn { flex: 1 1 0; padding-inline: 0.9rem; font-size: 0.9rem; }
  .gx-sync { margin-top: 1.5rem; }
  .gx-sync ul { gap: 0.45rem 1rem; }
  .gx-sync li { font-size: 0.8125rem; }
}
@media (max-width: 22rem) { .gx-hero.is-photo .gx-actions { flex-wrap: wrap; } }
@media (max-width: 63.99rem) {
  .gx-hero.is-photo { padding-top: max(calc(var(--nav-h) + 40vh), 330px); }
  .gx-hero.is-photo::before { bottom: auto; height: max(52vh, 420px); background: url('../../Images/inicio/hero-control.webp') 84% 60% / cover no-repeat; }
  .gx-hero.is-photo::after { background:
    linear-gradient(180deg, rgba(6,12,28,0.8) 0%, rgba(6,12,28,0) 16%, rgba(6,12,28,0) calc(max(52vh, 420px) - 200px), #060c1c max(52vh, 420px)); }
}
/* Teléfonos: la foto pasa a ser fondo de todo el encabezado */
@media (max-width: 63.99rem) {
  .gx-hero.is-photo { padding-top: calc(var(--nav-h) + 2rem); min-height: max(600px, 92svh); }
  .gx-hero.is-photo .gx-grid { align-content: end; }
  .gx-hero.is-photo::before { inset: 0; height: auto; bottom: 0; background: url('../../Images/inicio/hero-control.webp') 70% 50% / cover no-repeat; transform: scale(1.04); }
  .gx-hero.is-photo::after { background:
    linear-gradient(180deg, rgba(6,12,28,0.7) 0%, rgba(6,12,28,0.72) 30%, rgba(6,12,28,0.9) 58%, #060c1c 84%); }
}
@media (max-width: 63.99rem) {
  .gx-hero.is-photo { min-height: 0; padding-top: calc(var(--nav-h) + clamp(2.5rem, 12vw, 4rem)); }
  .gx-hero.is-photo .gx-grid { align-content: start; }
}

/* Menú Sectores: tarjetas con foto */
.gx-menu-sec .gx-menu-inner { display: block; }
.gx-sec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.gx-menu .gx-sec a { display: grid; gap: 0.2rem; margin: 0; padding: 0 0 0.5rem; border-radius: 14px; }
.gx-menu .gx-sec a:hover { background: none; }
.gx-sec img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 0.6rem; border-radius: 12px; transition: transform 300ms var(--ease), filter 300ms; }
.gx-sec a:hover img { transform: scale(1.02); filter: brightness(1.1); }
