/* =========================================================================
   ALTEC 2027 — CAPA VISUAL PROPIA

   Se carga despues de la plantilla (webmania.css + sitio.css). Las paginas
   de ALTEC usan solo clases ax-*; las heredadas de la plantilla (programa,
   conferencistas, contacto...) siguen con las suyas pero toman colores y
   tipografia de css/marca.css.

   Concepto: serio y tecnologico (azul petroleo profundo, lineas finas,
   etiquetas en monoespaciada, rejilla de puntos) + Costa Rica como destino
   (fotografia grande, el dorado y la orquidea del logo como acentos).

   Movimiento (criterio Emil Kowalski): solo transform/opacity, curvas
   propias, hover solo con mouse, entradas de 150-250 ms en UI y algo mas
   largas en las revelaciones de la portada. Con "reducir movimiento" se
   quita el desplazamiento y queda solo el fundido.

   Indice
     0. Tokens
     1. Base
     2. Estructura (contenedor, secciones)
     3. Tipografia de seccion
     4. Botones y enlaces
     5. Header y menu
     6. Portada de paginas internas (cover) y subnavegacion
     7. Componentes compartidos (tarjetas, datos, avisos, chips, vacio)
     8. Portada (index)
     9. Pie y WhatsApp
    10. Revelado al hacer scroll
    11. Responsive
   ========================================================================= */

/* ----------------------------------------------------------------------
   0. Tokens
   ---------------------------------------------------------------------- */
:root {
    /* Azules del logo, de lo mas profundo a lo mas claro */
    --ax-ink: #071C26;          /* fondo oscuro principal */
    --ax-deep: #0B2C3B;         /* franjas oscuras secundarias */
    --ax-petrol: #124C5A;       /* "15 al 17" del logo */
    --ax-blue: #156082;         /* ALTEC / 2027: botones, enlaces */
    --ax-blue-600: #0E4A66;     /* hover del azul */
    --ax-sky: #8CCDE6;          /* azul claro para detalles sobre oscuro */
    --ax-blue-soft: #E7F1F6;    /* tinte de fondo */

    /* Acentos */
    --ax-gold: #F2B035;         /* CR del logo: boton principal */
    --ax-gold-600: #E09A1A;
    --ax-gold-soft: #FCEFD3;
    --ax-orchid: #CA2CBE;       /* orquidea: detalles minimos */
    --ax-orchid-700: #7A1078;
    --ax-live: #19A35B;         /* punto "vigente" (estado, no marca) */

    /* Neutros */
    --ax-text: #34454F;
    --ax-mute: #5D6D76;
    --ax-faint: #8796A0;
    --ax-heading: #0B2532;
    --ax-line: #DCE4E8;
    --ax-line-2: #E9EEF1;
    --ax-mist: #F4F7F8;         /* fondo de secciones claras alternas */
    --ax-white: #FFFFFF;

    /* Sobre oscuro */
    --ax-on-dark: #FFFFFF;
    --ax-on-dark-2: rgba(255, 255, 255, .74);
    --ax-on-dark-3: rgba(255, 255, 255, .52);
    --ax-line-dark: rgba(255, 255, 255, .14);

    /* Tipografia */
    --ax-display: 'Montserrat', 'Segoe UI', Roboto, Arial, sans-serif;
    --ax-font: 'Montserrat', 'Segoe UI', Roboto, Arial, sans-serif;
    --ax-mono: 'Montserrat', 'Segoe UI', Roboto, Arial, sans-serif; /* etiquetas: misma familia (ya no monoespaciada) */

    /* Movimiento */
    --ax-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ax-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --ax-ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

    /* Forma */
    --ax-r-sm: 8px;
    --ax-r: 14px;
    --ax-r-lg: 22px;
    --ax-shadow-1: 0 1px 2px rgba(7, 28, 38, .06), 0 1px 1px rgba(7, 28, 38, .04);
    --ax-shadow-2: 0 1px 2px rgba(7, 28, 38, .05), 0 16px 40px -16px rgba(7, 28, 38, .22);
    --ax-shadow-3: 0 24px 64px -24px rgba(7, 28, 38, .35);

    /* Medidas */
    --ax-wrap: 1200px;
    --ax-gutter: clamp(20px, 4vw, 40px);
    --ax-header-h: 76px;
    --ax-sec: clamp(72px, 6vw + 40px, 128px);

}

/* ----------------------------------------------------------------------
   1. Base
   ---------------------------------------------------------------------- */
html {
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--ax-header-h) + 16px);
}
body {
    font-family: var(--ax-font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ax-text);
    font-optical-sizing: auto;
    text-rendering: optimizeLegibility;
}
body.ax-noscroll { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ax-display);
    color: var(--ax-heading);
    text-wrap: balance;
}
p { text-wrap: pretty; }
img { max-width: 100%; height: auto; }

