/* ==========================================================================
   ORAMA DIGITAL — estilos de todo el sitio
   --------------------------------------------------------------------------
   1. COLORES Y MEDIDAS  → cambiá acá y se actualiza todo el sitio
   2. Base y tipografía
   3. Componentes (botones, tarjetas, formularios…)
   4. Secciones
   5. Alex ERP
   6. Utilidades y animaciones
   ========================================================================== */

/* ---------- 1. COLORES Y MEDIDAS ---------- */
:root {
  --bg: #08090D;            /* fondo principal */
  --bg-2: #0E1016;          /* fondo de secciones alternadas */
  --card: #12141A;          /* tarjetas y bloques */
  --card-2: #181B23;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #F4F5F8;          /* texto principal */
  --muted: #A4A9B8;         /* texto secundario */

  --accent: #7B2FFF;        /* violeta Orama (botones, glow) */
  --accent-text: #B793FF;   /* violeta claro para texto chico (mejor contraste) */
  --accent-glow: rgba(123, 47, 255, .35);
  --gold: #D4AF37;          /* detalles premium */
  --navy: #1E3A5F;          /* azul Orama */
  --wa: #25D366;            /* verde WhatsApp */
  --wa-text: #052E16;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
  --gutter: 20px;
  --header-h: 68px;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Alex ERP usa otro acento (azul) para sentirse un producto aparte */
.brand-alex {
  --bg: #0A0E14;
  --bg-2: #0E131B;
  --card: #121925;
  --card-2: #172031;
  --accent: #2F6BFF;
  --accent-text: #8EB2FF;
  --accent-glow: rgba(47, 107, 255, .32);
}

/* ---------- Fuentes propias ---------- */
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .75rem;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 6.4vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }

:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.icon { flex-shrink: 0; }
.gradient-text {
  background: linear-gradient(100deg, #fff 10%, var(--accent-text) 55%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-alex .gradient-text { background-image: linear-gradient(100deg, #fff 10%, var(--accent-text) 70%); }

/* ---------- 3. COMPONENTES ---------- */

/* Botones */
.btn {
  --btn-bg: var(--card-2); --btn-fg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.4rem;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--accent); --btn-fg: #fff; box-shadow: 0 8px 30px -8px var(--accent-glow); }
.btn--primary:hover { box-shadow: 0 12px 40px -6px var(--accent-glow); }
.btn--wa { --btn-bg: var(--wa); --btn-fg: var(--wa-text); box-shadow: 0 8px 30px -10px rgba(37, 211, 102, .55); }
.btn--ghost { --btn-bg: transparent; border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 42px; padding: .55rem 1.05rem; font-size: .95rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--accent-text); font-weight: 600; text-decoration: none;
}
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Etiqueta chica arriba de los títulos */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: 1rem;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.brand-alex .eyebrow { color: var(--accent-text); }

.badge {
  display: inline-block; padding: .25rem .6rem; border-radius: 999px;
  background: rgba(212, 175, 55, .12); color: var(--gold);
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
}

/* Tarjetas */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.card p { color: var(--muted); }
.icon-box {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 1.1rem;
  border-radius: 14px;
  background: rgba(123, 47, 255, .14); color: var(--accent-text);
  border: 1px solid rgba(123, 47, 255, .3);
}
.brand-alex .icon-box { background: rgba(47, 107, 255, .14); border-color: rgba(47, 107, 255, .3); }

/* Secciones */
.section { padding-block: clamp(4rem, 9vw, 7rem); position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }

.grid { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) and (max-width: 999px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }

/* Lista con tildes */
.checklist li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .6rem; color: var(--muted); }
.checklist .icon { color: var(--wa); margin-top: .2rem; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(8, 9, 13, .72);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.brand-alex .site-header { background: rgba(10, 14, 20, .75); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { width: 108px; height: auto; }
.brand { display: inline-flex; text-decoration: none; }

.alex-mark { display: inline-flex; align-items: center; gap: .45rem; font: 700 1.6rem/1 var(--font-head); letter-spacing: -.04em; color: #fff; }
.alex-mark b { font: 600 .7rem/1 var(--font-body); letter-spacing: .12em; padding: .32rem .45rem; border-radius: 6px; background: var(--accent); color: #fff; }

.nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; color: var(--text); cursor: pointer; }
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: block; }

.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  display: none; flex-direction: column; gap: 1.25rem;
  padding: 1.5rem var(--gutter) 2rem;
  background: var(--bg); border-bottom: 1px solid var(--line);
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
}
.nav-open .site-nav { display: flex; }
.site-nav ul { display: flex; flex-direction: column; }
.site-nav li a { display: block; padding: .85rem 0; font: 500 1.15rem/1.3 var(--font-head); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--accent-text); }
.site-nav .btn { align-self: stretch; }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 1.75rem; padding: 0; background: none; border: 0; max-height: none; overflow: visible; }
  .site-nav ul { flex-direction: row; gap: 1.6rem; }
  .site-nav li a { padding: .4rem 0; border: 0; font: 500 .95rem/1 var(--font-body); color: var(--muted); transition: color .15s; }
  .site-nav li a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
  .site-nav .btn { align-self: auto; }
}

