/* ============================================================
   OctuxIA — Design System
   Premium dark AI agency
   ============================================================ */

/* ── 1. TOKENS ──────────────────────────────────────────────── */
:root {
  /* Backgrounds — dark, slight green tint */
  --bg-0: #060a07;
  --bg-1: #0c1009;
  --bg-2: #121610;

  /* Brand — green neon */
  --green: #00a829;
  --green-mid: #00c832;
  --green-hi: #52ff7a;
  --lime: #aaff00;
  --lime-hi: #ccff4d;

  /* Legacy aliases — kept for gradient/rgba use */
  --violet: var(--green);
  --violet-mid: var(--green-mid);
  --violet-hi: var(--green-hi);
  --cyan: var(--lime);
  --cyan-hi: var(--lime-hi);

  /* Gradients — used sparingly */
  --grad: linear-gradient(135deg, #00c832 0%, #aaff00 100%);
  --grad-subtle: linear-gradient(135deg, rgba(0,200,50,.7) 0%, rgba(170,255,0,.7) 100%);

  /* Text — 4 levels */
  --t1: #f0fff4;
  --t2: #8a9e8d;
  --t3: #3d5040;
  --t4: #1c2e1e;

  /* Borders */
  --b1: rgba(255,255,255,.06);
  --b2: rgba(255,255,255,.10);
  --b-focus: rgba(0,200,50,.5);

  /* Typography */
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --w: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --section: clamp(80px, 12vw, 140px);

  /* Radius */
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Ease */
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ── 2. RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg-0);
  color: var(--t1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
input, textarea { font: inherit; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-2); border-radius: 2px; }

/* ── 3. TYPOGRAPHY ──────────────────────────────────────────── */
h1,h2,h3,h4 {
  color: var(--t1);
  letter-spacing: -.025em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.75rem, 6vw, 5rem);   font-weight: 800; }
h2 { font-size: clamp(2rem,    4vw, 3.25rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem,  2vw, 1.375rem);font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--t2); line-height: 1.75; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lead {
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  color: var(--t2);
  line-height: 1.8;
}

/* ── 4. LAYOUT ──────────────────────────────────────────────── */
.container {
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.container-sm {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: var(--section); }

/* ── 5. SECTION HEADER ──────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--violet-hi);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--grad);
  flex-shrink: 0;
}
.section-head {
  margin-bottom: clamp(48px, 7vw, 88px);
}
.section-head.centered {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.section-head h2 { margin-bottom: 16px; }
.section-head p  { font-size: 1.0625rem; max-width: 540px; }
.section-head.centered p { margin-inline: auto; }

/* ── 6. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1;
  transition: .2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 2px 16px rgba(0,168,42,.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(0,168,42,.5);
}
.btn-outline {
  background: transparent;
  color: var(--t1);
  border: 1px solid var(--b2);
}
.btn-outline:hover {
  border-color: var(--b-focus);
  background: rgba(0,200,50,.05);
}
.btn-ghost {
  color: var(--t2);
  padding-inline: 0;
}
.btn-ghost:hover { color: var(--t1); }
.btn-sm { padding: 9px 18px; font-size: .875rem; }
.btn-lg { padding: 15px 34px; font-size: 1.0625rem; }

/* ── 7. BADGE ───────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  font-size: .8125rem;
  font-weight: 500;
  border: 1px solid var(--b1);
  color: var(--t2);
  background: rgba(255,255,255,.02);
}
.badge-pulse {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; }
  50%      { opacity:.3; }
}

/* ── 8. NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  padding-inline: var(--pad);
  transition: background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(8,8,16,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--b1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--w);
  margin-inline: auto;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--t1);
}
.logo span {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 7px 13px;
  font-size: .875rem;
  font-weight: 450;
  color: var(--t2);
  border-radius: var(--r);
  transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--t1); background: rgba(255,255,255,.04); }
.nav-end { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1.5px;
  background: var(--t1);
  border-radius: 1px;
  transition: .25s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(8,8,16,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--b1);
  padding: 28px var(--pad);
  transform: translateY(-100vh);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-drawer.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.nav-drawer a {
  display: block;
  padding: 13px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--t2);
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: .15s;
}
.nav-drawer a:hover { color: var(--t1); background: rgba(255,255,255,.03); border-color: var(--b1); }
.nav-drawer .btn-primary { margin-top: 16px; text-align: center; border: none; }

/* ── 9. HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}
/* Subtle ambient glow — not overdone */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(0,168,42,.14) 0%, transparent 70%);
  pointer-events: none;
}
/* Subtle grid — very faint */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--b1) 1px, transparent 1px),
    linear-gradient(90deg, var(--b1) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 20%, transparent 75%);
  pointer-events: none;
  opacity: .5;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 840px;
  margin-inline: auto;
  padding-block: clamp(64px, 10vw, 120px);
}
.hero-badge { margin-bottom: 32px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 560px; margin: 0 auto 44px; }
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── 10. SERVICES — EDITORIAL LAYOUT ───────────────────────── */

