/*
Theme Name: LAPGSISTEMAS
Theme URI: https://www.lapgsystems.shop
Author: LAPGSISTEMAS
Description: Tema propio de LAPGSISTEMAS. Direccion visual Dark Tech + Premium SaaS (Deep Navy, gradiente Purple/Blue/Cyan, Sora + Inter).
Version: 1.1.4
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: lapgsystems
*/

/* ============================================================
   TOKENS DE MARCA  (LAPGSISTEMAS Brand / UI Kit)
   ============================================================ */
:root {
  --lapg-purple: #8B2CFF;
  --electric-blue: #246BFF;
  --digital-cyan: #00D9FF;
  --deep-navy: #050816;
  --dark-surface: #0B1020;
  --border-default: #26324D;
  --text-primary: #FFFFFF;
  --text-muted: #9AA7C7;

  --gradient-brand: linear-gradient(135deg, #8B2CFF 0%, #246BFF 50%, #00D9FF 100%);
  --gradient-text: linear-gradient(90deg, #00D9FF, #246BFF, #8B2CFF);

  --font-heading: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --space-1: 8px;  --space-2: 16px; --space-3: 24px; --space-4: 32px;
  --space-5: 48px; --space-6: 64px; --space-7: 80px; --space-8: 96px;

  --radius-sm: 10px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 20px;
  --radius-pill: 999px;

  --ease-default: cubic-bezier(.2,.8,.2,1);
  --duration-fast: 150ms; --duration-base: 250ms; --duration-slow: 500ms;

  --nav-height: 72px;
  --wrap: 1200px;
}

/* ============================================================
   BASE
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--deep-navy);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; margin: 0 0 var(--space-3); }
h1 { font-size: clamp(38px, 5vw, 62px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.01em; }
h3 { font-size: clamp(20px, 2vw, 24px); }
p { margin: 0 0 var(--space-3); color: var(--text-muted); }
a { color: var(--digital-cyan); text-decoration: none; transition: color var(--duration-fast) var(--ease-default); }
a:hover { color: #fff; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--digital-cyan); outline-offset: 3px; }

.lapg-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--space-3); }
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================
   NAVBAR + LOGO
   ============================================================ */
.lapg-nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-height);
  background: rgba(5, 8, 22, .85);
  border-bottom: 1px solid rgba(38, 50, 77, .7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.lapg-nav__inner {
  max-width: var(--wrap); margin: 0 auto; height: 100%;
  padding: 0 var(--space-3);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}

/* --- Logo --- */
.lapg-brand { display: inline-flex; align-items: center; gap: 11px; }
.lapg-brand__mark { width: 30px; height: 30px; display: block; flex: none; }
.lapg-brand__mark svg { width: 100%; height: 100%; display: block; }
.lapg-brand__word {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  white-space: nowrap;
}
.lapg-brand__word .accent {
  background: linear-gradient(90deg, #246BFF 0%, #8B2CFF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --- Menu --- */
.lapg-nav__menu { display: flex; align-items: center; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.lapg-nav__menu a {
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  color: var(--text-muted);
}
.lapg-nav__menu a:hover,
.lapg-nav__menu .current-menu-item > a { color: #fff; }

/* --- CTA boton --- */
.lapg-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border: 0; border-radius: var(--radius-md);
  background: var(--gradient-brand);
  color: #fff; font-family: var(--font-heading);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: transform var(--duration-base) var(--ease-default), box-shadow var(--duration-base) var(--ease-default);
}
.lapg-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139, 44, 255, .28); color: #fff; }
.lapg-btn--ghost {
  background: transparent; border: 1px solid var(--border-default); color: #fff;
}
.lapg-btn--ghost:hover { border-color: rgba(36, 107, 255, .65); box-shadow: none; }

/* --- Toggle movil --- */
.lapg-nav__toggle {
  display: none; background: transparent; border: 0; cursor: pointer; padding: 8px;
  color: #fff;
}
.lapg-nav__toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .lapg-nav__inner > .lapg-btn { display: none; }
  .lapg-nav__toggle { display: inline-flex; }
  .lapg-nav__menu {
    position: fixed; left: 0; right: 0; top: var(--nav-height);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--deep-navy);
    border-bottom: 1px solid var(--border-default);
    padding: var(--space-2) var(--space-3) var(--space-3);
    transform: translateY(-130%);
    transition: transform var(--duration-base) var(--ease-default);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .4);
  }
  body.lapg-nav-open .lapg-nav__menu { transform: none; }
  .lapg-nav__menu li { padding: 12px 2px; border-bottom: 1px solid rgba(38, 50, 77, .5); }
  .lapg-nav__menu li:last-child { border-bottom: 0; }
  .lapg-nav__menu a { font-size: 16px; }
}

/* --- Reveal on scroll (progresivo) --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease-default), transform .5s var(--ease-default);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.lapg-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.5vw, 48px) 0 clamp(16px, 2vw, 28px);
  background:
    radial-gradient(44% 55% at 88% 6%, rgba(139, 44, 255, .20), transparent 62%),
    radial-gradient(40% 50% at 2% 40%, rgba(36, 107, 255, .14), transparent 60%);
}
.lapg-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.lapg-hero__copy { max-width: 40rem; }
.lapg-hero__copy .lapg-badge { margin-bottom: var(--space-2); }
.lapg-hero__copy h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}
.lapg-hero__copy > p {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  max-width: 46ch;
  margin-bottom: var(--space-3);
}

.lapg-hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: var(--space-3);
}

.lapg-hero__proof { font-size: 14px; color: var(--text-muted); margin: 0; }
.lapg-hero__proof strong { color: #fff; font-family: var(--font-heading); }

.lapg-hero__visual { position: relative; }
.lapg-hero__visual::before {
  content: "";
  position: absolute; inset: 8% 6% 12%;
  background: radial-gradient(closest-side, rgba(36, 107, 255, .26), transparent 76%);
  filter: blur(40px);
  z-index: 0;
}
.lapg-hero__visual img {
  position: relative; z-index: 1;
  display: block; width: 100%; height: auto;
  animation: lapg-float 7s var(--ease-default) infinite;
}
@keyframes lapg-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .lapg-hero__visual img { animation: none; }
}

@media (max-width: 980px) {
  .lapg-hero__grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .lapg-hero__copy { max-width: none; }
  .lapg-hero__copy > p { max-width: 52ch; }
  .lapg-hero__visual { max-width: 560px; margin: 0 auto; }
}

/* ============================================================
   SECCION: encabezado generico
   ============================================================ */
.lapg-section-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(32px, 5vw, 56px); }
.lapg-section-head h2 { text-wrap: balance; }
.lapg-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.lapg-section-head h2 { margin-bottom: var(--space-2); }
.lapg-section-head p { font-size: 16px; margin: 0; }

/* ============================================================
   CARD base (UI Kit)
   ============================================================ */
.lapg-card {
  background: var(--dark-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-3);
  transition: transform var(--duration-base) var(--ease-default),
              border-color var(--duration-base) var(--ease-default);
}
.lapg-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 107, 255, .65);
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.lapg-services {
  padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--border-default);
  background: #070B1C;
}
.lapg-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.lapg-service { display: flex; flex-direction: column; }
.lapg-service h3 { margin-bottom: 10px; }
.lapg-service p { font-size: 15px; margin-bottom: var(--space-3); }

.lapg-service__icon {
  --accent: var(--electric-blue);
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid rgba(36, 107, 255, .38);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: rgba(36, 107, 255, .13);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}
.lapg-service__icon svg { width: 26px; height: 26px; }
.lapg-service:nth-child(3n+1) .lapg-service__icon { --accent: var(--lapg-purple); }
.lapg-service:nth-child(3n+2) .lapg-service__icon { --accent: var(--electric-blue); }
.lapg-service:nth-child(3n)   .lapg-service__icon { --accent: var(--digital-cyan); }

.lapg-service__link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-heading); font-size: 14px; font-weight: 600;
  color: var(--digital-cyan);
}
.lapg-service__link svg { transition: transform var(--duration-fast) var(--ease-default); }
.lapg-service:hover .lapg-service__link svg { transform: translateX(3px); }

@media (max-width: 900px) {
  .lapg-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .lapg-services__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PROCESO ("Como trabajamos")
   ============================================================ */
.lapg-process {
  background: #070B1C;
  padding: clamp(8px, 2vw, 24px) 0 clamp(56px, 8vw, 96px);
}
.lapg-process__panel {
  position: relative;
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 40px);
  background:
    linear-gradient(#0A0F20, #0A0F20) padding-box,
    var(--gradient-brand) border-box;
}
.lapg-process__panel::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 70px rgba(139, 44, 255, .14);
  pointer-events: none;
}
.lapg-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.lapg-step { text-align: center; }
.lapg-step__num {
  font-family: var(--font-heading);
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  color: var(--text-muted);
}
.lapg-step__icon {
  --accent: var(--electric-blue);
  display: grid; place-items: center;
  width: 60px; height: 60px;
  margin: 10px auto 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(38, 50, 77, .9);
  background: rgba(36, 107, 255, .12);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}
.lapg-step__icon svg { width: 26px; height: 26px; }
.lapg-step:nth-child(4n+1) .lapg-step__icon { --accent: var(--digital-cyan); }
.lapg-step:nth-child(4n+2) .lapg-step__icon { --accent: var(--lapg-purple); }
.lapg-step:nth-child(4n+3) .lapg-step__icon { --accent: var(--electric-blue); }
.lapg-step:nth-child(4n)   .lapg-step__icon { --accent: var(--lapg-purple); }
.lapg-step h3 { font-size: 18px; margin-bottom: 6px; }
.lapg-step p { font-size: 14px; margin: 0; }

@media (max-width: 820px) {
  .lapg-process__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4) var(--space-3); }
}
@media (max-width: 480px) {
  .lapg-process__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   POR QUE ELEGIRNOS ("Somos tu aliado tecnologico")
   ============================================================ */
.lapg-why { padding: clamp(48px, 7vw, 88px) 0; }
.lapg-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.lapg-why__copy .lapg-eyebrow { margin-bottom: var(--space-2); }
.lapg-why__copy > p { font-size: 16px; max-width: 44ch; margin-bottom: var(--space-3); }

.lapg-why__list { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: 12px; }
.lapg-why__list li { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 15px; }
.lapg-why__list svg { color: #34D399; flex: none; }

/* --- Cluster de tarjetas flotantes --- */
.lapg-why__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.6vw, 18px);
}
.lapg-mini {
  padding: 18px;
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 4px;
  animation: lapg-float 8s var(--ease-default) infinite;
}
.lapg-mini--b { animation-delay: -2s; }
.lapg-mini--c { animation-delay: -4s; }
.lapg-mini--d { animation-delay: -6s; }
@media (prefers-reduced-motion: reduce) { .lapg-mini { animation: none; } }