/* ---------- HERO ---------- */
.hero { position: relative; padding-block: clamp(3.25rem, 9vw, 6.5rem) clamp(3.5rem, 8vw, 6rem); overflow: hidden; isolation: isolate; }
.hero::before { /* glow de fondo (CSS puro, no pesa nada) */
  content: ""; position: absolute; z-index: -2; inset: -20% -10% auto;
  height: 820px;
  background:
    radial-gradient(40% 50% at 70% 30%, var(--accent-glow), transparent 70%),
    radial-gradient(35% 45% at 15% 15%, rgba(30, 58, 95, .55), transparent 70%);
}
.hero::after { /* grilla sutil */
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  opacity: .5;
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 3.5rem; } }
.hero-lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 590px; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.75rem; }
.hero-ctas .btn { flex: 1 1 220px; }
@media (min-width: 560px) { .hero-ctas .btn { flex: 0 0 auto; } }
.hero-note { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .95rem; }
.hero-note span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-note .icon { color: var(--wa); }

/* Tira de herramientas */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .45rem .85rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .88rem; color: var(--muted); background: rgba(255, 255, 255, .02); }

/* Ilustración del flujo (anuncio → WhatsApp → IA → CRM), hecha en HTML/CSS */
.flow { position: relative; display: grid; gap: .8rem; max-width: 480px; margin-inline: auto; width: 100%; }
.flow::before { content: ""; position: absolute; left: calc(1.1rem + 18px); top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--accent), var(--gold)); opacity: .5; }
.flow-item {
  position: relative; display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.1rem; border-radius: var(--radius-sm);
  background: rgba(18, 20, 26, .85); border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.flow-dot { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line-strong); color: var(--accent-text); position: relative; z-index: 1; }
.flow-item small { display: block; color: var(--muted); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .15rem; }
.flow-item strong { font-family: var(--font-head); font-weight: 500; font-size: 1rem; }
.flow-bubble { margin-top: .55rem; padding: .55rem .8rem; border-radius: 12px 12px 12px 4px; background: #1F2C24; color: #DFF5E6; font-size: .9rem; line-height: 1.45; }
.flow-bubble--me { background: #2A2340; color: #ECE4FF; border-radius: 12px 12px 4px 12px; }
.flow-item--crm { border-color: rgba(212, 175, 55, .35); }
.flow-item--crm .flow-dot { color: var(--gold); }
.flow-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.flow-tags span { font-size: .75rem; padding: .2rem .5rem; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--muted); }
.flow-tags .hot { background: rgba(212, 175, 55, .15); color: var(--gold); }

/* ---------- SERVICIOS ---------- */
.service-card { display: flex; flex-direction: column; text-decoration: none; transition: border-color .2s ease, transform .2s ease; overflow: hidden; }
.service-card:hover { border-color: rgba(123, 47, 255, .55); transform: translateY(-4px); }
.service-card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 260px; height: 260px; background: radial-gradient(circle, var(--accent-glow), transparent 70%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.service-card:hover::after { opacity: 1; }
.service-card h3 { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.service-card .card-sub { color: var(--text); font-weight: 600; margin-bottom: .5rem; }
.service-card .link-arrow { margin-top: auto; padding-top: .5rem; }
.service-extra { margin-top: 1.5rem; text-align: center; color: var(--muted); }
.service-extra a { color: var(--accent-text); font-weight: 600; }

/* ---------- PASOS ---------- */
.steps { counter-reset: step; }
.step { padding-top: 1.4rem; border-top: 1px solid var(--line-strong); }
.step-num { font: 700 .85rem/1 var(--font-head); color: var(--gold); letter-spacing: .1em; margin-bottom: 1rem; display: block; }
.brand-alex .step-num { color: var(--accent-text); }
.step p { color: var(--muted); }
.callout {
  margin-top: 2.5rem; padding: 1.4rem 1.6rem; border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, .3); background: rgba(212, 175, 55, .06);
  display: flex; gap: 1rem; align-items: flex-start;
}
.callout p { margin: 0; color: var(--text); }
.callout .icon { color: var(--gold); margin-top: .2rem; }

/* ---------- PROBLEMAS ---------- */
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1000px) { .split { grid-template-columns: .9fr 1.1fr; gap: 4rem; } .split .section-head { position: sticky; top: calc(var(--header-h) + 2rem); } }
.problem-list { display: grid; gap: .9rem; }
.problem { display: flex; gap: 1rem; padding: 1.25rem 1.35rem; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); }
.problem-n { flex: 0 0 auto; font: 700 1.1rem/1.4 var(--font-head); color: var(--accent-text); min-width: 1.6rem; }
.problem h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.problem p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- TESTIMONIOS ---------- */
.quote { display: flex; flex-direction: column; gap: 1rem; }
.quote blockquote { margin: 0; font-size: 1.05rem; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; font-size: .98rem; }
.quote figcaption span { color: var(--muted); font-size: .88rem; }