::selection { background: var(--ax-blue); color: #fff; }
:focus-visible { outline: 2px solid var(--ax-blue); outline-offset: 3px; border-radius: 4px; }

/* Controles: sin seleccion de texto ni callout al mantener presionado */
button, .ax-btn, .ax-nav__link, .ax-menu-btn, .ax-subnav a, .ax-chip {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    touch-action: manipulation;
}
a, button { touch-action: manipulation; }

/* Saltar al contenido */
.ev-skip { background: var(--ax-ink); border-radius: var(--ax-r-sm); }

/* Monoespaciada para etiquetas y cifras */
.ax-mono { font-family: var(--ax-mono); font-weight: 500; letter-spacing: .02em; }
.ax-num { font-variant-numeric: tabular-nums; }

.ax-sr {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Icono de linea */
.ax-ico { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -0.25em; }

/* ----------------------------------------------------------------------
   2. Estructura
   ---------------------------------------------------------------------- */
.ax-wrap {
    width: 100%;
    max-width: calc(var(--ax-wrap) + var(--ax-gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--ax-gutter);
}
.ax-wrap--estrecho { max-width: calc(880px + var(--ax-gutter) * 2); }

.ax-sec { padding-block: var(--ax-sec); position: relative; }
.ax-sec--mist { background: var(--ax-mist); }
.ax-sec--ink { background: var(--ax-ink); color: var(--ax-on-dark-2); }
.ax-sec--deep { background: var(--ax-deep); color: var(--ax-on-dark-2); }
.ax-sec--ink h2, .ax-sec--ink h3, .ax-sec--deep h2, .ax-sec--deep h3 { color: var(--ax-on-dark); }
.ax-sec--borde { border-top: 1px solid var(--ax-line-2); }
.ax-sec--pegada { padding-top: 0; }


/* ----------------------------------------------------------------------
   3. Tipografia de seccion
   ---------------------------------------------------------------------- */
.ax-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    margin: 0 0 18px;
    font-family: var(--ax-mono); font-weight: 500;
    font-size: 13px; line-height: 1.2;
    color: var(--ax-blue);
}
.ax-eyebrow__n {
    display: inline-flex; align-items: center; gap: 12px;
    color: var(--ax-faint);
}
.ax-eyebrow__n::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.ax-sec--ink .ax-eyebrow, .ax-sec--deep .ax-eyebrow, .ax-oscuro .ax-eyebrow { color: var(--ax-gold); }
.ax-sec--ink .ax-eyebrow__n, .ax-sec--deep .ax-eyebrow__n, .ax-oscuro .ax-eyebrow__n { color: var(--ax-on-dark-3); }

.ax-cab { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.ax-cab--centro { margin-inline: auto; text-align: center; }
.ax-cab--centro .ax-eyebrow { justify-content: center; }

.ax-h1, .ax-h2 {
    font-family: var(--ax-display);
    font-weight: 600;
    letter-spacing: -0.022em;
    color: var(--ax-heading);
    margin: 0;
}
.ax-h2 { font-size: clamp(1.85rem, 1.25rem + 1.9vw, 2.9rem); line-height: 1.1; }
.ax-h2 strong, .ax-h1 strong { font-weight: 600; color: var(--ax-blue); }
.ax-h2 .ax-fino, .ax-h1 .ax-fino { font-weight: 300; }
.ax-sec--ink .ax-h2, .ax-sec--deep .ax-h2, .ax-oscuro .ax-h2 { color: #fff; }
.ax-sec--ink .ax-h2 strong, .ax-sec--deep .ax-h2 strong, .ax-oscuro .ax-h2 strong { color: var(--ax-gold); }

.ax-h3 {
    font-family: var(--ax-display); font-weight: 600;
    font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em;
    color: var(--ax-heading); margin: 0 0 8px;
}

.ax-lead {
    margin: 20px 0 0;
    font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6;
    color: var(--ax-mute);
}
.ax-sec--ink .ax-lead, .ax-sec--deep .ax-lead, .ax-oscuro .ax-lead { color: var(--ax-on-dark-2); }

.ax-prosa { font-size: 1.0625rem; line-height: 1.7; }
.ax-prosa p { margin: 0 0 1.1em; }
.ax-prosa p:last-child { margin-bottom: 0; }
.ax-prosa strong { color: var(--ax-heading); font-weight: 600; }

/* ----------------------------------------------------------------------
   4. Botones y enlaces
   ---------------------------------------------------------------------- */
.ax-btn {
    --b-bg: var(--ax-blue); --b-fg: #fff; --b-bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 22px;
    border: 1px solid var(--b-bd); border-radius: var(--ax-r-sm);
    background: var(--b-bg); color: var(--b-fg) !important;
    font-family: var(--ax-display); font-weight: 600; font-size: 15px; line-height: 1;
    letter-spacing: .005em; white-space: nowrap; cursor: pointer;
    transition: transform 160ms var(--ax-ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.ax-btn .ax-ico { width: 18px; height: 18px; transition: transform 200ms var(--ax-ease-out); }
.ax-btn:active { transform: scale(0.97); }

.ax-btn--oro { --b-bg: var(--ax-gold); --b-fg: var(--ax-ink); }
.ax-btn--linea { --b-bg: transparent; --b-fg: var(--ax-blue); --b-bd: rgba(21, 96, 130, .35); }
.ax-btn--claro { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255, 255, 255, .38); }
.ax-btn--blanco { --b-bg: #fff; --b-fg: var(--ax-ink); }
.ax-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.ax-btn--bloque { width: 100%; }

.ax-btn.is-off, .ax-btn[aria-disabled="true"] {
    --b-bg: var(--ax-line-2); --b-fg: var(--ax-faint); --b-bd: transparent;
    cursor: not-allowed; pointer-events: none;
}
.ax-oscuro .ax-btn.is-off, .ax-sec--ink .ax-btn.is-off, .ax-sec--deep .ax-btn.is-off {
    --b-bg: rgba(255, 255, 255, .08); --b-fg: var(--ax-on-dark-3);
}

@media (hover: hover) and (pointer: fine) {
    .ax-btn:hover { --b-bg: var(--ax-blue-600); }
    .ax-btn--oro:hover { --b-bg: var(--ax-gold-600); }
    .ax-btn--linea:hover { --b-bg: var(--ax-blue-soft); --b-bd: var(--ax-blue); }
    .ax-btn--claro:hover { --b-bg: rgba(255, 255, 255, .08); --b-bd: #fff; }
    .ax-btn--blanco:hover { --b-bg: var(--ax-blue-soft); }
    .ax-btn:hover .ax-ico--flecha { transform: translateX(3px); }
}

.ax-botones { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Enlace con flecha */
.ax-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--ax-display); font-weight: 600; font-size: 15px;
    color: var(--ax-blue);
}
.ax-link .ax-ico { width: 18px; height: 18px; transition: transform 200ms var(--ax-ease-out); }
.ax-oscuro .ax-link, .ax-sec--ink .ax-link, .ax-sec--deep .ax-link { color: var(--ax-sky); }
@media (hover: hover) and (pointer: fine) {
    .ax-link:hover { color: var(--ax-blue-600); }
    .ax-link:hover .ax-ico { transform: translateX(3px); }
    .ax-oscuro .ax-link:hover, .ax-sec--ink .ax-link:hover, .ax-sec--deep .ax-link:hover { color: #fff; }
}

/* ----------------------------------------------------------------------
   5. Header y menu
   ---------------------------------------------------------------------- */
.ax-header {
    position: fixed; inset: 0 0 auto 0; z-index: 900;
    height: var(--ax-header-h);
    padding-top: env(safe-area-inset-top, 0px);
    /* Blanco casi opaco: sobre las portadas oscuras un vidrio mas
       transparente se ve gris. El desenfoque queda como matiz al bajar. */
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: border-color 200ms ease, background-color 200ms ease;
}
.ax-header.is-scrolled {
    border-bottom-color: var(--ax-line);
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
}

.ax-header__in {
    height: 100%;
    display: flex; align-items: center; gap: 24px;
}

/* Logo: simbolo + linea + descriptor (como el bloque horizontal del logo) */
.ax-marca { display: flex; align-items: center; gap: 16px; flex: none; color: inherit; }
.ax-marca img { height: 46px; width: auto; display: block; }
.ax-marca__txt {
    display: none;
    padding-left: 16px; border-left: 1px solid var(--ax-line);
    font-family: var(--ax-display); font-size: 11.5px; line-height: 1.35; color: #606060;
    max-width: 230px;
}
.ax-marca__txt b { font-weight: 700; color: var(--ax-blue); }

/* Navegacion de escritorio */
.ax-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.ax-nav__list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ax-nav__item { position: relative; }
.ax-nav__link {
    display: inline-flex; align-items: center; gap: 6px;
    height: 40px; padding: 0 14px; border: 0; border-radius: var(--ax-r-sm);
    background: transparent;
    font-family: var(--ax-display); font-weight: 500; font-size: 14.5px;
    color: var(--ax-heading); cursor: pointer; white-space: nowrap;
    transition: background-color 150ms ease, color 150ms ease;
}
.ax-nav__link .ax-ico { width: 16px; height: 16px; color: var(--ax-faint); transition: transform 200ms var(--ax-ease-out); }
.ax-nav__item.is-activo > .ax-nav__link { color: var(--ax-blue); }
.ax-nav__item.is-activo > .ax-nav__link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
    border-radius: 2px; background: var(--ax-gold);
}

/* Submenu: aparece desde su disparador (origin-aware), rapido y sutil */
.ax-nav__sub {
    position: absolute; top: calc(100% + 10px); left: 0; z-index: 2;
    min-width: 248px; margin: 0; padding: 8px; list-style: none;
    background: #fff; border: 1px solid var(--ax-line); border-radius: var(--ax-r);
    box-shadow: var(--ax-shadow-2);
    opacity: 0; visibility: hidden;
    transform: translateY(-4px) scale(0.97); transform-origin: top left;
    transition: opacity 120ms ease-out, transform 120ms ease-out, visibility 0s linear 120ms;
}
/* Pasando de un menu abierto al vecino, el nuevo aparece al instante
   (sin volver a animar ni parpadear). Clase puesta por js/sitio.js. */
.ax-nav__list.is-rapido .ax-nav__sub { transition: none !important; }
/* El ultimo submenu abre hacia la izquierda para no salirse de la pantalla */
.ax-nav__item:last-child > .ax-nav__sub { left: auto; right: 0; transform-origin: top right; }
/* Puente invisible para que el puntero no "caiga" entre el boton y la lista */
.ax-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.ax-nav__sub a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 12px; border-radius: var(--ax-r-sm);
    font-size: 14.5px; font-weight: 500; color: var(--ax-heading);
    transition: background-color 150ms ease, color 150ms ease;
}
.ax-nav__sub a small { display: block; font-size: 12.5px; font-weight: 400; color: var(--ax-mute); }

.ax-nav__item.is-open > .ax-nav__sub,
.ax-nav__item:focus-within > .ax-nav__sub {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity 180ms var(--ax-ease-out), transform 180ms var(--ax-ease-out), visibility 0s;
}
.ax-nav__item.is-open > .ax-nav__link .ax-ico { transform: rotate(180deg); }

@media (hover: hover) and (pointer: fine) {
    .ax-nav__link:hover { background: var(--ax-mist); color: var(--ax-blue); }
    .ax-nav__sub a:hover { background: var(--ax-mist); color: var(--ax-blue); }
    .ax-nav__item:hover > .ax-nav__sub {
        opacity: 1; visibility: visible; transform: none;
        transition: opacity 180ms var(--ax-ease-out), transform 180ms var(--ax-ease-out), visibility 0s;
    }
    .ax-nav__item:hover > .ax-nav__link .ax-ico { transform: rotate(180deg); }
}

.ax-nav__cta { margin-left: 12px; }

/* Boton de menu (movil) */
.ax-menu-btn {
    display: none; margin-left: auto;
    width: 44px; height: 44px; border: 1px solid var(--ax-line); border-radius: var(--ax-r-sm);
    background: #fff; color: var(--ax-heading); cursor: pointer;
    align-items: center; justify-content: center;
    transition: transform 160ms var(--ax-ease-out);
}
.ax-menu-btn:active { transform: scale(0.95); }
.ax-menu-btn__barras { position: relative; width: 18px; height: 12px; }
.ax-menu-btn__barras span {
    position: absolute; left: 0; width: 100%; height: 1.6px; border-radius: 2px; background: currentColor;
    transition: transform 220ms var(--ax-ease-out), opacity 150ms ease;
}
.ax-menu-btn__barras span:nth-child(1) { top: 0; }
.ax-menu-btn__barras span:nth-child(2) { top: 5.2px; }
.ax-menu-btn__barras span:nth-child(3) { top: 10.4px; }
.ax-header.is-menu .ax-menu-btn__barras span:nth-child(1) { transform: translateY(5.2px) rotate(45deg); }
.ax-header.is-menu .ax-menu-btn__barras span:nth-child(2) { opacity: 0; }
.ax-header.is-menu .ax-menu-btn__barras span:nth-child(3) { transform: translateY(-5.2px) rotate(-45deg); }

/* ----------------------------------------------------------------------
   6. Portada de paginas internas (cover) y subnavegacion
   ---------------------------------------------------------------------- */
.ax-cover {
    position: relative; isolation: isolate; overflow: hidden;
    background: var(--ax-ink); color: var(--ax-on-dark-2);
    padding: calc(var(--ax-header-h) + clamp(48px, 6vw, 88px)) 0 clamp(40px, 5vw, 64px);
}
.ax-cover__foto {
    position: absolute; inset: 0; z-index: -3;
    background-size: cover; background-position: center;
}
.ax-cover::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(90deg, rgba(7, 28, 38, .96) 0%, rgba(7, 28, 38, .86) 45%, rgba(7, 28, 38, .55) 100%),
        linear-gradient(0deg, rgba(7, 28, 38, .7) 0%, transparent 50%);
}
.ax-cover .ax-eyebrow { color: var(--ax-gold); }
.ax-cover h1 {
    margin: 0; max-width: 820px;
    font-family: var(--ax-display); font-weight: 600;
    font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.025em;
    color: #fff;
}
.ax-cover__sub { margin: 16px 0 0; max-width: 640px; font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem); color: var(--ax-on-dark-2); }
.ax-migas {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none;
    font-family: var(--ax-mono); font-size: 13px;
    color: var(--ax-on-dark-3);
}
.ax-migas li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .28); }
.ax-migas a { color: var(--ax-on-dark-2); }
.ax-migas [aria-current] { color: #fff; }
@media (hover: hover) and (pointer: fine) { .ax-migas a:hover { color: #fff; } }

/* Subnavegacion dentro de la pagina (anclas), fija bajo el header */
.ax-subnav {
    position: sticky; top: var(--ax-header-h); z-index: 50;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--ax-line);
}
.ax-subnav__in {
    display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
    padding-block: 10px;
}
.ax-subnav__in::-webkit-scrollbar { display: none; }
.ax-subnav a {
    flex: none; display: inline-flex; align-items: center; gap: 8px;
    height: 36px; padding: 0 14px; border-radius: 999px;
    font-family: var(--ax-display); font-weight: 500; font-size: 14px; color: var(--ax-mute);
    transition: background-color 150ms ease, color 150ms ease;
}
.ax-subnav a.is-activo { background: var(--ax-ink); color: #fff; }
@media (hover: hover) and (pointer: fine) {
    .ax-subnav a:not(.is-activo):hover { background: var(--ax-mist); color: var(--ax-heading); }
}

/* ----------------------------------------------------------------------
   7. Componentes compartidos
   ---------------------------------------------------------------------- */

/* Tarjeta base */
.ax-card {
    position: relative;
    background: #fff; border: 1px solid var(--ax-line); border-radius: var(--ax-r);
    padding: clamp(22px, 2.4vw, 32px);
}
.ax-card--sombra { box-shadow: var(--ax-shadow-1); }
.ax-card--mist { background: var(--ax-mist); border-color: transparent; }
.ax-card--ink { background: var(--ax-ink); border-color: transparent; color: var(--ax-on-dark-2); }
.ax-card--ink .ax-h3 { color: #fff; }

/* Lista de datos: etiqueta + valor, separados por lineas finas (sin iconos) */
.ax-datos { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ax-line); }
.ax-datos li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--ax-line); }
.ax-datos .ax-dato__lbl { display: block; font-size: 13px; font-weight: 500; color: var(--ax-mute); }
.ax-datos .ax-dato__val { display: block; color: var(--ax-heading); font-weight: 600; line-height: 1.45; }
.ax-datos .ax-dato__val a { color: var(--ax-blue); }
.ax-oscuro .ax-datos, .ax-oscuro .ax-datos li { border-color: var(--ax-line-dark); }
.ax-oscuro .ax-datos .ax-dato__lbl { color: var(--ax-on-dark-3); }
.ax-oscuro .ax-datos .ax-dato__val { color: #fff; }

/* Lista con checks */
.ax-checks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ax-checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--ax-heading); }
.ax-checks .ax-ico { width: 22px; height: 22px; color: var(--ax-blue); margin-top: 1px; }
.ax-oscuro .ax-checks li { color: #fff; }
.ax-oscuro .ax-checks .ax-ico { color: var(--ax-gold); }

/* Chips */
.ax-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ax-chip {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 34px; padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--ax-line); background: #fff;
    font-size: 14px; font-weight: 500; color: var(--ax-heading);
}
.ax-oscuro .ax-chip { background: rgba(255, 255, 255, .05); border-color: var(--ax-line-dark); color: #fff; }
a.ax-chip { transition: background-color 150ms ease, border-color 150ms ease, transform 160ms var(--ax-ease-out); }
a.ax-chip:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
    a.ax-chip:hover { border-color: var(--ax-blue); color: var(--ax-blue); }
    .ax-oscuro a.ax-chip:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); color: #fff; }
}