.lapg-mini__label { font-size: 13px; color: var(--text-muted); }
.lapg-mini__value { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: #fff; line-height: 1.1; }
.lapg-mini__sub { font-size: 12px; color: var(--text-muted); }
.lapg-mini__spark { width: 100%; height: 30px; margin-top: 6px; }
.lapg-mini__icon {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  display: grid; place-items: center; margin-bottom: 4px;
}
.lapg-mini__icon--bolt { background: rgba(245, 197, 24, .16); color: #F5C518; }
.lapg-mini__icon svg { width: 20px; height: 20px; }

.lapg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.lapg-chip {
  width: 34px; height: 34px; border-radius: var(--radius-pill);
  display: grid; place-items: center;
  font-family: var(--font-heading); font-size: 10px; font-weight: 700; letter-spacing: .02em;
  color: #fff;
  background: color-mix(in srgb, var(--c) 26%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
}
.lapg-chip--logo svg { width: 18px; height: 18px; display: block; }
.lapg-bot__head { display: flex; align-items: center; gap: 10px; }
.lapg-bot__avatar {
  width: 34px; height: 34px; border-radius: var(--radius-pill);
  display: grid; place-items: center;
  background: rgba(139, 44, 255, .18); color: var(--lapg-purple); flex: none;
}
.lapg-bot__head strong { font-family: var(--font-heading); font-size: 14px; }
.lapg-bot__head small { color: var(--text-muted); font-size: 12px; }
.lapg-bot__msg {
  margin: 12px 0 0; padding: 10px 12px;
  background: rgba(255, 255, 255, .05);
  border-radius: 12px 12px 12px 4px;
  font-size: 13px; color: #fff;
}

@media (max-width: 980px) {
  .lapg-why__grid { grid-template-columns: 1fr; }
  .lapg-why__visual { order: 2; }
}
@media (max-width: 440px) {
  .lapg-why__cards { grid-template-columns: 1fr; }
}

/* ============================================================
   STACK DE TECNOLOGIAS
   ============================================================ */
.lapg-stack {
  padding: clamp(28px, 4vw, 44px) 0 clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--border-default);
}
.lapg-stack__title {
  text-align: center; margin: 0 0 var(--space-3);
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted);
}
.lapg-stack__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 52px);
}
.lapg-stack__list li {
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.6vw, 19px); font-weight: 700; letter-spacing: .01em;
  color: #fff; opacity: .5;
  transition: opacity var(--duration-base) var(--ease-default);
}
.lapg-stack__list li:hover { opacity: 1; }
.lapg-stack__list li:last-child { font-weight: 500; color: var(--text-muted); opacity: 1; }

/* Variante con logos reales de marca */
.lapg-stack__list--logos { gap: clamp(22px, 4vw, 56px); }
.lapg-stack__list--logos li { opacity: 1; }
.lapg-brandlogo {
  display: inline-flex; align-items: center; gap: 10px;
  opacity: .62; filter: saturate(.85);
  transition: opacity var(--duration-base) var(--ease-default), filter var(--duration-base) var(--ease-default);
}
.lapg-brandlogo:hover { opacity: 1; filter: none; }
.lapg-brandlogo__mark { display: inline-flex; flex: none; }
.lapg-brandlogo__svg { width: clamp(22px, 2.4vw, 28px); height: clamp(22px, 2.4vw, 28px); display: block; }
.lapg-brandlogo__name {
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.5vw, 18px); font-weight: 700; letter-spacing: .01em;
  color: #fff;
}
.lapg-stack__more {
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.5vw, 18px); font-weight: 500; letter-spacing: .01em;
  color: var(--text-muted);
}
@media (max-width: 560px) {
  .lapg-brandlogo__name, .lapg-stack__more { font-size: 13px; }
  .lapg-stack__list--logos { gap: 18px 22px; }
}

/* Logos de marketplaces (transparentes, sin caja) */
.lapg-stack__list li.lapg-stack__logo {
  opacity: .82; padding: 0;
  display: inline-flex; align-items: center;
  transition: opacity var(--duration-base) var(--ease-default);
}
.lapg-stack__list li.lapg-stack__logo:hover { opacity: 1; }
.lapg-stack__logo img {
  display: block; height: clamp(24px, 2.6vw, 34px); width: auto;
}
@media (max-width: 560px) {
  .lapg-stack__logo img { height: 22px; }
}

/* ============================================================
   PAGINA: SERVICIOS
   ============================================================ */
.lapg-page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(139, 44, 255, .20), transparent 62%),
    radial-gradient(40% 50% at 12% 60%, rgba(36, 107, 255, .14), transparent 60%);
}
.lapg-page-hero .lapg-eyebrow { margin-bottom: var(--space-2); }
.lapg-page-hero h1 {
  max-width: 20ch; margin: 0 auto var(--space-3);
  font-size: clamp(32px, 4.4vw, 54px); line-height: 1.1;
}
.lapg-page-hero > .lapg-wrap > p {
  max-width: 56ch; margin: 0 auto var(--space-4); font-size: 17px;
}
.lapg-page-hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.lapg-page-hero__actions .lapg-btn { min-height: 48px; }

/* --- Variante con imagen (hero de Servicios) --- */
.lapg-page-hero--split { text-align: left; }
.lapg-page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.lapg-page-hero--split h1 { margin-left: 0; max-width: 18ch; }
.lapg-page-hero--split .lapg-page-hero__actions { justify-content: flex-start; }
.lapg-page-hero__visual img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
}
@media (max-width: 900px) {
  .lapg-page-hero--split { text-align: center; }
  .lapg-page-hero__grid { grid-template-columns: 1fr; }
  .lapg-page-hero--split h1 { margin-left: auto; }
  .lapg-page-hero--split .lapg-page-hero__actions { justify-content: center; }
  .lapg-page-hero__visual { order: -1; max-width: 480px; margin: 0 auto; }
}

/* ===== Hero de Servicios: proceso en 4 pasos (animado, en código) ===== */
.lapg-svcflow {
  width: 100%; max-width: 460px; margin-inline: auto;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--deep-navy), var(--deep-navy)) padding-box,
    var(--gradient-brand) border-box;
  box-shadow: 0 40px 80px -34px rgba(0, 0, 0, .8), 0 0 60px -26px rgba(36, 107, 255, .5);
  padding: 18px;
  animation: lapg-float 8s var(--ease-default) infinite;
}
@media (prefers-reduced-motion: reduce) { .lapg-svcflow { animation: none; } }

.lapg-svcflow__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lapg-svcflow__eyebrow {
  font-family: var(--font-heading); font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted);
}
.lapg-svcflow__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; color: var(--digital-cyan);
  padding: 3px 9px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--digital-cyan) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--digital-cyan) 35%, transparent);
}
.lapg-svcflow__live i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--digital-cyan);
  animation: lapg-dash-pulse 1.8s ease-out infinite;
}

.lapg-svcflow__list { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 8px; }
.lapg-svcflow__list::before {
  content: ""; position: absolute; left: 19px; top: 14px; bottom: 14px; width: 2px;
  background: var(--border-default); border-radius: 2px;
}
.lapg-svcflow__list::after {
  content: ""; position: absolute; left: 19px; top: 14px; width: 2px; height: 0;
  background: var(--gradient-brand); border-radius: 2px;
  animation: lapg-svcflow-fill 12s linear infinite;
}
@keyframes lapg-svcflow-fill {
  0% { height: 0; } 92%, 100% { height: calc(100% - 28px); }
}

.lapg-svcflow__step {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px;
  padding: 10px; border-radius: 12px;
  border: 1px solid transparent;
  animation: lapg-svcflow-active 12s ease-in-out infinite;
  animation-delay: calc(var(--i) * 3s - 12s);
}
@keyframes lapg-svcflow-active {
  0%, 2%    { background: transparent; border-color: transparent; }
  4%, 21%   { background: color-mix(in srgb, var(--electric-blue) 12%, transparent); border-color: color-mix(in srgb, var(--digital-cyan) 30%, transparent); }
  25%, 100% { background: transparent; border-color: transparent; }
}

.lapg-svcflow__num {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: #fff;
  background: var(--dark-surface); border: 1px solid var(--border-default);
  animation: lapg-svcflow-num 12s ease-in-out infinite;
  animation-delay: calc(var(--i) * 3s - 12s);
}
@keyframes lapg-svcflow-num {
  0%, 2%    { box-shadow: none; border-color: var(--border-default); }
  4%, 21%   { box-shadow: 0 0 0 4px color-mix(in srgb, var(--digital-cyan) 18%, transparent), 0 0 18px -2px rgba(0, 217, 255, .7); border-color: var(--digital-cyan); }
  25%, 100% { box-shadow: none; border-color: var(--border-default); }
}

