/* =====================================================================
   axxioma.cl — componentes propios de la web (sobre style.css de la plantilla)
   Solo tokens del tema: rgba(var(--x-rgb), a). Nada de colores de marca fijos.
   ===================================================================== */

.ax-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ax-chips li { font-family: var(--font-mono); font-size: .74rem; padding: 4px 10px; border-radius: 999px; background: rgba(var(--ink-rgb), .06); color: var(--ink-soft); border: 1px solid var(--line); }
.ax-chips--svc li { background: rgba(var(--primary-rgb), .08); color: var(--primary-deep); border-color: rgba(var(--primary-rgb), .18); }
@keyframes axIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes axPop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }

/* ---------- Hero ---------- */
.ax-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, .8fr); gap: 36px; align-items: center; }
.ax-kicker { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--secondary-light); font-weight: 700; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ax-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 4px rgba(var(--secondary-rgb), .25); }
.ax-stack { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ax-stack li { font-family: var(--font-mono); font-size: .76rem; color: rgba(255,255,255,.78); padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.ax-hero .hero-actions { margin-top: 28px; }

.ax-ficha { position: relative; background: rgba(255,255,255,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-m); padding: 20px 20px 16px; color: #fff; }
.ax-ficha-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px dashed rgba(255,255,255,.25); }
.ax-ficha-h span { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.ax-ficha-h b { font-family: var(--font-display); font-size: 1rem; }
.ax-ficha dl { margin: 6px 0 0; }
.ax-ficha dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.ax-ficha dt { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.6); }
.ax-ficha dd { margin: 0; font-size: .92rem; color: rgba(255,255,255,.85); }
.ax-ficha dd b { font-family: var(--font-display); font-size: 1.5rem; color: #fff; line-height: 1; }
.ax-ficha dd small { font-family: var(--font-mono); font-size: .74rem; color: rgba(255,255,255,.72); line-height: 1.45; display: inline-block; }
.ax-ficha-go { display: inline-block; margin-top: 12px; font-family: var(--font-mono); font-size: .8rem; color: var(--secondary-light); text-decoration: none; font-weight: 700; }
.ax-ficha-go:hover { color: #fff; }
@media (max-width: 900px) { .ax-hero { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Servicios ---------- */
.ax-svc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0; overflow: hidden; }
.ax-svc-tabs { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; background: rgba(var(--ink-rgb), .035); border-right: 1px solid var(--line); }
.ax-svc-tabs button { position: relative; z-index: 1; display: grid; grid-template-columns: 26px 22px 1fr; align-items: center; gap: 8px; padding: 13px 12px; border: 0; background: transparent; border-radius: 14px; cursor: pointer; text-align: left; color: var(--ink-soft); font: inherit; transition: color .25s var(--ease); }
.ax-svc-tabs button .icon { width: 20px; height: 20px; }
.ax-svc-tabs button b { font-family: var(--font-display); font-size: .95rem; font-weight: 700; }
.ax-svc-n { font-family: var(--font-mono); font-size: .7rem; color: var(--ink-faint); }
.ax-svc-tabs button:hover { color: var(--ink); }
.ax-svc-tabs button.is-on { color: #fff; }
.ax-svc-tabs button.is-on .ax-svc-n { color: rgba(255,255,255,.75); }
.ax-svc-ink { position: absolute; left: 16px; right: 16px; top: 0; height: 48px; border-radius: 14px; background: var(--primary); transition: transform .45s var(--ease), height .45s var(--ease), width .45s var(--ease), background .45s var(--ease); box-shadow: 0 10px 24px -10px rgba(var(--ink-rgb), .5); }
.ax-svc-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 30px; padding: 30px 32px; }
.ax-svc-panel[hidden] { display: none; }
.ax-svc-ico { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; align-items: center; justify-content: center; background: var(--sc); color: #fff; }
.ax-svc-ico .icon { width: 24px; height: 24px; }
.ax-svc-what h3 { font-size: 1.6rem; margin-top: 16px; }
.ax-svc-what p { color: var(--ink-soft); margin: 12px 0 18px; max-width: 52ch; }
.ax-svc-get { background: #fff; border-radius: var(--radius-m); padding: 20px 22px; border: 1px solid var(--line); align-self: start; }
.ax-get { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ax-get li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: .96rem; }
.ax-get li i { width: 26px; height: 26px; border-radius: 50%; background: rgba(var(--accent-rgb), .12); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; }
.ax-get li i .icon { width: 14px; height: 14px; }
.ax-seen { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.ax-seen .fm-label { width: 100%; margin: 0; }
.ax-seen a { font-family: var(--font-mono); font-size: .82rem; color: var(--primary); font-weight: 700; text-decoration: none; }
.ax-seen a:hover { text-decoration: underline; }
.ax-svc-panel.is-anim .ax-svc-what > * { animation: axIn .55s var(--ease) both; }
.ax-svc-panel.is-anim .ax-svc-what > :nth-child(2) { animation-delay: .05s; }
.ax-svc-panel.is-anim .ax-svc-what > :nth-child(3) { animation-delay: .1s; }
.ax-svc-panel.is-anim .ax-svc-what > :nth-child(4) { animation-delay: .15s; }
.ax-svc-panel.is-anim .ax-get li { animation: axIn .5s var(--ease) both; animation-delay: calc(.18s + var(--d) * .09s); }
.ax-svc-panel.is-anim .ax-get li i { animation: axPop .45s var(--ease) both; animation-delay: calc(.3s + var(--d) * .09s); }
@media (max-width: 980px) {
  .ax-svc { grid-template-columns: 1fr; }
  .ax-svc-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; scrollbar-width: none; }
  .ax-svc-tabs::-webkit-scrollbar { display: none; }
  .ax-svc-tabs button { grid-template-columns: 22px auto; flex: 0 0 auto; padding: 10px 14px; }
  .ax-svc-tabs .ax-svc-n { display: none; }
  .ax-svc-ink { left: 0; right: auto; top: 10px; height: auto; bottom: 10px; }
  .ax-svc-panel { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }
}

/* ---------- Ecosistema (banda oscura) ---------- */
.ax-eco { margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "switch switch" "grid story"; gap: 18px 40px; align-items: center; }
.ax-eco-switch { grid-area: switch; justify-self: start; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.ax-eco-switch button { border: 0; background: transparent; color: rgba(255,255,255,.7); font-family: var(--font-mono); font-size: .82rem; font-weight: 700; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.ax-eco-switch button[aria-checked="true"] { background: #fff; color: var(--ink); }
.ax-eco-grid { grid-area: grid; position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; justify-self: center; }
.ax-eco-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ax-eco-orbit { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1; stroke-dasharray: 3 7; }
.ax-eco-ring, .ax-eco-spoke { fill: none; stroke-width: 2; stroke-linecap: round; transition: stroke .5s var(--ease), stroke-dasharray .5s var(--ease), opacity .5s var(--ease); }
.ax-eco-ring { stroke: rgba(var(--secondary-rgb), .55); }
.ax-eco-spoke { stroke: rgba(255,255,255,.22); }
.ax-eco-dot { fill: var(--secondary-light); transition: opacity .4s; }
.ax-eco-dot--in { fill: #fff; }
.ax-eco-core circle { fill: rgba(255,255,255,.1); stroke: rgba(255,255,255,.35); stroke-width: 1.5; transition: fill .5s, stroke .5s; }
.ax-eco-core text { fill: #fff; font-family: var(--font-display); font-weight: 800; font-size: 19px; text-anchor: middle; }
.ax-eco[data-mode="off"] .ax-eco-ring, .ax-eco[data-mode="off"] .ax-eco-spoke { stroke: rgba(255,255,255,.12); stroke-dasharray: 6 14; }
.ax-eco[data-mode="off"] .ax-eco-dot { opacity: 0; }
.ax-eco[data-mode="off"] .ax-eco-core circle { fill: transparent; stroke: rgba(255,255,255,.15); stroke-dasharray: 4 6; }
.ax-eco-node { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; text-align: center; gap: 2px; width: 120px; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.ax-eco-ico { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--sc); color: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0); transition: box-shadow .35s var(--ease), transform .35s var(--ease), filter .5s var(--ease); }
.ax-eco-ico .icon { width: 24px; height: 24px; }
.ax-eco-node b { margin-top: 6px; font-family: var(--font-display); font-size: .95rem; color: #fff; }
.ax-eco-node small { font-size: .74rem; color: rgba(255,255,255,.62); line-height: 1.3; }
.ax-eco-node.is-hot .ax-eco-ico { transform: scale(1.14); box-shadow: 0 0 0 7px rgba(255,255,255,.14), 0 0 34px rgba(255,255,255,.25); }
.ax-eco[data-mode="off"] .ax-eco-node .ax-eco-ico { filter: grayscale(.85) brightness(.7); }
.ax-eco[data-mode="off"] .ax-eco-node:nth-of-type(odd) { transform: translate(-58%, -44%); }
.ax-eco[data-mode="off"] .ax-eco-node:nth-of-type(even) { transform: translate(-42%, -58%); }
.ax-eco-story { grid-area: story; position: relative; min-height: 290px; }
.ax-eco-case { display: none; }
.ax-eco-case.is-on { display: block; }
.ax-eco-case.is-anim > * { animation: axIn .5s var(--ease) both; }
.ax-eco-case.is-anim > :nth-child(2) { animation-delay: .08s; }
.ax-eco-case.is-anim > :nth-child(3) { animation-delay: .16s; }
.ax-eco-tag { display: inline-block; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.ax-eco-tag--off { background: rgba(214,88,66,.2); color: #ffb4a6; }
.ax-eco-tag--on { background: rgba(var(--accent-rgb), .3); color: var(--accent-light); }
.ax-eco-case ol { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ax-eco-case[data-for="off"] li { position: relative; padding: 12px 14px 12px 40px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.16); color: rgba(255,255,255,.8); font-size: .95rem; }
.ax-eco-case[data-for="off"] li::before { content: "×"; position: absolute; left: 14px; top: 10px; font-weight: 800; color: #ff9a85; font-size: 1.1rem; }
.ax-eco-steps li { display: flex; gap: 10px; align-items: baseline; padding: 11px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.72); font-size: .95rem; transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.ax-eco-steps li b { color: #fff; font-family: var(--font-display); min-width: 108px; }
.ax-eco-steps li.is-done { color: rgba(255,255,255,.88); border-color: rgba(255,255,255,.18); }
.ax-eco-steps li.is-hot { background: rgba(255,255,255,.14); border-color: var(--sc); color: #fff; transform: translateX(6px); }
.ax-eco-res { margin: 16px 0 0; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.04rem; }
@media (max-width: 900px) {
  .ax-eco { grid-template-columns: 1fr; grid-template-areas: "switch" "grid" "story"; }
  .ax-eco-grid { max-width: 360px; }
  .ax-eco-node { width: 92px; }
  .ax-eco-node small { display: none; }
  .ax-eco-ico { width: 42px; height: 42px; border-radius: 13px; }
  .ax-eco-story { min-height: 0; }
}

/* ---------- Proceso ---------- */
.ax-proc { padding: 28px 30px 24px; }
.ax-proc-track { position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 10px; }
.ax-proc-line { position: absolute; left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2); top: 25px; height: 3px; border-radius: 3px; background: rgba(var(--ink-rgb), .1); }
.ax-proc-line i { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .6s var(--ease); }
.ax-proc-track button { position: relative; display: grid; justify-items: center; gap: 4px; border: 0; background: transparent; cursor: pointer; font: inherit; color: var(--ink-soft); padding: 0 4px 6px; }
.ax-proc-dot { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid rgba(var(--ink-rgb), .12); color: var(--ink-faint); transition: all .4s var(--ease); }
.ax-proc-dot .icon { width: 22px; height: 22px; }
.ax-proc-track em { font-style: normal; font-family: var(--font-mono); font-size: .7rem; color: var(--ink-faint); margin-top: 6px; }
.ax-proc-track b { font-family: var(--font-display); font-size: .98rem; text-align: center; line-height: 1.2; }
.ax-proc-track button.is-done .ax-proc-dot { background: rgba(var(--primary-rgb), .1); border-color: var(--primary); color: var(--primary); }
.ax-proc-track button.is-on .ax-proc-dot { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.1); box-shadow: 0 0 0 7px rgba(var(--primary-rgb), .14); }
.ax-proc-track button.is-on { color: var(--ink); }
.ax-proc-stage { margin-top: 24px; min-height: 236px; }
.ax-proc-panel[hidden] { display: none; }
.ax-proc-what { font-size: 1.16rem; font-family: var(--font-display); font-weight: 700; margin: 0 0 18px; max-width: 64ch; }
.ax-proc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ax-proc-box { padding: 18px 20px; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--line); }
.ax-proc-box b { font-weight: 600; font-size: .98rem; line-height: 1.45; display: block; }
.ax-proc-box--get { border-color: rgba(var(--accent-rgb), .3); background: linear-gradient(160deg, #fff, rgba(var(--accent-rgb), .06)); }
.ax-proc-box--you { border-color: rgba(var(--primary-rgb), .25); background: linear-gradient(160deg, #fff, rgba(var(--primary-rgb), .05)); }
.ax-proc-ex { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; color: var(--ink-soft); font-size: .93rem; }
.ax-proc-ex .icon { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; color: var(--primary); }
.ax-proc-panel.is-anim > * { animation: axIn .5s var(--ease) both; }
.ax-proc-panel.is-anim > :nth-child(2) { animation-delay: .08s; }
.ax-proc-panel.is-anim > :nth-child(3) { animation-delay: .16s; }
.ax-proc-nav { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ax-proc-count { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-faint); margin-right: auto; }
.ax-proc-prev { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.ax-proc-prev:disabled { opacity: .35; cursor: default; }
.ax-proc-prev .icon { width: 16px; height: 16px; }
.ax-proc-next { border: 0; border-radius: 999px; padding: 11px 20px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; cursor: pointer; }
@media (max-width: 720px) {
  .ax-proc { padding: 22px 16px 18px; }
  .ax-proc-track b { font-size: .78rem; }
  .ax-proc-dot { width: 42px; height: 42px; }
  .ax-proc-line { top: 20px; }
  .ax-proc-cols { grid-template-columns: 1fr; }
  .ax-proc-stage { min-height: 0; }
}

/* ---------- IA ---------- */
.ax-ia { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 30px 40px; padding: 30px 32px; align-items: center; }
.ax-loop { position: relative; width: 100%; max-width: 330px; aspect-ratio: 1; justify-self: center; }
.ax-loop > svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ax-loop-track { fill: none; stroke: rgba(var(--ink-rgb), .08); stroke-width: 10; }
.ax-loop-run { fill: none; stroke: var(--primary); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 300; transition: stroke-dashoffset .8s var(--ease); }
.ax-loop-node { position: absolute; width: 104px; display: grid; justify-items: center; gap: 4px; border: 0; background: transparent; cursor: pointer; font: inherit; transform: translate(-50%, -25px); }
.ax-loop-node > span { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid rgba(var(--ink-rgb), .12); color: var(--ink-soft); transition: all .35s var(--ease); }
.ax-loop-node > span .icon { width: 22px; height: 22px; }
.ax-loop-node b { font-family: var(--font-display); font-size: .86rem; color: var(--ink-soft); background: rgba(255,255,255,.85); padding: 1px 8px; border-radius: 999px; }
.ax-loop-node.is-on > span { background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 7px rgba(var(--primary-rgb), .15); }
.ax-loop-node.is-on b { color: var(--ink); }
.ax-loop-core { position: absolute; inset: 31%; border-radius: 50%; display: grid; place-content: center; text-align: center; background: linear-gradient(160deg, var(--ink), var(--ink-2)); color: #fff; padding: 8px; }
.ax-loop-core b { font-family: var(--font-display); font-size: .98rem; }
.ax-loop-core span { font-size: .72rem; color: rgba(255,255,255,.7); line-height: 1.3; margin-top: 4px; }
.ax-loop-detail { min-height: 250px; }
.ax-loop-txt h3 { font-size: 1.6rem; }
.ax-loop-txt p { color: var(--ink-soft); margin: 10px 0 0; max-width: 56ch; font-size: 1.04rem; }
.ax-loop-txt.is-anim > * { animation: axIn .5s var(--ease) both; }
.ax-loop-txt.is-anim > :nth-child(2) { animation-delay: .06s; }
.ax-loop-txt.is-anim > :nth-child(3) { animation-delay: .12s; }
.ax-models { margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--line); }
.ax-ctl { grid-column: 1 / -1; padding: 20px; border-radius: var(--radius-m); background: linear-gradient(160deg, var(--ink), var(--ink-2)); color: #fff; transition: box-shadow .4s var(--ease); }
.ax-ia.has-risk .ax-ctl { box-shadow: 0 0 0 2px rgba(214,88,66,.65); }
.ax-ctl-h { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; margin-bottom: 14px; }
.ax-ctl-h .fm-label { color: rgba(255,255,255,.6); margin: 0; }
.ax-ctl-hint { font-size: .82rem; color: rgba(255,255,255,.6); }
.ax-ctl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ax-ctl-item { position: relative; text-align: left; display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto 1fr; gap: 6px 10px; padding: 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #fff; cursor: pointer; font: inherit; transition: background .3s var(--ease), border-color .3s var(--ease); }
.ax-ctl-sw { position: absolute; top: 14px; right: 14px; width: 34px; height: 20px; border-radius: 999px; background: rgba(255,255,255,.2); transition: background .3s; }
.ax-ctl-sw i { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.ax-ctl-item.is-on .ax-ctl-sw { background: var(--accent); }
.ax-ctl-item.is-on .ax-ctl-sw i { transform: translateX(14px); }
.ax-ctl-ico { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); }
.ax-ctl-ico .icon { width: 17px; height: 17px; }
.ax-ctl-item b { align-self: center; font-family: var(--font-display); font-size: .95rem; padding-right: 40px; }
.ax-ctl-on, .ax-ctl-off { grid-column: 1 / -1; font-size: .84rem; line-height: 1.45; }
.ax-ctl-on { color: rgba(255,255,255,.72); }
.ax-ctl-off { display: none; color: #ffc2b6; }
.ax-ctl-off em { font-style: normal; font-weight: 700; }
.ax-ctl-item:not(.is-on) { background: rgba(214,88,66,.14); border-color: rgba(214,88,66,.5); }
.ax-ctl-item:not(.is-on) .ax-ctl-on { display: none; }
.ax-ctl-item:not(.is-on) .ax-ctl-off { display: block; animation: axIn .35s var(--ease) both; }
@media (max-width: 980px) { .ax-ctl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .ax-ia { grid-template-columns: 1fr; padding: 22px 16px; }
  .ax-loop { max-width: 280px; }
  .ax-loop-detail { min-height: 0; }
  .ax-ctl-grid { grid-template-columns: 1fr; }
}

/* ---------- Casos ---------- */
.ax-cases-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ax-cases-filter button { border: 1px solid var(--line); background: rgba(255,255,255,.7); color: var(--ink-soft); font-family: var(--font-mono); font-size: .8rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: all .25s var(--ease); }
.ax-cases-filter button em { font-style: normal; opacity: .6; margin-left: 4px; }
.ax-cases-filter button[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ax-cases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.ax-case { display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 20px; cursor: pointer; font: inherit; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.ax-case[hidden] { display: none; }
.ax-case:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.ax-case.is-anim { animation: axIn .45s var(--ease) both; animation-delay: calc(var(--d) * .05s); }
.ax-case-top { display: flex; justify-content: space-between; gap: 8px; }
.ax-case-rubro { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--primary-deep); font-weight: 700; }
.ax-case-anio { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-faint); }
.ax-case b { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.2; }
.ax-case-line { color: var(--ink-soft); font-size: .93rem; line-height: 1.45; flex: 1; }
.ax-case-svc { display: flex; flex-wrap: wrap; gap: 5px; }
.ax-case-svc i { font-style: normal; font-family: var(--font-mono); font-size: .7rem; padding: 3px 8px; border-radius: 999px; background: rgba(var(--primary-rgb), .08); color: var(--primary-deep); }
.ax-case-go { font-family: var(--font-mono); font-size: .8rem; font-weight: 700; color: var(--primary); margin-top: 4px; }

body.offcanvas-open .ax-case-oc { transform: translateX(100%); }
body.offcanvas-open .ax-case-scrim { opacity: 0; pointer-events: none; }
body.case-open .ax-case-oc { transform: translateX(0); }
body.case-open .ax-case-scrim { opacity: 1; pointer-events: auto; }
.ax-case-oc .offcanvas-close .icon { width: 16px; height: 16px; }
.axc-meta { display: flex; gap: 8px; margin: 14px 0 6px; }
.axc-meta span { font-family: var(--font-mono); font-size: .74rem; padding: 4px 10px; border-radius: 999px; background: rgba(var(--ink-rgb), .06); color: var(--ink-soft); }
.axc-block { margin-top: 18px; }
.axc-block p { margin: 0; }
.axc-block--was p { padding: 14px 16px; border-radius: 14px; background: rgba(214,88,66,.07); border: 1px dashed rgba(214,88,66,.35); color: var(--ink); }
.axc-done { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.axc-done li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); animation: axIn .45s var(--ease) both; animation-delay: calc(.1s + var(--d) * .08s); }
.axc-done li i { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); margin-top: 2px; position: relative; }
.axc-done li i::after { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.axc-cta { margin-top: 24px; }

/* ---------- Quiénes somos ---------- */
.ax-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; }
.ax-founder { padding: 26px 26px 20px; display: flex; flex-direction: column; }
.ax-founder .ax-nums { margin-top: auto; }
.ax-founder-id { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ax-mono { width: 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.ax-founder-id div b { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.ax-founder-id div span { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-faint); }
.ax-founder p { color: var(--ink-soft); margin: 0 0 12px; font-size: .98rem; }
.ax-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); }
.ax-nums dt { font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); }
.ax-nums dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--primary-deep); line-height: 1.1; }
.ax-promise { padding: 22px 24px; display: grid; align-content: start; gap: 10px; }
.ax-promise-h { display: grid; grid-template-columns: 1fr 40px 1fr; }
.ax-promise-h .fm-label:last-child { grid-column: 3; }
.ax-promise-row { display: grid; grid-template-columns: 1fr 40px 1fr; align-items: center; gap: 0; padding: 14px 0; border-top: 1px solid var(--line); }
.ax-promise-say b { display: block; font-family: var(--font-display); font-size: 1rem; }
.ax-promise-say span { font-size: .88rem; color: var(--ink-soft); line-height: 1.45; display: block; margin-top: 3px; }
.ax-promise-arrow { width: 32px; justify-self: center; fill: none; stroke: var(--secondary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ax-promise-proof { display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 12px 14px; border-radius: 14px; background: rgba(var(--accent-rgb), .07); border: 1px solid rgba(var(--accent-rgb), .2); font-size: .88rem; line-height: 1.45; }
.ax-promise-proof i { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.ax-promise-proof i .icon { width: 13px; height: 13px; }
.reveal .ax-promise-row { opacity: 0; transform: translateX(-10px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.2s + var(--d) * .15s); }
.reveal.in-view .ax-promise-row { opacity: 1; transform: none; }
.ax-stackwall { margin-top: 16px; padding: 18px 20px 20px; }
.ax-sw-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ax-sw-tabs button { border: 0; background: transparent; padding: 8px 12px; border-radius: 10px; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
.ax-sw-tabs button em { font-style: normal; font-family: var(--font-mono); font-size: .7rem; opacity: .6; }
.ax-sw-tabs button.is-on { background: var(--ink); color: #fff; }
.ax-sw-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ax-sw-list[hidden] { display: none; }
.ax-sw-list li { font-family: var(--font-mono); font-size: .84rem; padding: 8px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.ax-sw-list.is-anim li { animation: axIn .4s var(--ease) both; animation-delay: calc(var(--d) * .035s); }
@media (max-width: 980px) { .ax-about { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .ax-nums { grid-template-columns: 1fr 1fr; }
  .ax-promise-h { display: none; }
  .ax-promise-row { grid-template-columns: 1fr; gap: 10px; }
  .ax-promise-arrow { transform: rotate(90deg); justify-self: start; margin-left: 6px; }
}

/* ---------- Cierre con correo ---------- */
.close .hero-actions .btn-ghost { color: var(--ink); border-bottom-color: rgba(var(--ink-rgb), .35); }

/* Paneles laterales cerrados: sin sombra (si no, su sombra se cuela por el borde derecho de la página) */
body:not(.case-open) .ax-case-oc, body.offcanvas-open .ax-case-oc { box-shadow: none; }
body.case-open .offcanvas.ax-case-oc:not(.oc-plan) { box-shadow: -20px 0 60px rgba(var(--ink-rgb), .25); }
.ax-nums dd small { font-family: var(--font-body); font-weight: 600; font-size: .8rem; color: var(--ink-soft); }

/* =========================================================================
   Panel en vivo (datos reales de esta web) — reutiliza .admin/.ad-* de la plantilla
   ========================================================================= */
.axp-live { display: inline-flex; align-items: center; gap: 7px; }
.axp-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .55); animation: axpPulse 2s ease-out infinite; }
@keyframes axpPulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0); } }
.axp .ad-period { min-width: 260px; }
@media (max-width: 640px) { .axp .ad-period { min-width: 0; } }
.axp .kpi-d::before { content: none; }
.axp .kpi-d { color: var(--ink-faint); }
.axp .kpi-d.up { color: var(--accent-deep); }
.axp .kpi-d.down { color: var(--primary-deep); }
.axp .kpi-hero .kpi-d { color: rgba(255,255,255,.82); }
.axp-bump { animation: axpBump .6s var(--ease); }
@keyframes axpBump { 0% { transform: translateY(4px); opacity: .3; } 100% { transform: none; opacity: 1; } }
.axp-key { display: inline-flex; align-items: center; gap: 6px; }
.axp-key i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; background: var(--primary); }
.axp-key i.c { background: var(--accent); margin-left: 6px; }
.axp-line-c { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 6 5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.axp .ad-line, .axp .ad-area, .axp-line-c { transition: d .6s var(--ease); }
.axp .fn-row { grid-template-columns: 170px 1fr 62px; }
@media (max-width: 520px) { .axp .fn-row { grid-template-columns: 1fr 62px; } }
.axp-empty { list-style: none; display: block !important; padding: 10px 12px; font-size: .82rem; color: var(--ink-faint); background: rgba(var(--ink-rgb), .03); border-radius: 12px; }
.axp-feed { max-height: 330px; overflow: auto; }
.axp-feed .lt-av { color: #fff; }
.axp-feed .lt-av .icon { width: 16px; height: 16px; }
.axp-feed li.is-me { background: rgba(var(--accent-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .35); }
.axp-feed li.is-me em { color: #fff; background: var(--accent); }
.axp-feed em { color: var(--ink-faint); background: rgba(var(--ink-rgb), .05); }
.axp-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.axp-bars li { display: grid; grid-template-columns: minmax(0, 1fr) 40px; grid-template-rows: auto 8px; column-gap: 10px; row-gap: 5px; align-items: center; }
.axp-bars li span { font-size: .82rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.axp-bars li b { grid-row: 1 / 3; grid-column: 2; font-family: var(--font-mono); font-size: .84rem; color: var(--ink); text-align: right; }
.axp-bars li i { grid-column: 1; height: 8px; border-radius: 5px; background: rgba(var(--ink-rgb), .06); position: relative; overflow: hidden; }
.axp-bars li i::after { content: ""; position: absolute; inset: 0; border-radius: 5px; background: linear-gradient(90deg, var(--primary), var(--secondary)); transform-origin: left; transform: scaleX(var(--w, 0)); transition: transform .7s var(--ease); }
.axp-bars-r li i::after { background: linear-gradient(90deg, var(--accent), var(--secondary)); }

/* =========================================================================
   Oferta: ¿Te gustaría una web como esta? (cupos)
   ========================================================================= */
.axq { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; padding: 0; overflow: hidden; }
@media (max-width: 900px) { .axq { grid-template-columns: 1fr; } }
.axq-pitch { padding: 34px 34px 30px; background: linear-gradient(150deg, var(--ink) 0%, var(--primary-deep) 120%); color: #fff; display: grid; gap: 16px; align-content: start; }
.axq-pitch .article-no { color: var(--secondary); }
.axq-pitch h2 { margin: 0; color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; }
.axq-pitch p { margin: 0; color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.5; }
.axq-price { display: flex; align-items: flex-end; gap: 10px; }
.axq-price b { font-family: var(--font-mono); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: #fff; letter-spacing: -.02em; }
.axq-price span { display: grid; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--secondary); padding-bottom: 4px; }
.axq-price small { font-family: var(--font-mono); font-weight: 400; font-size: .68rem; color: rgba(255,255,255,.6); }
.axq-seats { padding: 14px; border-radius: var(--radius-m); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.axq-seats-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.axq-seats-h b { font-family: var(--font-display); font-size: .98rem; }
.axq-seats-h span { font-family: var(--font-mono); font-size: .68rem; color: rgba(255,255,255,.6); }
.axq-seats ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.axq-seats li { position: relative; display: grid; place-items: center; align-content: center; gap: 1px; height: 52px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.28); font-family: var(--font-mono); font-size: .86rem; color: #fff; }
.axq-seats li small { font-size: .55rem; text-transform: uppercase; letter-spacing: .04em; }
.axq-seats li.tom { border-color: transparent; background: rgba(255,255,255,.1); color: rgba(255,255,255,.45); }
.axq-seats li.tom span { text-decoration: line-through; }
.axq-seats li.next { border-color: var(--secondary); background: rgba(var(--secondary-rgb), .18); animation: axqSeat 2.2s ease-out infinite; }
.axq-seats li.next small { color: var(--secondary); }
@keyframes axqSeat { 0% { box-shadow: 0 0 0 0 rgba(var(--secondary-rgb), .5); } 80%, 100% { box-shadow: 0 0 0 10px rgba(var(--secondary-rgb), 0); } }
.reveal:not(.in-view) .axq-seats li { opacity: 0; transform: scale(.85); }
.axq-seats li { transition: opacity .4s var(--ease), transform .4s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.axq .hero-actions { margin: 4px 0 0; }
.axq .hero-actions .btn-ghost { color: #fff; border-bottom-color: rgba(255,255,255,.4); }
.axq.is-out .axq-seats li { border-style: dashed; }
.axq-get { padding: 30px 30px 26px; display: grid; gap: 12px; align-content: start; }
.axq-get ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.axq-get a { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.axq-get a:hover, .axq-get a:focus-visible { border-color: rgba(var(--primary-rgb), .45); transform: translateX(3px); box-shadow: 0 6px 18px rgba(var(--ink-rgb), .07); }
.axq-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--primary-deep); background: rgba(var(--primary-rgb), .08); }
.axq-ico .icon { width: 19px; height: 19px; }
.axq-get b { display: block; font-family: var(--font-display); font-size: .95rem; color: var(--ink); }
.axq-get small { display: block; font-size: .8rem; color: var(--ink-soft); line-height: 1.35; margin-top: 2px; }
.axq-get em { font-style: normal; font-family: var(--font-mono); font-size: .68rem; color: var(--primary-deep); white-space: nowrap; }
.axq-note { margin: 2px 0 0; font-family: var(--font-mono); font-size: .7rem; color: var(--ink-faint); }
@media (max-width: 560px) {
  .axq-pitch { padding: 26px 18px 24px; }
  .axq-get { padding: 22px 14px 20px; }
  .axq-get a { grid-template-columns: 36px 1fr; }
  .axq-get em { display: none; }
  .axq-seats li { height: 46px; }
}
/* Al saltar desde "Ver ↑": la sección destino se marca un momento */
.axq-flash { animation: axqFlash 2.1s var(--ease); }
@keyframes axqFlash { 0%, 100% { box-shadow: none; } 15%, 60% { box-shadow: inset 0 0 0 3px rgba(var(--secondary-rgb), .55); } }
@media (max-width: 560px) { .axp .ad-card-h { flex-direction: column; gap: 2px; } }

/* =========================================================================
   Formulario de contacto del cierre (llega al CRM del panel)
   ========================================================================= */
.axf { max-width: 760px; margin: 28px auto 0; padding: 22px 22px 20px; text-align: left; display: grid; gap: 14px; }
.axf-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.axf-int { font-size: .78rem; color: var(--accent-deep); background: rgba(var(--accent-rgb), .1); padding: 4px 10px; border-radius: 999px; }
.axf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.axf-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .axf-grid { grid-template-columns: 1fr; } .axf { padding: 18px 14px; } }
.axf textarea { resize: vertical; min-height: 84px; }
.axf [aria-invalid="true"] { border-color: var(--primary) !important; }
.axf-err { font-size: .76rem; color: var(--primary-deep); }
.axf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.axf-ok { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--ink-soft); line-height: 1.45; cursor: pointer; }
.axf-ok input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--primary); flex-shrink: 0; }
.axf-ok .axf-err { display: block; }
.axf-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.axf-foot .btn-primary { border: 0; cursor: pointer; }
.axf-foot .btn-primary:disabled { opacity: .6; cursor: wait; }
.axf-msg { margin: 0; font-size: .84rem; color: var(--ink-soft); }
.axf-msg.is-err { color: var(--primary-deep); }
.axf-done { display: grid; gap: 4px; padding: 10px 4px; }
.axf-done b { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.axf-done span { color: var(--ink-soft); }

/* ---------- Venta en línea (catálogo del panel + Webpay Plus) ---------- */
.ax-svc-buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 14px; border-radius: var(--radius-m); background: rgba(var(--secondary-rgb), .08); border: 1px solid rgba(var(--secondary-rgb), .25); }
.ax-svc-buy .btn-primary { border: 0; cursor: pointer; }
.ax-svc-price { display: inline-flex; align-items: baseline; gap: 6px; }
.ax-svc-price b { font-family: var(--font-mono); font-size: 1.35rem; color: var(--ink); letter-spacing: -.01em; }
.ax-svc-price small { font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--primary-deep); }
.axq .hero-actions button.btn-primary { border: 0; cursor: pointer; font: inherit; }
/* .btn-ghost es blanco (para fondos oscuros); en fondos claros va en tinta */
.ax-svc-buy .btn-ghost, .axs-c .btn-ghost, .axr .btn-ghost { color: var(--ink); border-bottom-color: rgba(var(--ink-rgb), .35); justify-self: start; }

.axs { margin-top: 18px; display: grid; gap: 12px; }
.axs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.axs-c { padding: 18px; display: grid; gap: 10px; align-content: start; }
.axs-c h3 { margin: 0; font-family: var(--font-display); font-size: 1.08rem; color: var(--ink); }
.axs-c p { margin: 0; font-size: .88rem; color: var(--ink-soft); line-height: 1.45; }
.axs-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.axs-stock { font-style: normal; font-family: var(--font-mono); font-size: .7rem; color: var(--accent-deep); }
.axs-c .btn-primary { border: 0; cursor: pointer; justify-content: center; }

/* Off-canvas de compra (se abre con body.buy-open; no con el de comparar) */
body.offcanvas-open .offcanvas.oc-buy { transform: translateX(100%); }
body.buy-open .offcanvas.oc-buy { transform: translateX(0); }
body.buy-open .oc-buy-scrim { opacity: 1; pointer-events: auto; }
.oc-buy .offcanvas-close .icon { width: 16px; height: 16px; }
.oc-buy .offcanvas-body { display: grid; gap: 14px; align-content: start; padding-top: 18px; }
.axb-test { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: .8rem; line-height: 1.45; color: #6b4a00; background: #fff4d6; border: 1px solid #f1d27a; }
.axb-sum { padding: 16px; border-radius: var(--radius-m); background: linear-gradient(150deg, var(--ink) 0%, var(--primary-deep) 130%); color: #fff; display: grid; gap: 8px; }
.axb-sum .fm-label { color: var(--secondary); }
.axb-n { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.25; }
.axb-sum dl { margin: 4px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: .86rem; }
.axb-sum dt { color: rgba(255,255,255,.7); }
.axb-sum dd { margin: 0; font-family: var(--font-mono); text-align: right; }
.axb-sum .axb-t { color: #fff; font-weight: 700; font-size: 1.02rem; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.18); }
.axb-saldo { margin: 2px 0 0; font-size: .78rem; color: rgba(255,255,255,.75); line-height: 1.4; }
.axb { margin: 0; max-width: none; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
.axb .axf-grid { gap: 10px; }
.axb-doc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.axb-doc label { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.axb-doc label:has(input:checked) { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), .15); }
.axb-doc input { accent-color: var(--primary); width: 16px; height: 16px; margin: 0; }
.axb-doc b { display: block; font-size: .9rem; color: var(--ink); }
.axb-doc small { font-size: .74rem; color: var(--ink-faint); }
.axb-fine { margin: 0; font-size: .74rem; color: var(--ink-faint); line-height: 1.45; }
@media (max-width: 520px) { .axb .axf-grid, .axb-doc { grid-template-columns: 1fr; } }

/* Comprobante (pago/retorno.php) */
.axr-body { margin: 0; min-height: 100vh; background: var(--paper, #f7f3ee); font-family: var(--font-body); color: var(--ink); }
.axr { max-width: 680px; margin: 0 auto; padding: 28px 16px 48px; display: grid; gap: 16px; }
.axr-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; }
.axr-brand .adm-logo { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--secondary); background: var(--ink); }
.axr-card { padding: 24px; display: grid; gap: 16px; }
.axr-head { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; }
.axr-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--ink-soft); }
.axr-ico .icon { width: 26px; height: 26px; }
.axr-card.is-pagado .axr-ico { background: var(--accent); }
.axr-card.is-rechazado .axr-ico, .axr-card.is-nada .axr-ico { background: var(--primary); }
.axr-head h1 { margin: 4px 0 6px; font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 1.9rem); line-height: 1.15; }
.axr-head p { margin: 0; color: var(--ink-soft); line-height: 1.5; }
.axr-test { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: .82rem; color: #6b4a00; background: #fff4d6; border: 1px solid #f1d27a; }
.axr-dl { margin: 0; display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; background: #fff; }
.axr-dl dt, .axr-dl dd { margin: 0; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.axr-dl dt { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-faint); background: rgba(var(--ink-rgb), .02); }
.axr-dl dd.mono { font-family: var(--font-mono); }
.axr-dl .axr-tot { font-weight: 700; font-size: 1rem; }
.axr .hero-actions { margin: 0; justify-content: flex-start; }
.axr .hero-actions button { border: 0; cursor: pointer; font: inherit; }
.axr-fine { margin: 0; font-size: .74rem; color: var(--ink-faint); text-align: center; }
@media (max-width: 520px) { .axr-dl { grid-template-columns: 1fr; } .axr-dl dt { border-bottom: 0; padding-bottom: 2px; } }
@media print { .axr .hero-actions, .axr-fine { display: none; } .axr-body { background: #fff; } .axr-card { box-shadow: none; backdrop-filter: none; } }

/* Campos de los formularios públicos (contacto y compra). Antes solo estaban en admin.css. */
.axf-grid[hidden] { display: none; }
.axf-grid label { display: grid; gap: 6px; align-content: start; }
.axf-grid label > span { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); }
.axf-grid input, .axf-grid textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: .95rem; color: var(--ink); padding: 11px 13px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.axf-grid input:focus, .axf-grid textarea:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), .18); }
.axf-ok { flex-wrap: wrap; }
.axf-ok > span { flex: 1 1 0; min-width: 0; }
.axf-ok .axf-err { flex-basis: 100%; padding-left: 27px; }

/* ---------- Logo AXXIoma (nov-2026) en vidrio ----------
   Misma forma y proporción del original (1609 × 355). Cada capa es una máscara pintada con los colores del tema:
   el naranjo pasa al degradado de la web y las dos capas llevan un brillo de vidrio arriba a la izquierda. */
.axl { --axl-h: 40px; position: relative; display: inline-block; height: var(--axl-h); aspect-ratio: 1609 / 355; flex-shrink: 0; vertical-align: middle;
  filter: drop-shadow(0 4px 10px rgba(var(--primary-rgb), .22)) drop-shadow(0 1px 1px rgba(var(--ink-rgb), .12)); }
.axl i { position: absolute; inset: 0; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
/* Vidrio: la esfera lleva su propio degradado diagonal y un reflejo redondo (su cuadro mide lo mismo que el alto);
   las letras naranjas, un degradado vertical con una franja de brillo arriba, sin cortes entre letras */
.axl i::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.1) 42%, rgba(255,255,255,0) 54%); }
.axl-s { --m: url(../img/logo-naranjo-esfera.png); background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 52%, var(--primary-deep) 100%) 0 0 / var(--axl-h) 100% no-repeat; }
.axl-s::after { background: radial-gradient(ellipse 70% 55% at 30% 18%, rgba(255,255,255,.42), rgba(255,255,255,.12) 55%, rgba(255,255,255,0) 72%) 0 0 / var(--axl-h) 100% no-repeat !important; }
.axl-o { --m: url(../img/logo-naranjo-letras.png); background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 55%, var(--primary-deep) 100%); }
.axl-g { --m: url(../img/logo-gris.png); background: linear-gradient(160deg, var(--ink-soft) 0%, var(--ink) 70%); opacity: .94; }
.axl-oscuro { filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
.axl-oscuro .axl-g { background: linear-gradient(160deg, #fff 0%, rgba(255,255,255,.82) 100%); opacity: .95; }
.axl-sim { aspect-ratio: 1; }
.axl-sim .axl-s { --m: url(../img/logo-simbolo.png); background-size: 100% 100%; }
.axl-sim .axl-s::after { background-size: 100% 100% !important; }

.stamp-mark .axl { --axl-h: 34px; }
.sig .sig-logo { border-top: 0; padding-top: 0; display: flex; align-items: flex-end; }
.sig .sig-logo .axl { --axl-h: 48px; }
.axr-brand .axl { --axl-h: 40px; }

/* Celular: el logo también va arriba (la plantilla ocultaba la cápsula bajo 880 px) */
@media (max-width: 880px) {
  .stamp-mark.stamp-logo { display: flex; left: 12px; top: 14px; padding: 6px 12px; }
  .stamp-logo .axl { --axl-h: 26px; }
}
