/* ============================================================
   ACERCA DE — editorial claro, sobrio, corporativo
   Paleta marfil + tinta + esmeralda como acento (no dominante).
   Serif Cormorant Garamond (redonda) para display. Sin glass,
   sin gradientes llamativos, sin grano. Todo aislado (.ax*).
   ============================================================ */

.ax {
  /* Paleta local, refinada */
  --ax-bg:        #F4F1E9;   /* marfil cálido */
  --ax-bg-tint:   #ECE7DA;   /* panel sutil */
  --ax-ink:       #1C1A14;   /* casi negro cálido */
  --ax-ink-2:     #4B463A;   /* texto secundario */
  --ax-ink-3:     #786F5E;   /* atenuado */
  --ax-line:      rgba(28, 24, 18, 0.13);
  --ax-line-2:    rgba(28, 24, 18, 0.24);
  --ax-emerald:   #1F4D2A;
  --ax-emerald-2: #163420;   /* banda de cierre */
  --ax-bronze:    #927238;   /* acento editorial cálido, discreto */
  --ax-radius:    3px;
  --ax-ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ax-ease-slow: cubic-bezier(0.16, 1, 0.3, 1);

  background: var(--ax-bg);
  color: var(--ax-ink);
  min-height: 100dvh;
}
html:has(body.ax) { scroll-behavior: smooth; }

/* Oculta la barra de scroll nativa SOLO en esta página.
   El desplazamiento sigue funcionando con rueda, touch y teclado. */
html:has(body.ax) {
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* Edge/IE antiguos */
}
html:has(body.ax)::-webkit-scrollbar,
body.ax::-webkit-scrollbar {    /* Chrome, Safari, Edge Chromium */
  width: 0;
  height: 0;
  display: none;
}

/* ---- Contenedor ---- */
.ax-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 5vw, 4rem);
  padding-right: clamp(1.25rem, 5vw, 4rem);
}
.ax-section {
  padding-top: clamp(3.75rem, 9vh, 7.5rem);
  padding-bottom: clamp(3.75rem, 9vh, 7.5rem);
  scroll-margin-top: 90px;
}
.ax-close { scroll-margin-top: 90px; }

/* ---- Skip link + barra de progreso ---- */
.ax-skip {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) translateY(-120%);
  z-index: 100;
  background: var(--ax-emerald);
  color: #F6F1E4;
  padding: 10px 18px;
  border-radius: 0 0 var(--ax-radius) var(--ax-radius);
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.2s var(--ax-ease);
}
.ax-skip:focus { transform: translateX(-50%) translateY(0); color: #F6F1E4; }

.ax-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--ax-emerald);
  will-change: transform;
}

/* ============================================================
   HEADER — versión clara (sobrescribe frutiger.css en esta página)
   ============================================================ */
.ax-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: transparent;
  transition: background 0.3s var(--ax-ease), border-color 0.3s var(--ax-ease),
    -webkit-backdrop-filter 0.3s var(--ax-ease), backdrop-filter 0.3s var(--ax-ease);
  border-bottom: 1px solid transparent;
}
.ax-header.is-scrolled {
  background: rgba(244, 241, 233, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
          backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--ax-line);
}
.ax-header .brand__name { color: var(--ax-ink); }
.ax-header .nav-capsule {
  background: rgba(28, 24, 18, 0.04);
  border: 1px solid var(--ax-line);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  box-shadow: none;
}
.ax-header .nav-capsule a { color: var(--ax-ink-2); }
.ax-header .nav-capsule a:hover { color: var(--ax-ink); background: rgba(28, 24, 18, 0.06); }
.ax-header .nav-divider { background: var(--ax-line-2); }
.ax-header .nav-capsule .nav-cta { background: var(--ax-emerald); color: #F6F1E4 !important; }
.ax-header .nav-capsule .nav-cta:hover { background: var(--ax-emerald-2); color: #F6F1E4 !important; }
.ax-header .hamburger {
  background: rgba(28, 24, 18, 0.04);
  border: 1px solid var(--ax-line);
  color: var(--ax-ink);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}
.ax-header .hamburger:hover { background: rgba(28, 24, 18, 0.08); }

/* ---- Main ---- */
.ax-main { position: relative; }
.ax-main:focus { outline: none; }

/* ============================================================
   TIPOGRAFÍA
   ============================================================ */
.ax-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ax-bronze);
  margin: 0 0 var(--space-4);
}
.ax-display {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ax-ink);
  font-size: clamp(2.7rem, 6.4vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
}
.ax-display em { font-style: italic; color: var(--ax-emerald); }
.ax-h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ax-ink);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin: 0;
}
.ax-h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--ax-ink);
  font-size: 1.14rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}