.lapg-svcflow__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lapg-svcflow__text strong { font-family: var(--font-heading); font-size: 14px; color: #fff; }
.lapg-svcflow__text span { font-size: 12px; color: var(--text-muted); line-height: 1.35; }

.lapg-svcflow__check {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #34D399;
  opacity: 0; transform: scale(.6);
  animation: lapg-svcflow-check 12s ease-in-out infinite;
  animation-delay: calc(var(--i) * 3s - 12s);
}
@keyframes lapg-svcflow-check {
  0%, 20%   { opacity: 0; transform: scale(.6); }
  24%, 100% { opacity: 1; transform: scale(1); }
}
.lapg-svcflow__check svg { width: 16px; height: 16px; }

.lapg-svcflow__foot {
  margin-top: 14px; padding: 10px 12px; border-radius: 12px;
  background: color-mix(in srgb, var(--dark-surface) 70%, transparent);
  border: 1px solid var(--border-default);
  display: flex; align-items: center; gap: 12px;
}
.lapg-svcflow__result { font-family: var(--font-heading); font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; }
.lapg-svcflow__bar { flex: 1; height: 6px; border-radius: 3px; background: var(--border-default); overflow: hidden; }
.lapg-svcflow__bar i {
  display: block; height: 100%; width: 0; border-radius: 3px;
  background: var(--gradient-brand);
  animation: lapg-svcflow-barfill 12s linear infinite;
}
@keyframes lapg-svcflow-barfill { 0% { width: 0; } 92%, 100% { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .lapg-svcflow__list::after,
  .lapg-svcflow__step, .lapg-svcflow__num, .lapg-svcflow__check,
  .lapg-svcflow__bar i, .lapg-svcflow__live i { animation: none; }
  .lapg-svcflow__check { opacity: 1; transform: none; }
  .lapg-svcflow__bar i { width: 100%; }
}
@media (max-width: 900px) { .lapg-svcflow { max-width: 440px; } }

/* --- Pilares --- */
.lapg-pillars { padding: clamp(32px, 5vw, 56px) 0; }
.lapg-pillars__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.lapg-pillar { text-align: center; }
.lapg-pillar .lapg-service__icon { margin-left: auto; margin-right: auto; }
.lapg-pillar h3 { margin-bottom: 8px; }
.lapg-pillar p { font-size: 15px; margin: 0; }

/* --- Servicios en detalle --- */
.lapg-srv {
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--border-default);
  background: #070B1C;
}
.lapg-srv__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
.lapg-srv__card { display: flex; flex-direction: column; scroll-margin-top: 96px; }
.lapg-srv__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--space-2);
}
.lapg-srv__num {
  font-family: var(--font-heading); font-size: 26px; font-weight: 800;
  color: rgba(255, 255, 255, .10);
}
.lapg-srv__card h3 { margin-bottom: 8px; }
.lapg-srv__card > p { font-size: 15px; margin-bottom: var(--space-3); }
.lapg-srv__includes {
  list-style: none; margin: 0 0 var(--space-3); padding: 0;
  display: grid; gap: 10px;
}
.lapg-srv__includes li { display: flex; gap: 10px; font-size: 14px; color: #fff; }
.lapg-srv__includes svg { color: var(--digital-cyan); flex: none; margin-top: 2px; }
.lapg-srv__card .lapg-service__link { margin-top: auto; }

/* --- Para quien es --- */
.lapg-audience { padding: clamp(48px, 7vw, 88px) 0; }
.lapg-audience__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.lapg-audience__card h3 { font-size: 19px; margin-bottom: 8px; }
.lapg-audience__card p { font-size: 14px; margin: 0; }

/* --- FAQ --- */
.lapg-faq {
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--border-default);
  background: #070B1C;
}
.lapg-faq__list { max-width: 46rem; margin: 0 auto; display: grid; gap: 12px; }
.lapg-faq__item {
  background: var(--dark-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 4px 18px;
  transition: border-color var(--duration-base) var(--ease-default);
}
.lapg-faq__item[open] { border-color: rgba(36, 107, 255, .55); }
.lapg-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; cursor: pointer;
  font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: #fff;
  list-style: none;
}
.lapg-faq__item summary::-webkit-details-marker { display: none; }
.lapg-faq__item summary svg { flex: none; color: var(--text-muted); transition: transform var(--duration-base) var(--ease-default); }
.lapg-faq__item[open] summary svg { transform: rotate(180deg); }
.lapg-faq__item p { margin: 0 0 14px; font-size: 14px; }

/* --- Banda CTA final --- */
.lapg-cta-band { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); }
.lapg-cta-band__panel {
  position: relative;
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
  text-align: center;
  background:
    linear-gradient(#0A0F20, #0A0F20) padding-box,
    var(--gradient-brand) border-box;
}
.lapg-cta-band__panel::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 80px rgba(139, 44, 255, .16); pointer-events: none;
}
.lapg-cta-band__panel h2 { margin-bottom: var(--space-2); }
.lapg-cta-band__panel p { max-width: 52ch; margin: 0 auto var(--space-3); }
.lapg-cta-band__panel .lapg-btn { min-height: 48px; }

@media (max-width: 900px) {
  .lapg-pillars__grid,
  .lapg-audience__grid { grid-template-columns: 1fr; }
  .lapg-srv__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGINA: NOSOTROS
   ============================================================ */
.lapg-story { padding: clamp(40px, 6vw, 72px) 0; }
.lapg-story__grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.lapg-story__copy .lapg-eyebrow { margin-bottom: var(--space-2); }
.lapg-story__copy h2 { margin-bottom: var(--space-2); }
.lapg-story__copy p { font-size: 16px; }
.lapg-story__copy p:last-child { margin-bottom: 0; }
.lapg-story__quote {
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(#0A0F20, #0A0F20) padding-box,
    var(--gradient-brand) border-box;
}
.lapg-story__quote p {
  margin: 0;
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px); line-height: 1.25;
}
@media (max-width: 900px) { .lapg-story__grid { grid-template-columns: 1fr; } }

.lapg-values {
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--border-default);
  background: #070B1C;
}
.lapg-values__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.lapg-value { display: flex; gap: 16px; align-items: flex-start; }
.lapg-value .lapg-service__icon { margin-bottom: 0; flex: none; }
.lapg-value h3 { font-size: 18px; margin-bottom: 6px; }
.lapg-value p { font-size: 14px; margin: 0; }
.lapg-values__grid > article:nth-child(4n+1) .lapg-service__icon { --accent: var(--lapg-purple); }
.lapg-values__grid > article:nth-child(4n+2) .lapg-service__icon { --accent: var(--electric-blue); }
.lapg-values__grid > article:nth-child(4n+3) .lapg-service__icon { --accent: var(--digital-cyan); }
.lapg-values__grid > article:nth-child(4n)   .lapg-service__icon { --accent: var(--electric-blue); }
@media (max-width: 720px) { .lapg-values__grid { grid-template-columns: 1fr; } }

.lapg-process--flat { background: transparent; padding: clamp(48px, 7vw, 88px) 0; }

/* ============================================================
   PAGINA DE SERVICIO: ASESORIAS E-COMMERCE
   ============================================================ */
.lapg-shero {
  position: relative; overflow: hidden;
  padding: clamp(32px, 5vw, 72px) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(46% 60% at 92% 4%, rgba(139, 44, 255, .22), transparent 62%),
    radial-gradient(40% 50% at 0% 46%, rgba(36, 107, 255, .16), transparent 60%);
}
.lapg-shero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.lapg-shero__copy .lapg-badge {
  display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 217, 255, .25); background: rgba(11, 16, 32, .7);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: var(--space-2);
}
.lapg-shero__copy h1 {
  font-size: clamp(30px, 3.8vw, 48px); line-height: 1.1; margin-bottom: var(--space-2);
}
.lapg-shero__copy > p { font-size: 16px; max-width: 46ch; margin-bottom: var(--space-3); }

.lapg-shero__benefits {
  list-style: none; margin: 0 0 var(--space-3); padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--space-3);
}
.lapg-shero__benefits li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #fff; font-family: var(--font-heading); font-weight: 600; }
.lapg-shero__benefits small { color: var(--text-muted); font-weight: 400; font-family: var(--font-body); }
.lapg-shero__benefits .lapg-service__icon {
  width: 40px; height: 40px; margin: 0; --accent: var(--electric-blue);
}
.lapg-shero__benefits li:nth-child(2) .lapg-service__icon { --accent: var(--lapg-purple); }
.lapg-shero__benefits li:nth-child(3) .lapg-service__icon { --accent: var(--digital-cyan); }
.lapg-shero__benefits .lapg-service__icon svg { width: 20px; height: 20px; }

.lapg-shero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--space-3); }
.lapg-shero__actions .lapg-btn { min-height: 48px; }
.lapg-shero__note { font-size: 13px; color: var(--text-muted); margin: 0; }

/* --- Hub de marketplaces animado (código, sin imagen) --- */
.lapg-shero__visual { position: relative; }

.lapg-orbit {
  position: relative;
  width: 100%; max-width: 520px; margin-inline: auto;
  aspect-ratio: 1 / 1;
}
@media (min-width: 981px) {
  .lapg-orbit { max-width: 560px; margin-right: 0; }
}

/* Radios (relativos al lado del cuadro) */
.lapg-orbit { --ring-r: 30%; --corner-inset: 2%; }

/* Radios de conexión al centro */
.lapg-orbit__wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.lapg-orbit__wires line {
  stroke-width: .6; stroke-linecap: round;
  opacity: .5;
  stroke-dasharray: 2.5 3.5;
  animation: lapg-wire-flow 1.8s linear infinite;
}
@keyframes lapg-wire-flow { to { stroke-dashoffset: -12; } }

/* Núcleo con el isotipo */
.lapg-orbit__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 26%; aspect-ratio: 1; border-radius: 50%; z-index: 4;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 38%, #141b36, #070b1c 72%);
  box-shadow: 0 0 46px -8px rgba(139, 44, 255, .5), inset 0 0 20px rgba(0, 217, 255, .22);
}
.lapg-orbit__halo {
  position: absolute; inset: -40%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(36, 107, 255, .4), transparent 70%);
  filter: blur(24px);
  animation: lapg-orbit-pulse 4s ease-in-out infinite;
}
@keyframes lapg-orbit-pulse { 0%,100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }
.lapg-orbit__ring {
  position: absolute; inset: -8%; border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 0deg, #00D9FF, #246BFF, #8B2CFF, #00D9FF);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: lapg-spin 6s linear infinite;
}
@keyframes lapg-spin { to { transform: rotate(1turn); } }
.lapg-orbit__mark { width: 44%; display: block; filter: drop-shadow(0 0 10px rgba(0, 217, 255, .5)); }
.lapg-orbit__mark svg { width: 100%; height: 100%; display: block; }

