/* Páginas de servicio: visuales específicos (Google, Maps, auditoría, IA, anuncios, redes, flujos, marca)
   y secciones adicionales de la plantilla (medición, comparativa, conceptos, llamada a la acción). */

/* ---------- Piezas comunes ---------- */
.vx-serpbox, .vx-local, .vx-crawl, .vx-chatbox, .vx-adsbox, .vx-brand { max-width: 480px; width: 100%; margin-inline: auto; }
.vx-q { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09); margin-bottom: 14px; font-size: 12.5px; }
.vx-q__t { overflow: hidden; white-space: nowrap; max-width: 0; }
.is-in .vx-q__t { animation: vx-type 1.6s steps(28, end) .3s forwards; }
@keyframes vx-type { to { max-width: 100%; } }
.vx-caret { width: 1.5px; height: 14px; background: var(--brand); animation: vx-blink 1s steps(1) infinite; }
.vx-kpis .vx-kpi b { font-size: 20px; }

/* ---------- SERP ---------- */
.vx-results { list-style: none; margin: 0; padding: 0; position: relative; height: calc(4 * 62px); }
.vx-res { --p: var(--a); position: absolute; inset: 0 0 auto; height: 54px; display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 12px;
  transform: translateY(calc(var(--p) * 62px)); transition: transform .9s cubic-bezier(.2, .7, .2, 1), background .4s, box-shadow .4s; }