.ax-lead {
  font-family: var(--font-sans);
  color: var(--ax-ink-2);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.62;
  max-width: 60ch;
  margin: var(--space-6) 0 0;
}
.ax-body {
  font-family: var(--font-sans);
  color: var(--ax-ink-2);
  font-size: clamp(0.98rem, 1.3vw, 1.06rem);
  line-height: 1.62;
  margin: var(--space-3) 0 0;
}
.ax-body strong { color: var(--ax-ink); font-weight: 700; }
.ax-meta {
  font-family: var(--font-sans);
  color: var(--ax-ink-3);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: var(--space-6) 0 0;
}

/* ---- Enlaces de texto ---- */
.ax-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ax-emerald);
  margin-top: var(--space-5);
  transition: gap 0.2s var(--ax-ease), color 0.2s var(--ax-ease);
}
.ax-textlink::after { content: "→"; transition: transform 0.2s var(--ax-ease); }
.ax-textlink:hover { color: var(--ax-emerald-2); }
.ax-textlink:hover::after { transform: translateX(3px); }

/* ---- Botones (sobrios, esquinas suaves) ---- */
.ax-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: var(--ax-radius);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.22s var(--ax-ease), color 0.22s var(--ax-ease),
    border-color 0.22s var(--ax-ease), transform 0.22s var(--ax-ease);
}
.ax-btn--solid { background: var(--ax-emerald); color: #F6F1E4; border-color: var(--ax-emerald); }
.ax-btn--solid:hover { background: var(--ax-emerald-2); color: #F6F1E4; transform: translateY(-1px); }
.ax-btn--outline { background: transparent; color: var(--ax-ink); border-color: var(--ax-line-2); }
.ax-btn--outline:hover { border-color: var(--ax-ink); background: rgba(28, 24, 18, 0.04); color: var(--ax-ink); }
.ax-btn--light { background: var(--paper-3); color: var(--ax-emerald-2); border-color: var(--paper-3); }
.ax-btn--light:hover { background: #fff; color: var(--ax-emerald-2); transform: translateY(-1px); }
.ax-btn--light-outline { background: transparent; color: var(--on-dark); border-color: rgba(245, 235, 205, 0.42); }
.ax-btn--light-outline:hover { background: rgba(245, 235, 205, 0.1); color: var(--on-dark); border-color: rgba(245, 235, 205, 0.7); }

/* ---- Filete que se traza ---- */
.ax-rule {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--ax-line-2), var(--ax-line) 60%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ax-ease);
  will-change: transform;
}
.ax-rule.is-visible { transform: scaleX(1); }
.ax-rule--ondark { background: linear-gradient(90deg, rgba(245, 235, 205, 0.34), rgba(245, 235, 205, 0.12) 60%, transparent); }

/* ---- Centrado editorial (se aplica por sección) ---- */
.ax-center { text-align: center; }
.ax-shead.ax-center { margin-left: auto; margin-right: auto; }
.ax-center .ax-lead,
.ax-center .ax-shead__intro,
.ax-center .ax-quote__support,
.ax-center .ax-close__sub,
.ax-center .ax-close__title,
.ax-center .ax-pull { margin-left: auto; margin-right: auto; }
.ax-center .ax-hero__ctas,
.ax-center .ax-quote__cta,
.ax-center .ax-close__cta,
.ax-center .ax-stats { justify-content: center; }

/* Equilibra las líneas de titulares y cita (evita huérfanas / cortes feos) */
.ax-display,
.ax-h2,
.ax-pull,
.ax-close__title { text-wrap: balance; }

/* ============================================================
   A — HERO
   ============================================================ */
.ax-hero { padding-top: clamp(6.5rem, 15vh, 11rem); padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.ax-hero .ax-lead { max-width: 56ch; }
.ax-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-7); }
.ax-hero .ax-rule { margin-top: clamp(3rem, 7vh, 5rem); }