/* Anillo de 8 íconos: cada .lapg-orbit__icon ocupa todo el cuadro y se rota; el badge queda pegado arriba-centro */
.lapg-orbit__icon {
  position: absolute; inset: 0; z-index: 3;
  display: flex; justify-content: center; align-items: flex-start;
  transform: rotate(var(--a));
  pointer-events: none;
}
.lapg-orbit__badge {
  margin-top: calc(50% - var(--ring-r) - 6%);
  width: 12%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--digital-cyan);
  background: color-mix(in srgb, var(--dark-surface) 88%, transparent);
  border: 1px solid var(--border-default);
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.8), 0 0 22px -10px rgba(0,217,255,.6);
  backdrop-filter: blur(4px);
  transform: rotate(calc(-1 * var(--a)));
  animation: lapg-orbit-bob 6s var(--ease-default) infinite;
}
.lapg-orbit__icon:nth-child(odd)  .lapg-orbit__badge { color: var(--lapg-purple); box-shadow: 0 10px 24px -12px rgba(0,0,0,.8), 0 0 22px -10px rgba(139,44,255,.65); }
.lapg-orbit__icon:nth-child(3n)   .lapg-orbit__badge { animation-delay: -1.5s; }
.lapg-orbit__icon:nth-child(3n+1) .lapg-orbit__badge { animation-delay: -3s; }
.lapg-orbit__badge svg { width: 52%; height: 52%; }
@keyframes lapg-orbit-bob {
  0%, 100% { transform: rotate(calc(-1 * var(--a))) translateY(0); }
  50%      { transform: rotate(calc(-1 * var(--a))) translateY(-5px); }
}

/* Tarjetas de marketplace en las 4 esquinas */
.lapg-orbit__node {
  position: absolute; z-index: 4;
  width: 30%;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  animation: lapg-orbit-float 7s var(--ease-default) infinite;
}
.lapg-orbit__card {
  width: 100%; min-height: 58px; padding: 12px 12px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--dark-surface) 92%, transparent);
  border: 1px solid var(--border-default);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .85);
  backdrop-filter: blur(6px);
}
.lapg-orbit__card img { display: block; width: 100%; max-height: 22px; object-fit: contain; }
.lapg-orbit__node--tl { left: var(--corner-inset);  top: var(--corner-inset); }
.lapg-orbit__node--tr { right: var(--corner-inset); top: var(--corner-inset);  animation-delay: -1.75s; }
.lapg-orbit__node--bl { left: var(--corner-inset);  bottom: var(--corner-inset); animation-delay: -3.5s; }
.lapg-orbit__node--br { right: var(--corner-inset); bottom: var(--corner-inset); animation-delay: -5.25s; }
.lapg-orbit__more { display: flex; flex-direction: column; align-items: center; line-height: 1.15; color: #fff; }
.lapg-orbit__more strong { font-family: var(--font-heading); font-size: 14px; }
.lapg-orbit__more span { font-size: 10px; color: var(--text-muted); }
.lapg-orbit__status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9px; font-weight: 600; letter-spacing: .05em; color: #34D399;
  padding: 4px 10px; border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, #34D399 40%, transparent);
  background: color-mix(in srgb, #34D399 10%, transparent);
}
.lapg-orbit__status i {
  width: 5px; height: 5px; border-radius: 50%; background: #34D399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
  animation: lapg-dash-pulse 2s ease-out infinite;
}

@keyframes lapg-orbit-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (max-width: 820px) {
  .lapg-orbit { --ring-r: 31%; }
  .lapg-orbit__node { width: 32%; }
  .lapg-orbit__badge { width: 12%; }
}
/* En móvil: cluster "núcleo + 8 íconos en anillo" arriba, y rejilla 2x2 de marcas abajo */
@media (max-width: 640px) {
  .lapg-orbit {
    aspect-ratio: auto; max-width: 420px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px 12px; align-items: start;
    padding-top: 248px;               /* banda del cluster: 8 + 224 + 16 */
  }
  .lapg-orbit__wires { display: none; }

  .lapg-orbit__core {
    position: absolute; top: 80px; left: 50%; transform: translateX(-50%);
    width: 84px; height: 84px;
  }
  /* la caja de cada ícono se acota a la banda superior centrada en el núcleo */
  .lapg-orbit__icon {
    inset: auto; top: 8px; left: 50%;
    width: 224px; height: 224px;
    transform: translateX(-50%) rotate(var(--a));
  }
  .lapg-orbit__badge {
    margin-top: 2px;
    width: 33px; height: 33px;
  }

  .lapg-orbit__node { position: static; width: 100%; animation: none; }
  .lapg-orbit__card { min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .lapg-orbit__wires line,
  .lapg-orbit__halo,
  .lapg-orbit__ring,
  .lapg-orbit__node,
  .lapg-orbit__badge,
  .lapg-orbit__status i { animation: none; }
}

/* Variante "sistemas": tarjetas de módulo con ícono + etiqueta */
.lapg-orbit--sys { --ring-r: 29%; }
.lapg-orbit--sys .lapg-orbit__node { width: 30%; }
.lapg-orbit__card--mod {
  justify-content: flex-start; gap: 9px; padding: 10px 11px;
}
.lapg-orbit__modicon {
  width: 28px; height: 28px; flex: none; border-radius: 9px;
  display: grid; place-items: center;
  color: var(--digital-cyan);
  background: color-mix(in srgb, var(--electric-blue) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--digital-cyan) 30%, transparent);
}
.lapg-orbit__modicon svg { width: 15px; height: 15px; }
.lapg-orbit__node--tr .lapg-orbit__modicon,
.lapg-orbit__node--bl .lapg-orbit__modicon { color: var(--lapg-purple); background: color-mix(in srgb, var(--lapg-purple) 16%, transparent); border-color: color-mix(in srgb, var(--lapg-purple) 32%, transparent); }
.lapg-orbit__modtext { display: flex; flex-direction: column; line-height: 1.16; min-width: 0; }
.lapg-orbit__modtext strong { font-family: var(--font-heading); font-size: 12px; color: #fff; }
.lapg-orbit__modtext span { font-size: 9px; color: var(--text-muted); }

.lapg-orbit__caption {
  margin: 18px auto 0; max-width: 300px; text-align: center;
  padding: 12px 16px; border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--deep-navy) 82%, transparent);
  border: 1px solid var(--border-default);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8);
}
@media (max-width: 640px) {
  .lapg-orbit--sys .lapg-orbit__node { width: 100%; }
  .lapg-orbit__caption { margin-top: 14px; }
}

.lapg-hub {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 20px) clamp(40px, 8vw, 88px);
}
.lapg-hub::before {
  content: ""; position: absolute; inset: 10% 20%;
  background: radial-gradient(closest-side, rgba(36, 107, 255, .28), transparent 75%);
  filter: blur(38px); z-index: 0;
}
.lapg-hub__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 88px; height: 88px; border-radius: var(--radius-pill);
  display: grid; place-items: center; z-index: 2;
  border: 1px solid transparent;
  background:
    linear-gradient(#0A0F20, #0A0F20) padding-box,
    var(--gradient-brand) border-box;
  box-shadow: 0 0 44px rgba(139, 44, 255, .35);
}
.lapg-hub__mark { width: 40px; height: 40px; display: block; }
.lapg-hub__mark svg { width: 100%; height: 100%; }
.lapg-hub__node {
  position: relative; z-index: 1;
  background: var(--dark-surface); border: 1px solid var(--border-default);
  border-radius: var(--radius-md); padding: 12px 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.lapg-hub__node strong { font-family: var(--font-heading); font-size: 13px; color: #fff; }
.lapg-hub__status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); }
.lapg-hub__status i { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 8px #34D399; }
.lapg-hub__stat { margin-top: var(--space-2); padding: 14px 16px; }

@media (max-width: 980px) {
  .lapg-shero__grid { grid-template-columns: 1fr; }
  .lapg-hub { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lapg-hub__core { position: static; transform: none; margin: 0 auto 4px; grid-column: 1 / -1; }
  .lapg-hub::before { inset: 20% 10%; }
}

/* --- Flujo de 5 pasos --- */
.lapg-flow {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}
.lapg-flow__step { position: relative; }
.lapg-flow__step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: calc(-1 * clamp(12px, 1.6vw, 20px) / 2);
  width: 8px; height: 8px; border-top: 2px solid rgba(36, 107, 255, .6);
  border-right: 2px solid rgba(36, 107, 255, .6); transform: translateX(50%) rotate(45deg);
}
@media (max-width: 900px) {
  .lapg-flow { grid-template-columns: repeat(2, 1fr); }
  .lapg-flow__step::after { display: none; }
}
@media (max-width: 480px) { .lapg-flow { grid-template-columns: 1fr; } }

/* --- Automatizaciones + dashboard --- */
.lapg-autos { padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--border-default); background: #070B1C; }
.lapg-autos__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.lapg-autos__copy h2 { margin-bottom: var(--space-3); }
.lapg-autos__copy .lapg-btn { margin-top: var(--space-2); }

.lapg-dash {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, .8fr);
  gap: clamp(12px, 1.8vw, 20px); align-items: stretch;
  padding: clamp(18px, 2.6vw, 26px);
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--deep-navy), var(--deep-navy)) padding-box,
    var(--gradient-brand) border-box;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7), 0 0 60px -30px rgba(36, 107, 255, .5);
}
/* Resplandor que se mueve detrás de la tarjeta */
.lapg-dash__glow {
  position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 44, 255, .5), transparent 70%);
  filter: blur(50px); top: -20%; left: -10%;
  animation: lapg-dash-drift 14s ease-in-out infinite alternate;
}
@keyframes lapg-dash-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(60%, 30%) scale(1.15); }
  100% { transform: translate(120%, -10%) scale(.95); }
}

.lapg-dash__side { display: flex; flex-direction: column; gap: 8px; }
.lapg-dash__side-label {
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--digital-cyan); font-weight: 600; margin-bottom: 2px;
}
.lapg-dash__chip, .lapg-dash__row {
  background: color-mix(in srgb, var(--dark-surface) 85%, transparent);
  border: 1px solid var(--border-default);
  border-radius: 12px; padding: 10px 12px; font-size: 12px; color: #fff;
  backdrop-filter: blur(6px);
}
.lapg-dash__chip {
  display: flex; align-items: center; gap: 8px;
  animation: lapg-float 7s var(--ease-default) infinite;
}
.lapg-dash__chip:nth-child(3) { animation-delay: -1.6s; }
.lapg-dash__chip:nth-child(4) { animation-delay: -3.2s; }
.lapg-dash__chip:nth-child(5) { animation-delay: -4.8s; }
.lapg-dash__dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: #34D399; box-shadow: 0 0 10px #34D399;
}
.lapg-dash__row { display: flex; flex-direction: column; gap: 1px; position: relative; padding-left: 16px; }
.lapg-dash__row::before {
  content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 3px;
  border-radius: 3px; background: var(--gradient-brand);
}
.lapg-dash__row strong { font-family: var(--font-heading); font-size: 12px; }
.lapg-dash__row small { color: var(--text-muted); font-size: 11px; }