.vx-serpbox[data-state="despues"] .vx-res { --p: var(--b); }
.vx-res__fav { width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .08); flex: none; display: grid; place-items: center; color: #1a0f2e; }
.vx-res__fav svg { width: 13px; height: 13px; }
.vx-res__body { flex: 1; min-width: 0; }
.vx-res__url { display: block; color: var(--muted); font-size: 10.5px; }
.vx-res__t { display: block; color: #a5b4fc; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-res--me { background: linear-gradient(100deg, rgba(244, 212, 0, .12), rgba(217, 70, 239, .08)); box-shadow: inset 0 0 0 1px rgba(244, 212, 0, .3); z-index: 2; }
.vx-res--me .vx-res__fav { background: linear-gradient(140deg, #f4d400, #fb923c); }
.vx-res--me .vx-res__t { background: linear-gradient(90deg, #fff, #f4d400); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vx-serpbox[data-state="despues"] .vx-res--me { box-shadow: inset 0 0 0 1px rgba(244, 212, 0, .55), 0 0 30px -8px rgba(244, 212, 0, .45); }
.vx-res:not(.vx-res--me) { opacity: .75; }

/* ---------- Google Maps ---------- */
.vx-map { position: relative; height: 112px; border-radius: 12px; overflow: hidden; margin-bottom: 12px; background: linear-gradient(160deg, #1c1838, #15122b); border: 1px solid rgba(255, 255, 255, .06); }
.vx-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vx-map__road { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 6; }
.vx-map__road--s { stroke-width: 2.5; stroke: rgba(255, 255, 255, .07); }
.vx-map__park { fill: rgba(16, 185, 129, .12); }
.vx-pin { position: absolute; left: var(--x); top: var(--y); width: 16px; height: 16px; margin: -16px 0 0 -8px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #6b6590; }
.vx-pin--me { width: 26px; height: 26px; margin: -26px 0 0 -13px; background: linear-gradient(140deg, #f4d400, #fb923c); display: grid; place-items: center; color: #1a0f2e; transition: transform .6s cubic-bezier(.2, .7, .2, 1), box-shadow .6s; }
.vx-pin--me svg { width: 13px; height: 13px; transform: rotate(45deg); }
.vx-local[data-state="despues"] .vx-pin--me { transform: rotate(-45deg) scale(1.25); box-shadow: 0 0 0 8px rgba(244, 212, 0, .14), 0 0 30px rgba(244, 212, 0, .6); }
.vx-places { list-style: none; margin: 0 0 12px; padding: 0; position: relative; height: calc(3 * 52px); }
.vx-place { --p: var(--a); position: absolute; inset: 0 0 auto; height: 46px; padding: 6px 10px; border-radius: 10px; display: grid; align-content: center;
  transform: translateY(calc(var(--p) * 52px)); transition: transform .9s cubic-bezier(.2, .7, .2, 1), background .4s; background: rgba(255, 255, 255, .03); }
.vx-local[data-state="despues"] .vx-place { --p: var(--b); }
.vx-place b { font-size: 12.5px; } .vx-place small { color: var(--muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-place__act { display: none; }
.vx-place--me { background: linear-gradient(100deg, rgba(244, 212, 0, .12), rgba(217, 70, 239, .08)); box-shadow: inset 0 0 0 1px rgba(244, 212, 0, .3); z-index: 2; }
.vx-local:not([data-state="despues"]) .vx-place--me small { opacity: .5; }

/* ---------- Auditoría (rastreo) ---------- */
.vx-crawl__bar { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; margin-bottom: 14px; }
.vx-crawl__bar b { font-size: 15px; font-variant-numeric: tabular-nums; }
.vx-crawl__bar i { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.vx-crawl__bar i span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f4d400, #fb923c, #d946ef); transition: width 1s cubic-bezier(.2, .7, .2, 1) .2s; border-radius: inherit; }
.vx-crawl.is-in .vx-crawl__bar i span { width: 100%; }
.vx-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.vx-check { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03);
  opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .5s cubic-bezier(.2, .7, .2, 1), background .25s; transition-delay: calc(var(--i) * 110ms + 400ms); }
.vx-crawl.is-in .vx-check { opacity: 1; transform: none; }
.vx-check:hover { background: rgba(255, 255, 255, .06); }
.vx-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px currentColor; color: var(--ok); }
.vx-check--warn .vx-dot { background: #fb923c; color: #fb923c; } .vx-check--err .vx-dot { background: #ef4444; color: #ef4444; }
.vx-check__l { font-size: 12.5px; color: var(--ink-soft); }
.vx-check__s { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ok); }
.vx-check--warn .vx-check__s { color: #fb923c; } .vx-check--err .vx-check__s { color: #f87171; }
.vx-check__s.vx-b { display: none; color: var(--ink-soft); text-transform: none; letter-spacing: 0; font-weight: 600; }
.vx-crawl[data-state="despues"] .vx-check__s.vx-a { display: none; }
.vx-crawl[data-state="despues"] .vx-check__s.vx-b { display: inline; }
.vx-crawl[data-state="despues"] .vx-check--err { background: rgba(239, 68, 68, .08); }

/* ---------- Asistente de IA ---------- */
.vx-msg { font-size: 12.5px; margin-bottom: 12px; }
.vx-msg--user { margin-left: auto; width: fit-content; max-width: 82%; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: rgba(150, 130, 255, .18); border: 1px solid rgba(150, 130, 255, .25); }
.vx-msg--ai { display: flex; gap: 10px; }
.vx-msg__ic { width: 28px; height: 28px; border-radius: 9px; flex: none; display: grid; place-items: center; color: #1a0f2e; background: linear-gradient(140deg, #f4d400, #d946ef); }
.vx-msg__ic svg { width: 16px; height: 16px; }
.vx-msg__body { flex: 1; display: grid; gap: 8px; }
.vx-chatbox .vx-msg__body .vx-sk, .vx-adsbox .vx-ad__card--chat > .vx-sk { opacity: 0; transform: translateY(4px); }
.vx-chatbox.is-in .vx-msg__body .vx-sk, .vx-adsbox.is-in .vx-ad__card--chat > .vx-sk { animation: vx-build .5s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i, 1) * 180ms + 900ms); }
.vx-cites { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.vx-cite { padding: 4px 9px; border-radius: 999px; font-size: 11px; color: var(--ink-soft); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); display: inline-flex; gap: 5px; align-items: center; }
.vx-cite svg { width: 12px; height: 12px; }
.vx-cite--me { color: #1a0f2e; font-weight: 700; background: linear-gradient(90deg, #f4d400, #fb923c); border-color: transparent; box-shadow: 0 0 22px -4px rgba(244, 212, 0, .6); }
.vx-chatbox:not([data-state="despues"]) .vx-b, .vx-chatbox[data-state="despues"] .vx-a { display: none; }
.vx-chatbox[data-state="despues"] .vx-b { animation: vx-pop .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes vx-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.vx-adcard { padding: 9px 12px; border-radius: 12px; background: linear-gradient(120deg, rgba(244, 212, 0, .1), rgba(217, 70, 239, .1)); border: 1px solid rgba(244, 212, 0, .28); display: grid; gap: 2px; }
.vx-adcard__l { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }
.vx-adcard b { font-size: 13px; } .vx-adcard small { color: var(--muted); font-size: 10.5px; }
.vx-ai-apps { justify-content: flex-start; }

/* ---------- Anuncios ---------- */
.vx-ad { margin-bottom: 14px; }
.vx-ad__card { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); display: grid; gap: 4px; }
.vx-ad__spon { font-size: 10.5px; color: var(--muted); }
.vx-ad__spon::first-word { font-weight: 700; }
.vx-ad__t { font-size: 14px; background: linear-gradient(90deg, #a5b4fc, #e879f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vx-ad__links { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.vx-ad__links em { font-style: normal; font-size: 10.5px; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(165, 180, 252, .3); color: #c7d2fe; }
.vx-ad__card--chat { background: transparent; border: 0; padding: 0 0 0 38px; gap: 8px; }
.vx-adsbox:not([data-state="despues"]) .vx-ad.vx-b, .vx-adsbox[data-state="despues"] .vx-ad.vx-a { display: none; }
.vx-adsbox .vx-ad { animation: vx-pop .45s cubic-bezier(.2, .7, .2, 1); }
.vx-adsbox[data-state="despues"] .vx-kpi b { background-image: linear-gradient(135deg, #fff 20%, #e879f9 60%, #9682ff); }

/* ---------- Redes sociales (composición) ---------- */
.vx-social, .vx-flow { aspect-ratio: 560 / 440; width: 100%; max-width: 560px; margin-inline: auto; }
.vx-cal { left: 2%; top: 6%; width: 70%; }
.vx-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 10px; }
.vx-cal__day { min-height: 74px; border-radius: 9px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .05); padding: 5px; display: grid; align-content: start; gap: 6px; }
.vx-cal__day small { color: var(--muted); font-size: 10px; font-weight: 700; }
.vx-post { font-size: 9.5px; font-weight: 700; padding: 5px 4px; border-radius: 6px; text-align: center; opacity: 0; transform: translateY(6px); }
.vx-social.is-in .vx-post { animation: vx-build .5s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i) * 130ms + 200ms); }
.vx-post--y { background: rgba(244, 212, 0, .18); color: #fde047; } .vx-post--v { background: rgba(150, 130, 255, .22); color: #c4b5fd; } .vx-post--m { background: rgba(217, 70, 239, .22); color: #f0abfc; }
.vx-phone { right: 2%; top: 26%; width: 38%; padding: 10px; border-radius: 20px; }
.vx-phone__head { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.vx-phone__head b { display: block; font-size: 11.5px; } .vx-phone__head small { color: var(--muted); font-size: 9.5px; }
.vx-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(140deg, #f4d400, #d946ef); flex: none; }
.vx-phone__media { aspect-ratio: 4 / 5; border-radius: 12px; display: grid; place-items: center; color: rgba(255, 255, 255, .85);
  background: radial-gradient(circle at 30% 25%, rgba(244, 212, 0, .45), transparent 50%), radial-gradient(circle at 75% 75%, rgba(217, 70, 239, .55), transparent 55%), #241d45; }
.vx-phone__media svg { width: 34px; height: 34px; }
.vx-phone__foot { display: flex; gap: 8px; align-items: center; margin-top: 8px; color: var(--ink-soft); }
.vx-phone__foot svg { width: 18px; height: 18px; }
.vx-like { color: #f472b6; display: inline-flex; }
.vx-social.is-in .vx-like { animation: vx-heart 2.4s ease-in-out infinite 1s; }
@keyframes vx-heart { 0%, 70%, 100% { transform: scale(1); } 78% { transform: scale(1.35); } 86% { transform: scale(.95); } }
.vx-reach { left: 6%; bottom: 4%; width: 44%; display: grid; gap: 2px; }
.vx-reach b { font-size: 24px; font-weight: 800; background: linear-gradient(135deg, #fff 20%, #f4d400 60%, #fb923c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vx-reach small { color: var(--muted); font-size: 10.5px; }
.vx-spark { width: 100%; height: 30px; margin-top: 4px; }
.vx-spark path { fill: none; stroke: url(#vxLineA); stroke: #f4d400; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s cubic-bezier(.2, .7, .2, 1) .4s; }
.vx-social.is-in .vx-spark path { stroke-dashoffset: 0; }
.vx-social .vx-card:hover, .vx-flow .vx-card:hover { transform: translate3d(calc(var(--px) * var(--d, 1) * 7px), calc(var(--py) * var(--d, 1) * 7px - 6px), 40px) scale(1.04); z-index: 5; }

/* ---------- IA: flujo automatizado ---------- */
.vx-flow .vx-node { min-width: 0; width: 44%; opacity: 0; translate: 0 10px; transition: opacity .6s, translate .6s cubic-bezier(.2, .7, .2, 1), transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s; }
.vx-flow.is-in .vx-node { opacity: 1; translate: 0 0; }
.vx-flow.is-in .vx-node:nth-of-type(2) { transition-delay: .15s, .15s, 0s, 0s, 0s; } .vx-flow.is-in .vx-node:nth-of-type(3) { transition-delay: .3s, .3s, 0s, 0s, 0s; } .vx-flow.is-in .vx-node:nth-of-type(4) { transition-delay: .45s, .45s, 0s, 0s, 0s; }
.vx-node__b { font-size: 13px !important; }
.vx-bot { right: 50%; bottom: 3%; width: 46%; margin-right: -2%; }
.vx-bot__m { display: block; margin: 6px 0 8px; padding: 8px 10px; border-radius: 12px 12px 12px 4px; background: rgba(255, 255, 255, .06); font-size: 12px; color: var(--ink-soft); }
.vx-flow .vx-traces .p.m { animation-delay: -1.6s; }

/* ---------- Branding ---------- */
.vx-brand__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; }
.vx-brand__grid > div { border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); padding: 12px; transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .3s; }
.vx-brand__grid > div:hover { transform: translateY(-3px); border-color: rgba(244, 212, 0, .35); }
.vx-brand__logo { grid-row: span 2; display: grid; place-items: center; gap: 8px; }
.vx-brand__logo svg { width: 92px; height: 92px; overflow: visible; }
.vx-brand__logo .b1 { fill: none; stroke: #8b8fa0; stroke-width: 2; stroke-dasharray: 4 4; transition: all .7s cubic-bezier(.2, .7, .2, 1); }
.vx-brand__logo .b2 { fill: none; stroke: #8b8fa0; stroke-width: 2; stroke-dasharray: 4 4; transition: all .7s cubic-bezier(.2, .7, .2, 1); }
.vx-brand__logo .b3 { stroke: #8b8fa0; stroke-width: 2; stroke-dasharray: 4 4; transition: all .7s; }
.vx-brand[data-state="despues"] .b1 { fill: #f4d400; stroke: transparent; }
.vx-brand[data-state="despues"] .b2 { fill: #d946ef; stroke: transparent; opacity: .9; mix-blend-mode: screen; }
.vx-brand[data-state="despues"] .b3 { stroke: #fff; stroke-dasharray: 0; stroke-width: 4; stroke-linecap: round; }
.vx-brand__name { font-weight: 800; letter-spacing: -.02em; font-size: 15px; color: var(--muted); transition: color .6s; }
.vx-brand[data-state="despues"] .vx-brand__name { color: #fff; }
.vx-brand__type b { font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -.04em; display: block; color: var(--muted); transition: color .6s; font-family: Georgia, serif; }
.vx-brand[data-state="despues"] .vx-brand__type b { color: #fff; font-family: inherit; }
.vx-brand__type small { color: var(--muted); font-size: 10.5px; }
.vx-brand__pal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.vx-brand__pal span { aspect-ratio: .7; border-radius: 8px; background: #3a3555; display: flex; align-items: flex-end; padding: 4px; transition: background .7s cubic-bezier(.2, .7, .2, 1); }
.vx-brand__pal span:nth-child(2) { background: #4a4566; } .vx-brand__pal span:nth-child(3) { background: #2e2a48; } .vx-brand__pal span:nth-child(4) { background: #24203c; }
.vx-brand[data-state="despues"] .vx-brand__pal span { background: var(--c); }
.vx-brand__pal small { font-size: 8px; font-weight: 700; color: rgba(255, 255, 255, .85); mix-blend-mode: difference; }
.vx-brand__app { grid-column: 1 / -1; display: flex; gap: 10px; }
.vx-brand__card { flex: 1; display: grid; gap: 6px; padding: 10px; border-radius: 9px; background: rgba(255, 255, 255, .05); }
.vx-brand__card i { width: 20px; height: 20px; border-radius: 6px; background: #8b8fa0; transition: background .7s; }
.vx-brand[data-state="despues"] .vx-brand__card i { background: linear-gradient(140deg, #f4d400, #d946ef); }
.vx-brand__card--2 { flex: .5; background: #2e2a48; transition: background .7s; }
.vx-brand[data-state="despues"] .vx-brand__card--2 { background: linear-gradient(140deg, #f4d400, #fb923c); }

@media (max-width: 480px) {
  .vx-cal__day { min-height: 56px; } .vx-post { font-size: 8px; padding: 4px 2px; }
  .vx-phone { width: 42%; } .vx-reach { width: 52%; }
  .vx-flow .vx-node { width: 46%; } .vx-node__b { font-size: 11px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .vx-q__t { max-width: none; } .vx-check, .vx-flow .vx-node, .vx-post { opacity: 1 !important; transform: none !important; translate: none !important; }
  .vx-chatbox .vx-msg__body .vx-sk, .vx-adsbox .vx-ad__card--chat > .vx-sk { opacity: 1; transform: none; }
}

/* =====================================================================
   SECCIONES ADICIONALES DE LA PLANTILLA
   ===================================================================== */
/* Puntos de verificación junto al texto */
.page-points { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .7rem; }
.page-points li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-soft); }
.page-points li svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 1px; }

/* Medición: indicadores + herramientas */
.page-measure { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
.page-metrics { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.page-metric { display: flex; gap: .75rem; align-items: center; padding: .85rem 1rem; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.page-metric__ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; color: var(--brand); background: rgba(244, 212, 0, .1); }
.page-metric__ic svg { width: 22px; height: 22px; }
.page-metric span:last-child { font-size: .95rem; color: var(--ink); font-weight: 600; line-height: 1.3; }
.page-tools { margin-top: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.page-tools .process-tools__label { margin-bottom: 1.5rem; }
@media (max-width: 900px) { .page-measure { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .page-metrics { grid-template-columns: 1fr; } }

/* Comparativa: qué incluye / qué no */
.page-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 1000px; margin-inline: auto; }
.page-compare__col { padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--radius); border: 1px solid var(--line); background: #1a1630; }
.page-compare__col h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; margin: 0 0 1.1rem; }
.page-compare__col h3 span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.page-compare__col h3 svg { width: 20px; height: 20px; }
.page-compare__col--yes h3 span { color: var(--ok); background: rgba(16, 185, 129, .12); }
.page-compare__col--no h3 span { color: #f87171; background: rgba(239, 68, 68, .12); }
.page-compare__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.page-compare__col li { position: relative; padding-left: 1.5rem; color: var(--ink-soft); line-height: 1.55; }
.page-compare__col li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px rgba(16, 185, 129, .6); }
.page-compare__col--no li::before { background: #f87171; box-shadow: 0 0 8px rgba(239, 68, 68, .5); }
@media (max-width: 760px) { .page-compare { grid-template-columns: 1fr; } }

/* Conceptos clave */
.page-topics { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.page-topic { padding: 1.25rem 1.35rem; border-radius: var(--radius); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.page-topic h3 { font-size: 1rem; margin: 0 0 .4rem; display: flex; gap: .5rem; align-items: center; }
.page-topic h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: linear-gradient(135deg, #f4d400, #d946ef); flex: none; }
.page-topic p { margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }

/* Llamada a la acción intermedia */
.page-section--cta .callout-cta { margin: 0 auto; max-width: 1000px; }

/* Directorio (ubicaciones, sectores) */
.page-dir { columns: 4 200px; column-gap: 1.5rem; max-width: 1080px; margin: 0 auto; }
.page-dir__group { break-inside: avoid; margin-bottom: 1.5rem; }
.page-dir__group h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin: 0 0 .6rem; }
.page-dir__group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.page-dir__group li > * { display: inline-block; padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--ink-soft); font-size: .9rem; }
.page-dir__group li > a:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); color: var(--ink); }
.page-chips { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.page-chips li > * { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: #1a1630; color: var(--ink); font-weight: 600; transition: border-color .2s, transform .2s, background .2s; }
.page-chips li > * svg { width: 20px; height: 20px; color: var(--brand); }
.page-chips li > a:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); transform: translateY(-2px); }
.callout-cta__body h2 { margin: 0 0 .3rem; color: var(--ink); font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; }
.page-section--cta { padding-block: clamp(2rem, 4vw, 3rem); }
.page-section--cta .callout-cta { margin-top: 0; }
@media (max-width: 760px) { .page-section--cta .callout-cta { grid-template-columns: 1fr; text-align: left; } }
.page-compare__col--alt h3 span { color: #c4b5fd; background: rgba(150, 130, 255, .14); }
.page-compare__col--alt li::before { background: #a99bff; box-shadow: 0 0 8px rgba(150, 130, 255, .6); }
.vx-ad__links em .vx-ic { width: 11px; height: 11px; vertical-align: -1px; }

/* Fondos: cadena continua de oscuro a luminoso. Los halos van en ::before con máscara
   que se desvanece arriba y abajo, así ningún degradado se corta en el borde de un bloque. */
.page-hero { background: linear-gradient(180deg, var(--bg) 0%, #0c0a18 100%); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70% 90% at 0% 50%, rgba(244, 212, 0, .14), transparent 60%),
    radial-gradient(70% 90% at 100% 50%, rgba(217, 70, 239, .16), transparent 60%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.page-section, .page-section:nth-of-type(even) { background: linear-gradient(180deg, var(--from, #0c0a18) 0%, var(--to, #100e22) 100%); }
.page-section::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 40%, rgba(217, 70, 239, .11), transparent 70%),
    radial-gradient(55% 50% at 10% 65%, rgba(244, 212, 0, .05), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
}
.page-section:nth-of-type(even)::before {
  background:
    radial-gradient(60% 50% at 12% 40%, rgba(150, 130, 255, .13), transparent 70%),
    radial-gradient(55% 50% at 90% 65%, rgba(217, 70, 239, .07), transparent 70%);
}
.page-section > .container { position: relative; z-index: 1; }
.page-cards .service, .page-compare__col { background: rgba(26, 22, 48, .78); backdrop-filter: blur(6px); }
@media (max-width: 480px) {
  .vx-flow .vx-bot { display: none; }
  .vx-hub .vx-node__body .vx-k { font-size: 9px; }
}
.page-links a.has-icon { gap: .5rem; }
.page-links__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(244, 212, 0, .10); color: var(--brand); margin-bottom: .4rem; transition: transform .3s, background .3s; }
.page-links__ic svg { width: 26px; height: 26px; }
.page-links a:hover .page-links__ic { transform: scale(1.08) rotate(-4deg); background: linear-gradient(135deg, rgba(244, 212, 0, .28), rgba(217, 70, 239, .22)); }
.page-links { max-width: 1120px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.page-circuits {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, #000 62%), linear-gradient(180deg, #000 60%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, #000 62%), linear-gradient(180deg, #000 60%, transparent 100%);
          mask-composite: intersect;
}
@media (max-width: 900px) {
  .page-circuits {
    -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 60%, #000 75%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 30%, #000 60%, #000 75%, transparent 100%);
  }
}

/* Rejilla de 2 × 2 para bloques de cuatro tarjetas */
.page-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin-inline: auto; }
@media (max-width: 720px) { .page-cards--2 { grid-template-columns: 1fr; } }