/* AI services: 3-up, more visual weight */
.services-ai {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--b1);
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 24px;
}
.svc {
  background: var(--bg-1);
  padding: clamp(28px, 4vw, 44px);
  transition: background .2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc:hover { background: var(--bg-2); }
.svc-num {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--t3);
}
.svc h3 { font-size: 1.1875rem; }
.svc p  { font-size: .9375rem; flex: 1; }
.svc-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--violet-hi);
  margin-top: 8px;
  transition: gap .15s;
}
.svc:hover .svc-arrow { gap: 10px; }

/* Digital services: compact 4-up list-style */
.services-digital {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--b1);
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.svc-compact {
  background: var(--bg-1);
  padding: clamp(20px, 3vw, 32px);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background .2s;
}
.svc-compact:hover { background: var(--bg-2); }
.svc-compact h4 { font-size: 1rem; }
.svc-compact p  { font-size: .875rem; color: var(--t3); }
.svc-compact .svc-arrow { font-size: .8125rem; margin-top: auto; }

/* ── 11. PROCESS ────────────────────────────────────────────── */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--b1);
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.step {
  background: var(--bg-1);
  padding: clamp(28px, 3.5vw, 44px);
  transition: background .2s;
}
.step:hover { background: var(--bg-2); }
.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .35;
  margin-bottom: 20px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p  { font-size: .9rem; }

/* ── 12. METRICS ────────────────────────────────────────────── */
.metrics {
  border-top: 1px solid var(--b1);
  border-bottom: 1px solid var(--b1);
  padding-block: clamp(40px, 6vw, 72px);
}
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.metric {
  padding: clamp(28px, 3.5vw, 48px);
  border-right: 1px solid var(--b1);
  text-align: center;
  background: var(--bg-1);
}
.metric:last-child { border-right: none; }
.metric-val {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.metric-lbl {
  font-size: .9rem;
  color: var(--t2);
}

/* ── 13. TESTIMONIALS ───────────────────────────────────────── */
.testimonials-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testimonial {
  background: var(--bg-1);
  border: 1px solid var(--b1);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stars { color: #d97706; font-size: .9375rem; letter-spacing: 2px; }
.quote-text {
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--t2);
  flex: 1;
}
.author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-info .name { font-size: .9rem; font-weight: 600; }
.author-info .role { font-size: .8125rem; color: var(--t3); }

/* ── 14. FAQ ────────────────────────────────────────────────── */
.faq { max-width: 720px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--b1); }
.faq-item:first-child { border-top: 1px solid var(--b1); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--t1);
  transition: color .15s;
}
.faq-q:hover { color: var(--violet-hi); }
.faq-icon {
  width: 20px; height: 20px;
  border: 1px solid var(--b2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--t3);
  font-size: .875rem;
  flex-shrink: 0;
  transition: .2s var(--ease);
}
.faq-item.open .faq-icon {
  border-color: var(--b-focus);
  color: var(--violet-hi);
  transform: rotate(45deg);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-body-inner {
  padding-bottom: 20px;
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--t2);
}
.faq-item.open .faq-body { max-height: 400px; }