.lapg-dash__main {
  padding: 16px;
  background: color-mix(in srgb, var(--dark-surface) 70%, transparent);
  border: 1px solid var(--border-default); border-radius: 16px;
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column;
}
.lapg-dash__main-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.lapg-dash__main-head span:first-child { font-family: var(--font-heading); font-weight: 700; font-size: 14px; color: #fff; }
.lapg-dash__pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; letter-spacing: .04em; color: var(--digital-cyan);
  border: 1px solid color-mix(in srgb, var(--digital-cyan) 40%, transparent);
  border-radius: var(--radius-pill); padding: 3px 9px;
  background: color-mix(in srgb, var(--digital-cyan) 10%, transparent);
}
.lapg-dash__live {
  width: 6px; height: 6px; border-radius: 50%; background: var(--digital-cyan);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--digital-cyan) 70%, transparent);
  animation: lapg-dash-pulse 1.8s ease-out infinite;
}
@keyframes lapg-dash-pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--digital-cyan) 70%, transparent); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.lapg-dash__chart { width: 100%; height: clamp(90px, 12vw, 120px); flex: 1; overflow: visible; }
.lapg-dash__line {
  stroke-dasharray: 320; stroke-dashoffset: 320;
  filter: drop-shadow(0 0 6px rgba(0, 217, 255, .6));
  animation: lapg-dash-draw 3.2s ease-in-out forwards;
}
.lapg-dash__area { opacity: 0; animation: lapg-dash-fade 1.2s ease-out .8s forwards; }
.lapg-dash__head {
  opacity: 0;
  filter: drop-shadow(0 0 6px #00D9FF);
  animation: lapg-dash-fade .4s ease-out 3s forwards, lapg-dash-pulse 1.8s ease-out 3s infinite;
}
@keyframes lapg-dash-draw { to { stroke-dashoffset: 0; } }
@keyframes lapg-dash-fade { to { opacity: 1; } }

.lapg-dash__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lapg-dash__tags span {
  font-size: 10px; color: var(--text-muted);
  border: 1px solid var(--border-default); border-radius: var(--radius-pill); padding: 3px 9px;
}

@media (prefers-reduced-motion: reduce) {
  .lapg-dash__glow, .lapg-dash__chip, .lapg-dash__live, .lapg-dash__head { animation: none; }
  .lapg-dash__line { stroke-dashoffset: 0; animation: none; }
  .lapg-dash__area, .lapg-dash__head { opacity: 1; }
}

@media (max-width: 980px) {
  .lapg-autos__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .lapg-dash { grid-template-columns: 1fr; }
  .lapg-dash__main { order: -1; }
  .lapg-dash__side { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .lapg-dash__side-label { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .lapg-dash__side { grid-template-columns: 1fr; }
}

/* --- Capacidades (reemplaza banda de stats) --- */
.lapg-caps { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.lapg-caps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.lapg-cap { text-align: center; }
.lapg-cap .lapg-service__icon { margin-left: auto; margin-right: auto; }
.lapg-cap:nth-child(4n+1) .lapg-service__icon { --accent: var(--lapg-purple); }
.lapg-cap:nth-child(4n+2) .lapg-service__icon { --accent: var(--electric-blue); }
.lapg-cap:nth-child(4n+3) .lapg-service__icon { --accent: var(--digital-cyan); }
.lapg-cap:nth-child(4n)   .lapg-service__icon { --accent: var(--electric-blue); }
.lapg-cap h3 { font-size: 17px; margin-bottom: 6px; }
.lapg-cap p { font-size: 13px; margin: 0; }
@media (max-width: 900px) { .lapg-caps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lapg-caps__grid { grid-template-columns: 1fr; } }

/* ============================================================
   PAGINA DE SERVICIO: DISENO WEB (mockup de navegador)
   ============================================================ */
.lapg-browser {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--dark-surface);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 60px rgba(36, 107, 255, .12);
  animation: lapg-float 8s var(--ease-default) infinite;
}
@media (prefers-reduced-motion: reduce) { .lapg-browser { animation: none; } }
.lapg-browser__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-default);
  background: var(--deep-navy);
}
.lapg-browser__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(154, 167, 199, .35); }
.lapg-browser__url {
  margin-left: 10px; flex: 1;
  font-size: 11px; color: var(--text-muted);
  background: var(--dark-surface); border: 1px solid var(--border-default);
  border-radius: var(--radius-pill); padding: 4px 12px;
}
.lapg-browser__body { padding: 22px; display: grid; gap: 14px; }
.lapg-browser__hl { height: 14px; border-radius: 7px; width: 72%; background: rgba(255, 255, 255, .55); }
.lapg-browser__hl--sm { width: 46%; height: 9px; background: rgba(255, 255, 255, .22); }
.lapg-browser__btn { width: 128px; height: 34px; border-radius: var(--radius-md); background: var(--gradient-brand); }
.lapg-browser__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 4px; }
.lapg-browser__card {
  height: 72px; border-radius: var(--radius-md);
  border: 1px solid var(--border-default); background: var(--deep-navy);
}

/* --- Carrusel de 3 sitios de muestra (Diseño Web) --- */
.lapg-sites {
  width: 100%; max-width: 520px; margin-inline: auto;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--dark-surface);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 60px rgba(139, 44, 255, .14);
  animation: lapg-float 8s var(--ease-default) infinite;
}
.lapg-sites__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-bottom: 1px solid var(--border-default);
  background: var(--deep-navy);
}
.lapg-sites__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(154, 167, 199, .35); }
.lapg-sites__url {
  position: relative; margin-left: 10px; flex: 1; height: 24px;
  background: var(--dark-surface); border: 1px solid var(--border-default);
  border-radius: var(--radius-pill);
}
.lapg-sites__u {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-size: 11px; color: var(--text-muted); opacity: 0;
  animation: lapg-sites-url 13.5s ease-in-out infinite;
}
.lapg-sites__u--2 { animation-delay: -9s; }
.lapg-sites__u--3 { animation-delay: -4.5s; }
@keyframes lapg-sites-url {
  0%, 3%    { opacity: 0; }
  6%, 30%   { opacity: 1; }
  34%, 100% { opacity: 0; }
}

.lapg-sites__stage { position: relative; aspect-ratio: 4 / 3.1; }
.lapg-site {
  position: absolute; inset: 0; padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--dark-surface);
  opacity: 0; transform: translateX(24px) scale(.98);
  animation: lapg-sites-slide 13.5s ease-in-out infinite;
}
.lapg-site--2 { animation-delay: -9s; }
.lapg-site--3 { animation-delay: -4.5s; }
@keyframes lapg-sites-slide {
  0%      { opacity: 0; transform: translateX(24px) scale(.98); }
  5%, 30% { opacity: 1; transform: translateX(0) scale(1); }
  35%, 100% { opacity: 0; transform: translateX(-24px) scale(.98); }
}

.lapg-site__nav { display: flex; align-items: center; gap: 8px; }
.lapg-site__brand { width: 28px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--c), var(--c2)); }
.lapg-site__nav i { width: 20px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.16); }
.lapg-site__search { flex: 1; height: 18px; border-radius: var(--radius-pill); background: rgba(255,255,255,.06); border: 1px solid var(--border-default); }

/* Sitio 1 */
.lapg-site__hero {
  flex: 1; border-radius: 12px; padding: 16px;
  display: flex; flex-direction: column; gap: 9px; justify-content: center;
  background: radial-gradient(120% 120% at 0% 0%, color-mix(in srgb, var(--c) 40%, transparent), transparent 60%), var(--deep-navy);
  border: 1px solid var(--border-default);
}
.lapg-site__t1 { width: 78%; height: 15px; border-radius: 7px; background: rgba(255,255,255,.6); }
.lapg-site__t2 { width: 52%; height: 9px; border-radius: 5px; background: rgba(255,255,255,.28); }
.lapg-site__cta { width: 96px; height: 26px; border-radius: 8px; background: linear-gradient(90deg, var(--c), var(--c2)); margin-top: 4px; }
.lapg-site__cta--wide { width: 132px; }
.lapg-site__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lapg-site__row span { height: 46px; border-radius: 10px; background: var(--deep-navy); border: 1px solid var(--border-default); }

/* Sitio 2 */
.lapg-site__grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lapg-site__prod {
  border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px;
  background: var(--deep-navy); border: 1px solid var(--border-default);
}
.lapg-site__prod i { flex: 1; border-radius: 7px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 55%, transparent), color-mix(in srgb, var(--c2) 45%, transparent)); }
.lapg-site__prod b { width: 44%; height: 8px; border-radius: 4px; background: rgba(255,255,255,.4); }