/* Estado en texto ("Por confirmar", "Próximamente"): sin pildora ni punto */
.ax-estado { font-size: 13.5px; font-weight: 600; color: var(--ax-mute); white-space: nowrap; }
.ax-oscuro .ax-estado { color: var(--ax-on-dark-3); }

/* Aviso en linea */
.ax-aviso {
    display: block;
    padding: 16px 18px; border-radius: var(--ax-r);
    background: var(--ax-blue-soft); color: var(--ax-heading); font-size: 15px;
}

.ax-aviso p { margin: 0; }

/* Estado vacio de la plantilla (proximamente) con la estetica ALTEC */
.ev-empty {
    border: 1px dashed var(--ax-line) !important; border-radius: var(--ax-r) !important;
    background: var(--ax-mist) !important; box-shadow: none !important;
}
.ev-empty__ico { background: var(--ax-blue-soft) !important; color: var(--ax-blue) !important; }
.ev-empty__title { font-family: var(--ax-display) !important; color: var(--ax-heading) !important; }

/* Marco de mapa / foto */
.ax-marco {
    position: relative; overflow: hidden; border-radius: var(--ax-r-lg);
    background: var(--ax-mist);
}
.ax-marco img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ax-marco iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

/* Etiqueta monoespaciada flotante sobre fotos (coordenadas, lugar) */
.ax-tag-foto {
    position: absolute; left: 16px; bottom: 16px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 12px; border-radius: 999px;
    background: rgba(7, 28, 38, .72);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-family: var(--ax-mono); font-size: 13px; color: #fff;
}

/* Tabla de pasos numerados (horizontal en escritorio) */
.ax-pasos { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: paso; }
.ax-pasos li {
    counter-increment: paso;
    position: relative; padding: 22px 22px 22px 70px;
    background: #fff; border: 1px solid var(--ax-line); border-radius: var(--ax-r);
}
.ax-pasos li::before {
    content: counter(paso, decimal-leading-zero);
    position: absolute; left: 22px; top: 22px;
    font-family: var(--ax-mono); font-weight: 500; font-size: 13px; color: var(--ax-blue);
}
.ax-pasos strong { display: block; font-family: var(--ax-display); font-weight: 600; color: var(--ax-heading); }
.ax-pasos span { display: block; font-size: 14.5px; color: var(--ax-mute); margin-top: 2px; }

/* Tarjeta de tarifa (mod/piezas.php > piezaTarifaAltec): portada y tarifas.
   Cabecera oscura (grupo + categoria), bloque principal con el precio de
   hoy, bloque gris con el otro periodo y el boton al pie. */