/* ---------- BANNER ALEX (en la home de Orama) ---------- */
.promo {
  display: grid; gap: 1.75rem; align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem); border-radius: calc(var(--radius) + 6px);
  background: radial-gradient(80% 120% at 100% 0%, rgba(47, 107, 255, .25), transparent 60%), linear-gradient(135deg, #0F1A2B, #0C111A);
  border: 1px solid rgba(47, 107, 255, .3);
}
@media (min-width: 860px) { .promo { grid-template-columns: 1fr auto; } }
.promo h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.promo p { color: #B9C4D6; margin: 0; max-width: 620px; }
.promo .btn { --btn-bg: #2F6BFF; --btn-fg: #fff; box-shadow: 0 10px 30px -10px rgba(47, 107, 255, .6); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .7rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.3rem; font: 500 1.05rem/1.4 var(--font-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font: 400 1.6rem/1 var(--font-body); color: var(--accent-text); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); }

/* ---------- CONTACTO / FORMULARIO ---------- */
.contact-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; } }
.contact-aside p { color: var(--muted); }
.contact-aside .checklist { margin: 1.5rem 0 2rem; }
.wa-card { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.25rem; border-radius: var(--radius-sm); background: rgba(37, 211, 102, .08); border: 1px solid rgba(37, 211, 102, .3); text-decoration: none; transition: background-color .2s; }
.wa-card:hover { background: rgba(37, 211, 102, .14); }
.wa-card .icon { color: var(--wa); }
.wa-card strong { display: block; }
.wa-card span { color: var(--muted); font-size: .92rem; }

.lead-form { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.25rem, 4vw, 2rem); display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: .92rem; font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--bg); color: var(--text);
  font: 400 1rem/1.4 var(--font-body);  /* 16px: evita zoom en iPhone */
  transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23A4A9B8' stroke-width='2.5' d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.field [aria-invalid="true"] { border-color: #FF6B6B; }