/* Sitio 3 */
.lapg-site__head { flex: 1; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.lapg-site__big { width: 86%; height: 20px; border-radius: 8px; background: rgba(255,255,255,.5); }
.lapg-site__big--g { width: 60%; background: linear-gradient(90deg, var(--c), var(--c2)); }
.lapg-site__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lapg-site__stats span { height: 40px; border-radius: 10px; background: var(--deep-navy); border: 1px solid var(--border-default); }

.lapg-sites__pips { display: flex; justify-content: center; gap: 6px; padding: 10px 0 12px; background: var(--deep-navy); }
.lapg-sites__pips i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.18); animation: lapg-sites-pip 13.5s ease-in-out infinite; }
.lapg-sites__pips i:nth-child(2) { animation-delay: -9s; }
.lapg-sites__pips i:nth-child(3) { animation-delay: -4.5s; }
@keyframes lapg-sites-pip {
  0%, 4%    { background: rgba(255,255,255,.18); transform: scale(1); }
  6%, 30%   { background: var(--electric-blue); transform: scale(1.3); }
  34%, 100% { background: rgba(255,255,255,.18); transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .lapg-sites { animation: none; }
  .lapg-site, .lapg-sites__u, .lapg-sites__pips i { animation: none; }
  .lapg-site--1 { opacity: 1; transform: none; }
  .lapg-sites__u--1 { opacity: 1; }
  .lapg-site--2, .lapg-site--3 { display: none; }
}

/* ============================================================
   PAGINA DE SERVICIO: ADMINISTRACION DE CATALOGO
   ============================================================ */
.lapg-admin {
  display: grid; grid-template-columns: 52px 1fr;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--dark-surface);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 60px rgba(139, 44, 255, .12);
  animation: lapg-float 8s var(--ease-default) infinite;
}
@media (prefers-reduced-motion: reduce) { .lapg-admin { animation: none; } }
.lapg-admin__side {
  background: var(--deep-navy); border-right: 1px solid var(--border-default);
  padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.lapg-admin__side i { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.lapg-admin__side i:first-child { background: var(--gradient-brand); }
.lapg-admin__main { padding: 16px; display: grid; gap: 12px; }
.lapg-admin__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lapg-admin__title { font-family: var(--font-heading); font-weight: 600; font-size: 13px; color: #fff; }
.lapg-admin__pill {
  font-size: 10px; color: #34D399;
  border: 1px solid rgba(52, 211, 153, .35); border-radius: var(--radius-pill);
  padding: 3px 9px; white-space: nowrap;
}
.lapg-admin__sync { display: flex; gap: 6px; flex-wrap: wrap; }
.lapg-admin__sync span {
  font-size: 10px; color: var(--text-muted);
  border: 1px solid var(--border-default); border-radius: var(--radius-pill);
  padding: 3px 8px; display: flex; align-items: center; gap: 5px;
}
.lapg-admin__sync span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34D399; }
.lapg-admin__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lapg-admin__cell {
  border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  background: var(--deep-navy); aspect-ratio: 1; position: relative; overflow: hidden;
}
.lapg-admin__cell::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 6px;
  height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .14);
}
.lapg-admin__cell:nth-child(1) { background: linear-gradient(135deg, rgba(139, 44, 255, .45), rgba(0, 217, 255, .3)); }
.lapg-admin__cell:nth-child(4) { background: linear-gradient(135deg, rgba(36, 107, 255, .4), rgba(139, 44, 255, .28)); }
.lapg-admin__cell:nth-child(6) { background: linear-gradient(135deg, rgba(0, 217, 255, .32), rgba(36, 107, 255, .3)); }
.lapg-admin__tools { display: flex; gap: 6px; flex-wrap: wrap; }
.lapg-admin__tools span {
  font-size: 10px; color: var(--text-muted);
  border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  padding: 4px 9px;
}
.lapg-admin__tools span:last-child { color: #fff; border-color: rgba(36, 107, 255, .55); }

/* ---- Editor de producto (hero de Administración de Catálogo) ---- */
.lapg-peditor {
  width: 100%; max-width: 540px; margin-inline: auto;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--dark-surface), var(--dark-surface)) padding-box,
    var(--gradient-brand) border-box;
  box-shadow: 0 40px 80px -34px rgba(0, 0, 0, .8), 0 0 60px -26px rgba(36, 107, 255, .45);
  overflow: hidden;
  animation: lapg-float 8s var(--ease-default) infinite;
}
@media (prefers-reduced-motion: reduce) { .lapg-peditor { animation: none; } }

.lapg-peditor__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-bottom: 1px solid var(--border-default); background: var(--deep-navy);
}
.lapg-peditor__crumb { font-size: 11px; color: var(--text-muted); }
.lapg-peditor__crumb b { color: var(--text-muted); margin: 0 4px; }
.lapg-peditor__save {
  font-family: var(--font-heading); font-size: 10px; font-weight: 700; color: #fff;
  padding: 5px 11px; border-radius: var(--radius-pill); background: var(--gradient-brand);
  box-shadow: 0 0 18px -4px rgba(36, 107, 255, .7);
}

.lapg-peditor__body { display: grid; grid-template-columns: 40% 1fr; gap: 14px; padding: 14px; }

.lapg-peditor__media { display: flex; flex-direction: column; gap: 8px; }
.lapg-peditor__photo {
  aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--border-default);
  background:
    radial-gradient(80% 80% at 25% 20%, rgba(139,44,255,.55), transparent 65%),
    linear-gradient(135deg, rgba(0,217,255,.35), rgba(36,107,255,.25));
  animation: lapg-pe-photo 9s ease-in-out infinite;
}
@keyframes lapg-pe-photo {
  0%,100% { filter: none; }
  33% { filter: saturate(1.3) brightness(1.05); }
  66% { filter: contrast(1.1); }
}
.lapg-peditor__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lapg-peditor__thumbs i { aspect-ratio: 1; border-radius: 7px; border: 1px solid var(--border-default); background: var(--deep-navy); }
.lapg-peditor__thumbs i:first-child { border-color: color-mix(in srgb, var(--digital-cyan) 45%, transparent); }
.lapg-peditor__tools { display: flex; gap: 5px; flex-wrap: wrap; }
.lapg-peditor__tools b {
  font: 600 9px/1 var(--font-heading); color: var(--text-muted);
  padding: 4px 7px; border-radius: 6px; border: 1px solid var(--border-default);
  animation: lapg-pe-tool 6s steps(1) infinite;
}
.lapg-peditor__tools b:nth-child(2) { animation-delay: -2s; }
.lapg-peditor__tools b:nth-child(3) { animation-delay: -4s; }
@keyframes lapg-pe-tool {
  0%, 33%   { color: var(--digital-cyan); border-color: color-mix(in srgb, var(--digital-cyan) 45%, transparent); background: color-mix(in srgb, var(--digital-cyan) 10%, transparent); }
  34%, 100% { color: var(--text-muted); border-color: var(--border-default); background: transparent; }
}

.lapg-peditor__fields { display: flex; flex-direction: column; gap: 10px; }
.lapg-peditor__field { display: flex; flex-direction: column; gap: 4px; }
.lapg-peditor__field > span:first-child { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.lapg-peditor__input {
  height: 30px; display: flex; align-items: center; padding: 0 10px;
  border-radius: 8px; border: 1px solid var(--border-default); background: var(--deep-navy);
  font-family: var(--font-heading); font-size: 12px; color: #fff; white-space: nowrap; overflow: hidden;
}
.lapg-peditor__two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lapg-peditor__input--type { border-color: color-mix(in srgb, var(--digital-cyan) 40%, transparent); }
.lapg-peditor__input--type em {
  font-style: normal; display: inline-block; overflow: hidden; white-space: nowrap;
  max-width: 0; animation: lapg-pe-type 9s ease-in-out infinite;
}
@keyframes lapg-pe-type {
  0%     { max-width: 0; }
  22%    { max-width: 14ch; }
  92%    { max-width: 14ch; }
  100%   { max-width: 0; }
}
.lapg-peditor__input--type i {
  width: 1.5px; height: 14px; background: var(--digital-cyan); margin-left: 1px;
  animation: lapg-pe-caret 1s steps(1) infinite;
}
@keyframes lapg-pe-caret { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

.lapg-peditor__variants { display: flex; gap: 6px; }
.lapg-peditor__variants b {
  width: 26px; height: 26px; display: grid; place-items: center;
  font: 700 10px/1 var(--font-heading); color: var(--text-muted);
  border-radius: 7px; border: 1px solid var(--border-default); background: var(--deep-navy);
  animation: lapg-pe-var 8s ease-in-out infinite;
}
.lapg-peditor__variants b:nth-child(2) { animation-delay: -2s; }
.lapg-peditor__variants b:nth-child(3) { animation-delay: -4s; }
.lapg-peditor__variants b:nth-child(4) { animation-delay: -6s; }
@keyframes lapg-pe-var {
  0%, 20%   { color: var(--text-muted); border-color: var(--border-default); }
  22%, 30%  { color: #fff; border-color: var(--digital-cyan); box-shadow: 0 0 12px -3px rgba(0,217,255,.7); }
  32%, 100% { color: var(--text-muted); border-color: var(--border-default); box-shadow: none; }
}

.lapg-peditor__sync {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 11px 14px; border-top: 1px solid var(--border-default); background: var(--deep-navy);
}
.lapg-peditor__synclabel { font-size: 10px; font-weight: 600; color: var(--digital-cyan); }
.lapg-peditor__chan {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9.5px; color: var(--text-muted);
  padding: 3px 8px; border-radius: var(--radius-pill); border: 1px solid var(--border-default);
}
.lapg-peditor__chan i {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.2);
  animation: lapg-pe-chan 8s ease-in-out infinite;
}
.lapg-peditor__chan:nth-child(2) i { animation-delay: 3.4s; }
.lapg-peditor__chan:nth-child(3) i { animation-delay: 3.9s; }
.lapg-peditor__chan:nth-child(4) i { animation-delay: 4.4s; }
.lapg-peditor__chan:nth-child(5) i { animation-delay: 4.9s; }
@keyframes lapg-pe-chan {
  0%, 40%   { background: rgba(255,255,255,.2); box-shadow: none; }
  46%, 100% { background: #34D399; box-shadow: 0 0 8px #34D399; }
}
.lapg-peditor__done {
  margin-left: auto; font: 700 9.5px/1 var(--font-heading); color: #34D399;
  padding: 4px 9px; border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, #34D399 40%, transparent);
  background: color-mix(in srgb, #34D399 10%, transparent);
  opacity: 0; animation: lapg-pe-done 8s ease-in-out infinite;
}
@keyframes lapg-pe-done { 0%, 68% { opacity: 0; } 74%, 100% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .lapg-peditor__photo, .lapg-peditor__tools b, .lapg-peditor__input--type em,
  .lapg-peditor__input--type i, .lapg-peditor__variants b, .lapg-peditor__chan i,
  .lapg-peditor__done { animation: none; }
  .lapg-peditor__input--type em { max-width: 14ch; }
  .lapg-peditor__input--type i { display: none; }
  .lapg-peditor__chan i { background: #34D399; }
  .lapg-peditor__done { opacity: 1; }
}
@media (max-width: 480px) {
  .lapg-peditor__body { grid-template-columns: 1fr; }
  .lapg-peditor__media { flex-direction: row; align-items: flex-start; }
  .lapg-peditor__photo { width: 40%; }
  .lapg-peditor__media > *:not(.lapg-peditor__photo) { flex: 1; }
}

.lapg-platform {
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--border-default);
  background: #070B1C;
}
.lapg-platform__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.lapg-platform__copy .lapg-eyebrow { margin-bottom: var(--space-2); }
.lapg-platform__copy h2 { margin-bottom: var(--space-2); }
.lapg-platform__copy > p { font-size: 16px; margin-bottom: var(--space-3); max-width: 46ch; }
@media (max-width: 980px) {
  .lapg-platform__grid { grid-template-columns: 1fr; }
  .lapg-platform__visual { order: 2; }
}

/* ---- Panel de supervisión (chatbot) ---- */
.lapg-monitor {
  width: 100%; max-width: 460px; margin-inline: auto;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--deep-navy), var(--deep-navy)) padding-box,
    var(--gradient-brand) border-box;
  box-shadow: 0 40px 80px -34px rgba(0,0,0,.8), 0 0 60px -26px rgba(36,107,255,.45);
  padding: 16px;
  animation: lapg-float 8s var(--ease-default) infinite;
}
@media (prefers-reduced-motion: reduce) { .lapg-monitor { animation: none; } }

.lapg-monitor__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lapg-monitor__head > span:first-child { font-family: var(--font-heading); font-weight: 700; font-size: 13px; color: #fff; }
.lapg-monitor__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; color: var(--digital-cyan);
  padding: 3px 9px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--digital-cyan) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--digital-cyan) 35%, transparent);
}
.lapg-monitor__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--digital-cyan); animation: lapg-dash-pulse 1.8s ease-out infinite; }