.ax-tarifas { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.ax-tarifa {
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--ax-line); border-radius: var(--ax-r-lg);
    box-shadow: var(--ax-shadow-2);
}
.ax-tarifa__cab {
    position: relative; padding: 24px 24px 22px;
    background: var(--ax-ink); color: var(--ax-on-dark-2);
}
/* Filo dorado bajo la cabecera: el "CR" del logo */
.ax-tarifa__cab::after {
    content: ""; position: absolute; left: 24px; bottom: 0; width: 40px; height: 3px;
    background: var(--ax-gold); border-radius: 3px 3px 0 0;
}
.ax-tarifa__grupo { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--ax-on-dark-3); }
.ax-tarifa__nombre {
    margin: 0;
    font-family: var(--ax-display); font-weight: 600;
    font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.01em; color: #fff;
}
.ax-tarifa__actual { padding: 22px 24px 20px; }
.ax-tarifa__per { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ax-mute); }
.ax-tarifa__per strong { color: var(--ax-blue); font-weight: 600; }
.ax-tarifa__precio { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 14px 0 0; color: var(--ax-heading); }
.ax-tarifa__moneda { font-weight: 600; font-size: 15px; color: var(--ax-heading); }
.ax-tarifa__iva { font-weight: 600; font-size: 14px; color: var(--ax-blue); white-space: nowrap; }
.ax-tarifa__monto {
    font-family: var(--ax-display); font-weight: 600; font-size: 3rem; line-height: .95; letter-spacing: -0.03em;
}
.ax-tarifa__otro {
    display: grid; gap: 4px; margin: 0 24px; padding: 16px 0;
    border-top: 1px solid var(--ax-line-2);
}
.ax-tarifa__otro-per { font-size: 13px; color: var(--ax-mute); }
.ax-tarifa__otro-monto { font-weight: 600; font-size: 1.05rem; color: var(--ax-text); }
.ax-tarifa__otro-monto small { font-size: 12.5px; font-weight: 500; color: var(--ax-mute); }
.ax-tarifa__pie { margin-top: auto; padding: 4px 24px 24px; }

@media (min-width: 640px) {
    .ax-tarifas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ax-tarifa__nombre { min-height: 2.6em; } /* nombres de 1 y 2 lineas alineados lado a lado */
}
@media (min-width: 1100px) { .ax-tarifas { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ----------------------------------------------------------------------
   8. Portada (index)
   ---------------------------------------------------------------------- */

/* 8.1 Hero — PROVISIONAL (se rediseña despues) */
.ax-hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: min(100svh, 900px);
    display: flex; align-items: center;
    padding: calc(var(--ax-header-h) + 48px) 0 56px;
    background: var(--ax-ink); color: var(--ax-on-dark-2);
}
.ax-hero__foto {
    position: absolute; inset: 0; z-index: -3;
    background-size: cover; background-position: 70% center;
}
.ax-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(90deg, rgba(7, 28, 38, .97) 0%, rgba(7, 28, 38, .9) 38%, rgba(7, 28, 38, .45) 72%, rgba(7, 28, 38, .25) 100%),
        linear-gradient(0deg, rgba(7, 28, 38, .9) 0%, transparent 40%);
}
.ax-hero__grid {
    display: grid; gap: 48px; align-items: end;
    grid-template-columns: minmax(0, 1fr);
}
.ax-hero__logo { width: clamp(220px, 28vw, 360px); height: auto; display: block; margin-bottom: 36px; }
.ax-hero h1 {
    margin: 0; max-width: 720px;
    font-family: var(--ax-display); font-weight: 300;
    font-size: clamp(1.9rem, 1.2rem + 2.5vw, 3.3rem); line-height: 1.08; letter-spacing: -0.025em;
    color: #fff;
}
.ax-hero h1 strong { font-weight: 600; }
.ax-hero__edicion {
    display: block; margin-bottom: 14px;
    font-family: var(--ax-display); font-weight: 500; font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); line-height: 1.3; letter-spacing: 0;
    color: var(--ax-gold);
}
.ax-hero__lema { margin: 22px 0 0; max-width: 600px; font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem); color: var(--ax-on-dark-2); }
.ax-hero__datos {
    display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 32px 0 0; padding: 0; list-style: none;
    color: #fff; font-weight: 500;
}
.ax-hero__datos li { display: inline-flex; align-items: center; gap: 10px; }
.ax-hero__datos li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .28); }
.ax-hero .ax-botones { margin-top: 36px; }

/* 8.2 Bienvenida */
.ax-bienv { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: minmax(0, 1fr); }
.ax-bienv__aside { align-self: start; }
.ax-aniv {
    display: flex; align-items: flex-end; gap: 16px; margin-top: 36px;
    padding-top: 28px; border-top: 1px solid var(--ax-line);
}
.ax-aniv__n {
    font-family: var(--ax-display); font-weight: 300; font-size: clamp(4rem, 3rem + 4vw, 6.5rem);
    line-height: .85; letter-spacing: -0.04em; color: var(--ax-blue);
    font-variant-numeric: tabular-nums;
}
.ax-aniv__txt { font-size: 15px; line-height: 1.45; color: var(--ax-mute); max-width: 210px; padding-bottom: 6px; }
.ax-aniv__txt b { display: block; color: var(--ax-heading); font-weight: 600; }
/* Cierre de la bienvenida: frase destacada, solo tipografia */
.ax-prosa .ax-bienv__cierre {
    margin: 40px 0 0; max-width: 26ch;
    font-family: var(--ax-display); font-weight: 300;
    font-size: clamp(1.45rem, 1.15rem + 1vw, 1.95rem); line-height: 1.25; letter-spacing: -0.02em;
    color: var(--ax-heading);
}
.ax-bienv__cierre strong { font-weight: 600; color: var(--ax-blue); white-space: nowrap; }

/* Dirigido a */
.ax-publico {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
    margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--ax-line);
}
.ax-publico__lbl { font-family: var(--ax-mono); font-size: 13px; color: var(--ax-faint); }

/* 8.3 Ejes tematicos: acordeon de piezas de color
   Cada eje es una pieza en un tono de la marca (el primero, con la foto
   de la selva) con su ilustracion de linea (8.3b), su descripcion y sus
   subejes. Tres maneras de verse:
     - Sin JS: todas abiertas, una debajo de la otra.
     - Con JS en movil: acordeon VERTICAL. Filas con numero, titulo y "+";
       la abierta despliega el detalle (truco grid-template-rows 0fr -> 1fr)
       y el "+" gira hasta ser una "x".
     - Con JS en escritorio (>= 1000 px): acordeon HORIZONTAL. Columnas
       altas; la abierta (.is-abierto) crece (flex-grow) y las demas quedan
       angostas con el numero, el nombre corto en vertical y un "+". El
       contenido tiene el ancho FIJO de la columna ya abierta (calculado
       con unidades de contenedor, cqw), asi el texto no se reacomoda
       mientras la columna crece: la columna lo destapa como una cortina.
   Abrir y cerrar: js/sitio.js (10). */
.ax-ejes-cab {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
    gap: 14px 48px; margin-bottom: clamp(32px, 4vw, 52px);
}
.ax-ejes-cab .ax-cab { margin-bottom: 0; }
.ax-ejes-pista { display: none; }
.ax-js .ax-ejes-pista {
    display: inline-flex; align-items: center; gap: 8px; margin: 0;
    font-size: 14px; font-weight: 600; color: var(--ax-blue);
}
.ax-ejes-pista .ax-ico { width: 20px; height: 20px; }

.ax-ejes { display: grid; gap: 10px; }
.ax-eje {
    --pad: clamp(22px, 2.4vw, 32px);
    /* Colores del contenido (sobre oscuro); el dorado los cambia */
    --e-1: #fff;
    --e-2: rgba(255, 255, 255, .76);
    --e-linea: rgba(255, 255, 255, .16);
    --e-acento: var(--ax-gold);
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: var(--ax-r-lg);
    background: var(--ax-ink); color: var(--e-1);
}
.ax-eje--azul { background: var(--ax-blue); --e-acento: #FFCB66; }
.ax-eje--petroleo { background: var(--ax-petrol); }
.ax-eje--oro {
    background: var(--ax-gold);
    --e-1: var(--ax-ink); --e-2: rgba(7, 28, 38, .78); --e-linea: rgba(7, 28, 38, .16); --e-acento: var(--ax-ink);
}
.ax-eje--foto { background: var(--ax-deep); }
.ax-eje__foto {
    position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
    transform-origin: 30% 60%;
}
.ax-eje--foto::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(0deg, rgba(7, 28, 38, .94) 0%, rgba(7, 28, 38, .74) 45%, rgba(7, 28, 38, .3) 100%),
        linear-gradient(90deg, rgba(7, 28, 38, .5) 0%, rgba(7, 28, 38, 0) 75%);
}