/* ---- Encabezado de sección reutilizable ---- */
.ax-shead { max-width: 64ch; margin-bottom: clamp(2.5rem, 5vh, 4rem); }
.ax-shead__intro {
  font-family: var(--font-sans);
  color: var(--ax-ink-2);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.62;
  max-width: 58ch;
  margin: var(--space-5) 0 0;
}

/* ============================================================
   B — DOBLE PROPUESTA (split editorial con filete central)
   ============================================================ */
.ax-split { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 980px) {
  .ax-split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); position: relative; }
  .ax-split::before {
    content: "";
    position: absolute;
    top: 4px; bottom: 4px; left: 50%;
    width: 1px;
    background: var(--ax-line);
  }
}
.ax-col-label {
  display: block;
  font-family: var(--font-sans);
  color: var(--ax-emerald);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.ax-split__col .ax-h3 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 1.95rem); letter-spacing: -0.01em; }
.ax-list { list-style: none; margin: var(--space-5) 0 0; padding: 0; }
.ax-list li {
  position: relative;
  padding: 0.72rem 0 0.72rem 1.5rem;
  border-top: 1px solid var(--ax-line);
  color: var(--ax-ink-2);
  font-size: 0.95rem;
}
.ax-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.18rem;
  width: 9px;
  height: 1px;
  background: var(--ax-emerald);
}

/* ============================================================
   C — CITA + CIFRAS
   ============================================================ */
.ax-pull {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ax-ink);
  font-size: clamp(1.85rem, 4.3vw, 3.3rem);
  line-height: 1.16;
  letter-spacing: -0.005em;
  max-width: 24ch;
}
.ax-pull em { font-style: italic; color: var(--ax-emerald); }
.ax-quote__support {
  font-family: var(--font-sans);
  color: var(--ax-ink-2);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.64;
  max-width: 56ch;
  margin: clamp(2rem, 4vh, 3rem) 0 0;
}
.ax-stats { list-style: none; margin: clamp(2.5rem, 5vh, 4rem) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: clamp(2rem, 6vw, 5rem); }
.ax-stat { display: flex; flex-direction: column; }
.ax-stat__num {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ax-emerald);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
}
.ax-stat__label {
  margin-top: var(--space-3);
  font-family: var(--font-sans);
  color: var(--ax-ink-3);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ax-quote__cta { margin-top: clamp(2.5rem, 5vh, 3.5rem); }

/* ============================================================
   D — HONORARIOS
   ============================================================ */
.ax-fee { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 980px) { .ax-fee { grid-template-columns: 1.3fr 0.7fr; gap: clamp(3rem, 6vw, 5rem); } }
.ax-fee__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--ax-bg-tint);
  border: 1px solid var(--ax-line-2);
  border-radius: var(--ax-radius);
}
.ax-fee__tag { font-family: var(--font-sans); color: var(--ax-bronze); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.ax-fee__amount { font-family: var(--font-serif); font-weight: 500; color: var(--ax-ink); font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; margin-top: 0.5rem; }
.ax-fee__per { font-family: var(--font-sans); color: var(--ax-ink-3); font-size: 0.85rem; letter-spacing: 0.04em; }
.ax-fee__rule { width: 100%; height: 1px; background: var(--ax-line); margin: 1.1rem 0; }
.ax-fee__note { color: var(--ax-ink-2); font-size: 0.9rem; line-height: 1.5; }

/* ============================================================
   E — ÍNDICE DE SERVICIOS
   ============================================================ */
.ax-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ax-index { grid-template-columns: 1fr 1fr; column-gap: clamp(2.5rem, 6vw, 5.5rem); } }
.ax-index__item {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-top: 1px solid var(--ax-line);
}
.ax-index__num { flex: none; font-family: var(--font-serif); font-weight: 500; color: var(--ax-bronze); font-size: clamp(1.4rem, 2.5vw, 1.9rem); line-height: 1; width: 2.4rem; }
.ax-index__body { flex: 1; }
.ax-index__body .ax-body { margin-top: var(--space-2); }

/* ============================================================
   F — CÓMO FUNCIONA (pasos con línea de progreso)
   ============================================================ */