.lapg-monitor__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.lapg-monitor__kpi {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 3px;
  padding: 9px 10px; border-radius: 10px;
  background: color-mix(in srgb, var(--dark-surface) 80%, transparent);
  border: 1px solid var(--border-default);
}
.lapg-monitor__kpi b { font: 400 9px/1 var(--font-body); color: var(--text-muted); }
.lapg-monitor__kpi strong { font-family: var(--font-heading); font-size: 15px; color: #fff; }
.lapg-monitor__count--wait::after {
  content: ""; position: absolute; right: 8px; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: #F5C518;
  box-shadow: 0 0 8px #F5C518; animation: lapg-dash-pulse 1.6s ease-out infinite;
}
.lapg-monitor__count--done::after {
  content: "▲"; position: absolute; right: 8px; top: 8px;
  font-size: 8px; color: #34D399;
}

.lapg-monitor__section { margin-top: 10px; }
.lapg-monitor__label { display: block; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }

.lapg-monitor__agents { display: flex; flex-direction: column; gap: 8px; }
.lapg-monitor__agent { display: flex; align-items: center; gap: 10px; }
.lapg-monitor__agent i {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font: 700 11px/1 var(--font-heading); color: #fff; font-style: normal;
  background: color-mix(in srgb, var(--c) 30%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 60%, transparent);
}
.lapg-monitor__agent b { flex: 1; height: 6px; border-radius: 3px; background: var(--border-default); overflow: hidden; }
.lapg-monitor__agent u {
  display: block; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--digital-cyan), var(--lapg-purple));
  animation: lapg-mon-load 4s ease-in-out infinite;
}
.lapg-monitor__agent:nth-child(2) u { animation-delay: -1.3s; }
.lapg-monitor__agent:nth-child(3) u { animation-delay: -2.6s; }
@keyframes lapg-mon-load { 0%,100% { width: 35%; } 50% { width: 85%; } }