.ax-eje__in { position: relative; display: flex; flex-direction: column; padding: var(--pad); }
.ax-eje__cab { margin: 0; font: inherit; color: inherit; }
.ax-eje__btn {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 16px;
    width: 100%; margin: 0; padding: 0; border: 0; background: none;
    color: inherit; font: inherit; text-align: left; cursor: default;
}
.ax-eje__num {
    font-family: var(--ax-display); font-weight: 300; font-size: 1.35rem; line-height: 1;
    letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--e-2);
}
.ax-eje__corto { display: none; }
.ax-eje__tit {
    font-family: var(--ax-display); font-weight: 600;
    font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.22; letter-spacing: -0.015em;
    color: var(--e-1); text-wrap: balance;
}
/* "+": circulo con una cruz dibujada con dos degradados */
.ax-eje__mas {
    display: none; position: relative; flex: none;
    width: 38px; height: 38px; border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px var(--e-linea);
    background:
        linear-gradient(currentColor, currentColor) center / 14px 1.6px no-repeat,
        linear-gradient(currentColor, currentColor) center / 1.6px 14px no-repeat;
    background-color: transparent;
    color: var(--e-1);
    transition: transform 360ms var(--ax-ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
/* Anillo que late para invitar a abrir (una vez, al aparecer la seccion) */
.ax-eje__mas::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    box-shadow: 0 0 0 1.5px currentColor; opacity: 0; pointer-events: none;
}

.ax-eje__det-in > :first-child { margin-top: 18px; }
.ax-eje__txt { margin: 0; max-width: 56ch; font-size: 15.5px; line-height: 1.55; color: var(--e-2); }
.ax-eje__subs { margin: 20px 0 0; padding: 0; list-style: none; }
/* La linea de arriba va en el primer subeje (no en la lista) para que
   entre con el, en el fundido escalonado */
.ax-eje__subs li:first-child { border-top: 1px solid var(--e-linea); }
.ax-eje__subs li {
    display: grid; grid-template-columns: 2.7rem minmax(0, 1fr); gap: 8px;
    padding: 12px 0; border-bottom: 1px solid var(--e-linea);
    font-size: 15px; line-height: 1.45; color: var(--e-1);
}
.ax-eje__subn { font-weight: 700; font-size: 14px; color: var(--e-acento); font-variant-numeric: tabular-nums; padding-top: 1px; }
.ax-eje__cta { margin-top: 22px; align-self: flex-start; }
.ax-eje__det-in { display: flex; flex-direction: column; }

/* --- Con JS: comun a movil y escritorio --------------------------------- */
.ax-js .ax-eje__btn { cursor: pointer; }
.ax-js .ax-eje.is-abierto .ax-eje__btn { cursor: default; }
.ax-js .ax-eje__mas { display: block; }
/* Revelado de la pieza (fundido + subida) y, en escritorio, el ancho.
   Mas especifico que .ax-js .ax-reveal (seccion 10) para sumar flex-grow. */
.ax-js .ax-ejes > .ax-eje {
    transition: opacity 560ms var(--ax-ease-out), transform 560ms var(--ax-ease-out), flex-grow 720ms var(--ax-ease-drawer);
    transition-delay: calc(var(--ax-i, 0) * 70ms), calc(var(--ax-i, 0) * 70ms), 0ms;
}
/* Detalle cerrado: invisible e inalcanzable con el teclado (visibility
   cambia al final del cierre, para que se vea el fundido) */
.ax-js .ax-eje__det-in { visibility: hidden; transition: visibility 0s linear 720ms; }
.ax-js .ax-eje.is-abierto .ax-eje__det-in { visibility: visible; transition: none; }
/* Contenido: sale rapido; al abrir entra escalonado */
.ax-js .ax-eje__tit,
.ax-js .ax-eje__txt,
.ax-js .ax-eje__subs li,
.ax-js .ax-eje__cta,
.ax-js .ax-eje .ax-motivo {
    transition: opacity 140ms ease, transform 140ms ease;
}
.ax-js .ax-eje__txt, .ax-js .ax-eje__subs li, .ax-js .ax-eje__cta { opacity: 0; transform: translateY(10px); }
.ax-js .ax-eje .ax-motivo { opacity: 0; }
.ax-js .ax-eje.is-abierto .ax-eje__txt,
.ax-js .ax-eje.is-abierto .ax-eje__subs li,
.ax-js .ax-eje.is-abierto .ax-eje__cta {
    opacity: 1; transform: none;
    transition: opacity 520ms var(--ax-ease-out) var(--dd, 0ms), transform 640ms var(--ax-ease-out) var(--dd, 0ms);
}
.ax-js .ax-eje.is-abierto .ax-motivo { opacity: 1; transition: none; }
.ax-js .ax-eje__txt { --dd: 220ms; }
.ax-js .ax-eje__subs li { --dd: calc(300ms + var(--k, 0) * 80ms); }
.ax-js .ax-eje__cta { --dd: 520ms; }
/* La foto se acerca despacio mientras su eje esta abierto */
.ax-js .ax-eje__foto { transition: transform 1200ms var(--ax-ease-out); }
.ax-js .ax-eje--foto.is-abierto .ax-eje__foto { transform: scale(1.07); transition: transform 9s cubic-bezier(.2, .6, .35, 1); }
/* El "+" late una vez por pieza cerrada, en ola, al aparecer la seccion */
.ax-js .ax-eje.is-in:not(.is-abierto) .ax-eje__mas::after {
    animation: ax-eje-late 1500ms var(--ax-ease-out) calc(1500ms + var(--i, 0) * 160ms) 2;
}
@keyframes ax-eje-late { 0% { opacity: .85; transform: scale(1); } 100% { opacity: 0; transform: scale(1.85); } }
@media (hover: hover) and (pointer: fine) {
    .ax-js .ax-eje:not(.is-abierto):hover .ax-eje__mas { background-color: #fff; color: var(--ax-ink); box-shadow: inset 0 0 0 1.5px #fff; transform: rotate(90deg); }
    .ax-js .ax-eje--oro:not(.is-abierto):hover .ax-eje__mas { background-color: var(--ax-ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ax-ink); }
}

/* --- Con JS en movil: acordeon vertical ---------------------------------- */
@media (max-width: 999.98px) {
    .ax-js .ax-eje__in { padding: 0; }
    .ax-js .ax-eje__btn { grid-template-columns: 2.1rem minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 20px var(--pad); }
    .ax-js .ax-eje__tit { text-wrap: pretty; }
    .ax-js .ax-eje__det { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 460ms var(--ax-ease-drawer); }
    .ax-js .ax-eje.is-abierto .ax-eje__det { grid-template-rows: 1fr; }
    .ax-js .ax-eje__det-in { min-height: 0; overflow: hidden; padding: 0 var(--pad); }
    .ax-js .ax-eje__det-in > :first-child { margin-top: 2px; }
    .ax-js .ax-eje__det-in > :last-child { margin-bottom: var(--pad); }
    .ax-js .ax-eje.is-abierto .ax-eje__mas { transform: rotate(135deg); }
    .ax-js .ax-eje.is-abierto .ax-eje__btn { cursor: pointer; }
    .ax-eje .ax-motivo { display: block; position: static; width: 132px; margin-bottom: 14px; }
    .ax-eje .ax-motivo--ancho { width: 200px; }
    .ax-eje .ax-motivo--cuadrado { width: 84px; }
}

/* --- Con JS en escritorio: acordeon horizontal --------------------------- */
@media (min-width: 1000px) {
    .ax-js .ax-ejes {
        --g: 6;          /* cuanto mas ancha es la abierta que una plegada */
        --gap: 12px;
        display: flex; gap: var(--gap);
        min-height: 580px;
        container-type: inline-size;
    }
    .ax-js .ax-ejes > .ax-eje { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
    .ax-js .ax-ejes > .ax-eje.is-abierto { flex-grow: var(--g); }
    .ax-js .ax-eje__in {
        flex: 1 0 auto; justify-content: flex-end;
        padding-top: calc(var(--pad) + 4.4rem);
        /* Ancho de la columna abierta (con un margen para el asomo del
           hover, que le quita un poco). Sin cqw queda el ancho de la
           columna y el texto se reacomoda al abrir: aceptable. */
        width: calc((100cqw - (var(--n, 5) - 1) * var(--gap)) * var(--g) / (var(--n, 5) - .75 + var(--g)));
    }
    .ax-js .ax-eje__btn { display: block; }
    /* Plegada: toda la columna es el boton */
    .ax-js .ax-eje__btn::after { content: ""; position: absolute; inset: 0; z-index: 2; }
    .ax-js .ax-eje.is-abierto .ax-eje__btn::after { display: none; }
    .ax-js .ax-eje__num {
        position: absolute; top: var(--pad); left: var(--pad);
        font-size: clamp(2rem, 1.3rem + 1.1vw, 2.75rem); color: var(--e-1);
    }
    .ax-js .ax-eje__corto {
        display: block; position: absolute; left: calc(var(--pad) - 2px); bottom: calc(var(--pad) + 58px);
        writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap;
        font-family: var(--ax-display); font-weight: 600; font-size: 1.12rem; line-height: 1.2; letter-spacing: -0.005em;
        color: var(--e-1);
        transition: opacity 260ms ease 300ms;
    }
    .ax-js .ax-eje.is-abierto .ax-eje__corto { opacity: 0; transition: opacity 120ms ease; }
    .ax-js .ax-eje__mas { position: absolute; left: var(--pad); bottom: var(--pad); transition-delay: 0ms, 0ms, 0ms, 0ms; }
    .ax-js .ax-eje.is-abierto .ax-eje__mas { opacity: 0; transform: scale(.6); transition: opacity 120ms ease, transform 160ms ease; }
    .ax-js .ax-eje__tit {
        display: block; max-width: 21ch;
        font-size: clamp(1.55rem, 1.05rem + 1.05vw, 2.1rem); line-height: 1.12; letter-spacing: -0.022em;
        opacity: 0; transform: translateY(10px);
    }
    .ax-js .ax-eje.is-abierto .ax-eje__tit {
        opacity: 1; transform: none;
        transition: opacity 520ms var(--ax-ease-out) 160ms, transform 640ms var(--ax-ease-out) 160ms;
    }
    .ax-js .ax-eje__det-in > :first-child:not(.ax-motivo) { margin-top: 16px; }
    .ax-js .ax-eje .ax-motivo + * { margin-top: 16px; }
    /* Al abrir, un asomo con el mouse: la columna se ensancha un poco */
    @media (hover: hover) and (pointer: fine) {
        .ax-js .ax-ejes > .ax-eje:not(.is-abierto):hover { flex-grow: 1.22; }
    }
    @supports selector(:has(*)) {
        .ax-js .ax-eje__btn:focus-visible { outline: none; }
        .ax-js .ax-eje:has(.ax-eje__btn:focus-visible) { outline: 2px solid var(--ax-blue); outline-offset: 3px; }
    }
}

/* 8.3b Ilustraciones de los ejes (axMotivoEje en mod/altec.php)
   Entrada: cada vez que un eje se abre (.is-abierto, ya revelado) las
   lineas se dibujan, los nodos aparecen y el radar da una vuelta, despues
   de que la columna empieza a abrirse (--m-t0). Despues (--m-loop0) arrancan
   los ciclos (.m-loop) y aparece lo que viaja (.m-vivo), mientras el eje
   siga abierto. Sin JS se ven quietas. */
.ax-eje { --m: var(--ax-sky); --m2: var(--ax-gold); --m-fondo: var(--ax-ink); --m-t0: 340ms; --m-loop0: 2300ms; }
.ax-eje--azul { --m: rgba(255, 255, 255, .78); --m2: var(--ax-gold); --m-fondo: var(--ax-blue); }
.ax-eje--petroleo { --m: var(--ax-sky); --m2: var(--ax-gold); --m-fondo: var(--ax-petrol); }
.ax-eje--oro { --m: var(--ax-ink); --m2: #fff; --m-fondo: var(--ax-gold); }

.ax-motivo {
    display: block; width: 150px; height: auto; margin-bottom: 14px; overflow: visible;
    color: var(--m); pointer-events: none;
}
.ax-motivo--ancho { width: 220px; }
.ax-motivo--cuadrado { width: 96px; }
@media (min-width: 1000px) {
    .ax-js .ax-eje .ax-motivo { position: absolute; top: calc(var(--pad) + 4px); right: var(--pad); margin: 0; width: min(150px, 26%); }
    .ax-js .ax-eje .ax-motivo--ancho { width: min(230px, 34%); }
    .ax-js .ax-eje .ax-motivo--cuadrado { width: min(108px, 20%); }
}

.ax-motivo .m-tenue { stroke-opacity: .38; stroke-width: 1; }
.ax-motivo .m-enlace { stroke-opacity: .6; }
.ax-motivo .m-nodo { fill: var(--m-fondo); }
.ax-motivo .m-lleno { fill: currentColor; stroke: none; }
.ax-motivo .m-acento { fill: var(--m2); stroke: none; }
.ax-motivo .m-ruta { stroke: var(--m2); stroke-width: 1.75; }
.ax-motivo .m-barra { fill: currentColor; fill-opacity: .14; }
.ax-motivo .m-trazo { stroke-dasharray: 1 1; }
.ax-motivo .m-pop, .ax-motivo .m-viaja, .ax-motivo .m-ping { transform-box: fill-box; transform-origin: center; }
.ax-motivo .m-sube { transform-box: fill-box; transform-origin: 50% 100%; }
.ax-motivo .m-gira, .ax-motivo .m-barrido { transform-box: view-box; transform-origin: 50px 50px; }
.ax-motivo .m-orbita { transform-box: view-box; transform-origin: 60px 50px; }
/* Pulso: un tramo corto que recorre la linea (.12 del largo) */
.ax-motivo .m-pulso { stroke: var(--m2); stroke-width: 2.5; stroke-dasharray: .12 2; stroke-dashoffset: .12; }
/* Paquete: un punto (tramo casi nulo con punta redonda); en reposo queda
   escondido bajo el nodo de origen */
.ax-motivo .m-paquete { stroke: var(--m2); stroke-width: 5; stroke-dasharray: .001 2; }
.ax-motivo .m-ping { fill: none; stroke: var(--m2); opacity: 0; }

/* Entrada: cada vez que el eje se abre (la regla empieza a aplicar y la
   animacion arranca de cero) */
.ax-js .ax-eje.is-in.is-abierto .m-trazo { animation: ax-m-trazo var(--d, 900ms) var(--e, var(--ax-ease-in-out)) calc(var(--m-t0) + var(--r, 0ms)) backwards; }
.ax-js .ax-eje.is-in.is-abierto .m-pop { animation: ax-m-pop 420ms var(--ax-ease-out) calc(var(--m-t0) + var(--r, 0ms)) backwards; }
.ax-js .ax-eje.is-in.is-abierto .m-sube { animation: ax-m-sube 760ms var(--ax-ease-out) calc(var(--m-t0) + var(--r, 0ms)) backwards; }
.ax-js .ax-eje.is-in.is-abierto .m-viaja { animation: ax-m-viaja 900ms var(--ax-ease-out) calc(var(--m-t0) + var(--r, 0ms)) backwards; }
.ax-js .ax-eje.is-in.is-abierto .m-gira { animation: ax-m-giro 1800ms var(--ax-ease-in-out) calc(var(--m-t0) + var(--r, 0ms)) backwards; }
.ax-js .ax-eje.is-in.is-abierto .m-aparece { animation: ax-m-aparece 600ms ease var(--m-t0) backwards; }
.ax-js .ax-eje.is-in.is-abierto .m-paquete:not(.m-loop) { animation: ax-m-paquete 1500ms var(--ax-ease-in-out) calc(var(--m-t0) + var(--r, 0ms)) backwards; }

/* Ciclos: corren mientras el eje esta abierto, despues de la entrada
   (todos con el mismo retraso extra, asi el ping del radar sigue en
   sincronia con el barrido). */
.ax-motivo .m-vivo { opacity: 0; transition: opacity 200ms ease; }
.ax-js .ax-eje.is-abierto .m-vivo { opacity: 1; transition: opacity 500ms ease var(--m-loop0); }
.ax-js .ax-eje.is-abierto .m-barrido { animation: ax-m-giro 3s linear var(--m-loop0) infinite; }
.ax-js .ax-eje.is-abierto .m-orbita { animation: ax-m-giro 18s linear var(--m-loop0) infinite; }
.ax-js .ax-eje.is-abierto .m-pulso { animation: ax-m-pulso 2.4s linear var(--m-loop0) infinite; }
.ax-js .ax-eje.is-abierto .m-paquete.m-loop { animation: ax-m-paquete 2.1s var(--ax-ease-in-out) calc(var(--m-loop0) + var(--r2, 0ms)) infinite; }
/* El ping del radar dura lo mismo que una vuelta del barrido (3 s) y
   arranca cuando el barrido pasa por su señal (--r2) */
.ax-js .ax-eje.is-abierto .m-ping { animation: ax-m-ping var(--t, 3s) var(--ax-ease-out) calc(var(--m-loop0) + var(--r2, 0ms)) infinite; }

@keyframes ax-m-trazo { from { stroke-dashoffset: 1; } }
@keyframes ax-m-pop { from { opacity: 0; transform: scale(.5); } }
@keyframes ax-m-sube { from { opacity: .3; transform: scaleY(.12); } }
@keyframes ax-m-viaja { from { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.6); } }
@keyframes ax-m-giro { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ax-m-aparece { from { opacity: 0; } }
@keyframes ax-m-pulso { from { stroke-dashoffset: .12; } to { stroke-dashoffset: -1; } }
@keyframes ax-m-paquete { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1; } }
@keyframes ax-m-ping { 0% { opacity: .9; transform: scale(1); } 40%, 100% { opacity: 0; transform: scale(3.4); } }

/* 8.3c Ejes en el programa (programa.php#ejes)
   Las mismas piezas de la portada (.ax-eje + tono, con la foto y las
   ilustraciones de 8.3b), pero siempre abiertas (.is-abierto fijo) y en
   mosaico: aqui se busca que se lea todo sin hacer clic. Con 5 ejes, los
   dos primeros van anchos y los otros tres en una fila. Va dentro de
   .page-bottom (plantilla), que pone letter-spacing y margenes a los <p>:
   por eso el prefijo .page .page-bottom en lo que choca. */
.ax-ejp-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.ax-eje.ax-ejp {
    display: flex; flex-direction: column;
    padding: var(--pad);
    letter-spacing: normal;
    box-shadow: var(--ax-shadow-2);
}
.ax-ejp__top {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    min-height: 56px; margin-bottom: 14px;
}
.ax-ejp__num {
    font-family: var(--ax-display); font-weight: 300; line-height: 1;
    font-size: clamp(2.2rem, 1.6rem + 1.2vw, 3rem); letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums; color: var(--e-1); opacity: .9;
}
/* La ilustracion va arriba a la derecha, en la fila del numero */
.ax-js .ax-eje.ax-ejp .ax-motivo,
.ax-eje.ax-ejp .ax-motivo { position: static; flex: none; margin: 0; width: 128px; }
.ax-js .ax-eje.ax-ejp .ax-motivo--ancho,
.ax-eje.ax-ejp .ax-motivo--ancho { width: 190px; }
.ax-js .ax-eje.ax-ejp .ax-motivo--cuadrado,
.ax-eje.ax-ejp .ax-motivo--cuadrado { width: 80px; }
.page .page-bottom .ax-ejp__tit,
.ax-ejp__tit {
    margin: 0 0 10px !important; max-width: 24ch;
    font-family: var(--ax-display); font-weight: 600;
    font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); line-height: 1.2; letter-spacing: -0.018em;
    color: var(--e-1); text-wrap: balance;
}
.page .page-bottom .ax-ejp__txt,
.ax-ejp__txt { margin: 0; max-width: 60ch; font-size: 15.5px; line-height: 1.55; color: var(--e-2); }
.ax-ejp__subs { margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--e-linea); }
.ax-ejp__subs li {
    display: grid; grid-template-columns: 2.7rem minmax(0, 1fr); gap: 8px;
    padding: 11px 0; border-bottom: 1px solid var(--e-linea);
    font-size: 15px; line-height: 1.45; color: var(--e-1);
}
.ax-ejp__subn { font-weight: 700; font-size: 14px; color: var(--e-acento); font-variant-numeric: tabular-nums; padding-top: 1px; }
/* Las fotos: un poco mas de velo arriba, porque aqui el texto empieza alla */
.ax-ejp.ax-eje--foto::before {
    background:
        linear-gradient(0deg, rgba(7, 28, 38, .95) 0%, rgba(7, 28, 38, .82) 55%, rgba(7, 28, 38, .55) 100%),
        linear-gradient(90deg, rgba(7, 28, 38, .45) 0%, rgba(7, 28, 38, 0) 80%);
}
@media (min-width: 700px) {
    /* Alto fijo (el de la ilustracion mas alta): asi los titulos de
       una misma fila arrancan a la misma altura */
    .ax-ejp__top { height: 92px; }
    .ax-ejp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* Con numero impar, el ultimo ocupa la fila entera */
    .ax-ejp-grid > .ax-ejp:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
    .ax-ejp-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
    .ax-ejp-grid > .ax-ejp,
    .ax-ejp-grid > .ax-ejp:last-child:nth-child(odd) { grid-column: span 2; }
    /* 5 ejes: 2 anchos arriba + 3 abajo. 4 ejes: 2 + 2. */
    .ax-ejp-grid--5 > .ax-ejp:nth-child(-n+2),
    .ax-ejp-grid--4 > .ax-ejp { grid-column: span 3; }
    .ax-ejp-grid--5 > .ax-ejp:nth-child(-n+2) { min-height: 380px; }
}

/* 8.4 Destino Costa Rica (foto a sangre) */
.ax-destino {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: clamp(520px, 70vh, 720px);
    display: flex; align-items: flex-end;
    padding: var(--ax-sec) 0 clamp(48px, 6vw, 80px);
    color: var(--ax-on-dark-2);
}
.ax-destino__foto { position: absolute; inset: 0; z-index: -2; }
.ax-destino__foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.ax-destino::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(0deg, rgba(7, 28, 38, .95) 0%, rgba(7, 28, 38, .6) 42%, rgba(7, 28, 38, .05) 75%),
        linear-gradient(90deg, rgba(7, 28, 38, .55) 0%, transparent 60%);
}
.ax-destino__grid { display: grid; gap: 32px; align-items: end; }
.ax-destino .ax-h2 { color: #fff; max-width: 720px; }
.ax-destino .ax-lead { max-width: 620px; }

/* 8.5 Sede (resumen en la portada) */
.ax-sede { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.ax-sede__foto { aspect-ratio: 4 / 3; }
.ax-tarifa-hotel {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
    margin: 28px 0; padding: 20px 0;
    border-bottom: 1px solid var(--ax-line);
}
.ax-tarifa-hotel__lbl { width: 100%; font-family: var(--ax-mono); font-size: 13px; color: var(--ax-mute); }
.ax-tarifa-hotel__monto { font-family: var(--ax-display); font-weight: 600; font-size: 2rem; line-height: 1; color: var(--ax-heading); font-variant-numeric: tabular-nums; }
.ax-tarifa-hotel__monto small { font-size: .5em; font-weight: 500; color: var(--ax-mute); margin-right: 4px; }
.ax-tarifa-hotel__det { color: var(--ax-mute); font-size: 15px; }

/* 8.6 Convocatoria (franja oscura) */
.ax-conv { display: grid; gap: clamp(32px, 5vw, 72px); }
.ax-conv__lista { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ax-line-dark); }
.ax-conv__lista li { border-bottom: 1px solid var(--ax-line-dark); }
/* Cada eje lleva a su pieza de la portada (#eje-N), que se abre sola */
.ax-conv__lista a {
    display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 8px; align-items: baseline;
    padding: 16px 0; color: #fff; font-weight: 500; font-size: 1.05rem; line-height: 1.4;
    transition: color 150ms ease;
}
.ax-conv__n { font-size: 14px; font-weight: 700; color: var(--ax-gold); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .ax-conv__lista a:hover { color: var(--ax-sky); } }

/* 8.7 Organiza y auspicia: un bloque por grupo con su rotulo; en
   escritorio, lado a lado y cada uno tan ancho como logos tenga (--cols).
   Logos sueltos, sin tarjeta ni borde (sin logo cargado, el nombre). */
.ax-logos-grupos { display: grid; gap: 48px; }
.ax-logos-grupo__tit {
    display: flex; align-items: center; gap: 14px;
    margin: 0 0 8px; font-family: var(--ax-display); font-weight: 600;
    font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ax-blue);
}
.ax-logos-grupo__tit::after { content: ""; flex: 1; height: 1px; background: var(--ax-line); }
.ax-logos {
    display: grid; gap: 12px; margin: 0; padding: 0; list-style: none;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
}
@media (min-width: 900px) {
    .ax-logos-grupos { display: flex; gap: clamp(40px, 5vw, 72px); }
    .ax-logos-grupo { flex: var(--cols, 1) 1 0; min-width: 0; }
    .ax-logos { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
}
.ax-logo {
    display: flex; align-items: center; justify-content: center;
    height: 150px; padding: 8px;
    text-align: center;
}
@media (min-width: 768px) { .ax-logo { height: 200px; padding: 12px; } }
/* Ancho y alto vienen de axLogoImg() (equilibrio por area); aca solo se
   limita al ancho de la tarjeta conservando la proporcion. El tope de
   alto evita que un logo sin medidas salga a su tamano real (240 px). */
.ax-logo img { display: block; max-width: 100%; max-height: 170px; height: auto; }
.ax-logo__txt { font-family: var(--ax-display); font-weight: 600; font-size: 1.05rem; line-height: 1.25; color: var(--ax-heading); }
a.ax-logo { transition: opacity 150ms ease; }
@media (hover: hover) and (pointer: fine) { a.ax-logo:hover { opacity: .75; } }

/* 8.8 Llamado final */
.ax-final { text-align: center; }
.ax-final .ax-h2 { max-width: 760px; margin-inline: auto; }
.ax-final .ax-botones { justify-content: center; margin-top: 32px; }
.ax-final__datos { margin-top: 20px; font-family: var(--ax-mono); font-size: 13px; color: var(--ax-on-dark-3); }

/* ----------------------------------------------------------------------
   9. Pie y WhatsApp
   ---------------------------------------------------------------------- */
.ax-footer {
    background: var(--ax-ink); color: var(--ax-on-dark-2);
    padding: clamp(56px, 6vw, 88px) 0 calc(28px + env(safe-area-inset-bottom, 0px));
    font-size: 15px;
}
.ax-footer a { color: var(--ax-on-dark-2); transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .ax-footer a:hover { color: #fff; } }

.ax-footer__marca { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ax-footer__marca img { height: 64px; width: auto; }
.ax-footer__desc {
    padding-left: 22px; border-left: 1px solid var(--ax-line-dark);
    font-family: var(--ax-display); font-size: 13.5px; line-height: 1.45; color: var(--ax-on-dark-2); max-width: 300px;
}
.ax-footer__desc b { color: var(--ax-gold); font-weight: 700; }
.ax-footer__desc em { font-style: normal; color: #fff; font-weight: 700; }
.ax-footer__lema { margin: 24px 0 0; max-width: 420px; color: var(--ax-on-dark-3); font-size: 14.5px; }

.ax-footer__grid {
    display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr);
    padding-bottom: 48px; border-bottom: 1px solid var(--ax-line-dark);
}
.ax-footer h2 {
    margin: 0 0 16px; font-family: var(--ax-mono); font-weight: 500; font-size: 11.5px;
    color: var(--ax-on-dark-3);
}
.ax-footer__nav { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ax-footer__contacto { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ax-footer__contacto li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.ax-footer__contacto .ax-ico { width: 18px; height: 18px; color: var(--ax-gold); margin-top: 3px; }
.ax-footer__base {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
    padding-top: 24px; font-size: 13px; color: var(--ax-on-dark-3);
}
/* Agradecimiento a Microsoft CMT (revision de ponencias) */
.ax-footer__cmt {
    margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 12px; line-height: 1.6; color: var(--ax-on-dark-3);
}
.ax-footer__cmt strong { display: block; margin-bottom: 4px; font-weight: 600; }
.ax-footer__cmt p { margin: 0; max-width: 900px; }

/* Boton flotante de WhatsApp */
.ax-wa {
    position: fixed; z-index: 800;
    right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px));
    display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
    background: #1FAF56; color: #fff !important; box-shadow: 0 10px 28px -8px rgba(7, 28, 38, .45);
    transition: transform 160ms var(--ax-ease-out);
}
.ax-wa .ax-ico { width: 27px; height: 27px; }
.ax-wa:active { transform: scale(0.94); }

/* ----------------------------------------------------------------------
   10. Revelado al hacer scroll (portada y paginas)
       Solo con JS (html.ax-js). Fundido + 14 px hacia arriba, una vez.
       Stagger con --ax-i (60 ms entre elementos).
   ---------------------------------------------------------------------- */
.ax-js .ax-reveal {
    opacity: 0; transform: translateY(14px);
    transition: opacity 560ms var(--ax-ease-out), transform 560ms var(--ax-ease-out);
    transition-delay: calc(var(--ax-i, 0) * 60ms);
}
.ax-js .ax-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .ax-js .ax-reveal { transform: none; transition: opacity 200ms ease; transition-delay: 0ms; }
    .ax-btn, .ax-chip, .ax-menu-btn, .ax-wa { transition: background-color 150ms ease, color 150ms ease; }
    .ax-btn:active, a.ax-chip:active, .ax-menu-btn:active, .ax-wa:active { transform: none; }
    .ax-nav__sub, .ax-nav__item:hover > .ax-nav__sub, .ax-nav__item.is-open > .ax-nav__sub { transform: none !important; }
    /* Menu movil: sin desplazamientos; solo el fundido, todo a la vez */
    .ax-nav, .ax-header.is-menu .ax-nav, .ax-nav__item, .ax-nav__cta { transform: none !important; transition-delay: 0ms !important; }
    /* Ejes: la columna cambia de ancho sin deslizarse (solo fundidos);
       ilustraciones quietas y completas; la foto no se acerca */
    .ax-js .ax-ejes > .ax-eje { transform: none; transition: opacity 200ms ease; transition-delay: 0ms; }
    .ax-js .ax-eje__det { transition: none !important; }
    .ax-js .ax-eje__tit, .ax-js .ax-eje__txt, .ax-js .ax-eje__subs li, .ax-js .ax-eje__cta { transform: none !important; }
    .ax-eje__mas::after { animation: none !important; }
    .ax-motivo *, .ax-eje__foto { animation: none !important; }
    .ax-motivo .m-vivo { display: none; }
    .ax-js .ax-eje__foto, .ax-js .ax-eje--foto.is-abierto .ax-eje__foto { transition: none; transform: none; }
}

/* ----------------------------------------------------------------------
   11. Responsive
   ---------------------------------------------------------------------- */
@media (min-width: 640px) {
    .ax-pasos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ax-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
    .ax-bienv { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
    .ax-bienv__aside { position: sticky; top: calc(var(--ax-header-h) + 32px); }
    .ax-destino__grid { grid-template-columns: minmax(0, 1fr) auto; }
    .ax-sede { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
    .ax-conv { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
    .ax-footer__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); }
}


/* Menu movil: debajo de 1200 px el menu es una hoja a pantalla completa */
@media (max-width: 1199.98px) {
    .ax-menu-btn { display: inline-flex; }
    .ax-nav {
        position: fixed; z-index: 899;
        top: calc(var(--ax-header-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0;
        height: calc(100dvh - var(--ax-header-h) - env(safe-area-inset-top, 0px));
        margin: 0; padding: 12px var(--ax-gutter) calc(32px + env(safe-area-inset-bottom, 0px));
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-top: 1px solid var(--ax-line);
        overflow-y: auto; overscroll-behavior: contain;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity 160ms ease-out, transform 200ms var(--ax-ease-drawer), visibility 0s linear 200ms;
    }
    .ax-header.is-menu .ax-nav {
        opacity: 1; visibility: visible; transform: none;
        transition: opacity 200ms var(--ax-ease-out), transform 280ms var(--ax-ease-drawer), visibility 0s;
    }
    .ax-header.is-menu { background: #fff; border-bottom-color: var(--ax-line); }
    .ax-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .ax-nav__item { border-bottom: 1px solid var(--ax-line-2); padding: 6px 0; }
    /* Al abrir, los grupos entran escalonados (40 ms); al cerrar se van juntos */
    .ax-nav__item, .ax-nav__cta {
        opacity: 0; transform: translateY(8px);
        transition: opacity 120ms ease-out, transform 120ms ease-out;
    }
    .ax-header.is-menu .ax-nav__item, .ax-header.is-menu .ax-nav__cta {
        opacity: 1; transform: none;
        transition: opacity 240ms var(--ax-ease-out), transform 240ms var(--ax-ease-out);
    }
    .ax-header.is-menu .ax-nav__item:nth-child(2) { transition-delay: 40ms; }
    .ax-header.is-menu .ax-nav__item:nth-child(3) { transition-delay: 80ms; }
    .ax-header.is-menu .ax-nav__item:nth-child(4) { transition-delay: 120ms; }
    .ax-header.is-menu .ax-nav__item:nth-child(5) { transition-delay: 160ms; }
    .ax-header.is-menu .ax-nav__item:nth-child(n+6),
    .ax-header.is-menu .ax-nav__cta { transition-delay: 200ms; }
    .ax-nav__link {
        width: 100%; height: auto; padding: 14px 4px; justify-content: space-between;
        font-size: 17px; font-weight: 600;
    }
    .ax-nav__link .ax-ico, .ax-nav__item.is-activo > .ax-nav__link::after { display: none; }
    /* En movil los submenus se ven siempre abiertos: un toque a cualquier pagina */
    .ax-nav__sub {
        position: static; min-width: 0; padding: 0 0 8px; border: 0; box-shadow: none; background: transparent;
        opacity: 1; visibility: visible; transform: none; transition: none;
    }
    .ax-nav__sub::before { display: none; }
    .ax-nav__sub a { padding: 10px 4px; font-size: 15.5px; color: var(--ax-mute); }
    .ax-nav__cta { margin: 24px 0 0; }
    .ax-nav__cta .ax-btn { width: 100%; min-height: 52px; }
}

@media (max-width: 639.98px) {
    :root { --ax-header-h: 68px; }
    .ax-marca img { height: 40px; }
    .ax-hero__logo { margin-bottom: 28px; }
    .ax-botones .ax-btn { flex: 1 1 auto; }
    .ax-footer__desc { padding-left: 0; border-left: 0; }
}

/* ----------------------------------------------------------------------
   12. Utilidades chicas
   ---------------------------------------------------------------------- */
.ax-prosa > .ax-lead:first-child { margin-top: 0; }
.ax-botones--mt { margin-top: 32px; }
.ax-nota { font-size: 13.5px; color: var(--ax-mute); }
.ax-oscuro .ax-nota { color: var(--ax-on-dark-3); }
.ax-tarifa-hotel__det--full { width: 100%; }

/* Webmania pinta TODO <footer>/<header> (fondo gris y 70 px arriba): los
   <footer>/<header> internos de las piezas ALTEC no lo heredan. */
.ax-tarifa__pie, .ax-cab { background: none; }