.field-error { color: #FF8A8A; font-size: .85rem; }
.form-status { margin: 0; font-size: .95rem; min-height: 0; }
.form-status:empty { display: none; }
.form-status.is-error { color: #FF8A8A; }
.form-status.is-ok { color: var(--wa); }
.form-legal { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }
.form-legal a { color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA FINAL / GRACIAS ---------- */
.cta-final { text-align: center; }
.cta-final .hero-ctas { justify-content: center; }
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.thanks-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 1.5rem; border-radius: 50%; background: rgba(37, 211, 102, .12); color: var(--wa); border: 1px solid rgba(37, 211, 102, .35); }
.thanks p { color: var(--muted); max-width: 520px; margin-inline: auto; }

/* ---------- FOOTER ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 3.5rem; background: var(--bg-2); color: var(--muted); font-size: .95rem; padding-bottom: 6rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.footer-brand img { width: 120px; margin-bottom: 1rem; }
.footer-brand .alex-mark { margin-bottom: 1rem; }
.footer-brand p { max-width: 320px; }
.footer-title { font: 600 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover, .footer-brand a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- BOTÓN FLOTANTE WHATSAPP ---------- */
.wa-float {
  position: fixed; z-index: 60; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: .6rem;
  height: 60px; padding: 0 15px;
  border-radius: 999px; background: var(--wa); color: var(--wa-text);
  text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .6), 0 0 0 0 rgba(37, 211, 102, .5);
  animation: wa-pulse 2.8s ease-out 3s 3;
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float-label { display: none; padding-right: 4px; }
@media (min-width: 720px) { .wa-float { right: 24px; bottom: 24px; } .wa-float-label { display: inline; } }
@keyframes wa-pulse { 0% { box-shadow: 0 10px 30px -6px rgba(0,0,0,.6), 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 10px 30px -6px rgba(0,0,0,.6), 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 10px 30px -6px rgba(0,0,0,.6), 0 0 0 0 rgba(37,211,102,0); } }

/* ==========================================================================
   5. ALEX ERP
   ========================================================================== */
.for-who { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.for-who span { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; background: rgba(47, 107, 255, .1); border: 1px solid rgba(47, 107, 255, .3); color: #CFDDFF; font-size: .92rem; }
.for-who .icon { color: var(--accent-text); }

/* Mockup del sistema (HTML/CSS, se reemplaza por capturas reales cuando las tengamos) */
.app-mock {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #0F1621; border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(47, 107, 255, .15), 0 0 80px -20px var(--accent-glow);
  font-size: .82rem;
}
.app-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0B111A; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A3446; }
.app-bar span { margin-left: 10px; color: #6D7A90; font-size: .75rem; }
.app-body { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.app-side { background: #1B2433; padding: 12px 8px; display: grid; align-content: start; gap: 2px; }
.app-side span { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; color: #B8C3D6; white-space: nowrap; }
.app-side span::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: #5A6880; }
.app-side .on { background: #2F6BFF; color: #fff; }
.app-side .on::before { background: #fff; }
.app-main { padding: 14px; display: grid; gap: 10px; align-content: start; }
.app-title { display: flex; justify-content: space-between; align-items: center; color: #E8EEF8; font-weight: 600; font-size: .9rem; }
.app-title em { font-style: normal; font-size: .72rem; color: #8EB2FF; background: rgba(47, 107, 255, .15); padding: 3px 8px; border-radius: 6px; }
.app-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.app-field { background: #162030; border: 1px solid rgba(255, 255, 255, .06); border-radius: 8px; padding: 7px 9px; }
.app-field small { display: block; color: #6D7A90; font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; }
.app-field b { color: #E8EEF8; font-weight: 600; }
.app-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-price { border-radius: 10px; padding: 9px; background: #162030; border: 1px solid rgba(255, 255, 255, .06); }
.app-price small { color: #8B97AB; font-size: .68rem; display: block; }
.app-price b { color: #fff; font: 700 1rem/1.3 var(--font-head); }
.app-price.best { border-color: rgba(47, 107, 255, .6); background: rgba(47, 107, 255, .12); }
.app-states { display: flex; gap: 5px; flex-wrap: wrap; }
.app-states span { font-size: .66rem; padding: 4px 7px; border-radius: 6px; background: #162030; color: #8B97AB; }
.app-states .done { background: rgba(37, 211, 102, .14); color: #7BE3A4; }
.app-states .now { background: rgba(47, 107, 255, .2); color: #A9C4FF; }
.app-btns { display: flex; gap: 8px; }
.app-btns span { padding: 7px 12px; border-radius: 8px; background: #2F6BFF; color: #fff; font-weight: 600; font-size: .75rem; }
.app-btns span + span { background: #1F2A3D; color: #C7D2E5; }
.mock-note { margin-top: .75rem; font-size: .8rem; color: var(--muted); text-align: center; }
@media (max-width: 520px) { .app-body { grid-template-columns: 1fr; } .app-side { display: none; } }

/* Funciones */
.feature h3 { font-size: 1.12rem; }
.feature p { margin: 0; font-size: .98rem; }

/* Bloques con texto + lista (revendedores, fabricación) */
.duo { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .duo { grid-template-columns: 1fr 1fr; gap: 4.5rem; } .duo--rev > :first-child { order: 2; } }
.duo .section-head { margin-bottom: 1.5rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.panel-title { font: 600 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }

/* Estados de fabricación */
.pipeline { display: grid; gap: .5rem; }
.pipeline li { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.pipeline li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, #5A6880); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, #5A6880) 20%, transparent); }
.pipeline li small { margin-left: auto; color: var(--muted); font-weight: 400; font-size: .82rem; }

.exports { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
.exports span { display: flex; align-items: center; gap: .5rem; padding: .7rem .8rem; border-radius: 10px; background: rgba(47, 107, 255, .08); border: 1px solid rgba(47, 107, 255, .2); font-size: .9rem; }
.exports .icon { color: var(--accent-text); }

/* Portal del revendedor */
.rev-flow { display: grid; gap: .6rem; }
.rev-flow div { display: flex; gap: .9rem; align-items: center; padding: .9rem 1rem; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); }
.rev-flow b { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 9px; background: rgba(47, 107, 255, .16); color: var(--accent-text); font: 700 .9rem/1 var(--font-head); }
.rev-flow span { font-size: .97rem; }
.rev-flow em { margin-left: auto; font-style: normal; font-size: .75rem; color: var(--muted); padding: .2rem .5rem; border-radius: 6px; background: rgba(255, 255, 255, .05); white-space: nowrap; }

/* ==========================================================================
   6. ANIMACIONES (solo si el usuario no pidió reducir movimiento)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
  .js [data-reveal-group] > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .js [data-reveal-group].is-visible > * { opacity: 1; transform: none; }
  .js [data-reveal-group].is-visible > :nth-child(2) { transition-delay: .08s; }
  .js [data-reveal-group].is-visible > :nth-child(3) { transition-delay: .16s; }
  .js [data-reveal-group].is-visible > :nth-child(4) { transition-delay: .24s; }
  .js [data-reveal-group].is-visible > :nth-child(5) { transition-delay: .32s; }
  .js [data-reveal-group].is-visible > :nth-child(6) { transition-delay: .4s; }
  .flow-item { animation: float-in .8s cubic-bezier(.2, .7, .2, 1) both; }
  .flow-item:nth-child(2) { animation-delay: .15s; } .flow-item:nth-child(3) { animation-delay: .3s; } .flow-item:nth-child(4) { animation-delay: .45s; }
  @keyframes float-in { from { opacity: 0; transform: translateY(14px); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Ajustes */
.pipeline { list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .brand-alex .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.hero-grid > *, .contact-grid > *, .duo > *, .split > * { min-width: 0; }
.app-row, .app-prices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-field b, .app-price b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .app-mock { font-size: .76rem; } .app-price b { font-size: .85rem; } }

/* ==========================================================================
   7. PÁGINAS DE SERVICIOS (Meta Ads, Google Ads, Ventas con IA)
   ========================================================================== */

/* Tira de compromisos debajo del hero */
.trust-strip { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.25rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.trust-strip span { display: flex; align-items: flex-start; gap: .45rem; font-size: .92rem; color: var(--muted); }
.trust-strip .icon { color: var(--wa); margin-top: .2rem; }
@media (min-width: 1000px) { .trust-strip { grid-template-columns: repeat(2, max-content); column-gap: 2.5rem; } }

/* Mock: anuncio de Instagram */
.mock-stage { position: relative; display: grid; place-items: center; padding: 1rem 0; }
.ig-mock { width: min(320px, 100%); border-radius: 34px; padding: 10px; background: #1A1C22; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 90px -20px var(--accent-glow); }
.ig-screen { border-radius: 26px; overflow: hidden; background: #000; font-size: .78rem; color: #F5F5F5; }
.ig-top { display: flex; align-items: center; gap: .55rem; padding: .7rem .8rem; }
.ig-avatar { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(var(--gold), var(--accent), var(--gold)); padding: 2px; }
.ig-avatar i { display: block; width: 100%; height: 100%; border-radius: 50%; background: #1E3A5F; border: 2px solid #000; }
.ig-top b { display: block; font-size: .8rem; }
.ig-top small { color: #A8A8A8; font-size: .68rem; }
.ig-img { aspect-ratio: 1; display: grid; align-content: space-between; padding: 1.2rem; background: radial-gradient(70% 60% at 80% 20%, rgba(212,175,55,.35), transparent 60%), linear-gradient(150deg, #2B1660, #120B24 60%, #0A1A2E); }
.ig-img .ig-tag { justify-self: start; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .55rem; border-radius: 6px; background: rgba(255,255,255,.12); }
.ig-img strong { font: 700 1.45rem/1.12 var(--font-head); letter-spacing: -.02em; }
.ig-img .ig-offer { justify-self: start; padding: .45rem .75rem; border-radius: 999px; background: var(--gold); color: #1A1405; font-weight: 600; font-size: .75rem; }
.ig-cta { display: flex; justify-content: space-between; align-items: center; padding: .65rem .8rem; background: #0F2A1A; color: #9FF0BE; font-weight: 600; border-bottom: 1px solid #1d1d1d; }
.ig-actions { display: flex; gap: .7rem; padding: .6rem .8rem .2rem; }
.ig-actions i { width: 18px; height: 18px; border: 2px solid #E5E5E5; border-radius: 50%; }
.ig-actions i:nth-child(2) { border-radius: 4px 50% 50% 50%; }
.ig-actions i:nth-child(3) { border-radius: 2px; transform: rotate(45deg) scale(.85); }
.ig-caption { padding: .3rem .8rem .9rem; color: #D0D0D0; line-height: 1.45; }
.ig-caption b { color: #fff; }

/* Etiquetas flotantes alrededor de los mocks */
.float-chip { position: absolute; display: flex; align-items: center; gap: .5rem; padding: .55rem .8rem; border-radius: 12px; background: rgba(18,20,26,.92); border: 1px solid var(--line-strong); font-size: .82rem; font-weight: 600; box-shadow: 0 14px 30px -12px rgba(0,0,0,.7); backdrop-filter: blur(6px); white-space: nowrap; }
.float-chip .icon { color: var(--wa); }
.float-chip--a { top: 44%; left: 0; }
.float-chip--b { bottom: 18%; right: 0; }
.float-chip--b .icon { color: var(--gold); }
@media (max-width: 560px) { .float-chip { position: static; justify-self: center; margin-top: .5rem; } .mock-stage { gap: .2rem; } }

/* Mock: resultado de búsqueda de Google */
.serp { width: 100%; max-width: 520px; margin-inline: auto; border-radius: 18px; background: #FFFFFF; color: #202124; box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 90px -20px var(--accent-glow); overflow: hidden; font-family: Arial, var(--font-body); }
.serp-bar { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border-bottom: 1px solid #E8EAED; }
.serp-logo { font: 700 1.05rem/1 var(--font-head); color: #5F6368; letter-spacing: -.02em; }
.serp-q { flex: 1; display: flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 999px; border: 1px solid #DFE1E5; font-size: .88rem; color: #202124; box-shadow: 0 1px 4px rgba(32,33,36,.12); }
.serp-q .icon { color: #5F6368; }
.serp-body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: 1.1rem; }
.serp-ad { position: relative; padding: .9rem; margin: -.4rem -.5rem 0; border-radius: 12px; background: #F6F1FF; outline: 2px solid var(--accent); }
.serp-ad::after { content: "Tu anuncio, primero"; position: absolute; top: -12px; right: 10px; padding: .2rem .55rem; border-radius: 6px; background: var(--accent); color: #fff; font: 600 .7rem/1.4 var(--font-body); }
.serp-sp { font-size: .75rem; font-weight: 700; color: #202124; }
.serp-url { font-size: .78rem; color: #4D5156; margin-bottom: .2rem; }
.serp-title { font-size: 1.12rem; line-height: 1.3; color: #1A0DAB; margin-bottom: .25rem; }
.serp-desc { font-size: .85rem; color: #4D5156; line-height: 1.5; }
.serp-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.serp-links span { font-size: .78rem; color: #1A0DAB; padding: .3rem .6rem; border-radius: 999px; border: 1px solid #DADCE0; background: #fff; }
.serp-org { display: grid; gap: .35rem; opacity: .55; }
.serp-org i { display: block; height: 9px; border-radius: 5px; background: #E8EAED; }
.serp-org i:nth-child(1) { width: 35%; } .serp-org i:nth-child(2) { width: 75%; height: 12px; background: #D2CCF5; } .serp-org i:nth-child(3) { width: 92%; } .serp-org i:nth-child(4) { width: 60%; }

/* Proceso en pasos con línea */
.process { display: grid; gap: 1rem; counter-reset: p; list-style: none; margin: 0; padding: 0; }
@media (min-width: 860px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li { position: relative; padding: 1.4rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.process li::before { counter-increment: p; content: "0" counter(p); display: block; font: 700 .9rem/1 var(--font-head); color: var(--gold); letter-spacing: .1em; margin-bottom: .9rem; }
.process h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.process p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Video liviano */
.video { position: relative; width: 100%; border-radius: var(--radius); overflow: hidden; background: radial-gradient(80% 80% at 70% 20%, var(--accent-glow), transparent 70%), linear-gradient(140deg, #1B1530, #0E1016); border: 1px solid var(--line-strong); }
.video--wide { aspect-ratio: 16 / 9; }
.video--vertical { aspect-ratio: 9 / 16; }
.video iframe, .video-btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-btn { padding: 0; background: none; cursor: pointer; color: #fff; }
.video-btn img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s, transform .4s; }
.video-btn:hover img { opacity: 1; transform: scale(1.03); }
.video-play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 10px 30px -6px var(--accent-glow); transition: transform .2s; }
.video-btn:hover .video-play { transform: scale(1.08); }
.video-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .9rem; text-align: left; font-weight: 600; font-size: .95rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.video--soon { display: grid; place-items: center; }
.video--soon .video-play { background: rgba(255,255,255,.08); color: var(--muted); box-shadow: none; border: 1px solid var(--line-strong); }
.video--soon .video-title { background: none; text-align: center; color: var(--muted); font-weight: 500; }

.video-block { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1000px) { .video-block { grid-template-columns: .8fr 1.2fr; gap: 3.5rem; } }
.video-block > * { min-width: 0; }

/* Casos */
.case { display: grid; gap: .9rem; }
.case-body h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.case-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.case-dato { display: inline-block; margin-top: .5rem; color: var(--gold); font-family: var(--font-head); }

/* Persona, no piloto automático */
.human { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: calc(var(--radius) + 6px); border: 1px solid rgba(212,175,55,.3); background: radial-gradient(70% 120% at 0% 0%, rgba(212,175,55,.1), transparent 60%), var(--card); }
@media (min-width: 860px) { .human { grid-template-columns: auto 1fr auto; } }
.human-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(212,175,55,.12); color: var(--gold); border: 1px solid rgba(212,175,55,.35); }
.human h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin-bottom: .4rem; }
.human p { margin: 0; color: var(--muted); }

/* ---------- Ventas con IA ---------- */
.chat-phone { width: min(340px, 100%); margin-inline: auto; border-radius: 34px; padding: 10px; background: #1A1C22; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 90px -20px rgba(37,211,102,.25); }
.chat-screen { border-radius: 26px; overflow: hidden; background: #0B141A; }
.chat-head { display: flex; align-items: center; gap: .6rem; padding: .75rem .9rem; background: #1F2C34; }
.chat-head .ig-avatar i { background: #2F4A3A; }
.chat-head b { display: block; font-size: .85rem; }
.chat-head small { color: #8FA3AE; font-size: .7rem; }
.chat-body { display: grid; gap: .45rem; padding: .9rem .75rem 1rem; min-height: 390px; align-content: start; font-size: .84rem; line-height: 1.42; background-image: radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px); background-size: 14px 14px; }
.msg { max-width: 82%; padding: .45rem .65rem .35rem; border-radius: 10px; color: #E9EDEF; position: relative; }
.msg small { display: block; text-align: right; font-size: .62rem; color: #8FA3AE; margin-top: .1rem; }
.msg--in { justify-self: start; background: #202C33; border-top-left-radius: 2px; }
.msg--out { justify-self: end; background: #005C4B; border-top-right-radius: 2px; }
.msg--out .msg-who { display: block; font-size: .64rem; font-weight: 600; color: #7FE0C0; margin-bottom: .1rem; letter-spacing: .04em; text-transform: uppercase; }
.msg-day { justify-self: center; font-size: .68rem; color: #8FA3AE; background: #182229; padding: .2rem .6rem; border-radius: 6px; }
.msg-sys { justify-self: center; display: flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 600; color: var(--gold); background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.3); padding: .35rem .7rem; border-radius: 8px; text-align: center; }
.typing { justify-self: start; display: none; gap: 4px; padding: .6rem .75rem; border-radius: 10px; background: #202C33; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8FA3AE; }

@media (prefers-reduced-motion: no-preference) {
  .js .chat-body > * { opacity: 0; transform: translateY(8px); }
  .js .chat-body.is-visible > * { animation: msg-in .45s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d, 0) * 1s); }
  .js .chat-body.is-visible > .typing { display: flex; animation: typing-show 1.4s calc(var(--d, 0) * 1s) forwards; }
  .js .chat-body.is-visible > .typing i { animation: dot 1s infinite; }
  .js .chat-body.is-visible > .typing i:nth-child(2) { animation-delay: .15s; }
  .js .chat-body.is-visible > .typing i:nth-child(3) { animation-delay: .3s; }
  @keyframes msg-in { to { opacity: 1; transform: none; } }
  @keyframes typing-show { 0%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; height: 0; padding: 0; margin: -.45rem 0 0; } }
  @keyframes dot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
}

/* Recorrido: cliente → agente → CRM → vendedor */
.journey { display: grid; gap: .8rem; }
@media (min-width: 860px) { .journey { grid-template-columns: repeat(4, 1fr); } }
.journey div { position: relative; padding: 1.3rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-align: center; }
.journey .icon-box { margin: 0 auto .9rem; }
.journey h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.journey p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (min-width: 860px) { .journey div:not(:last-child)::after { content: "→"; position: absolute; right: -.75rem; top: 50%; transform: translateY(-50%); z-index: 1; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--accent); color: #fff; font-size: .8rem; } }

/* Mock CRM tipo tablero */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: .7rem; overflow-x: auto; padding: 1rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); scrollbar-width: thin; }
.kcol { display: grid; gap: .5rem; align-content: start; }
.kcol h3 { display: flex; justify-content: space-between; font: 600 .78rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .4rem .2rem .5rem; border-bottom: 2px solid var(--c, var(--line-strong)); margin-bottom: .2rem; }
.kcard { padding: .7rem .75rem; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line); font-size: .84rem; }
.kcard b { display: block; margin-bottom: .2rem; }
.kcard span { color: var(--muted); font-size: .76rem; }
.kcard em { display: inline-block; margin-top: .4rem; font-style: normal; font-size: .7rem; padding: .15rem .45rem; border-radius: 5px; background: rgba(255,255,255,.06); color: var(--muted); }
.kcard--hot { border-color: rgba(212,175,55,.5); box-shadow: 0 0 0 3px rgba(212,175,55,.1); }
.kcard--hot em { background: rgba(212,175,55,.15); color: var(--gold); }
.kanban-note { margin-top: .75rem; font-size: .85rem; color: var(--muted); }

/* Para quién no es */
.not-for li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .6rem; color: var(--muted); }
.not-for .icon { color: #FF8A8A; margin-top: .2rem; }

/* Casos de éxito en video vertical: fila deslizable en celular, 3 columnas en compu */
.cases-row { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; scrollbar-width: thin; }
.cases-row > * { scroll-snap-align: start; }
@media (min-width: 720px) { .cases-row { grid-auto-columns: 45%; } }
@media (min-width: 1000px) { .cases-row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }
.video--custom .video-btn img { opacity: 1; }
.video--custom { border-color: var(--line); }
.video--custom:hover { border-color: rgba(123, 47, 255, .55); }

/* ---------- Diseño web ---------- */
.browser { width: 100%; max-width: 540px; margin-inline: auto; border-radius: 16px; overflow: hidden; background: #0F1117; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 90px -20px var(--accent-glow); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0A0B10; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A2D38; }
.browser-url { flex: 1; margin-left: 10px; padding: 5px 12px; border-radius: 999px; background: #171922; color: var(--muted); font-size: .75rem; }
.browser-page { padding: 1.4rem; display: grid; gap: .9rem; background: radial-gradient(60% 70% at 85% 0%, rgba(123,47,255,.25), transparent 60%); }
.bp-nav { display: flex; justify-content: space-between; align-items: center; }
.bp-nav b { font: 700 .95rem/1 var(--font-head); }
.bp-nav span { display: flex; gap: .5rem; }
.bp-nav span i { width: 34px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.12); }
.bp-h { font: 700 1.5rem/1.15 var(--font-head); letter-spacing: -.02em; max-width: 85%; }
.bp-p { display: grid; gap: .35rem; }
.bp-p i { height: 7px; border-radius: 4px; background: rgba(255,255,255,.1); }
.bp-p i:nth-child(2) { width: 80%; }
.bp-btns { display: flex; gap: .5rem; }
.bp-btns span { padding: .5rem .85rem; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--wa); color: var(--wa-text); }
.bp-btns span + span { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
.bp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .3rem; }
.bp-cards i { height: 62px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line); }
.speed { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: 14px; background: rgba(18,20,26,.94); border: 1px solid var(--line-strong); box-shadow: 0 14px 30px -12px rgba(0,0,0,.7); }
.speed-ring { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(var(--wa) 0 94%, rgba(255,255,255,.08) 0); }
.speed-ring span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--card); color: var(--wa); font: 700 .9rem/1 var(--font-head); }
.speed small { display: block; color: var(--muted); font-size: .72rem; }
.speed b { font-size: .9rem; }
.speed--a { left: 0; bottom: 8%; }
@media (max-width: 560px) { .speed { position: static; margin: .8rem auto 0; width: max-content; } }

.offer-card { display: flex; flex-direction: column; }
.offer-card .badge { align-self: flex-start; margin-bottom: .9rem; }
.offer-card .checklist { margin-top: auto; padding-top: .5rem; }
.offer-card--main { border-color: rgba(123,47,255,.5); box-shadow: 0 0 0 1px rgba(123,47,255,.25), 0 30px 60px -30px var(--accent-glow); }

.proof { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1000px) { .proof { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.stat { padding: 1.3rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.stat b { display: block; font: 700 clamp(1.8rem, 4vw, 2.4rem)/1 var(--font-head); letter-spacing: -.03em; margin-bottom: .4rem; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Página de links (bio de Instagram) ---------- */
.links-page { min-height: 100dvh; display: grid; place-items: start center; padding: 2.5rem var(--gutter) 3rem; background: radial-gradient(60% 40% at 50% 0%, var(--accent-glow), transparent 70%), var(--bg); }
.links-box { width: 100%; max-width: 460px; text-align: center; }
.links-logo { width: 96px; height: 96px; margin: 0 auto 1rem; border-radius: 26px; overflow: hidden; box-shadow: 0 16px 40px -14px var(--accent-glow); }
.links-box h1 { font-size: 1.6rem; margin-bottom: .4rem; }
.links-box > p { color: var(--muted); margin-bottom: 1.6rem; }
.links-list { display: grid; gap: .7rem; margin-bottom: 2rem; }
.link-btn { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line-strong); text-decoration: none; text-align: left; transition: transform .15s, border-color .2s; }
.link-btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.link-btn .icon-box { margin: 0; flex: 0 0 44px; width: 44px; height: 44px; }
.link-btn b { display: block; font-family: var(--font-head); font-weight: 500; }
.link-btn small { color: var(--muted); font-size: .85rem; }
.link-btn .icon:last-child { margin-left: auto; color: var(--muted); }
.link-btn--wa { background: var(--wa); color: var(--wa-text); border-color: var(--wa); }
.link-btn--wa small, .link-btn--wa .icon:last-child { color: var(--wa-text); opacity: .8; }
.link-btn--wa .icon-box { background: rgba(5,46,22,.15); border-color: rgba(5,46,22,.2); color: var(--wa-text); }
.link-btn--alex .icon-box { background: rgba(47,107,255,.14); border-color: rgba(47,107,255,.35); color: #8EB2FF; }
.links-social { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; }
.links-social a { padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); text-decoration: none; font-size: .9rem; }
.links-social a:hover { color: var(--text); border-color: var(--text); }
.links-foot { margin-top: 2rem; font-size: .8rem; color: var(--muted); }