/* ── 15. CTA BANNER ─────────────────────────────────────────── */
.cta-block {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  padding: clamp(52px, 8vw, 96px) clamp(24px, 6vw, 80px);
  text-align: center;
  background: var(--bg-1);
}
.cta-block::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,168,42,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block h2   { position: relative; margin-bottom: 16px; }
.cta-block p    { position: relative; max-width: 480px; margin: 0 auto 36px; font-size: 1.0625rem; }
.cta-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── 16. FOOTER ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--b1);
  padding-top: clamp(48px, 8vw, 80px);
  padding-bottom: 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 260px repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 52px;
}
.footer-brand .logo { display: inline-block; margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; max-width: 220px; }
.footer-col h5 {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .9rem; color: var(--t2); transition: color .15s; }
.footer-col a:hover { color: var(--t1); }
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--b1);
  flex-wrap: wrap;
}
.footer-bar p { font-size: .875rem; color: var(--t3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .875rem; color: var(--t3); transition: color .15s; }
.footer-legal a:hover { color: var(--t2); }

/* ── 17. PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  padding-top: calc(64px + clamp(64px, 10vw, 112px));
  padding-bottom: clamp(64px, 10vw, 112px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,168,42,.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 760px; margin-inline: auto; margin-bottom: 20px; }
.page-hero .lead { max-width: 580px; margin: 0 auto 40px; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .8125rem;
  color: var(--t3);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--t3); transition: color .15s; }
.breadcrumb a:hover { color: var(--t2); }

/* ── 18. FEATURES GRID ──────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(170,255,0,.08);
  border: 1px solid rgba(170,255,0,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  font-size: .625rem;
  font-weight: 700;
  margin-top: 2px;
}
.feature h4 { margin-bottom: 4px; }
.feature p  { font-size: .9rem; }

/* ── 19. CONTACT FORM ───────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .875rem; font-weight: 500; color: var(--t2); margin-bottom: 8px; }
.form-field {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--b1);
  border-radius: var(--r);
  padding: 12px 16px;
  font-size: .9375rem;
  color: var(--t1);
  transition: border-color .15s, box-shadow .15s;
}
.form-field:focus { border-color: var(--b-focus); box-shadow: 0 0 0 3px rgba(0,200,50,.08); }
.form-field::placeholder { color: var(--t3); }
textarea.form-field { resize: vertical; min-height: 130px; }
.form-alert { padding: 12px 16px; border-radius: var(--r); font-size: .9rem; margin-bottom: 14px; display: none; }
.form-alert.ok  { background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.2); color: #6ee7b7; display: block; }
.form-alert.err { background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.2); color: #fca5a5; display: block; }

/* ── 20. SCROLL REVEALS ─────────────────────────────────────── */
.reveal { transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .07s; }
.d2 { transition-delay: .14s; }
.d3 { transition-delay: .21s; }
.d4 { transition-delay: .28s; }
.d5 { transition-delay: .35s; }

/* ── 21. UTILITIES ──────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.divider  { height: 1px; background: var(--b1); }
.mt-s  { margin-top: clamp(16px, 2vw, 24px); }
.mt-m  { margin-top: clamp(24px, 3vw, 40px); }
.mt-l  { margin-top: clamp(40px, 5vw, 64px); }

/* ── 22. TOOLS GRID (integraciones / tecnologías) ───────────── */
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-1);
  border: 1px solid var(--b1);
  border-radius: var(--r-pill);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--t2);
  transition: border-color .15s, color .15s;
  white-space: nowrap;
}
.tool-chip:hover { border-color: var(--b2); color: var(--t1); }
.tool-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}

/* ── 23. USE CASES (sectores / escenarios) ───────────────────── */
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.use-case {
  background: var(--bg-1);
  border: 1px solid var(--b1);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 28px);
  transition: background .2s, border-color .2s;
}
.use-case:hover { background: var(--bg-2); border-color: var(--b2); }
.use-case-icon {
  width: 34px; height: 34px;
  border-radius: var(--r);
  background: rgba(0,200,50,.08);
  border: 1px solid rgba(0,200,50,.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--violet-hi);
  margin-bottom: 14px;
  flex-shrink: 0;
}
.use-case h4 { margin-bottom: 8px; }
.use-case p  { font-size: .875rem; color: var(--t3); line-height: 1.6; }

/* ── 24. CROSS-SELL (2 servicios relacionados) ───────────────── */
.services-cross {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--b1);
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  overflow: hidden;
}
@media (max-width: 600px) { .services-cross { grid-template-columns: 1fr; } }

/* ── 25. TRUST STRIP ────────────────────────────────────────── */
.trust-strip {
  border-top: 1px solid var(--b1);
  border-bottom: 1px solid var(--b1);
  padding-block: 28px;
}
.trust-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--t2);
}
.trust-item svg {
  width: 18px; height: 18px;
  color: var(--t3);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .trust-row { justify-content: center; }
  .trust-item { font-size: .8125rem; }
}