.lapg-monitor__chans { display: flex; align-items: flex-end; gap: 14px; height: 78px; padding: 0 4px; }
.lapg-monitor__chan { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.lapg-monitor__chan u {
  display: block; width: 100%; border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--digital-cyan), rgba(36,107,255,.18));
  animation: lapg-mon-bar 3.2s ease-in-out infinite;
}
.lapg-monitor__chan:nth-child(2) u { animation-delay: -1s; background: linear-gradient(180deg, #E1306C, rgba(139,44,255,.18)); }
.lapg-monitor__chan:nth-child(3) u { animation-delay: -2s; background: linear-gradient(180deg, #0866FF, rgba(36,107,255,.18)); }
@keyframes lapg-mon-bar { 0%,100% { height: 30%; } 50% { height: 92%; } }
.lapg-monitor__chan svg { width: 15px; height: 15px; flex: none; }

@media (prefers-reduced-motion: reduce) {
  .lapg-monitor__live i, .lapg-monitor__count--wait::after,
  .lapg-monitor__agent u, .lapg-monitor__chan u { animation: none; }
  .lapg-monitor__agent u { width: 65%; }
  .lapg-monitor__chan u { height: 65%; }
}

/* ============================================================
   PAGINA DE SERVICIO: CHATBOT (mock de bandeja de chat)
   ============================================================ */
.lapg-inbox {
  display: grid; grid-template-columns: 118px 1fr;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--dark-surface);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 60px rgba(0, 217, 255, .12);
  animation: lapg-float 8s var(--ease-default) infinite;
}
@media (prefers-reduced-motion: reduce) { .lapg-inbox { animation: none; } }
.lapg-inbox__list {
  background: var(--deep-navy); border-right: 1px solid var(--border-default);
  padding: 10px; display: grid; gap: 8px; align-content: start;
}
.lapg-inbox__item {
  border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  padding: 8px; display: grid; gap: 5px; background: var(--dark-surface);
}
.lapg-inbox__item.is-active { border-color: rgba(0, 217, 255, .5); }
.lapg-inbox__ch {
  font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted);
  display: flex; align-items: center; gap: 5px;
}
.lapg-inbox__ch::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--gradient-brand); }
.lapg-inbox__ln { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.lapg-inbox__ln--sm { width: 60%; }
.lapg-inbox__thread { padding: 16px; display: grid; gap: 10px; align-content: start; }
.lapg-inbox__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lapg-inbox__title { font-family: var(--font-heading); font-weight: 600; font-size: 12px; color: #fff; }
.lapg-inbox__agent {
  font-size: 10px; color: var(--text-muted);
  border: 1px solid var(--border-default); border-radius: var(--radius-pill);
  padding: 3px 8px; white-space: nowrap;
}
.lapg-inbox__bubble { max-width: 74%; padding: 8px 12px; font-size: 12px; line-height: 1.4; }
.lapg-inbox__bubble--in { justify-self: start; background: rgba(255, 255, 255, .06); border-radius: 12px 12px 12px 4px; color: #fff; }
.lapg-inbox__bubble--bot { justify-self: end; background: var(--gradient-brand); border-radius: 12px 12px 4px 12px; color: #fff; }
.lapg-inbox__bubble--out { justify-self: end; background: rgba(36, 107, 255, .18); border: 1px solid rgba(36, 107, 255, .4); border-radius: 12px 12px 4px 12px; color: #fff; }
@media (max-width: 560px) { .lapg-inbox { grid-template-columns: 96px 1fr; } }

/* ============================================================
   PAGINA DE SERVICIO: DISENO DE E-COMMERCE
   ============================================================ */
.lapg-browser__shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lapg-browser__prod {
  display: grid; gap: 6px;
  border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  background: var(--deep-navy); padding: 8px;
}
.lapg-browser__prod i {
  display: block; aspect-ratio: 4 / 3; border-radius: 6px;
  background: linear-gradient(135deg, rgba(139, 44, 255, .35), rgba(0, 217, 255, .22));
}
.lapg-browser__prod:nth-child(3n+2) i { background: linear-gradient(135deg, rgba(36, 107, 255, .35), rgba(139, 44, 255, .22)); }
.lapg-browser__prod:nth-child(3n) i { background: linear-gradient(135deg, rgba(0, 217, 255, .3), rgba(36, 107, 255, .22)); }
.lapg-browser__prod b { font-family: var(--font-heading); font-size: 11px; color: #fff; }
.lapg-browser__prod u {
  height: 16px; border-radius: 5px; background: var(--gradient-brand); display: block;
}

.lapg-groups { padding: clamp(48px, 7vw, 88px) 0; }
.lapg-groups__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
.lapg-group h3 { margin: 0 0 4px; }
.lapg-group .lapg-why__list { margin: 14px 0 0; }
.lapg-group .lapg-why__list li { font-size: 14px; align-items: flex-start; }
.lapg-group .lapg-why__list svg { margin-top: 2px; }
@media (max-width: 900px) { .lapg-groups__grid { grid-template-columns: 1fr; } }

/* ============================================================
   PAGINA: PORTAFOLIO / DEMO EMBEBIDO
   ============================================================ */
.lapg-demo {
  padding: clamp(24px, 4vw, 40px) 0 clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--border-default);
  background: #070B1C;
}
.lapg-demo + .lapg-demo { border-top: 0; padding-top: 0; }
.lapg-demo__head { margin-bottom: clamp(20px, 3vw, 32px); }
.lapg-demo__tag {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber, #F5C518);
  border: 1px solid rgba(245, 197, 24, .35);
  background: rgba(245, 197, 24, .08);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}
.lapg-page-hero__disclaimer {
  max-width: 60ch;
  margin: var(--space-3) auto 0;
  font-size: 14px;
  color: var(--text-muted);
}
.lapg-page-hero__disclaimer strong { color: #fff; font-weight: 600; }
.lapg-demo__frame {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--deep-navy);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 70px rgba(139, 44, 255, .12);
}
.lapg-demo__frame iframe {
  display: block;
  width: 100%;
  height: 780px;
  border: 0;
}
@media (max-width: 1000px) { .lapg-demo__frame iframe { height: 720px; } }
@media (max-width: 720px)  { .lapg-demo__frame iframe { height: 900px; } }

.lapg-demo__frame--tall iframe { height: min(88vh, 940px); }
@media (max-width: 720px) { .lapg-demo__frame--tall iframe { height: min(90vh, 900px); } }

.lapg-demo__note {
  max-width: 62ch;
  margin: var(--space-3) auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.lapg-demo__cta {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-top: var(--space-4);
}
.lapg-demo__cta .lapg-btn { min-height: 48px; }

/* ============================================================
   PAGINA DE SERVICIO: SOLUCIONES TECNOLOGICAS ("Imagina")
   ============================================================ */
.lapg-ideas {
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--border-default);
  background: #070B1C;
}
.lapg-ideas__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.lapg-idea .lapg-service__icon {
  width: 44px; height: 44px; margin-bottom: 14px;
  --accent: var(--lapg-purple);
}
.lapg-idea:nth-child(3n+2) .lapg-service__icon { --accent: var(--electric-blue); }
.lapg-idea:nth-child(3n) .lapg-service__icon { --accent: var(--digital-cyan); }
.lapg-idea p {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.5;
  color: #fff;
  text-wrap: balance;
}
.lapg-idea p b {
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 900px) { .lapg-ideas__grid { grid-template-columns: 1fr; } }

/* ============================================================
   BLOG: indice
   ============================================================ */
.lapg-blog { padding: clamp(8px, 2vw, 24px) 0 clamp(56px, 8vw, 96px); }
.lapg-blog--more {
  padding-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--border-default);
  background: #070B1C;
}
.lapg-blog__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
@media (max-width: 760px) { .lapg-blog__grid { grid-template-columns: 1fr; } }
.lapg-post { display: flex; flex-direction: column; }
.lapg-post__meta {
  font-family: var(--font-heading); font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted);
}
.lapg-post__title { font-size: clamp(20px, 2.4vw, 26px); margin: 10px 0 10px; line-height: 1.25; }
.lapg-post__title a { color: #fff; }
.lapg-post__title a:hover { color: var(--digital-cyan); }
.lapg-post__excerpt { font-size: 15px; margin-bottom: var(--space-3); }
.lapg-post .lapg-service__link { margin-top: auto; }
.lapg-blog__empty { color: var(--text-muted); text-align: center; padding: clamp(32px, 6vw, 64px) 0; }
.lapg-blog__nav { margin-top: clamp(28px, 4vw, 44px); }
.lapg-blog__nav .nav-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lapg-blog__nav a, .lapg-blog__nav .current {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; min-height: 42px; padding: 0 12px;
  border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: var(--text-muted);
}
.lapg-blog__nav a:hover { color: #fff; border-color: rgba(36, 107, 255, .6); }
.lapg-blog__nav .current { background: var(--gradient-brand); color: #fff; border-color: transparent; }

/* ============================================================
   BLOG: articulo
   ============================================================ */
.lapg-article { padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 4vw, 40px); }
.lapg-article__head { max-width: 46rem; }
.lapg-article__back {
  display: inline-block; margin-bottom: var(--space-3);
  font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--text-muted);
}
.lapg-article__back:hover { color: #fff; }
.lapg-article__head .lapg-eyebrow { display: block; margin-bottom: var(--space-2); }
.lapg-article__head h1 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: var(--space-3); }
.lapg-article__meta {
  font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin: 0;
}

.lapg-prose { max-width: 42rem; margin-inline: auto; padding-top: clamp(28px, 4vw, 44px); }
.lapg-prose > * + * { margin-top: var(--space-3); }
.lapg-prose p { font-size: 17px; line-height: 1.75; color: #D6DCEC; }
.lapg-prose h2 {
  font-size: clamp(22px, 2.8vw, 30px); color: #fff;
  margin-top: clamp(36px, 5vw, 56px); margin-bottom: var(--space-2); letter-spacing: -0.01em;
}
.lapg-prose h3 { font-size: clamp(18px, 2vw, 22px); color: #fff; margin-top: var(--space-4); margin-bottom: 8px; }
.lapg-prose ul, .lapg-prose ol { padding-left: 1.3em; color: #D6DCEC; font-size: 17px; line-height: 1.7; }
.lapg-prose li + li { margin-top: 8px; }
.lapg-prose li::marker { color: var(--digital-cyan); }
.lapg-prose a { color: var(--digital-cyan); text-decoration: underline; text-underline-offset: 3px; }
.lapg-prose a:hover { color: #fff; }
.lapg-prose strong { color: #fff; }
.lapg-prose blockquote {
  border-left: 3px solid var(--electric-blue);
  padding: 4px 0 4px var(--space-3); margin-left: 0;
  font-family: var(--font-heading); font-size: clamp(19px, 2.2vw, 24px); color: #fff; line-height: 1.4;
}
.lapg-prose hr { border: 0; border-top: 1px solid var(--border-default); margin-block: clamp(32px, 5vw, 48px); }
.lapg-prose .lapg-callout {
  background: var(--dark-surface); border: 1px solid var(--border-default);
  border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4);
}
.lapg-prose .lapg-callout p { color: var(--text-muted); font-size: 15px; }
.lapg-prose .lapg-callout strong { color: #fff; }

/* ============================================================
   CONTACTO: boton WhatsApp, flotante, formulario y modal
   ============================================================ */
.lapg-btn--wa {
  background: #25D366; border-color: #25D366; color: #06331b;
}
.lapg-btn--wa:hover { background: #1FBE5A; border-color: #1FBE5A; color: #06331b; box-shadow: 0 8px 26px rgba(37, 211, 102, .35); }
.lapg-btn--wa svg { fill: currentColor; }

.lapg-wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .7);
  transition: transform var(--duration-base) var(--ease-default);
}
.lapg-wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.lapg-wa-float:hover { transform: scale(1.08); color: #fff; }
@media (max-width: 600px) { .lapg-wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; } }

/* --- Página /contacto/ --- */
.lapg-contact { padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }
.lapg-contact__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 56px); align-items: start;
}
@media (max-width: 880px) { .lapg-contact__grid { grid-template-columns: 1fr; } }
.lapg-contact__aside {
  background: var(--dark-surface); border: 1px solid var(--border-default);
  border-radius: var(--radius-xl); padding: clamp(22px, 3vw, 36px);
}
.lapg-contact__aside h2 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: var(--space-2); }
.lapg-contact__aside p { font-size: 15px; }
.lapg-contact__wa { width: 100%; justify-content: center; margin-top: var(--space-2); }
.lapg-contact__steps { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: 12px; }
.lapg-contact__steps li { font-size: 14px; color: var(--text-muted); }
.lapg-contact__steps strong { color: var(--digital-cyan); font-family: var(--font-heading); margin-right: 6px; }

/* --- Formulario (compartido página + modal) --- */
.lapg-form { display: flex; flex-direction: column; gap: var(--space-3); }
.lapg-form__ctx {
  font-size: 13px; color: var(--text-muted); margin: 0;
  border: 1px solid var(--border-default); border-radius: var(--radius-sm);
  padding: 8px 12px; align-self: flex-start;
}
.lapg-form__ctx strong { color: #fff; }
.lapg-field { display: flex; flex-direction: column; gap: 6px; }
.lapg-field > span {
  font-family: var(--font-heading); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted);
}
.lapg-field input {
  background: var(--deep-navy); border: 1px solid var(--border-default);
  border-radius: var(--radius-sm); padding: 12px 14px;
  color: #fff; font-family: var(--font-body); font-size: 15px;
}
.lapg-field input:focus { outline: 2px solid var(--digital-cyan); outline-offset: 1px; border-color: var(--electric-blue); }
.lapg-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-muted); }
.lapg-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--electric-blue); flex: none; }
.lapg-check a { color: var(--digital-cyan); }
.lapg-form__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lapg-form__actions .lapg-btn { min-height: 46px; }
.lapg-form__msg { margin: 0; font-size: 14px; min-height: 20px; color: var(--text-muted); }
.lapg-form__msg.is-error { color: #F87171; }
.lapg-form__msg.is-ok { color: #34D399; }

/* --- Modal --- */
body.lapg-modal-open { overflow: hidden; }
.lapg-modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 20px;
}
.lapg-modal[hidden] { display: none; }
.lapg-modal__backdrop {
  position: absolute; inset: 0; background: rgba(3, 5, 14, .72);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity var(--duration-base) var(--ease-default);
}
.lapg-modal.is-open .lapg-modal__backdrop { opacity: 1; }
.lapg-modal__panel {
  position: relative; width: 100%; max-width: 460px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--dark-surface); border: 1px solid var(--border-default);
  border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
  transform: translateY(14px) scale(.98); opacity: 0;
  transition: transform var(--duration-base) var(--ease-default), opacity var(--duration-base) var(--ease-default);
}
.lapg-modal.is-open .lapg-modal__panel { transform: none; opacity: 1; }
.lapg-modal__x {
  position: absolute; top: 12px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  font-size: 22px; line-height: 1; color: var(--text-muted);
  display: grid; place-items: center;
}
.lapg-modal__x:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.lapg-modal__panel .lapg-eyebrow { display: block; margin-bottom: 6px; }
.lapg-modal__panel h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 8px; }
.lapg-modal__lede { font-size: 14px; margin-bottom: var(--space-3); }
@media (prefers-reduced-motion: reduce) {
  .lapg-modal__backdrop, .lapg-modal__panel { transition: none; }
}

/* ============================================================
   PLACEHOLDER DE CONTENIDO (se ira reemplazando por secciones)
   ============================================================ */
.lapg-hello {
  min-height: calc(100vh - var(--nav-height));
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: var(--space-3);
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(139, 44, 255, .18), transparent 60%),
    radial-gradient(50% 50% at 0% 40%, rgba(36, 107, 255, .14), transparent 60%);
}
.lapg-hello .lapg-badge {
  display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 217, 255, .25); background: rgba(11, 16, 32, .7);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted);
}

.lapg-footer {
  border-top: 1px solid var(--border-default);
  background: #070B1C;
  color: var(--text-muted);
  font-size: 14px;
  padding: clamp(40px, 6vw, 72px) 0 var(--space-4);
}
.lapg-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--border-default);
}
.lapg-footer__brand .lapg-brand { margin-bottom: var(--space-2); }
.lapg-footer__brand p { margin: 0 0 8px; max-width: 34ch; }
.lapg-footer__meaning { font-size: 13px; color: var(--text-muted); }
.lapg-footer__meaning strong { color: var(--text-primary); font-weight: 700; }
.lapg-footer__loc {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: grid; gap: 6px;
}
.lapg-footer__loc li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--text-muted); line-height: 1.4;
}
.lapg-footer__loc span { flex: none; }
.lapg-footer__tag {
  font-family: var(--font-heading);
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
}
.lapg-footer__col h3 {
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; margin-bottom: var(--space-2);
}
.lapg-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lapg-footer__col a { color: var(--text-muted); font-size: 14px; }
.lapg-footer__col a:hover { color: #fff; }
.lapg-footer__cta p { margin: 0 0 var(--space-3); font-size: 14px; }

.lapg-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-3);
  font-size: 13px;
}
.lapg-footer__legal { display: flex; gap: var(--space-3); }
.lapg-footer__legal a { color: var(--text-muted); }
.lapg-footer__legal a:hover { color: #fff; }

@media (max-width: 900px) {
  .lapg-footer__top { grid-template-columns: 1fr 1fr; }
  .lapg-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .lapg-footer__top { grid-template-columns: 1fr; }
  .lapg-footer__bottom { justify-content: flex-start; }
}