.ax-process { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 980px) { .ax-process { grid-template-columns: 0.85fr 1.15fr; align-items: start; } .ax-process__head { position: sticky; top: 104px; } }
.ax-steps { position: relative; list-style: none; margin: 0; padding: 0; }
.ax-steps__track { position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: var(--ax-line); }
.ax-steps__fill { position: absolute; left: 0; top: 0; width: 100%; height: 0%; background: var(--ax-emerald); will-change: height; }
.ax-step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: clamp(1rem, 2vw, 1.5rem); padding-bottom: clamp(2rem, 4vh, 3rem); }
.ax-step:last-child { padding-bottom: 0; }
.ax-step__num {
  position: relative;
  z-index: 1;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ax-bg);
  border: 1px solid var(--ax-line-2);
  color: var(--ax-ink-3);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  transition: border-color 0.4s var(--ax-ease), color 0.4s var(--ax-ease), background 0.4s var(--ax-ease);
}
.ax-step.is-active .ax-step__num { border-color: var(--ax-emerald); color: #F6F1E4; background: var(--ax-emerald); }
.ax-step__body { padding-top: 7px; }
.ax-step__body .ax-body { margin-top: var(--space-2); }

/* ============================================================
   G — PRINCIPIOS (lista editorial a dos columnas)
   ============================================================ */
.ax-principles { list-style: none; margin: 0; padding: 0; }
.ax-principles__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: clamp(1.6rem, 3.5vh, 2.4rem) 0;
  border-top: 1px solid var(--ax-line);
}
.ax-principles__item:last-child { border-bottom: 1px solid var(--ax-line); }
@media (min-width: 760px) { .ax-principles__item { grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); } }
.ax-principles__item .ax-h3 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -0.01em; }
.ax-principles__item .ax-body { margin-top: 0; }

/* ============================================================
   H — FAQ
   ============================================================ */
.ax-faq { border-top: 1px solid var(--ax-line-2); }
.ax-faq__item { border-bottom: 1px solid var(--ax-line); }
.ax-faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.15rem, 2.6vh, 1.7rem) 0;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ax-ink);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.25;
  transition: color 0.2s var(--ax-ease);
}
.ax-faq__item summary::-webkit-details-marker { display: none; }
.ax-faq__item summary:hover { color: var(--ax-emerald); }
.ax-faq__item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ax-bronze);
  transition: transform 0.25s var(--ax-ease);
}
.ax-faq__item[open] summary { color: var(--ax-emerald); }
.ax-faq__item[open] summary::after { content: "−"; }
.ax-faq__body { padding: 0 0 clamp(1.15rem, 2.6vh, 1.7rem); max-width: 72ch; }
.ax-faq__body p { font-family: var(--font-sans); color: var(--ax-ink-2); font-size: clamp(0.96rem, 1.3vw, 1.08rem); line-height: 1.64; }
.ax-faq__body a { color: var(--ax-emerald); text-decoration: underline; text-underline-offset: 2px; }
.ax-faq__body a:hover { color: var(--ax-emerald-2); }

/* FAQ centrado: bloque, preguntas y respuestas centradas; +/- a la derecha */
.ax-faq { max-width: 800px; margin-left: auto; margin-right: auto; }
.ax-faq__item summary {
  justify-content: center;
  text-align: center;
  position: relative;
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}
.ax-faq__item summary::after {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.ax-faq__body { max-width: 66ch; margin-left: auto; margin-right: auto; text-align: center; }

/* ============================================================
   I — CIERRE + FOOTER (única banda esmeralda)
   ============================================================ */
.ax-close {
  position: relative;
  color: var(--on-dark);
  margin-top: clamp(4rem, 9vh, 7rem);
  padding-top: clamp(4rem, 10vh, 7rem);
  /* Imagen de biblioteca jurídica bajo un velo esmeralda (contraste seguro
     para el texto crema; la ventana cálida queda como ambiente sutil). */
  background-color: var(--ax-emerald-2);
  background-image:
    linear-gradient(180deg, rgba(13, 30, 20, 0.82) 0%, rgba(11, 25, 16, 0.88) 50%, rgba(8, 18, 12, 0.94) 100%),
    url("/static/img/footer-back.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid rgba(201, 161, 88, 0.22);
}
.ax-eyebrow--ondark { color: var(--gold-soft); }
.ax-close__title {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--on-dark);
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  max-width: 18ch;
  margin: 0;
}
.ax-close__title em { font-style: italic; color: var(--gold-soft); }
.ax-close__sub {
  font-family: var(--font-sans);
  color: var(--on-dark-2);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  max-width: 50ch;
  margin: var(--space-5) 0 0;
}
.ax-close__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-7); }
.ax-textlink--ondark { color: var(--gold-soft); }
.ax-textlink--ondark:hover { color: var(--paper-3); }