/* ── 26. PERFORMANCE PANEL (paginas-web) ────────────────────── */
.perf-panel {
  background: var(--bg-1);
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
}
.perf-scores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
@media (max-width: 640px) {
  .perf-scores { grid-template-columns: repeat(2, 1fr); }
}
.perf-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.perf-ring {
  position: relative;
  width: 80px;
  height: 80px;
}
.perf-ring svg {
  width: 80px;
  height: 80px;
}
.perf-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -.02em;
}
.perf-label {
  font-size: .8rem;
  color: var(--t3);
  text-align: center;
  font-weight: 500;
}
.perf-vitals {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.perf-vital {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.perf-vital-bar {
  height: 5px;
  background: var(--bg-2);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.perf-vital-fill {
  height: 100%;
  border-radius: var(--r-pill);
  transition: width .6s var(--ease);
}
.perf-vital-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.perf-vital-name { font-size: .8125rem; color: var(--t2); }
.perf-vital-val { font-size: .8125rem; font-weight: 600; }
.perf-green-txt { color: #22c55e; }

/* ── 27. INSIGHT BLOCK ──────────────────────────────────────── */
.insight-block {
  background: var(--bg-1);
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
}
.badge-red {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.2);
  color: #ef4444;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  display: inline-block;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* ── 28. EDITORIAL 2-COL ────────────────────────────────────── */
.editorial-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 768px) {
  .editorial-2col { grid-template-columns: 1fr; }
}
.editorial-text p {
  color: var(--t2);
  line-height: 1.7;
  margin-bottom: 16px;
}
.editorial-text p:last-child { margin-bottom: 0; }

/* ── 29. FEATURE LIST ───────────────────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-1);
  border: 1px solid var(--b1);
  border-radius: var(--r);
  transition: border-color .15s;
}
.feature-row:hover { border-color: var(--b2); }
.feature-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,200,50,.08);
  border-radius: 50%;
  margin-top: 1px;
}

/* ── 30. CONVERSION GRID (tiendas-online) ───────────────────── */
.conv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--b1);
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  overflow: hidden;
}
@media (max-width: 640px) {
  .conv-grid { grid-template-columns: 1fr; }
}
.conv-card {
  background: var(--bg-1);
  padding: clamp(24px, 3vw, 36px);
  transition: background .2s;
}
.conv-card:hover { background: var(--bg-2); }
.conv-metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.conv-num {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.conv-delta {
  font-size: .75rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--r-pill);
}
.conv-delta.up { background: rgba(34,197,94,.1); color: #4ade80; border: 1px solid rgba(34,197,94,.2); }
.conv-delta.neutral { background: rgba(255,255,255,.05); color: var(--t3); border: 1px solid var(--b1); }
.conv-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 8px;
}
.conv-desc {
  font-size: .875rem;
  color: var(--t2);
  line-height: 1.6;
}

/* ── 31. RANKING TABLE (posicionamiento-seo) ────────────────── */
.rank-table {
  background: var(--bg-1);
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.rank-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 0;
  padding: 14px 24px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--b1);
  font-size: .75rem;
  font-weight: 600;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.rank-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 0;
  padding: 16px 24px;
  border-bottom: 1px solid var(--b1);
  align-items: center;
  transition: background .15s;
}
.rank-row:last-child { border-bottom: none; }
.rank-row:hover { background: var(--bg-2); }
.rank-kw { font-size: .9rem; color: var(--t1); font-weight: 500; }
.rank-vol { font-size: .875rem; color: var(--t2); }
.rank-before { font-size: .875rem; color: var(--t3); }
.rank-pos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r);
  font-size: .875rem;
  font-weight: 700;
}
.rank-top3 { background: rgba(0,200,50,.15); color: var(--violet-hi); border: 1px solid rgba(0,200,50,.25); }
.rank-page1 { background: rgba(170,255,0,.08); color: var(--cyan); border: 1px solid rgba(170,255,0,.15); }
.rank-delta { font-size: .875rem; font-weight: 600; }
.rank-delta.up { color: #4ade80; }
@media (max-width: 640px) {
  .rank-before-col { display: none; }
  .rank-header,
  .rank-row { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (max-width: 480px) {
  .rank-header,
  .rank-row { grid-template-columns: 1.5fr 1fr 1fr; padding: 14px 16px; }
  .rank-vol { display: none; }
}

/* ── 32. PILLAR CARDS (posicionamiento-seo) ─────────────────── */
.pillar-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-1);
  border: 1px solid var(--b1);
  border-radius: var(--r-lg);
  transition: border-color .15s, background .2s;
}
.pillar-card:hover { border-color: var(--b2); background: var(--bg-2); }
.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pillar-icon.violet { background: rgba(0,200,50,.1); border: 1px solid rgba(0,200,50,.2); color: var(--violet-hi); }
.pillar-icon.cyan { background: rgba(170,255,0,.08); border: 1px solid rgba(170,255,0,.15); color: var(--cyan); }

/* ── 33. LOCAL PACK MOCKUP (google-business-profile) ────────── */
.local-pack-mockup {
  background: var(--bg-1);
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto;
}
.lp-searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--b1);
}
.lp-query {
  font-size: .9rem;
  color: var(--t2);
}
.lp-map-placeholder {
  height: 120px;
  background: linear-gradient(135deg, var(--bg-2) 0%, #0d0d20 100%);
  border-bottom: 1px solid var(--b1);
  position: relative;
  overflow: hidden;
}
.lp-map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 60%, rgba(0,200,50,.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(170,255,0,.06) 0%, transparent 50%);
}
.lp-map-pin {
  position: absolute;
  display: flex;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.5));
}
.lp-map-pin.p1 { top: 30%; left: 38%; }
.lp-map-pin.p2 { top: 55%; left: 62%; }
.lp-map-pin.p3 { top: 20%; left: 70%; }
.lp-results { padding: 0; }
.lp-result {
  padding: 16px 20px;
  border-bottom: 1px solid var(--b1);
  transition: background .15s;
}
.lp-result:last-child { border-bottom: none; }
.lp-result:hover { background: var(--bg-2); }
.lp-featured {
  background: rgba(0,200,50,.04);
  border-left: 3px solid var(--violet-mid);
}
.lp-dim { opacity: .65; }
.lp-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.lp-result-name {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--t1);
}
.lp-result-stars {
  font-size: .85rem;
  color: #fbbf24;
}
.lp-result-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.lp-tag {
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--r-pill);
}
.lp-open { background: rgba(34,197,94,.1); color: #4ade80; }
.lp-result-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: .8125rem;
  font-weight: 500;
  text-decoration: none;
  cursor: default;
  transition: background .15s;
}
.lp-call { background: rgba(0,200,50,.12); color: var(--violet-hi); border: 1px solid rgba(0,200,50,.2); }
.lp-route { background: rgba(170,255,0,.08); color: var(--cyan); border: 1px solid rgba(170,255,0,.15); }

/* ── 35. METHOD PHASES (metodologia) ───────────────────────── */
.method-phase {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  background: var(--bg-1);
  border: 1px solid var(--b1);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 16px;
  transition: border-color .2s;
}
.method-phase:hover { border-color: var(--b2); }
.method-phase-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--b1);
  grid-column: 1 / -1;
}
.method-num {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .4;
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}
.method-title {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 700;
  color: var(--t1);
  margin: 0 0 4px;
}
.method-subtitle {
  font-size: .875rem;
  color: var(--t3);
  margin: 0;
}
.method-body {
  padding: clamp(24px, 3vw, 36px);
  grid-column: 1 / -1;
  border-top: none;
}
.method-body p {
  color: var(--t2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.method-body p:last-of-type { margin-bottom: 20px; }
.method-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.method-tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(0,200,50,.08);
  border: 1px solid rgba(0,200,50,.15);
  border-radius: var(--r-pill);
  font-size: .8rem;
  font-weight: 500;
  color: var(--violet-hi);
}

/* ── 36. PROSE (páginas legales, texto largo) ──────────────── */
.prose {
  color: var(--t2);
  line-height: 1.8;
  font-size: clamp(.9rem, 1.5vw, 1rem);
  max-width: 720px;
}
.prose h2 {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 700;
  color: var(--t1);
  margin: 48px 0 16px;
  padding-top: 48px;
  border-top: 1px solid var(--b1);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--t1);
  margin: 28px 0 10px;
}
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--violet-hi); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--t1); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--b1); font-size: .875rem; }
.prose th { color: var(--t1); font-weight: 600; background: var(--bg-2); }
.legal-updated { font-size: .8125rem; color: var(--t3); margin-bottom: 40px; }

/* ── 34. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-digital { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .services-ai { grid-template-columns: 1fr; }
  .process     { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
  .metrics-row .metric:nth-child(2) { border-right: none; }
  .testimonials-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-end { display: none; }
  .burger { display: flex; }
  .services-digital { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .metrics-row { grid-template-columns: 1fr; }
  .metrics-row .metric { border-right: none; border-bottom: 1px solid var(--b1); }
  .metrics-row .metric:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta, .cta-actions { flex-direction: column; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; justify-content: center; }
}