.ax-foot { margin-top: clamp(3.5rem, 8vh, 6rem); padding-bottom: clamp(2rem, 5vh, 3rem); }
.ax-foot .ax-rule { margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.ax-foot__cols { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 760px) { .ax-foot__cols { grid-template-columns: 1.5fr 1fr 1fr; } }
.ax-foot__wordmark { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.4rem; color: var(--on-dark); letter-spacing: -0.01em; transition: color 0.18s var(--ax-ease); }
.ax-foot__wordmark:hover { color: var(--gold-soft); }
.ax-foot__brand .footer__tagline { display: block; margin-top: var(--space-3); }
.ax-foot__navtitle { font-family: var(--font-sans); color: var(--gold-soft); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 var(--space-3); }
.ax-foot__navcol a { display: block; color: var(--on-dark-2); font-size: 0.92rem; padding: 0.32rem 0; width: max-content; transition: color 0.18s var(--ax-ease); }
.ax-foot__navcol a:hover { color: var(--on-dark); }
.ax-foot__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: clamp(1rem, 2.5vh, 1.5rem);
  border-top: 1px solid rgba(245, 235, 205, 0.12);
  color: var(--on-dark-3);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) { .ax-foot__legal { justify-content: flex-start; } }

/* ============================================================
   MOTION — revelados (fade / máscara / líneas / grupos)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ax-ease), transform 0.8s var(--ax-ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ax-ease), transform 0.7s var(--ax-ease);
  will-change: opacity, transform;
}
[data-reveal-group].is-visible > * { opacity: 1; transform: none; }
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.07s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.14s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.21s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.28s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.35s; }

/* Máscara: el contenido se descubre deslizándose hacia arriba */
.ax-mask { overflow: hidden; padding-bottom: 0.12em; }
.ax-mask__in {
  display: block;
  transform: translateY(100%);
  transition: transform 1s var(--ax-ease-slow);
  will-change: transform;
}
.ax-mask.is-visible .ax-mask__in { transform: translateY(0); }

/* Revelado línea por línea (titulares con líneas explícitas) */
[data-reveal-lines] .ax-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
[data-reveal-lines] .ax-line__in {
  display: block;
  transform: translateY(108%);
  transition: transform 0.95s var(--ax-ease-slow);
  will-change: transform;
}
[data-reveal-lines].is-visible .ax-line__in { transform: translateY(0); }
[data-reveal-lines].is-visible .ax-line:nth-child(1) .ax-line__in { transition-delay: 0.04s; }
[data-reveal-lines].is-visible .ax-line:nth-child(2) .ax-line__in { transition-delay: 0.12s; }
[data-reveal-lines].is-visible .ax-line:nth-child(3) .ax-line__in { transition-delay: 0.20s; }
[data-reveal-lines].is-visible .ax-line:nth-child(4) .ax-line__in { transition-delay: 0.28s; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html:has(body.ax) { scroll-behavior: auto; }
  .ax-header,
  [data-reveal],
  [data-reveal-group] > *,
  .ax-mask__in,
  [data-reveal-lines] .ax-line__in,
  .ax-rule { transition: none !important; }
  [data-reveal],
  [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
  .ax-mask__in,
  [data-reveal-lines] .ax-line__in { transform: none !important; }
  .ax-rule { transform: scaleX(1) !important; }
}

/* ============================================================
   MÓVIL — centra las secciones que en escritorio van lado a lado
   ============================================================ */
@media (max-width: 760px) {
  /* D — Honorarios: copy, párrafo y botones centrados */
  .ax-fee__copy { text-align: center; }
  .ax-fee__copy .ax-hero__ctas { justify-content: center; }

  /* F — Cómo funciona: encabezado centrado (los pasos siguen alineados) */
  .ax-process__head { text-align: center; }

  /* G — Principios: títulos y textos centrados */
  .ax-principles__item { text-align: center; }

  /* Footer centrado */
  .ax-foot__cols { text-align: center; }
  .ax-foot__navcol a { margin-left: auto; margin-right: auto; }
  .ax-foot__legal { justify-content: center; text-align: center; }
}
